Systematic Analysis of Distribution Shifts in Cross-Subject Glucose Prediction Using Wearable Physiological Data †
Abstract
1. Introduction
2. Materials and Methods
2.1. Dataset
2.2. Pre-Processing and Feature Engineering
2.3. Model Training and Testing
2.4. Cross-Subject Distribution Shift
2.5. Model Evaluation Metrics
3. Results
4. Discussion
4.1. Principal Findings
4.2. Comparison with Related Work
4.3. Limitations
4.4. Future Directions
4.5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Sun, B.; Luo, Z.; Zhou, J. Comprehensive Elaboration of Glycemic Variability in Diabetic Macrovascular and Microvascular Complications. Cardiovasc. Diabetol. 2021, 20, 9. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Klonoff, D.C.; Nguyen, K.T.; Xu, N.Y.; Gutierrez, A.; Espinoza, J.C.; Vidmar, A.P. Use of continuous glucose monitors by people without diabetes: An idea whose time has come? J. Diabetes Sci. Technol. 2023, 17, 1686–1697. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Mansour, M.; Darweesh, M.S.; Soltan, A. Wearable devices for glucose monitoring: A review of state-of-the-art technologies and emerging trends. Alex. Eng. J. 2024, 89, 224–243. [Google Scholar] [CrossRef] [Scilit]
- Bent, B.; Cho, P.J.; Henriquez, M.; Wittmann, A.; Thacker, C.; Feinglos, M.; Crowley, M.J.; Dunn, J.P. Engineering digital biomarkers of interstitial glucose from noninvasive smartwatches. npj Digit. Med. 2021, 4, 89. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ali, H.; Niazi, I.K.; White, D.; Akhter, M.N.; Madanian, S. Comparison of machine learning models for predicting interstitial glucose using smart watch and food log. Electronics 2024, 13, 3192. [Google Scholar] [CrossRef] [Scilit]
- Huang, X.; Schmelter, F.; Uhlig, A.; Irshad, M.T.; Nisar, M.A.; Piet, A.; Grzegorzek, M. Comparison of feature learning methods for non-invasive interstitial glucose prediction using wearable sensors in healthy cohorts: A pilot study. Intell. Med. 2024, 4, 226–238. [Google Scholar] [CrossRef] [Scilit]
- Kapoor, S.; Narayanan, A. Leakage and the reproducibility crisis in machine-learning-based science. Patterns 2023, 4, 100779. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cho, P.; Kim, J.; Bent, B.; Dunn, J. BIG IDEAs Lab glycemic variability and wearable device data. PhysioNet 2023, 101, e215–e220. [Google Scholar] [CrossRef]
- Shwartz-Ziv, R.; Armon, A. Tabular data: Deep learning is not all you need. Inf. Fus. 2022, 81, 84–90. [Google Scholar] [CrossRef] [Scilit]
- Engmann, S.; Cousineau, D. Comparing distributions: The two-sample Anderson-Darling test as an alternative to the Kolmogorov-Smirnov test. J. Appl. Quant. Methods 2011, 6, 1–17. [Google Scholar]
- Jacobs, P.G.; Herrero, P.; Facchinetti, A.; Vehi, J.; Kovatchev, B.; Breton, M.D.; Mosquera-Lopez, C. Artificial intelligence and machine learning for improving glycemic control in diabetes: Best practices, pitfalls, and opportunities. IEEE Rev. Biomed. Eng. 2023, 17, 19–41. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Heinemann, L.; Schoemaker, M.; Schmelzeisen-Redecker, G.; Hinzmann, R.; Kassab, A.; Freckmann, G.; Del Re, L. Benefits and limitations of MARD as a performance parameter for continuous glucose monitoring in the interstitial space. J. Diabetes Sci. Technol. 2020, 14, 135–150. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Bakdash, J.Z.; Marusich, L.R. Repeated measures correlation. Front. Psychol. 2017, 8, 456. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Sirithummarak, P.; Liang, Z. Investigating the effect of feature distribution shift on the performance of sleep stage classification with consumer sleep trackers. In Proceedings of the 2021 IEEE 10th Global Conference on Consumer Electronics (GCCE), Kyoto, Japan, 12–15 October 2021; pp. 242–243. [Google Scholar]
- Setlur, A.; Li, O.; Smith, V. Two sides of meta-learning evaluation: In vs. out of distribution. Adv. Neural Inf. Process. Syst. 2021, 34, 3770–3783. [Google Scholar]
- Cai, T.; Namkoong, H. Diagnosing model performance under distribution shift. arXiv 2023, arXiv:2303.02011. [Google Scholar] [CrossRef] [Scilit]
- Mougan, C.; Broelemann, K.; Masip, D.; Kasneci, G.; Thiropanis, T.; Staab, S. Explanation shift: How did the distribution shift impact the model? arXiv 2023, arXiv:2303.08081. [Google Scholar] [CrossRef] [Scilit]
- Zhou, K.; Yang, Y.; Qiao, Y.; Xiang, T. Domain adaptive ensemble learning. IEEE Trans. Image Process. 2021, 30, 8008–8018. [Google Scholar] [CrossRef] [Scilit] [PubMed]


| Subject ID | Gender | HbA1c | No. of Epochs 1 | Group |
|---|---|---|---|---|
| 1 | Female | 5.5 | 1796 | Training set |
| 4 | Female | 6.4 | 1331 | |
| 5 | Female | 5.7 | 2369 | |
| 7 | Female | 5.3 | 1799 | |
| 8 | Female | 5.6 | 1971 | |
| 10 | Female | 6.0 | 1907 | |
| 11 | Male | 6.0 | 2072 | |
| 12 | Male | 5.6 | 1470 | |
| 13 | Male | 5.7 | 1836 | |
| 14 | Male | 5.5 | 1511 | |
| 2 | Male | 5.6 | 1854 | Testing set |
| 3 | Female | 5.9 | 1261 | |
| 6 | Female | 5.8 | 1542 | |
| 9 | Male | 6.1 | 2015 | |
| 16 | Male | 5.5 | 1229 | |
| 15 | Female | 5.5 | 365 | Not Applicable |
| Test Subject ID | RMSE (mg/dL) | NRMSE (mg/dL) | MARD (%) |
|---|---|---|---|
| 2 | 28.5 ± 4.4 | 1.42 ± 0.22 | 17.0 ± 2.8 |
| 3 | 22.7 ± 3.2 | 1.31 ± 0.19 | 16.6 ± 3.2 |
| 6 | 29.6 ± 3.7 | 1.17 ± 0.15 | 17.0 ± 3.3 |
| 9 | 30.0 ± 4.0 | 1.26 ± 0.17 | 16.4 ± 2.4 |
| 16 | 24.0 ± 4.0 | 1.51 ± 0.26 | 18.4 ± 4.6 |
| AD_RMSE | AD_NRMSE | AD_MARD | |
|---|---|---|---|
| rm_corr | 0.63 | 0.60 | 0.44 |
| p-value | 0.000 | 0.000 | 0.002 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Beten, A.; Lococco, L.; Baig, A.; Karunarathna, T. Systematic Analysis of Distribution Shifts in Cross-Subject Glucose Prediction Using Wearable Physiological Data. Eng. Proc. 2025, 118, 88. https://doi.org/10.3390/ECSA-12-26583
Beten A, Lococco L, Baig A, Karunarathna T. Systematic Analysis of Distribution Shifts in Cross-Subject Glucose Prediction Using Wearable Physiological Data. Engineering Proceedings. 2025; 118(1):88. https://doi.org/10.3390/ECSA-12-26583
Chicago/Turabian StyleBeten, Andrew, Luna Lococco, Ayaan Baig, and Thilini Karunarathna. 2025. "Systematic Analysis of Distribution Shifts in Cross-Subject Glucose Prediction Using Wearable Physiological Data" Engineering Proceedings 118, no. 1: 88. https://doi.org/10.3390/ECSA-12-26583
APA StyleBeten, A., Lococco, L., Baig, A., & Karunarathna, T. (2025). Systematic Analysis of Distribution Shifts in Cross-Subject Glucose Prediction Using Wearable Physiological Data. Engineering Proceedings, 118(1), 88. https://doi.org/10.3390/ECSA-12-26583
