EFDiff: Frequency-informed Diffusion for Extreme-value Time Series Generation

Lin Jiang, Rongchao Xu, Dahai Yu, Guang WangOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

EFDiff is a novel diffusion-based framework designed to generate synthetic time series that don't just look "average," but accurately capture rare, high-impact extreme events. By shifting the focus from the time domain to the frequency domain, the model identifies and enhances the specific frequency combinations that cause "spikes" and "crashes," leading to a massive 55.7% improvement in fidelity for financial data over existing state-of-the-art models.

What Problem Does This Paper Address?

In fields like finance, climate science, and energy management, the most important data points are often the ones that happen the least. A stock market crash or a record-breaking heatwave are "extreme events"—rare observations in the tails of a probability distribution.

Current generative models (like standard GANs or Diffusion models) are surprisingly bad at this. Because they are designed to minimize overall error, they tend to "smooth out" outliers to fit the majority of the data. This results in synthetic datasets that lack the "spiky" nature of real-world extremes, making them less useful for stress-testing financial models or predicting climate risks. The authors argue that this happens because these models focus on the time domain, where extreme events are easily confused with noise or trends.

Methods

The authors introduce EFDiff, which treats time-series generation as a three-way disentanglement problem: Trend, Seasonality, and the Extreme Component. While the first two are handled by standard methods (polynomial regression and Fourier transforms), the Extreme Component is the star of the show, consisting of two modules:

  1. Extreme-Frequency Extraction (EFX): Instead of just looking for high-amplitude frequencies, EFX builds a "global extreme-frequency dictionary." It uses three clever metrics to find frequencies that contribute to extremes:
  2. Phase-Locking Value (PLV): Measures how consistently a group of frequencies aligns their phases to create a constructive superposition (the "perfect storm" that creates a spike).
  3. Instantaneous In-phase Contribution ($C_w$): Quantifies how much a frequency combination actually adds to the amplitude of an event.
  4. Event-to-Background Contrast ($L_w$): Ensures the chosen frequencies are unique to extreme events and not just part of the background noise.
  5. Extreme-Frequency Generation Enhancement (EFGEN): During the diffusion denoising process, a Transformer-based "Soft Frequency Selection Network" looks at the noisy data and "picks" the most relevant extreme patterns from the dictionary. This allows the model to actively reconstruct extreme structures rather than accidentally smoothing them away.

The model is optimized using a composite loss function that balances time-domain accuracy, frequency-domain fidelity, and a specific "matching loss" for extreme components.

Datasets

The researchers evaluated EFDiff on five real-world datasets representing diverse domains:

  • Stocks: Adjusted closing prices from Yahoo Finance (2004–2019).
  • ETTh: Oil temperature records from electricity transformers.
  • HAE: Household energy consumption (highly granular 10-minute intervals).
  • fMRI: Simulated brain network activity time series.
  • Temperature: Ten years of hourly climate data from one of the coldest inhabited places on Earth (Verkhoyansk, Russia).

Key Insights and Ideas

  • Extremes are Superpositions: The core "aha moment" is that extreme values aren't just random outliers; they are often the result of multiple high-frequency components aligning their phases perfectly. By modeling this alignment in the frequency domain, the "structure" of an extreme event becomes much easier to generate.
  • Frequency Disentanglement is Key: By separating the "Extreme Component" from the trend and seasonality, the model prevents the dominant low-frequency signals (like a general upward trend in stocks) from drowning out the subtle high-frequency interactions that cause a sudden crash.
  • Soft Selection vs. Hard Coding: Rather than forcing the model to use specific frequencies, the "Soft Selection" approach allows the Transformer to adaptively weight different frequency combinations based on the context of the specific sequence it is generating.

Key Results

EFDiff outperformed eight representative baselines (including TimeGAN, DiffTime, and Diffusion-TS) across almost all metrics.

  • Extreme Fidelity: On the Stocks dataset, EFDiff achieved a 55.7% improvement in KL Divergence compared to the best baseline, meaning the distribution of its "crashes and spikes" was significantly closer to reality.
  • Overall Quality: Crucially, the model didn't sacrifice global accuracy to get the extremes right. It consistently ranked first or second in overall distributional metrics (JS Divergence, Wasserstein Distance) across all five datasets.
  • Visual Alignment: t-SNE visualizations showed that while baselines like TimeGAN only captured the "main body" of the data distribution, EFDiff's synthetic data points accurately filled in the "tails" where the extreme events live.

Limitations and Future Work

The authors noted that EFDiff performed slightly weaker on the HAE (Energy) dataset. This dataset is "zero-inflated"—it contains many zeros and fixed integer values. Because diffusion models rely on continuous Gaussian noise, they struggle to generate these discrete "spikes" at zero.

Future work could involve adapting the framework to handle discrete or zero-inflated distributions more effectively, perhaps by moving away from pure Gaussian diffusion for those specific components. Additionally, exploring how these frequency-informed extremes could improve long-term forecasting (rather than just generation) remains an open and promising frontier.

Summary updated

Abstract

Time-series generation, which aims to produce realistic synthetic sequences that preserve temporal dynamics, is essential for data augmentation and practical applications. However, existing methods often fail to capture extreme-value distributions, which are crucial in domains such as finance, climate, and energy. This limitation mainly stems from overall-fit objectives and smoothing procedures that distort extreme-event structures. To address these challenges, we propose EFDiff, a frequency-informed extreme-aware time-series generation framework. Unlike conventional approaches that focus on long-tail preservation in the time domain, EFDiff adopts a frequency-domain perspective by integrating a frequency-based disentanglement strategy into diffusion models. The key innovation lies in an Extreme Component, which consists of two key modules: (i) Extreme-Frequency Extraction (EFX), which constructs a global extreme-frequency dictionary that characterizes potential extreme patterns via event-driven local analysis and multi-metric integration based on the proposed concept of extreme-contributing frequencies; and (ii) Extreme-Frequency Generation Enhancement (EFGEN), which includes a novel Transformer-based Soft Frequency Selection Network to identify relevant frequencies and effectively model extreme patterns during the denoising process. Extensive experiments on five real-world datasets across six evaluation metrics demonstrate that EFDiff consistently achieves strong overall generation quality and substantially improves the fidelity of extreme-value generation.
BibTeX
@misc{jiang2026efdiff,
  author = {Lin Jiang and Rongchao Xu and Dahai Yu and Guang Wang},
  title = {{EFDiff: Frequency-informed Diffusion for Extreme-value Time Series Generation}},
  year = {2026},
  url = {https://openreview.net/forum?id=SGEC2IyuyI},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure