Abstract
Healthcare time series data is vital for monitoring patient activity but often contains noise and missing values due to various reasons such as sensor errors or data interruptions. Imputation, i.e., filling in the missing values, is a common way to deal with this issue. In this study, we compare imputation methods, including Multiple Imputation with Random Forest (MICE-RF) and advanced deep learning approaches (SAITS, BRITS, Transformer) for noisy, missing time series data in terms of MAE, F1-score, AUC, and MCC, across missing data rates (10 % - 80 %). Our results show that MICE-RF can effectively impute missing data compared to deep learning methods and the improvement in classification of data imputed indicates that imputation can have denoising effects. Therefore, using an imputation algorithm on time series with missing data can, at the same time, offer denoising effects.
Introduction
Healthcare providers increasingly rely on "actigraphy"—continuous monitoring of physical activity via wearables—to track conditions like depression and schizophrenia. However, this data is notoriously difficult to work with. Sensors fail, batteries die, and patients occasionally remove the devices, leading to significant gaps (missing data). Furthermore, the data is inherently "noisy" due to the unpredictable nature of human movement.
The core challenge is finding an imputation method that doesn't just "fill the holes" with random guesses, but captures the underlying temporal patterns (e.g., sleep-wake cycles) while ignoring the noise. This study investigates whether complex deep learning models (like Transformers) are truly necessary, or if statistical methods like MICE-RF can hold their own in clinical settings.
Methods
The authors compare four primary imputation strategies:
- MICE-RF: A statistical method that uses Random Forest to iteratively predict missing values. To adapt this for time series, the researchers used a "reshaping trick": they transformed univariate data into a multivariate matrix based on a 15-minute period, allowing the model to see "time of day" as a feature.
- SAITS: A self-attention-based model designed specifically for missing data.
- BRITS: A bidirectional recurrent neural network (RNN) approach.
- Transformer: A standard attention-based architecture adapted for time-series imputation.
Evaluation was two-fold: measuring MAE (Mean Absolute Error) for imputation accuracy and performing downstream classification (e.g., "Does this patient have depression?") to assess the utility of the imputed data for clinical decision-making.
Datasets
The study utilized three distinct healthcare datasets:
- Psykose: Actigraph data from 22 patients with schizophrenia and 32 healthy controls.
- Depresjon: Actigraph data from 55 individuals (23 with depression, 32 controls).
- HTAD (Home-Tasks Activities Dataset): A multivariate dataset involving accelerometer and audio data for predicting household activities (sweeping, washing hands, etc.).
Results and Discussion
A significant finding of the study is the denoising effect of imputation. In many tests, the classification accuracy on data with 10–30% missing values was actually higher than the accuracy on the original, complete data. This suggests that the imputation algorithms "smoothed out" irrelevant noise, making the underlying clinical signal clearer for the classifiers.
For univariate data with clear daily cycles (like the Psykose and Depresjon sets), MICE-RF consistently outperformed deep learning models at missing rates below 60%. However, context matters: in the HTAD dataset, which lacks clear periodic patterns, MICE-RF exhibited higher MAE than deep learning models, even while remaining competitive in downstream classification tasks.
Key results include:
- Classification Boost: On the Psykose dataset, the baseline F1-score rose from 0.848 (original data) to 0.863 after 20% missingness was imputed with MICE-RF.
- Stability: Deep learning models (SAITS, Transformer) were highly sensitive to hyperparameters like the number of layers, whereas MICE-RF remained stable across different settings.
Conclusion
While MICE-RF is highly effective for periodic healthcare data, it can be computationally expensive for massive datasets. Its success depends heavily on the "seasonality" of the data (e.g., the 24-hour human cycle). Future research should explore hybrid models that combine the statistical robustness of MICE-RF with the computational speed of deep learning.
Reference: Le, L. P., et al. (2024). Missing data imputation for noisy time-series data and applications in healthcare. arXiv:2412.11164v1 [cs.LG].
Summary updated