IIDiff: Learning Cross-Domain Frequency Transitions with Diffusion Mixture-of-Experts

Xin Xue, Yirong Xue, Xingcheng Fu, Yisen Gao, lanhao li, Lijun Sun, Yunhao Fu, Haoyi ZhouNeurIPS 2026

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.

Figure 1: Motivating frequency trajectories. (a) Intra-domain Frequency Transition Compliance. The sensitive frequency during denoising shows a transition from low frequency to high, which causes imbalanced frequency pattern learning across denoising steps and degrades model perfor- mance, calling for transition compliance mechanism. (b) Inter-domain Domain-wise Transition Adaptation. The transition speed varies across diverse domains. Diffusion model transition to the frequency component near 0.1 Hz for solar data at about 150 steps (Peak 3 in the left), but earlier for NN5 data at about 100 steps (Peak 2 in the right), demonstrating the requirement for domain adaptation.

This creates two coupled headaches:

  1. Intra-domain imbalance: Standard models treat all denoising steps equally, ignoring this low-to-high frequency progression and leading to lopsided pattern learning.
  2. 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:

Figure 2: Overall architecture of the IIDiff, addressing the intra- and inter-domain frequency transition misalignment. Intra-domain: As the sensitive frequency transfer in low-to-high order, we introduce progressive frequency specializing with experts containing hierarchical aggregating windows, allow- ing dynamical frequency reception fields adjustment, aligning the denoising process. Inter-domain: To adapt the transition variation across domains, we propose a dynamic transition matching to instan- taneous monitor the transition process, providing domain-specific routing instructions.
  • 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.001 and Traffic at 0.083), and leads or ties on the majority of datasets in K-L Divergence (e.g., cutting Exchange K-L divergence from TimeDP's 1.866 down to 1.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

Abstract

Diffusion models have shown strong performance in time-series generation, while joint generation across heterogeneous domains remains challenging because their spectral recovery trajectories evolve during denoising and vary across domains. Existing frequency-aware Mixture-of-Experts (MoE) models provide a promising basis for specialization, but integrating them with diffusion models requires addressing two coupled challenges. For intra-domain aspect, the absence of frequency transition compliance leads to imbalance pattern learning across denoising steps and degrade model performance. For the inter-domain aspect, the domain-specific transition variation bring difficulties for domain adaptation. To address these challenges, We propose IIDiff, a frequency-guided diffusion MoE framework that couples progressive frequency specialization with dynamic transition matching. Progressive frequency specialization organizes experts with different effective bandwidths to model intra-domain spectral recovery. Dynamic transition matching extracts a lightweight statistic from the current spectrum to coordinate experts according to inter-domain transition variation. Experiments on 12 real-world datasets across 4 domains show competitive results, confirming its strong domain adaptability and ability to generate high-fidelity cross-domain time-series.
BibTeX
@inproceedings{xue2026iidiff,
  author = {Xin Xue and Yirong Xue and Xingcheng Fu and Yisen Gao and lanhao li and Lijun Sun and Yunhao Fu and Haoyi Zhou},
  title = {{IIDiff: Learning Cross-Domain Frequency Transitions with Diffusion Mixture-of-Experts}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=3lbpq6bC01},
}
Figure