Abstract
Missing data in time series, particularly long contiguous gaps known as "blackout missingness," poses a significant challenge for traditional imputation methods. This paper introduces SSSD, a novel framework that integrates Conditional Diffusion Models with Structured State Space (S4) layers. By leveraging the long-range dependency modeling capabilities of S4, SSSD achieves state-of-the-art performance in both imputation and forecasting, significantly outperforming existing Transformer and CNN-based diffusion models.
Introduction
Missing data is a pervasive issue in real-world time series applications, ranging from healthcare monitoring to environmental sensing. While "Random Missingness" (RM)—where individual data points are scattered—is well-studied, real-world failures often result in "Blackout Missingness" (BM), where entire chunks of data are lost across all sensors for a significant duration.
Standard models like Transformers or RNNs often struggle with these long-range dependencies, frequently producing "blurry" averages rather than realistic data. The authors of SSSD argue that forecasting is essentially a special case of blackout missingness where the gap occurs at the end of the sequence. They propose a unified generative architecture to handle both tasks with high fidelity.
Methodology
The SSSD architecture relies on two primary technological pillars to overcome the limitations of previous models:
- Conditional Diffusion Models: Instead of deterministic prediction, SSSD learns to "denoise" a signal. It starts with Gaussian noise in the missing regions and iteratively refines it into a realistic signal, conditioned on observed data. The authors found that a "D1" setup—adding noise only to missing regions—performed significantly better than noising the entire sequence.
- Structured State Space (S4) Layers: While Transformers face quadratic computational costs and Convolutions have limited receptive fields, S4 layers are designed to capture long-range dependencies efficiently. By replacing dilated convolutions with S4 blocks, SSSD can "remember" patterns across much longer time horizons, which is critical for reconstructing complex signals like heartbeats.
Experimental Results
The authors evaluated SSSD across diverse benchmarks, including PTB-XL (ECG signals), MuJoCo (physics trajectories), and Electricity/Solar (energy usage and forecasting). Key findings include:
- Superiority in Blackouts: On the PTB-XL dataset, SSSD reduced the Mean Absolute Error (MAE) by more than 50% compared to CSDI, the previous state-of-the-art diffusion imputer.
- Qualitative Fidelity: SSSD was uniquely capable of realistically reconstructing the "QRS complex" (the main spike) of an ECG signal during a blackout, whereas other models produced flat lines or misplaced peaks.
- Forecasting Performance: On the Solar dataset, SSSD achieved a 60% error reduction compared to strong baselines like TLAE.
- High Sparsity Resilience: In MuJoCo tests with 90% missing data, SSSD outperformed specialized ODE-based models.
Discussion and Conclusion
SSSD represents a significant advancement in generative time series modeling by successfully marrying diffusion processes with state-space models. The use of S4 layers allows the model to naturally capture the "flow" of time, which is essential for high-fidelity reconstruction.
However, limitations remain. The architecture currently faces challenges when scaling to datasets with more than 100 channels, requiring channel-splitting strategies that may lose inter-channel correlations. Additionally, like all diffusion models, inference speed is limited by the iterative sampling process. Future work will likely focus on more sophisticated channel-splitting and distillation techniques to enable real-time applications.
Summary updated