Generating long, multivariate time series is notoriously difficult for standard diffusion models. SigDiffusion introduces a novel framework that diffuses in the highly compressed, continuous-time "log-signature" space instead of raw time steps. Crucially, it provides a breakthrough closed-form mathematical formula to perfectly invert these embeddings back into the original time series.
The Challenge of Time Series Generation
Score-based diffusion models have revolutionized image and audio generation, but adapting them to long, multivariate time series remains a challenge. Time series are often irregularly sampled, making it mathematically elegant to treat them as continuous functions (or "paths") rather than discrete arrays.
In rough path theory, a path can be represented by its signature—a collection of iterated integrals that perfectly captures the geometric shape and cross-channel interactions of the data. While signatures are fantastic feature extractors, using them for generation has historically hit a massive roadblock: signature inversion.
Going from a time series to a signature is easy, but going backward (reconstructing the time series from a generated signature) is notoriously difficult. Previous inversion algorithms were slow, scaled poorly, or only worked on overly simple piecewise-linear paths. This paper solves that bottleneck.
The SigDiffusion Pipeline
The authors propose a three-step pipeline that marries rough path theory with score-based diffusion:
- Log-Signature Embedding: Instead of operating on raw time steps, the data is converted into log-signatures. This maps the continuous time series into a flat Euclidean space (a Lie algebra) that is much more compact than the standard signature but retains all the geometric information.
- SigDiffusion: A standard score-based diffusion model (using a lightweight Transformer architecture) is trained to add and remove noise directly within this log-signature space.
- Closed-Form Inversion: To get back to the time domain, the authors derive novel, exact mathematical formulas to perfectly invert the generated log-signatures back into time series.
Solving the Inversion Bottleneck
The "secret sauce" of SigDiffusion is its mathematical approach to inversion. By projecting the time series onto orthogonal bases, the "white whale" problem of signature inversion becomes a solvable, deterministic system of equations.
The authors prove that if you represent a time series as an expansion of basis functions (like Fourier series or orthogonal polynomials such as Legendre or Hermite), the coefficients of that expansion can be extracted directly from the log-signature using simple linear functionals. You don't need a neural network to guess the inversion; you can just calculate it.
Furthermore, you don't need infinitely deep signatures to capture a signal. Truncating the log-signature at a low level (e.g., step-4) captures the macro shape and cross-channel dependencies perfectly for most real-world data, smoothing out unnecessary micro-noise.
Experiments and Results
The models were evaluated on generating long sequences (1000 time steps) across a mix of synthetic datasets (Sines, Predator-prey) and real-world datasets (Household Electric Power Consumption, Exchange Rates, and Weather).
- State-of-the-Art Quality: SigDiffusion outperformed recent continuous-time and long-sequence diffusion models (like Diffusion-TS, CSPD-GP, and DDO) on standard Discriminative and Predictive scores across almost all datasets.
- Massive Efficiency via Compression: Because log-signatures are highly compressed representations of the path's geometry, the diffusion model itself can be incredibly small. It learns the shape of the data rather than memorizing 1000 individual time steps. The SigDiffusion model requires only ~200K parameters, compared to ~4.1M for Diffusion-TS or DDO.
- Blazing Fast: Operating on compact embeddings means training took only 8 to 9 minutes per dataset on a single consumer GPU (RTX 4070 Ti), compared to 1 to 3 hours for competing models. Sampling 1000 sequences takes just 11-12 seconds.
Limitations and Future Work
Despite its efficiency, the framework faces a "high-frequency curse." The size of a signature grows exponentially with its truncation level. If a time series has highly oscillatory, high-frequency components, it requires a higher truncation level to represent accurately, which quickly bottlenecks the model's capacity and memory.
To combat this exponential growth, future work could explore alternative rough path embeddings (like path developments into compact Lie groups) that might offer even more parsimonious representations. Additionally, applying discrete-time signatures could eventually allow this Lie-group diffusion approach to be used for text or other discrete sequence generation.
Summary updated