PCF-GAN: generating sequential data via the characteristic function of measures on the path space

Hang Lou, Siran Li, Hao Ni

TL;DR

PCF-GAN introduces a novel framework for time series generation by leveraging the Path Characteristic Function (PCF) to map sequential data into a continuous path space. By combining this principled mathematical representation with a sequential autoencoder architecture, the model captures complex temporal dependencies while enabling simultaneous high-fidelity data generation and reconstruction.

What Problem Does This Paper Address?

Generating realistic time series data using Generative Adversarial Networks (GANs) is notoriously difficult because standard architectures struggle to capture the intricate temporal dependencies of joint probability distributions. While some recent approaches have used the classical Characteristic Function (CF) as a discriminator metric to stabilize training, these methods treat time series as flattened, high-dimensional vectors. This leads to the "curse of dimensionality" and fails to handle high-frequency data, variable sequence lengths, or irregular sampling intervals.

The authors tackle this gap by shifting from a discrete-time perspective to a continuous-time path space perspective, allowing them to mathematically characterize the underlying distribution of sequential data more robustly.

Methods

The core innovation is the Path Characteristic Function (PCF) distance, which serves as a novel Integral Probability Metric (IPM) for the GAN's discriminator.

  1. Unitary Feature & Path Space: The authors lift discrete time series into a continuous path space via linear interpolation. They then use rough path theory to compute a "unitary feature" (a path development over a unitary Lie group), which naturally encodes the sequential order and temporal structure of the path.
  2. Empirical PCF Distance (EPCFD): Instead of calculating complex kernels, the discriminator directly optimizes and evaluates the expected distance between the PCFs of real and generated data. The authors prove that this metric is uniformly bounded, differentiable, and metrizes weak convergence.
  3. Sequential Embedding Autoencoder: To handle high-dimensional data without mode collapse, PCF-GAN integrates an autoencoder structure. The network maps raw time series into a latent noise space (via an embedding layer $F_{\theta_f}$) and back (via the generator $G_{\theta_g}$).
Figure 3: Visualization of the PCF-GAN architecture

The framework optimizes a hybrid loss function consisting of three parts:

  • Generator Loss ($\mathcal{L}_{generator}$): Matches the PCF distribution of the embedded real data and embedded synthetic data.
  • Reconstruction Loss ($\mathcal{L}_{recovery}$): Enforces injectivity by ensuring the embedding layer and generator act as pseudo-inverses.
  • Regularization Loss ($\mathcal{L}_{regularization}$): Aligns the distribution of the embedded real data directly with the prior noise distribution (e.g., Brownian motion).
Figure 1: Flowchart of calculating the PCF ΦX(Mθ).

Datasets

The model was evaluated on a toy example (a time-dependent Ornstein-Uhlenbeck process) and four distinct empirical benchmarks:

  • Rough Volatility (RV): A 2D high-frequency synthetic financial dataset with low noise-to-signal ratios.
  • Stock: Daily historical data featuring 5 channels (open, close, high, low, volume) across 10 large-market-cap stocks from 2013 to 2021.
  • Beijing Air Quality: A 10-dimensional UCI dataset containing hourly measurements of air pollutants and weather conditions.
  • EEG Eye State: A 14-dimensional, highly continuous, and high-frequency UCI dataset tracking brainwave measurements.

Key Insights and Ideas

  • Natural Boundedness Eliminates Gradient Penalties: Unlike Wasserstein GANs (WGANs) which require computationally heavy gradient clipping or gradient penalties (WGAN-GP) to maintain Lipschitz continuity, the PCF distance is inherently uniformly bounded. This naturally stabilizes training and mitigates vanishing gradients in recurrent networks like LSTMs.
  • Injectivity Prevents Trivial Solutions: In embedding-based GANs, the embedding network can trick the generator by collapsing into a constant function (yielding a perfect but useless loss of 0). Enforcing a sample-wise reconstruction loss ensures the embedding retains essential raw data characteristics.
  • Linear Complexity vs. Quadratic MMD: Although the PCF distance can be mathematically linked to Maximum Mean Discrepancy (MMD), computing the empirical PCF distance scales linearly with sample size, making it significantly more efficient than standard quadratic MMD kernel calculations.

Key Results

The authors compared PCF-GAN against state-of-the-art baselines, including RGAN, TimeGAN, and COT-GAN, using three evaluation metrics: Discriminative Score, Predictive Score, and Sig-MMD.

  • Generation Quality: PCF-GAN consistently outperformed all baselines across almost all datasets. For instance, on the Stock dataset, PCF-GAN achieved a Discriminative Score of 0.0784, which is roughly 39% lower (better) than the second-best performing model.
  • Reconstruction Capability: Because TimeGAN is the only baseline capable of reconstruction, it served as the sole competitor for this task. PCF-GAN drastically outperformed TimeGAN; on the Rough Volatility dataset, PCF-GAN's reconstruction Sig-MMD was 0.0960 compared to TimeGAN's 3.308.
  • Training Efficiency: PCF-GAN proved highly efficient, running approximately twice as fast as TimeGAN and three times as fast as COT-GAN.

Limitations and Future Work

While PCF-GAN demonstrates strong mathematical foundations and empirical success, the authors note a few limitations:

  • Architecture Constraints: The current implementation relies strictly on LSTM-based networks for the autoencoder components. The performance of PCF-GAN when paired with other sequential architectures, such as Transformers, remains unexplored.
  • Scaling to Complex Modalities: The framework has yet to be tested on highly complex sequential data structures, such as video streams or skeletal human action sequences.

Future work will focus on exploring alternative network backbones and developing even more efficient algorithms to compute the underlying kernels associated with the path space.

Summary updated

BibTeX
@inproceedings{lou2023pcf,
  author = {Hang Lou and Siran Li and Hao Ni},
  title = {{PCF-GAN: generating sequential data via the characteristic function of measures on the path space}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=iWWLgcUTZU},
}
Figure