Integrating Diet, Mind, and Immune Response in Endurance Athletes
How machine learning reveals the role of psychological resilience in nutrition outcomes
Source: Hou, Y., Chen, M., Qin, G., & Wang, Z. (2026). Development of an individualized prediction model for dynamic adaptations in performance and immune function associated with dietary patterns in endurance athletes using machine learning. Journal of the International Society of Sports Nutrition, 23(1). https://doi.org/10.1080/15502783.2026.2624377
Endurance athletes constantly seek optimized nutrition to support performance and health. Yet individuals respond differently to the same dietary patterns. This study advances sports nutrition by developing a predictive model that not only analyzes dietary intake but also incorporates psychological resilience and immune function to forecast how athletes adapt over time.
What the Research Did
The research team conducted a retrospective cohort analysis on data from 200 endurance athletes, combining information from large datasets such as NHANES, UK Biobank, and performance tracking systems. Participants were grouped by real-world dietary patterns — high-carbohydrate, high-protein, and balanced micronutrient diets — and followed over 12 months.
Rather than experimentally changing diets, the study looked at naturalistic diet behavior and connected it with:
- Performance metrics (e.g., training output, race results),
- Immune biomarkers (IL-6, TNF-α, CRP, IgA),
- Psychological resilience measures, and
- Machine learning predictions.
The model used a hybrid LSTM-XGBoost architecture with SHAP interpretability to understand how these factors interact.
Key Findings
1. Psychological Resilience Dominates Predictive Power
Among all variables, psychological resilience was the strongest predictor of how an athlete responded to their dietary pattern, explaining more variation in outcomes than diet type alone. Improvement in psychological resilience tended to precede meaningful gains in immune function by 1–2 months.
2. Distinct Adaptive Trajectories
The study identified three response subgroups based on resilience levels:
- High-resilience athletes improved faster and reached adaptation plateaus sooner.
- Low-resilience athletes showed slower gains and prolonged plateaus.
This suggests psychological preparedness influences how effectively nutrition supports performance and recovery.
3. Psychological Mediation of Immune Response
Nearly 42.4 % of the association between dietary patterns and immune benefits operated indirectly through psychological pathways — particularly stress reduction (proxied by cortisol changes). This indicates that immune improvements linked to diet are not purely physiological but significantly mediated by mental factors.
4. Predictive Model Performance
The model achieved robust classification performance — 91.2 % sensitivity and 87.6 % specificity — for identifying athletes unlikely to respond positively to dietary patterns based on their resilience and immune profile.
What This Means for Endurance Athletes
Individual vs. “One-Size-Fits-All” Nutrition
Athletes with similar diets can experience very different outcomes based on psychological resilience and immune status. This supports a shift toward personalized nutrition prescriptions rather than generic macro-based recommendations alone.
Resilience as a Modifiable Factor
Where nutrition research often focuses on physiological markers, this study highlights psychological resilience as a potential leverage point. Strategies that enhance stress coping (e.g., mental skills training, consistent sleep routines) may amplify dietary effectiveness.
Immune Monitoring Matters
Tracking biomarkers like CRP and IgA alongside performance data can help identify whether an athlete’s immune system is keeping pace with training and dietary demands — which may be particularly valuable during heavy training phases.
What This Does Not Mean
- The results do not prove causation — this was an observational study, not a controlled diet intervention.
- The model should not yet be used for clinical decision-making without external validation.
- Dietary patterns were not manipulated; athletes self-selected diets, meaning unmeasured lifestyle factors may influence outcomes.
Bottom Line
This study pushes the frontier of sports nutrition by demonstrating that psychological resilience is a critical determinant of how endurance athletes respond to dietary patterns, significantly shaping immune and performance adaptations. Predictive analytics — melding diet, psychology, and biomarkers — may soon enable more precise, athlete-specific nutrition strategies grounded in measurable individual differences.