Self-attention-based Diffusion Model for Time-series Imputation in Partial Blackout Scenarios

Mohammad Rafid Ul Islam, Prasad Tadepalli, Alan Fern

Introduction: The Challenge of Partial Blackouts

In real-world multivariate time-series data, sensor failures often lead to missing values. While many existing imputation methods address "randomly missing" data or "complete blackouts" (where all sensors fail simultaneously), they frequently struggle with partial blackouts. A partial blackout occurs when a specific subset of features is missing for a continuous duration, a common scenario in environmental monitoring and healthcare.

Illustration of a partial blackout scenario where blocks of features are missing over time.

Traditional methods like CSDI or SAITS often fail to capture the complex, joint dependencies between specific features over time during these block outages. Furthermore, many state-of-the-art diffusion models face scalability issues as the number of features increases into the hundreds, often requiring artificial data reduction to fit within GPU memory constraints.

Methodology: The SADI Framework

To address these limitations, the authors propose SADI (Self-Attention Diffusion Model for Imputation), a generative model based on score-based diffusion. SADI learns to reconstruct clean data from noisy versions by reversing a diffusion process.

The SADI architecture featuring the Feature Dependency Encoder (FDE), Gated Temporal Attention (GTA), and a two-stage refinement process.

The SADI architecture introduces several key innovations:

  • Feature Dependency Encoder (FDE): Utilizing 1D dilated convolutions and self-attention, the FDE is "time-aware," capturing how relationships between different sensors evolve rather than treating them as static.
  • Gated Temporal Attention (GTA): This component models long-range dependencies across time steps to maintain the temporal "flow" of the data.
  • Two-stage Imputation with Weighted Combination: SADI employs a refinement process where an initial imputation is passed through a second stage. A learnable weighted combination mechanism determines the final output by balancing the two stages, using the original noisy data as a grounding mechanism to prevent "hallucinations."
  • Mixed Partial Blackout (MPB) Training: A curriculum-based training strategy is used, where the model is first trained on random missingness and then fine-tuned on simulated partial blackouts to enhance robustness.

Experimental Evaluation

SADI was evaluated on four diverse real-world datasets: AgAID (grape cultivar data), Air Quality (Beijing PM2.5), Electricity Load (370 clients), and NACSE PRISM (352 weather stations). The latter two datasets specifically tested the model's scalability to high-dimensional feature spaces.

Key Results

The SADI-MPB variant consistently outperformed benchmarks such as CSDI, BRITS, and SAITS:

  • Superior Accuracy: SADI achieved the lowest Mean Squared Error (MSE) and Continuous Ranked Probability Score (CRPS) in partial blackout scenarios.
  • Scalability: Unlike models like CSDI, which often require downsampling due to GPU memory constraints on high-dimensional data, SADI’s single-channel architecture allows it to process hundreds of features efficiently.
  • Robustness: Performance remained stable even as the number of missing features increased, whereas baseline models showed significant degradation.

Conclusion and Future Work

SADI demonstrates that time-aware feature encoding and multi-stage refinement are critical for handling structured missingness in time-series data. While the two-stage process significantly improves quality, future work will focus on further refining the learnable weighting mechanism to prevent occasional accuracy degradation. Additionally, the authors suggest that SADI's architecture could be adapted for forecasting tasks and irregularly sampled time series.

Summary updated

BibTeX
@inproceedings{islam2025self,
  author = {Mohammad Rafid Ul Islam and Prasad Tadepalli and Alan Fern},
  title = {{Self-attention-based Diffusion Model for Time-series Imputation in Partial Blackout Scenarios}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i17.33931},
}
Figure