A Type 1 Diabetic Benchmarked 26 Glucose Forecasters on His Own Data. XGBoost Won, and Chronos-2 Zero-Shot Finished 19th
A developer with type 1 diabetes has published T1DMAI, an MIT-licensed repository that trains and tests 26 blood glucose forecasting configurations on 115 days of his own continuous glucose monitor (CGM) data and on the public MetaboNet dataset. The headline from the README is blunt: “All models suck. XGBoost is the best one but my own model comes close.”
The result matters beyond one person’s insulin management because it is a clean, reproducible data point on a live question: do time-series foundation models beat boring baselines? On this task, zero-shot, they do not.
The test
Training used days 1 to 80 of the author’s data. Testing used days 81 to 115, which is 35 days and 9,764 forecasts. The second test set is MetaboNet’s official split: 279 people across nine studies, 64,146 person-days and 264,899 forecasts. All models forecast at the same moments, at 30, 60, 90 and 120 minutes ahead. Significance is tested with Wilcoxon signed-rank and Bonferroni correction.
The author’s own model is a 31,000-parameter encoder-only transformer: 16 layers, width 16, one attention head. It was pretrained on 1 million simulated people (7 days each, 10,000 steps of batch 512) using traces from a simulator he wrote because the standard UVA/Padova simulator was too slow on his laptop. It outputs seven quantiles for every 5-minute step of the next two hours. A rank-1 LoRA adapter of 3,771 parameters, trained on the real data, then personalises it.
RMSE at 60 minutes, his data (mg/dL)
| Model | RMSE at 60 min |
|---|---|
| XGBoost | 22.2 |
| LightGBM | 22.4 |
| T1DMAI D16 DILATE + LoRA | 22.8 |
| SVR | 23.0 |
| LSTM (15 h history) | 23.2 |
| Chronos-Bolt tiny, fine-tuned | 27.3 |
| TimesFM 2.5, zero-shot | 29.1 |
| Chronos-2, zero-shot | 29.4 |
| Chronos-Bolt tiny, zero-shot | 30.8 |
| Persistence (last reading) | 32.1 |
Counting every row in the README’s full table, the zero-shot Chronos-2 sits 19th of 26 and the zero-shot Chronos-Bolt models sit near the bottom, only a few mg/dL ahead of carrying the last reading forward. Zero-shot Chronos-2 and TimesFM 2.5 do beat zero-shot Chronos-Bolt by 1.4 to 2.7 mg/dL at 60 minutes on both datasets, but they trail fine-tuned Chronos-Bolt.
The LoRA adapter is doing real work. Without it, the DILATE variant scores 26.1 and the MSE variant 27.1 at 60 minutes on the author’s data. With it: 22.8 and 23.5. On MetaboNet the same adapter moves 36.6 to 34.6 and 36.7 to 35.1.
MetaboNet: the gap widens, the ranking slips
MetaboNet is harder. The test is blind, meaning models do not see insulin and carbs logged after the forecast moment, because most of those patients use closed-loop pumps whose insulin responds to glucose the model has not yet seen. XGBoost and LightGBM lead at 33.2 mg/dL at 60 minutes. The best T1DMAI variant ranks 9th at 34.6, though it has the lowest RMSE of any model at 90 minutes. At 120 minutes on MetaboNet the adapter makes the DILATE variant worse, from 48.0 to 50.4.
A 15-hour-history LSTM comes 3rd on MetaboNet at 33.6, against 35.9 for the 2-hour version. History length mattered more than architecture in that pair.
Where the small model wins: lows
Average error is not the clinically important number for a person on insulin. Hypoglycaemia is. On the author’s data, at 60 minutes:
- Share of lows caught: 40% (DILATE + LoRA) and 47% (MSE + LoRA), against 29% for XGBoost.
- Time gain, meaning how much earlier the forecast reacts: 40 to 50 minutes at the 60-minute horizon, against 30 for XGBoost.
The README itself flags the limits. There are only 292 low-glucose forecasts in the author’s test set. On MetaboNet, the low-RMSE models miss almost every low: XGBoost catches 0%, T1DMAI 6% to 8%, while plain linear extrapolation catches 58%. The test sets differ enough (89% time in range and 28% coefficient of variation on his data, 75% and 40% on MetaboNet) that the author warns against comparing numbers across them.
Caveats
This is N=1 over 35 days for the personal results. The prediction bands are raw quantiles with no conformal correction. T1DMAI fell back to the last reading on 0.7% of his forecasts and 0.4% on MetaboNet, including all 28 forecasts from the ShanghaiT1DM subset. The repository carries an explicit warning that it is a research artifact, not a medical device, and must not be used to adjust insulin doses.
The repo had 38 GitHub stars at the time of writing, and the author’s phone app, T1DMDROID, runs the exported model on-device via ExecuTorch or LiteRT. The pattern is familiar from other domains: on a narrow tabular-ish signal with limited history, tuned gradient boosting remains very hard to beat, and a 31k-parameter specialist pretrained on simulation lands within 0.6 mg/dL of it with a few thousand personal adaptation parameters.