ADAPTOOD: Uncertainty-Aware Fine-Tuning for Out-of-Distribution ECG Time Series Models

2026-06-02Machine Learning

Machine LearningArtificial Intelligence
AI summary

The authors noticed that machine learning models often struggle when the data they see during deployment is quite different from the data used in training, especially with small datasets. They argue that existing methods don't properly consider how big or severe these differences are. To fix this, they created ADAPTOOD, a system that uses data uncertainty to measure how different the new data is from the original training data and adjusts the model accordingly. Their approach improves accuracy and precision in tasks where data shifts happen and works better as the differences get larger.

distribution shiftout-of-distribution (OOD)fine-tuningtime seriesdata uncertaintypre-traininglow-rank model updatesadaptive hyperparameter optimisation
Authors
Sotirios Vavaroutas, Yu Yvonne Wu, Ali Etemad, Cecilia Mascolo
Abstract
Data samples used for training often differ from those encountered during fine-tuning and deployment, and while ML models show promise, their performance remains limited when only small annotated datasets are available. Performance often degrades under distribution shifts caused by diverse sensors, populations, and application settings. Although pre-training helps, models frequently encounter out-of-distribution (OOD) data in real-world settings, leading to reduced robustness. Existing adaptation methods usually assume fixed distribution shifts and struggle when multiple types or severities occur. In particular, they overlook shift severity, for example treating adaptation to a large familiar dataset the same as adaptation to a small dataset with a new task, which limits generalisation. To address this, we propose ADAPTOOD, a novel framework that leverages data uncertainty to quantify distribution shift severity and guide fine-tuning for time series. This uncertainty measures how strongly samples from the target deployment distribution deviate from the pre-training distribution, providing a direct signal of OOD severity. Our framework combines this uncertainty with low-rank model updates and adaptive hyperparameter optimisation to improve adaptation. We show that ADAPTOOD achieves up to 7% higher accuracy and 12.9% higher precision than existing methods in OOD tasks, maintaining strong performance as distribution shift severity increases.