Probabilistic Imputation for Time-series Classification with Missing Data

Seunghyun Kim, Hyunsu Kim, Eunggu Yun, Hwangrae Lee, Jaehun Lee, Juho Lee

In real-world applications, "perfect" data is largely a myth. Whether analyzing electronic health records (EHR) from an intensive care unit or sensor data from wearable devices, missing values are an unavoidable reality. In some medical datasets, over 90% of the expected data points are simply absent.

Rather than treating missing data as a nuisance to be heuristically "filled in," a recent paper, Probabilistic Imputation for Time-Series Classification with Missing Data, proposes a novel framework that treats missingness as a source of probabilistic insight. By combining a deep generative model with a classifier and introducing a unique regularization technique, the authors achieve state-of-the-art classification accuracy and better uncertainty estimates on messy, real-world datasets.

The Challenge of Missingness

Most machine learning models require a complete grid of data. When values are missing, the standard "quick fix" is heuristic imputation: filling gaps with zeros, the global mean, or the last observed value. However, these methods suffer from two major flaws:

  1. They Ignore the "Why" (MNAR): In many cases, data is Missing Not At Random (MNAR). For example, a doctor might only order a specific blood test if they suspect a particular condition. The absence or presence of a reading is, in itself, a crucial signal.
  2. They Ignore Uncertainty: Heuristic fills provide a single "best guess." They fail to account for the fact that a missing heart rate value could realistically be 60 bpm or 100 bpm—a difference that might drastically alter a patient's diagnosis.

The core challenge lies in building a model capable of generating multiple plausible versions of the missing data, and then leveraging that uncertainty to make more robust classifications.

Proposed Methodology: supnotMIWAE

To address these limitations, the authors introduce a hybrid model called supnotMIWAE, which consists of two primary components:

  • The Generator: Based on the Importance-Weighted Autoencoder (IWAE), this component utilizes Gated Recurrent Units (GRUs) to capture the temporal dynamics of time-series data. Instead of predicting a single point estimate, it models a distribution of possible values for every missing gap.
  • The Classifier: This component takes the observed data alongside multiple "samples" generated for the missing values. It learns to make a final prediction by aggregating the results across these different plausible scenarios.

The "ObsDropout" Innovation

A critical hurdle in training joint generator-classifier models is that the classifier often "cheats." It learns to ignore the generated values and relies solely on the observed data, leaving the generator with no incentive to produce realistic or useful imputations.

To resolve this, the authors introduce a novel regularization technique called ObsDropout. During training, the model deliberately hides a portion of the observed data from the classifier. This forces the classifier to rely on the generator's imputations to succeed. Consequently, the generator is pushed to create values that are not just realistic, but functionally useful for the downstream classification task.

Experimental Setup and Datasets

The framework was evaluated on three challenging, highly sparse real-world benchmarks:

  1. PhysioNet 2012: ICU records where the goal is to predict in-hospital mortality (84.3% missing rate).
  2. MIMIC-III: A massive clinical database, also used for mortality prediction (65.5% missing rate).
  3. UCI Human Activity: 3D coordinate data from wearable sensors tracking activities like walking or sitting (92.3% missing rate).

Key Results and Insights

The proposed method consistently outperformed strong baselines, including GRU-D and IP-Nets, across several metrics:

  • Classification Accuracy: On the PhysioNet 2012 dataset, the model achieved an Area Under the Precision-Recall Curve (AUPRC) of 0.557, surpassing the popular GRU-D (0.553) and simple mean imputation (0.524).
  • Uncertainty Calibration: The model demonstrated a significantly lower Expected Calibration Error (ECE). This indicates that its predicted probabilities are much closer to the actual likelihood of an event occurring, making it highly reliable for risk-sensitive applications like healthcare.
  • Imputation Quality: Despite being optimized primarily for classification, the model excelled at reconstructing missing values. It achieved a lower Mean Absolute Error (MAE) than models explicitly designed for imputation, such as SAITS.

Furthermore, the paper highlights that "realistic" data is not always synonymous with "useful" data. By tying the imputation directly to the classification goal via ObsDropout, the model learns a more functional representation of the missing gaps. By explicitly modeling the missingness mechanism, it also successfully captures the hidden logic behind unrecorded data points.

Limitations and Future Work

While highly effective, the current framework relies on GRU-based architectures, which can be computationally expensive and slower to train on very long sequences compared to modern attention-based models. Extending this probabilistic framework to Transformer architectures represents a logical and promising next step. Additionally, the model's performance is somewhat sensitive to the $\beta$ parameter (the dropout rate in ObsDropout), which requires careful tuning depending on the specific dataset.

Ultimately, this research provides a compelling blueprint for handling incomplete time-series data, proving that missing values should be embraced as a landscape of probabilities rather than a void to be blindly filled.

Summary updated

BibTeX
@inproceedings{kim2023probabilistic,
  author = {Seunghyun Kim and Hyunsu Kim and Eunggu Yun and Hwangrae Lee and Jaehun Lee and Juho Lee},
  title = {{Probabilistic Imputation for Time-series Classification with Missing Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=l4m5fk80fY},
}
Figure