Home Knowledge Base Rough Path Theory

Rough Path Theory is a mathematical framework for rigorously defining and analyzing controlled differential equations driven by highly irregular signals — including paths that are nowhere differentiable (like Brownian motion) — by replacing the path with its collection of iterated integrals (the "signature"), which captures essential geometric information invariant to time reparametrization, providing the theoretical foundation for Neural CDEs (Controlled Differential Equations) and enabling principled deep learning on time series with guaranteed expressiveness and robustness properties.

The Problem with Irregular Paths

Classical ODE theory requires smooth driving signals: dz/dt = f(z, t) × dx/dt. When x(t) is a smooth path (differentiable), the integral ∫ f(z) dx is well-defined via Riemann integration.

But many real-world processes are driven by Brownian motion or other highly irregular signals:

Kiyoshi Itô (1944) solved this for stochastic calculus but introduced a specific integration convention (Itô integral). Rough Path Theory (Terry Lyons, 1998) provides a unified deterministic framework that: 1. Works for any sufficiently regular rough path (Hölder continuous with exponent > 1/p for p < ∞) 2. Allows multiple integration conventions (Itô, Stratonovich) as special cases 3. Provides stability bounds showing solutions depend continuously on the rough path

The Signature: A Path's Fingerprint

The signature S(X)_{s,t} of a path X over interval [s,t] is the collection of iterated integrals:

S(X)_{s,t} = (1, X_{s,t}¹, X_{s,t}², ...) where:

Key properties of the signature:

Neural CDEs: Signatures Meet Deep Learning

Neural Controlled Differential Equations (Neural CDEs, Kidger et al. 2020) use rough path theory to define continuous-time sequence models:

dz(t) = f(z(t); θ) dX(t)

where X(t) is the input path (interpolated from discrete observations) and f is a neural network. The solution z(T) provides a fixed-size representation of the entire input sequence.

Key advantages over Neural ODEs and ODE-RNNs:

Signature Features in Machine Learning

Beyond Neural CDEs, signature features are used directly as fixed-size representations of paths:

Given a time series, compute the truncated signature to depth d (the first d levels of iterated integrals). This produces a fixed-dimensional feature vector that:

Applications: handwriting recognition (path through pen position space), financial time series analysis, speech processing, and medical trajectory classification. The iisignature and signatory Python packages provide efficient signature computation for machine learning applications.

rough path theorytheory

Explore 500+ Semiconductor & AI Topics

From EUV lithography to CUDA optimization — search the full knowledge base or chat with our AI assistant.