On the effectiveness of Randomized Signatures as Reservoir for Learning Rough Dynamics

Enea Monzio Compagnoni, Anna Scampicchio, Luca Biggio, Antonio Orvieto, Thomas Hofmann, Josef Teichmann

TL;DR

This paper demonstrates that Randomized Signatures (RS) serve as a highly effective, low-complexity "reservoir" for learning the dynamics of complex, stochastic systems. By leveraging random projections, RS overcomes the scaling issues of the traditional Signature Transform, outperforming deep learning models like NCDEs and LSTMs in training speed, data efficiency, and robustness to irregular sampling.

What Problem Does This Paper Address?

Many real-world phenomena—from high-frequency trading to electrochemical battery degradation—are modeled as continuous-time dynamical systems driven by "rough" or highly irregular inputs. Analyzing these systems is difficult because data is often observed on uneven time grids, and the underlying physics may be unknown.

Researchers often turn to two main tools:

  1. The Signature Transform: A powerful mathematical tool from rough path theory that provides a "universal" feature set for paths. However, it suffers from the curse of dimensionality: the number of features grows exponentially with the path's dimension and the level of detail (truncation order) required.
  2. Deep Learning (e.g., LSTMs, Neural CDEs): While accurate, these models are "data-hungry," computationally expensive to train, and often lack theoretical guarantees.

The authors investigate whether Randomized Signatures—a method that uses random projections to compress the infinite-dimensional signature—can provide the best of both worlds: the theoretical grounding of rough paths and the computational efficiency needed for high-dimensional, real-world data.

Methods

The core approach is a form of Reservoir Computing. Instead of training a complex recurrent network, the authors pass the input signal through an untrained, fixed "reservoir" to extract features, then train a simple linear "readout" map.

  • The Reservoir (Randomized Signature): Instead of calculating iterated integrals (the standard Signature), the authors solve a system of linear stochastic differential equations (SDEs) where the coefficients (matrices $A_i$ and shifts $b_i$) are random and fixed. This is equivalent to projecting the path's Signature into a lower-dimensional space $k$ using the Johnson-Lindenstrauss Lemma.
  • The Readout: A simple ridge regression is performed to map these random features to the target output.
  • Theoretical Contribution: The authors use Malliavin Calculus to prove that the Randomized Signature process $Z_t$ is expressive enough to represent the behavior of any target dynamical system, provided the number of features $k$ is sufficiently large.

Datasets

The authors evaluate their method across several challenging synthetic and real-world scenarios:

  • Fractional Ornstein-Uhlenbeck Process: A standard benchmark for rough stochastic dynamics.
  • Electrochemical Battery Model: Using the NASA Prognostic Model Package to simulate voltage trajectories based on noisy current inputs.
  • Enzyme-Substrate Model: A Michaelis-Menten kinetics model used to test out-of-distribution generalization.
  • Langevin Equation: A physics model used to test performance on irregularly sampled time grids.

Key Insights and Ideas

  • Breaking the Exponential Barrier: The Randomized Signature requires significantly fewer features than the Truncated Signature to achieve the same accuracy in high dimensions. For a 10-dimensional control, RS was found to be 3x cheaper computationally while maintaining high precision.
  • Robustness to Randomness: Despite relying on random initializations, the model's predictions are remarkably stable. As shown in Figure 1, the variance across different random seeds is negligible.
Robustness of RS predictions across 10 random seeds
  • Data Efficiency: Unlike deep learning models that require thousands of trajectories, RS performs well even with very small training sets ($N_{train} = 20$).
  • Handling Irregularity: Because it is rooted in continuous-time SDEs, the method naturally handles data observed at irregular intervals, a major hurdle for standard discrete-time models.

Key Results

  • Superior Speed and Accuracy: In head-to-head comparisons (Table I), RS achieved an error rate of $1.02 \times 10^{-5}$ with a training time of just 1.59 seconds. In contrast, Neural CDEs (NCDEs) took over 3,200 seconds and had an error rate three orders of magnitude higher.
  • Scalability: Figure 2 illustrates that as the number of control signals increases, the Truncated Signature's performance degrades and its parameter count explodes, while the Randomized Signature remains stable and efficient.
Scaling comparison: RS vs Truncated Signature
  • Out-of-Distribution Generalization: The model successfully predicted system responses even when the input signal followed a completely different law than the one used during training (Figure 4), suggesting it truly identifies the underlying system dynamics rather than just memorizing patterns.
Generalization on enzyme-substrate reactions

Limitations and Future Work

  • Theoretical Scope: While the authors provide a proof for Brownian motion controls, they acknowledge that a broader theoretical framework for general rough paths is still needed.
  • Hyperparameter Tuning: The choice of the activation function $\sigma$, the number of features $k$, and the regularization parameter $\lambda$ currently relies on cross-validation. The authors suggest that future work should investigate more systematic ways to optimize these choices.
  • Generalization Theory: Further research is needed to provide deeper theoretical results on why the Randomized Signature generalizes so well to out-of-distribution scenarios.

Summary updated

BibTeX
@inproceedings{compagnoni2023effectiveness,
  author = {Enea Monzio Compagnoni and Anna Scampicchio and Luca Biggio and Antonio Orvieto and Thomas Hofmann and Josef Teichmann},
  title = {{On the effectiveness of Randomized Signatures as Reservoir for Learning Rough Dynamics}},
  booktitle = {IJCNN},
  year = {2023},
  doi = {10.1109/ijcnn54540.2023.10191624},
}
Figure