NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

New directions in the applications of rough path theory

Adeline Fermanian, Terry J. Lyons, James Morrill, Cristopher SalviarXiv 2023 · DOI

Abstract

Rough Path Theory, a branch of stochastic analysis originally developed to handle non-smooth paths like Brownian motion, is emerging as a powerful framework for modern machine learning. By summarizing complex data streams into a universal feature map called a signature, this approach enables models to handle irregularly sampled, multi-modal, and long-sequence data with high efficiency. This paper surveys the core pillars of rough path theory in machine learning, including the Signature Transform, Neural Controlled Differential Equations (CDEs), and signature kernels, demonstrating their superior performance across diverse time-series benchmarks.

Introduction

Traditional machine learning models for time series, such as Recurrent Neural Networks (RNNs), often struggle with "messy" real-world data. Streams like electronic health records or high-frequency financial ticks are frequently irregularly sampled, contain missing values, and involve complex interactions where the order of events is more critical than exact timestamps.

Standard methods typically require "bucketing" data into discrete time steps, which can lead to information loss or computational bottlenecks. Rough path theory addresses these challenges by treating data as a continuous "stream." It provides a canonical way to summarize the essential "effects" of a path on a system without needing to model every microscopic fluctuation.

Methodology

The application of rough path theory in machine learning rests on three primary pillars:

1. The Signature Transform

The signature is a "feature map" that converts a path into an infinite sequence of iterated integrals. It possesses two key properties:

  • Time-reparameterization invariance: The signature remains unchanged regardless of the speed at which the path is traversed.
  • Order sensitivity: It naturally captures the sequence of events across different channels (e.g., a phone call followed by a stock trade).
Geometric interpretation of path signatures at varying depths.

As shown in the figure above, increasing the "depth" of the signature allows for the capture of increasingly complex geometric information. While Depth 1 and 2 capture basic increments and areas, Depth 3 begins to resolve higher-order interactions between channels.

2. Neural Controlled Differential Equations (Neural CDEs)

While Neural ODEs evolve a hidden state based on time ($dt$), Neural CDEs are "driven" by the data stream itself ($dX_t$). This allows the model to respond continuously to incoming data, making it naturally robust to irregular sampling.

3. Signature Kernels

Instead of explicitly calculating high-dimensional signatures, researchers can utilize the "kernel trick." The signature kernel can be computed by solving a specific linear hyperbolic Partial Differential Equation (PDE), allowing for efficient similarity measurements between complex paths without the exponential growth associated with explicit truncation.

Key Insights and Analogies

The authors provide several intuitive frameworks for understanding these mathematical concepts:

  • The "Electricity Bill" Intuition: An electricity bill does not record every 50Hz oscillation of voltage; it records the "total power consumed." Mathematically, this is equivalent to a second-order term in a signature. This summary is often more predictive than raw high-frequency data.
  • RNNs as Discretized CDEs: Standard RNNs can be viewed as an Euler discretization of a CDE. This realization allows for the application of rigorous generalization bounds from rough path theory to classical deep learning architectures.
  • The "Insider Trader" Problem: Signatures drastically reduce the dimensionality required to learn order-dependent functions. In a toy example, a signature-based model reduced a 1440-dimensional problem to just 81 dimensions while perfectly capturing the "phone call -> trade -> price move" sequence.

Experimental Results

The paper evaluates these methods across several benchmarks, including the UEA Time Series Classification Archive (e.g., ArticularyWordRecognition, FingerMovements) and simulated physical systems.

  • Superior Classification: In UEA benchmarks, the Signature Kernel (SigKer) was consistently among the top two classifiers, outperforming truncated signatures and popular alternatives like the Global Alignment Kernel (GAK).
  • Robustness to Noise: In "Ideal Gas" experiments—where models predict gas temperature based on particle trajectories—the signature kernel remained informative even in high-collision regimes where other kernels failed.
  • Efficiency: Neural CDEs utilizing the "log-ODE method" showed significant improvements in memory usage and training time for sequences exceeding 17,000 steps.

Limitations and Future Directions

Despite their power, signatures face challenges. The number of terms grows exponentially with truncation depth, though log-signatures offer a more parsimonious alternative. Additionally, numerical computation is often limited by memory bandwidth rather than processing power. Future work points toward Neural SDEs (Stochastic Differential Equations), which leverage rough path theory for generative modeling of complex time series, such as synthetic financial data.

Summary updated

BibTeX
@misc{fermanian2023new,
  author = {Adeline Fermanian and Terry J. Lyons and James Morrill and Cristopher Salvi},
  title = {{New directions in the applications of rough path theory}},
  year = {2023},
  eprint = {2302.04586},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2302.04586},
}
Figure