MTSCI: A Conditional Diffusion Model for Multivariate Time Series Consistent Imputation

Jianping Zhou, Junhao Li, Guanjie Zheng, Xinbing Wang, Chenghu Zhou · DOI

Introduction

Missing data is a pervasive challenge in multivariate time series (MTS) analysis, often resulting from sensor failures or transmission errors. While deep learning models have made significant strides in data imputation, they frequently suffer from a lack of imputation consistency. Specifically, existing methods often fail to ensure that imputed values harmonize with observed data within the same time window (intra-consistency) or maintain a smooth temporal flow with adjacent windows (inter-consistency). This leads to "jittery" or unrealistic imputations that can degrade the performance of downstream tasks such as forecasting or classification.

Comparison of previous methods vs. MTSCI's consistency-focused approach

The MTSCI Framework

MTSCI (Multivariate Time Series Consistent Imputation) leverages the generative power of Conditional Diffusion Models. Unlike standard regression-based models, MTSCI learns to reverse a noising process, making it naturally adept at generating data that adheres to a learned distribution rather than performing simple point estimation.

Overview of the MTSCI architecture and training process

The core innovations of MTSCI include:

  • Contrastive Complementary Masking: During training, the model creates two different "views" of the same data window using complementary masks, forcing it to learn complex inter-dependencies.
  • Intra-Contrastive Module: This module enforces consistency by calculating a contrastive loss between the embeddings of the two views, ensuring the imputed values are "aware" of the observed ones.
  • Inter-consistency Condition Network: To handle temporal flow, the model utilizes a "context window" from adjacent time segments. A mixup mechanism blends information from the current window and its neighbor, teaching the model to respect temporal trends and boundaries.
  • Hybrid Architecture: The denoising network combines a standard Transformer to capture temporal dependencies with an "Inverted Transformer" (iTransformer) to model relationships between different variables.

Experimental Evaluation

MTSCI was evaluated on three widely used public benchmarks: ETT (Electricity Transformer Temperature), Weather, and METR-LA (traffic speed). The model was tested against two primary missing data patterns: randomly scattered point missing and continuous block missing. Block missing is significantly more challenging as it requires the model to reconstruct long sequences without local temporal cues.

Results and Analysis

MTSCI achieved state-of-the-art results across all datasets and missingness scenarios. On average, it improved performance over the best baselines by 17.88% in Mean Absolute Error (MAE), 15.09% in Root Mean Squared Error (RMSE), and 13.64% in Mean Absolute Percentage Error (MAPE).

The model showed particularly strong superiority in block missing scenarios, where maintaining temporal continuity is most difficult. Ablation studies confirmed that removing either the intra-contrastive or the inter-consistency modules led to a noticeable drop in performance, validating the importance of the consistency-focused design.

Conclusion and Future Work

MTSCI demonstrates that incorporating consistency constraints into a generative diffusion framework significantly enhances the quality of multivariate time series imputation. While the current model uses context windows primarily during training to act as a regularizer, future work could explore more explicit utilization of past context during real-time deployment. Additionally, extending the framework to handle more irregular missing data patterns remains a promising direction for further research.

Summary updated

BibTeX
@inproceedings{zhou2024mtsci,
  author = {Jianping Zhou and Junhao Li and Guanjie Zheng and Xinbing Wang and Chenghu Zhou},
  title = {{MTSCI: A Conditional Diffusion Model for Multivariate Time Series Consistent Imputation}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2024},
  doi = {10.1145/3627673.3679532},
}
Figure