Abstract
Generating high-fidelity synthetic time series remains a significant challenge due to the complex multi-scale nature of real-world data. Traditional generative models often struggle to balance local temporal precision with global spectral coherence. We present WaveletDiff, a novel generative framework that operates directly on wavelet coefficients. By leveraging the Discrete Wavelet Transform (DWT), WaveletDiff decomposes signals into hierarchical levels, applying level-specific diffusion and cross-level attention to capture dependencies across scales. Our evaluation across energy, finance, and neuroscience datasets demonstrates that WaveletDiff significantly outperforms existing state-of-the-art methods, achieving nearly a 3x improvement in key fidelity metrics.
Introduction
The generation of synthetic time series data is critical for applications ranging from data augmentation to privacy-preserving analysis. However, it presents a "Goldilocks" problem: time-domain models (e.g., GANs, standard diffusion) excel at capturing local fluctuations but often fail to model long-term dependencies or global spectral properties. Conversely, frequency-domain models (e.g., Fourier-based) capture global patterns but lose the temporal localization of transient events. Real-world signals, such as neural spikes in an EEG or sudden market shocks, are inherently multi-scaled. WaveletDiff addresses this by utilizing the multi-resolution properties of wavelets to respect both temporal ("where") and spectral ("what") characteristics simultaneously.
Methodology
WaveletDiff's core innovation is its architecture, which is designed to operate entirely within the wavelet coefficient space rather than raw time-domain data.
Core Components
- Discrete Wavelet Transform (DWT): The model first decomposes a time series into multiple levels of "approximation" (low-frequency trends) and "detail" (high-frequency bursts) coefficients.
- Level-Specific Diffusion: Instead of a monolithic model, WaveletDiff employs dedicated transformers for each decomposition level, allowing it to learn the specific dynamics of different scales independently.
- Cross-Level Attention: This adaptive gating mechanism facilitates information flow between different scales. For instance, a low-frequency trend can "inform" high-frequency details, ensuring the generated signal is coherent across all resolutions.
- Energy Preservation Loss: Based on Parseval’s theorem, the authors include a loss term that ensures the "energy" (variance) of the generated coefficients matches the original data at every level, preventing spectral drift.
- Exponential Noise Schedule: Unlike standard cosine schedules, WaveletDiff uses an exponential schedule, which provides greater stability for the lower-dimensional nature of time series data.
Experiments and Results
The authors evaluated WaveletDiff on six diverse, real-world datasets spanning energy (ETTh1, ETTh2), finance (Google Stocks, Exchange Rates), and neuroscience (fMRI, EEG). These datasets cover a wide range of characteristics, from smooth trends to high volatility and complex multi-channel dynamics.
Key Findings
- State-of-the-Art Fidelity: WaveletDiff consistently dominated baselines such as TimeGAN, FourierDiffusion, and Diffusion-TS. On average, it achieved discriminative and Context-FID scores that were three times better than the second-best baseline.
- Long-Sequence Stability: While many models degrade as sequence length increases, WaveletDiff maintained high fidelity across longer horizons (up to 128 timesteps), particularly in capturing correlational structures.
- Distributional Alignment: t-SNE visualizations and probability density plots show that WaveletDiff's synthetic data distributions overlap almost perfectly with real data, capturing the "peaks" of the distribution that Fourier-based methods often miss.
- Inductive Bias: The choice of the "mother wavelet" acts as a powerful inductive bias; for example, Symlets performed best for financial data, while Daubechies wavelets were superior for neuroscience data.
Conclusion and Future Work
WaveletDiff demonstrates that hierarchical wavelet-based diffusion is a superior approach for capturing the multi-scale pulse of time series data. While the choice of the mother wavelet currently remains a hyperparameter, the framework's ability to maintain cross-scale coherence sets a new benchmark for synthetic data quality. Future research will focus on learning optimal wavelet shapes directly from data and extending the framework to conditional generation tasks.
Summary updated