Introduction
In the high-stakes environment of WorldTour cycling, nutrition is a fundamental pillar of performance. For Team Jumbo-Visma, ensuring that riders are properly fueled for grueling multi-week races like the Tour de France is a logistical and scientific challenge. Historically, this process was manual: coaches spent up to three weeks calculating the caloric requirements for every rider across every stage. This manual approach was not only labor-intensive but also prone to subjectivity and inaccuracy, as it relied on human intuition to account for variables like wind speed, stage profiles, and race tactics.
To address these inefficiencies, researchers developed a machine learning pipeline designed to automate calorie prediction. By shifting from manual estimation to an automated system using Conformal Prediction, the team achieved a significant leap in predictive accuracy while providing coaches with a critical tool: a statistically valid measure of uncertainty.
The Challenge of Uncertainty
A central difficulty in sports nutrition is that a single point estimate (e.g., "this rider needs 4,000 calories") is rarely sufficient. Coaches need to understand the potential range of energy expenditure to mitigate the risks of "bonking" (energy depletion) or over-fueling. Traditional regression models typically provide a single value but lack a reliable way to quantify how much that estimate might fluctuate based on the complexity of the race environment.
Methodology
The proposed system utilizes a two-step approach to generate robust energy forecasts:
1. Baseline Regression
The researchers trained a Random Forest model to predict two primary response variables: average race speed and rider power output. Caloric expenditure is then derived mathematically from these two physical metrics.
2. Uncertainty Quantification via Conformal Prediction (CP)
The core innovation of this research is the application of Conformal Prediction. CP is a framework that sits atop the baseline machine learning model to produce prediction intervals with a guaranteed coverage probability. For example, the system can state with 90% confidence that a rider's actual energy expenditure will fall within a specific range.
The study benchmarked several CP variants to determine the most effective approach for cycling data:
- Jackknife+ and CV+: These methods utilize leave-one-out or cross-validation residuals to construct intervals.
- Inductive Conformal Prediction (ICP): A computationally efficient variant using a separate calibration set.
- Conformalized Quantile Regression (CQR): This method allows for "adaptive" intervals, where the width of the prediction range varies based on the difficulty or unpredictability of the input data (e.g., wider intervals for mountain stages vs. narrower intervals for flat stages).
Data Integration and Feature Engineering
The study leveraged a proprietary dataset from the Team Jumbo-Visma men’s team, comprising 1,446 instances. The researchers combined internal and external data sources to build a comprehensive feature set:
- Internal Metrics: Data from Garmin devices and crank-based power meters, including duration, heart rate, speed, power, BMI, and specific team roles (e.g., "leader" vs. "helper").
- External APIs: Race-specific details (distance and type) were pulled from the ProCyclingStats API, while localized weather data (temperature, humidity, and wind effects) were sourced from the DarkSky API.
- Custom Features: The team engineered variables such as "ascent relation" to capture terrain steepness and weighted weather forecasts to account for the diminishing accuracy of long-range predictions.
Key Results and Performance
The transition from manual coaching estimates to the machine learning pipeline resulted in a dramatic improvement in performance metrics:
- Predictive Accuracy: The regression models achieved an $R^2$ score of 0.82 for calorie prediction, a 49% improvement over the 0.55 $R^2$ achieved by manual coach predictions.
- Error Reduction in Power: The model’s Mean Absolute Error (MAE) for power was 12.68 watts, nearly half of the coaches' error of 23.10 watts.
- Error Reduction in Speed: The model achieved an MAE of 1.73 km/h, compared to the 2.46 km/h error seen in manual forecasts.
- Reliability: All tested conformal prediction methods achieved statistical validity, meaning the actual energy expenditure fell within the predicted intervals at the expected frequency (e.g., a 10% error rate for a 90% confidence interval).
Discussion and Future Directions
A significant insight from the study is the value of adaptive intervals. While standard CP methods produce fixed-width intervals, methods like CQR allow the model to communicate its own uncertainty to the coach. The model effectively signals when a stage is highly unpredictable, such as a mountain stage with high winds, by widening the suggested calorie range.
Furthermore, the model performed better at predicting power than speed. This suggests that while power is closely tied to individual physiology and terrain, speed is more heavily influenced by peloton dynamics and race tactics, which are harder to quantify.
Future work will focus on expanding the dataset to include the Team Jumbo-Visma women’s team and exploring Bayesian models. Such models could potentially integrate coach intuition directly into the mathematical framework, creating a hybrid system that combines human expertise with machine learning precision.
Summary updated