Generative Semi-supervised Learning for Multivariate Time Series Imputation

Xiaoye Miao, Yangyang Wu, Jun Wang, Yunjun Gao, Xudong Mao, Jianwei Yin

Missing data presents a significant challenge in multivariate time series analysis, impacting domains from meteorology to clinical healthcare. Traditional imputation methods often treat missing values as a purely statistical estimation problem, neglecting the potential information contained within data labels. In this work, researchers propose SSGAN (Semi-supervised Generative Adversarial Network), a framework that integrates imputation and classification into a unified adversarial training process.

The Challenge of Sparse Labels and Missing Data

Most existing imputation techniques follow a disjointed two-step pipeline: first filling in missing values and then performing downstream classification. This approach is suboptimal as it fails to leverage label information during the imputation phase. For instance, the physiological patterns of a healthy patient differ fundamentally from those with specific pathologies; labels can thus serve as a powerful prior for reconstructing missing observations.

Furthermore, real-world datasets are frequently only partially labeled. While raw data may be abundant, expert annotation is often scarce and expensive. Supervised methods like BRITS tend to overfit on small labeled subsets, failing to utilize the vast pool of unlabeled data. SSGAN addresses these issues by treating imputation as a semi-supervised learning task.

Methodology: The Three-Player SSGAN Framework

SSGAN extends the standard GAN architecture into a three-player game involving a Generator (G), a Discriminator (D), and a Classifier (C).

The full SSGAN architecture, illustrating the interaction between the input data, Generator, Discriminator, and Classifier.

1. The Generator (G)

The generator's primary objective is to estimate missing values. It utilizes a Bidirectional Recurrent Neural Network (BiRNN) enhanced with a time-decay mechanism. This architecture allows the model to capture complex temporal dependencies from both past and future observations, effectively "smoothing" the imputation based on the surrounding context.

2. The Discriminator (D)

Unlike traditional discriminators that provide a binary "real or fake" assessment, the SSGAN discriminator outputs a probability matrix. It attempts to distinguish, for every point in the series, whether it was an original observation or an imputed value. To maintain a competitive training environment, the authors introduce a temporal reminder matrix. This mechanism reveals a subset of the missingness mask to the discriminator, ensuring it remains sufficiently powerful to drive the generator toward high-fidelity reconstructions.

3. The Classifier (C)

The classifier is the core innovation of SSGAN. Trained in a semi-supervised manner using self-training, it predicts labels for both labeled and unlabeled samples. The classifier provides feedback to the generator via a cross-entropy loss, forcing the generator to produce imputed values that are consistent with the predicted class distribution. This synergy ensures that the imputed data is not only statistically plausible but also semantically meaningful.

Experimental Evaluation

The model was evaluated on three diverse real-world datasets: Activity (kinematic sensor data), PhysioNet (clinical ICU records with an 80.67% missing rate), and KDD (Beijing meteorological data).

Key Results and Insights

SSGAN consistently outperformed nine state-of-the-art baselines, including BRITS, NAOMI, and GP-VAE.

  • Superior Accuracy: SSGAN achieved over a 15% performance improvement in imputation accuracy on the KDD dataset compared to the best-performing baselines.
  • Robustness to High Missingness: The model maintained high accuracy even when 90% of the data was missing, showcasing the strength of the adversarial and class-aware training.
  • Label Efficiency: A critical advantage of SSGAN is its stability when labels are sparse. As shown in the comparison with BRITS, SSGAN's performance remains robust even at very low label rates, whereas supervised methods degrade significantly.
Comparison of RMSE performance between BRITS and SSGAN across varying label rates on Activity and PhysioNet datasets.
  • Downstream Performance: Imputations generated by SSGAN led to superior results in subsequent tasks, such as regression on the KDD dataset, confirming that the model learns a more accurate representation of the underlying data distribution.

Conclusion

SSGAN demonstrates that treating imputation and classification as coupled tasks significantly improves the quality of time series reconstruction. By leveraging partially labeled data through a three-player adversarial game, the framework overcomes the limitations of purely statistical or supervised methods. Future work will focus on adapting the model for "Missing Not At Random" (MNAR) scenarios and optimizing the computational efficiency of the three-player training loop.

Summary updated

BibTeX
@inproceedings{miao2021generative,
  author = {Xiaoye Miao and Yangyang Wu and Jun Wang and Yunjun Gao and Xudong Mao and Jianwei Yin},
  title = {{Generative Semi-supervised Learning for Multivariate Time Series Imputation}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i10.17086},
}
Figure