TL;DR
Training a single diffusion model to generate realistic time-series across wildly different domains—like solar energy, traffic, and finance—usually stalls because every domain’s underlying rhythms emerge from noise at a different pace. IIDiff solves this by pairing a Mixture-of-Experts (MoE) architecture with a live "spectral speedometer." By aligning specialized experts with the natural low-to-high frequency unfolding of signals, one unified model can fluently generate diverse, high-fidelity time-series data.
What Problem Does This Paper Address?
Diffusion models are fantastic at generating synthetic time-series data, which is vital when real data is scarce or private. Ideally, we want one unified "cross-domain" model capable of generating everything from weather patterns to stock exchange rates, rather than training separate models from scratch for each dataset.
Combining diffusion with Mixture-of-Experts (MoE)—where sub-networks specialize in different patterns—seems like an obvious path forward. However, time-series diffusion has a quirk: as a model iteratively removes noise, it naturally recovers coarse, low-frequency outlines first, and fine, high-frequency details later.
This creates two coupled headaches:
- Intra-domain imbalance: Standard models treat all denoising steps equally, ignoring this low-to-high frequency progression and leading to lopsided pattern learning.
- Inter-domain speed mismatches: Different domains recover frequencies at different speeds. For example, a 0.1 Hz rhythm emerges around step 150 in solar data, but shows up much earlier (around step 100) in financial data (NN5). Static MoE routers are blind to these shifting schedules, sending signals to the wrong experts at the wrong times.
Methods
The authors build on a standard prompt-conditioned Diffusion Transformer (DiT) backbone, introducing IIDiff via two novel mechanisms that make the MoE layer spectrum-aware:
- Progressive Frequency Specializing (PFS): Instead of giving every expert the same view of the noisy sequence, IIDiff places 1D average-pooling layers of strictly decreasing window sizes in front of its unshared attention experts. Because average pooling acts as a parameter-free low-pass filter, experts with wide windows blur out high-frequency static to focus on broad outlines, while narrow-window experts preserve sharp, high-frequency details. Shared vanilla-attention experts run alongside them to catch non-stationary quirks.
- Dynamic Transition Matching (DTM): How does the router know which expert to call when every domain denoises at its own pace? At each step, DTM runs a Discrete Fourier Transform (DFT) on the noisy signal to check its frequency magnitudes. Relying on the mathematical property that Gaussian white noise stays Gaussian in the frequency domain, it fits a Gaussian reference distribution to the active frequencies and passes them through a smooth Cumulative Distribution Function (CDF). This acts as a lightweight, real-time proxy for which frequencies have actually emerged from the noise, feeding those exact cues to the MoE router.
Datasets
IIDiff is jointly trained and evaluated on a concatenated pool of 12 real-world datasets sliced into univariate sequences of 168 time steps. No new benchmarks are introduced; following prior cross-domain protocols, the suite spans four practical domains (including energy, transportation, weather, and finance):
- Datasets: Electricity, Solar, Wind, Traffic, Taxi, Pedestrian, Air, Temperature, Rain, NN5, Fred-MD, and Exchange.
Key Insights and Ideas
- Simple pooling creates frequency hierarchies: You don't need complex wavelet transforms or heavy parameterization to specialize experts by frequency; simple 1D moving-average windows naturally order experts along a low-to-high frequency spectrum.
- Routing by spectral state, not just time step: A diffusion step number ($t$) doesn't tell you how clear a signal is across heterogeneous datasets. Measuring relative spectral activation on the fly lets the model adapt to unfamiliar transition speeds without domain-specific hand-tuning.
- Self-organizing schedules: Visualizing expert usage reveals that the model naturally learns to lean on wide-window experts early in denoising and hand off control to narrow-window experts near the end—and it visibly alters how fast that handoff happens depending on whether it's generating solar or traffic data.
Key Results
Across the 12 datasets, IIDiff was tested against GAN, VAE, and diffusion baselines (including TimeDP and Diffusion-TS):
- Distributional Fidelity: IIDiff achieves the best (lowest) Maximum Mean Discrepancy (MMD) on 9 out of 12 datasets (tying on two of those, Electricity at
0.001and Traffic at0.083), and leads or ties on the majority of datasets in K-L Divergence (e.g., cutting Exchange K-L divergence from TimeDP's1.866down to1.641). - Backbone Gains: Compared to a vanilla DiT with the same backbone, IIDiff improves mean relative MMD by +9.1% and Marginal-KL by +1.6%. Removing Progressive Frequency Specializing causes Marginal-KL performance to drop sharply (-13.4% relative to vanilla), showing both components work in tandem.
Limitations and Future Work
Not explicitly given a dedicated section in the main text, though two technical boundaries are noted in the formulation:
- Unidentifiable noise overlap: In Dynamic Transition Matching, true signal structure and stochastic noise overlap in the frequency domain and cannot be separated exactly from a single noisy sample—meaning the Gaussian statistic serves only as an approximate statistical cue rather than an exact filter.
- In-distribution scope: All experiments preprocess data into fixed-length (168-step) univariate slices, and the main evaluation strictly measures conditional generation for source domains already included in the joint training mix rather than unseen, zero-shot domains.
Summary updated