TL;DR
Standard generative models are great at synthesizing average, everyday time-series data, but they tend to wash out rare, high-impact "extreme events" like flash floods or cardiac anomalies. E4GEN fixes this by treating extreme events not as isolated outlier points, but as coherent, structured stories with a beginning, peak, and end. By figuring out when, what, and how to inject extreme-event guidance into a diffusion model's denoising process, it generates realistic synthetic data that nails both normal rhythms and rare crises.
What Problem Does This Paper Address?
Synthetic time-series data is crucial for running simulations, stress-testing infrastructure, and training downstream machine learning models. While modern generative models (like GANs, LLMs, and diffusion models) capture the general "vibe" of a dataset—its overall distribution, trends, and seasonality—they consistently smooth over sparse, extreme events.
Recent attempts at "extreme-aware" generation usually look at extremes at the sample level (flagging an entire sequence as rare) or the value level (boosting the probability of isolated outlier numbers). Neither approach captures how nature actually works. A rainstorm or a traffic jam isn't just a scatter of high numbers; it is a contiguous, temporally dependent process with a specific onset, duration, and shape.
Without understanding when and how these localized structures emerge during generation, models distort them or miss them entirely.
Methods
E4GEN builds upon a standard seasonal-trend diffusion backbone (which iteratively refines pure Gaussian noise into clean time-series data) and introduces a structured semantic representation for extreme events—explicitly encoding their Location (count, start/end times), Intensity (peak, prominence, energy), and Temporal Shape (structural keypoints).
To weave these semantics into the diffusion process without wrecking normal background patterns, the authors introduce three novel, plug-and-play components:
- E-Activator (When to control): Instead of forcing extreme-event guidance from step one, E-Activator learns a dataset-specific activation step ($t_{\text{CA}}$). Using two custom metrics—Backbone Drift (measuring trend/seasonality stability) and Outlier Emergence Score—it waits until the global background rhythm is locked in before turning on extreme-event control.
- E-Predictor (What to control): When generating new data from pure noise, you don't have ground-truth labels telling you what extreme event should happen. E-Predictor uses Self-Driven Semantic Prediction (SDSP) to look at the partially denoised background context at step $t_{\text{CA}}$ and infer the most realistic extreme event semantics for that specific trajectory. To train this predictor without labels during sampling, the authors devise DCT-NIS (Data-Conditioned Training, Noise-Initiated Sampling), which briefly diffuses real, labeled data and denoises it to $t_{\text{CA}}$ so the predictor learns on states that mathematically mirror pure-noise sampling states.
- E-Control (How to control): A trainable Extreme Control Network takes the predicted event semantics (or user-specified ones!), encodes them into tokens, and injects them into the base denoiser via gated, layer-wise residual offsets—sculpting the extreme spike while leaving the background trend intact.
Datasets
The authors evaluate E4GEN on six datasets (one synthetic and five real-world) spanning four major domains:
- Climate:
WEA-TEMP(cold temperature extremes) andWEA-PREC(heavy rainfall). - Healthcare:
LTST-ECG(electrocardiograms featuring ST-segment elevations / cardiac anomalies). - Energy:
HH-POWER(spikes in household electricity consumption). - Transportation:
PEMS-SF(severe traffic congestion).
No brand-new datasets are introduced, though the authors define seven new event-level fidelity metrics (like duration and peak Wasserstein distances) alongside two extreme-oriented downstream utility tasks to properly benchmark event-level performance.
Key Insights and Ideas
- Diffusion models work like painters—coarse to fine: Visualizing a 500-step denoising trajectory reveals that diffusion models establish global trends and seasonality early on, only refining sharp, localized extreme events in the final ~100 steps. Applying extreme control too early fights the model's natural dynamics and ruins global fidelity. Coarse-to-fine diffusion generation and cross-sample stability of ECG events
- Extremes aren't random chaos; they have physics: Extreme events are governed by underlying physical or physiological rules, meaning they have recurring shapes (like premature ventricular contractions in ECGs) and depend heavily on the surrounding temporal context. Because of this, a neural network can actually predict when and how an extreme event should erupt just by reading the stabilized trend and seasonality of a partially generated sequence.
- Heavy tails aren't enough: Simply swapping in a heavy-tailed distribution (value-level enhancement) creates more extreme numbers, completely missing structured phenomena—such as density surges within specific, non-random value ranges—that characterize real-world crises.
Key Results
Across 102 dataset–metric comparisons against nine baselines (spanning GANs, VAEs, Flows, LLMs, and heavy-tailed diffusion models), E4GEN achieves state-of-the-art performance in 79.4% of cases and lands in the top two in 95.1%.
- Superior Tail & Event Fidelity: On the
WEA-TEMPdataset, E4GEN slashes the Extreme Wasserstein distance (EWass.) to 2.2081 (compared to 4.7470 for Diffusion-TS and 5.8522 for HeavyDiff) and cuts Extreme Duration error (ED-W1) to 0.2916, closely matching the true tail distribution where all baselines deviate. - Downstream Utility: When training forecasting and anomaly detection models on synthetic data and testing on real data, E4GEN leads in general prediction (
Predof 0.1084) as well as extreme-event prediction (EPredof 0.1158) and anomaly detection (EReconof 0.0522). - Accurate Semantic Prediction & Controllability: E-Predictor localizes latent extreme events with Event-F1 scores of 0.713–0.872. Furthermore, users can bypass the predictor and manually feed custom locations, durations, and peak intensities into E-Control to generate bespoke "what-if" extreme scenarios on demand.
- Fast Execution: Despite the added control modules, E4GEN remains lightweight, taking just 0.09–0.12 seconds per training epoch and 0.09–0.24 seconds to generate a sample.
Limitations and Future Work
Not discussed in the paper. (Note: The provided main text concludes at Section 6 without a dedicated limitations or future work section; Note also that Extreme Event thresholds $\theta$ currently rely on domain-specific prior knowledge rather than universal automation).
Summary updated