FairGlucose: A CGM Fairness Benchmark Reveals Subgroup Disparities Hidden in Population-Level Validation
Organizations: Carey Business School Johns Hopkins University Baltimore, MD, USA · Welldoc, Inc. Columbia, MD, USA
Abstract
As CGM-based AI tools approach clinical deployment, whether their accuracy is equitable across patient demographics remains insufficiently tested. To enable this evaluation, we constructed FairGlucose, a 300-patient CGM cohort balanced across 12 demographic strata (age x gender x type 1/type 2 diabetes), with 132,480 forecasting samples and 3,945 unique behavioral events (meals, exercise, medication) logged by 81 patients. Benchmarking 33 models across four families on 2-hour glucose forecasting, we find that population-level external validation can conceal substantial subgroup disparities. Aggregate out-of-distribution metrics appear stable (approximately 1.0), yet subgroup-level ratios range from 0.8 to 1.4, with T1D patients showing 6 mg/dL higher prediction error than T2D (p < 0.001). This disparity persists across all 33 models, suggesting a property of the prediction task rather than any single architecture. Further analysis shows that subgroup performance gaps align with the proportion of clinically hard cases, and that input-length sensitivity varies across demographics, motivating personalized configurations. Frontier LLMs underperform specialized neural models by 1-6 mg/dL; behavioral events contribute negligibly (approximately 0.1 mg/dL) even under oracle event access. These findings establish that population-level validation alone is insufficient for equity assessment of digital health AI, motivating subgroup-disaggregated reporting as a default standard.
Figures & tables
| Stratum | N | Mean glucose | CV | TIR (%) | MAGE |
|---|---|---|---|---|---|
| Overall and marginal subgroups | |||||
| Overall | 300 | 162.7 | 0.26 | 67.1 | 4.06 |
| Age 18–39 | 100 | 163.8 | 0.26 | 65.9 | 4.40 |
| Age 40–64 | 100 | 165.9 | 0.26 | 64.9 | 4.23 |
| Age 65 | 100 | 158.5 | 0.25 | 70.6 | 3.57 |
| Female | 150 | 162.9 | 0.25 | 67.9 | 4.11 |
| Split | Patients | Patient-Days | I/O Pairs | |
|---|---|---|---|---|
| Held-in | Train | 20 (240) | 300 (3,600) | 7,200 (86,400) |
| Valid | 20 (240) | 40 (480) | 960 (11,520) | |
| Test-ID | 20 (240) | 60 (720) | 1,440 (17,280) | |
| Held-out | Test-OD | 5 (60) | 60 (720) | 1,440 (17,280) |
| Total | 25 (300) | 460 (5,520) | 11,040 (132,480) | |
| Model | rMSE (mg/dL) | Clarke A (%) | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| All | T1D | T2D | Female | Male | 18–39 | 40–64 | 65+ | All | T1D | T2D | Female | Male | 18–39 | 40–64 | 65+ | |
| ARIMA | 27.44 | 30.78 | 24.10 | 27.89 | 26.99 | 27.76 | 28.05 | 26.51 | 74.67 | 70.26 | 79.07 | 74.14 | 75.19 | 74.11 | 74.55 | 75.38 |
| Naive | 29.03 | 32.42 | 25.63 | 29.54 | 28.51 | 29.41 | 29.78 | 27.85 | 72.86 | 68.61 | 77.11 | 72.45 | 73.27 | 71.98 | 72.90 | 73.76 |
| AutoETS | 29.72 | 33.35 | 26.09 | 30.44 | 29.00 | 30.27 | 30.53 | 28.31 | 72.96 | 68.63 | 77.29 | 72.41 | 73.51 | 71.53 | 73.03 | 74.46 |
| LightGBM | 25.96 | 29.07 | 22.84 | 26.34 | 25.58 | 26.59 | 26.58 | 24.63 | 76.77* | 72.45 | 81.10* | 76.30* | 77.24* | 75.25* | 77.16* | 78.08* |
| Linear | 26.04 | 28.92 | 23.15 | 26.51 | 25.56 | 26.80 | 26.50 | 24.75 | 75.57 | 71.64 | 79.50 | 74.97 | 76.17 | 73.87 | 76.22 | 76.74 |
| Subgroup | Event rMSE (mg/dL) | NoEvent rMSE (mg/dL) | (Event - NoEvent) | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| PatchTST | TFT | Autoformer | VanillaTrans. | PatchTST | TFT | Autoformer | VanillaTrans. | PatchTST | TFT | Autoformer | VanillaTrans. | |
| All | 25.37 | 26.00 | 37.95 | 47.52 | 25.48 | 26.08 | 38.71 | 47.72 | -0.11 | -0.08 | -0.77 | -0.20 |
| T1D | 28.21 | 28.94 | 42.30 | 48.66 | 28.36 | 28.97 | 43.04 | 48.90 | -0.15 | -0.04 | -0.74 | -0.25 |
| T2D | 22.53 | 23.06 | 33.59 | 46.37 | 22.60 | 23.18 | 34.39 | 46.53 | -0.07 | -0.12 | -0.80 | -0.16 |
| Female | 25.78 | 26.39 | 38.55 | 49.07 | 25.91 | 26.51 | 39.26 | 49.24 | -0.13 | -0.13 | -0.71 | -0.16 |
| Male | 24.96 | 25.61 | 37.34 | 45.96 | 25.05 | 25.64 | 38.17 | 46.20 | -0.09 | -0.03 | -0.83 | -0.24 |
Appendix figures & tables15 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | All | T1D | T2D | Female | Male | 18-39 | 40-64 | 65+ |
|---|---|---|---|---|---|---|---|---|
| Statistical | ||||||||
| ARIMA | 27.39 | 30.84 | 23.94 | 27.36 | 27.42 | 28.48 | 26.93 | 26.70 |
| Naive | 29.03 | 32.35 | 25.70 | 28.96 | 29.10 | 29.96 | 28.84 | 28.19 |
| AutoETS | 29.81 | 33.61 | 26.01 | 29.87 | 29.75 | 30.79 | 29.81 | 28.69 |
| ML | ||||||||
| Linear | 25.87 | 29.15 | 22.60 | 25.79 | 25.96 | 27.13 | 25.70 | 24.65 |
| Model | All | T1D | T2D | Female | Male | 18-39 | 40-64 | 65+ |
|---|---|---|---|---|---|---|---|---|
| Statistical | ||||||||
| ARIMA | 27.50 | 30.73 | 24.26 | 28.43 | 26.57 | 27.04 | 29.16 | 26.33 |
| Naive | 29.02 | 32.49 | 25.55 | 30.11 | 27.93 | 28.86 | 30.73 | 27.51 |
| AutoETS | 29.63 | 33.08 | 26.18 | 31.00 | 28.26 | 29.76 | 31.24 | 27.92 |
| ML | ||||||||
| LightGBM | 26.02 | 28.76 | 23.29 | 27.02 | 25.03 | 25.94 | 27.44 | 24.72 |
| Model | All | T1D | T2D | Female | Male | 18-39 | 40-64 | 65+ |
|---|---|---|---|---|---|---|---|---|
| Statistical | ||||||||
| ARIMA | 23.35 | 26.22 | 20.49 | 23.31 | 23.39 | 24.27 | 22.95 | 22.78 |
| Naive | 24.78 | 27.55 | 22.01 | 24.67 | 24.90 | 25.54 | 24.61 | 24.13 |
| AutoETS | 25.24 | 28.35 | 22.12 | 25.24 | 25.23 | 26.05 | 25.26 | 24.28 |
| ML | ||||||||
| Linear | 22.03 | 24.77 | 19.29 | 21.99 | 22.07 | 23.12 | 21.85 | 20.99 |
| Model | All | T1D | T2D | Female | Male | 18-39 | 40-64 | 65+ |
|---|---|---|---|---|---|---|---|---|
| Statistical | ||||||||
| ARIMA | 23.51 | 26.25 | 20.76 | 24.27 | 22.75 | 23.00 | 24.98 | 22.58 |
| Naive | 24.85 | 27.80 | 21.89 | 25.75 | 23.95 | 24.59 | 26.30 | 23.69 |
| AutoETS | 25.16 | 28.09 | 22.24 | 26.36 | 23.97 | 25.29 | 26.48 | 23.75 |
| ML | ||||||||
| LightGBM | 22.10 | 24.42 | 19.78 | 22.95 | 21.24 | 22.00 | 23.26 | 21.06 |