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 · DOI

Abstract

Many phenomena in finance, physics, and engineering are modeled by continuous-time dynamical systems driven by highly irregular (stochastic) inputs. A powerful tool for time series analysis in this context is the Signature Transform, rooted in rough path theory. While theoretically robust, this algorithm is difficult to scale to high-dimensional data. This paper evaluates a recently derived random projection variant called the Randomized Signature (RS), obtained via the Johnson-Lindenstrauss Lemma. Our experimental evaluation demonstrates that RS is preferable to truncated Signature approaches and alternative deep learning techniques in terms of model complexity, training time, accuracy, robustness, and data efficiency.

Introduction: The Challenge of Rough Dynamics

Modeling systems driven by stochastic inputs, such as tick-level stock prices or turbulent fluid flows, typically requires solving Stochastic Differential Equations (SDEs). Traditional approaches face a significant trade-off:

  1. The Signature Transform provides a theoretically sound representation of SDE solutions through iterated integrals. However, it suffers from a "curse of dimensionality," where the feature count grows exponentially with input dimension and truncation order.
  2. Deep Learning (LSTMs, NCDEs) offers flexibility but is often data-hungry, computationally expensive, and lacks the strong theoretical guarantees of rough path theory.

Randomized Signatures (RS) emerge as a "middle ground," leveraging the theoretical power of signatures while scaling linearly with input dimensions.

Methodology: Randomized Signatures as Reservoirs

The Randomized Signature approach treats the signature as a "reservoir" within the framework of Reservoir Computing. Instead of computing the full, high-dimensional Signature Transform, the input path is projected into a lower-dimensional space using random matrices.

The process involves solving a simple, random linear SDE driven by the input path to generate a set of compressed features. Because the reservoir remains fixed and untrained, the model only requires training a simple linear ridge regression for the readout. Theoretically, the authors use Malliavin Calculus to prove that these randomized features are almost surely linearly independent, ensuring the reservoir is expressive enough to represent complex target systems.

Experimental Evaluation

The effectiveness of RS was tested across diverse scenarios, including the Fractional Ornstein-Uhlenbeck process, electrochemical battery models, and biological enzyme-substrate models.

Scaling and Complexity

A primary advantage of RS is its efficiency in high-dimensional settings. In benchmarks, the standard signature's parameter count explodes as the number of input controls increases. In contrast, RS maintains a manageable, linear growth in complexity.

Comparison of trainable parameters between standard Signature and Randomized Signature as the number of control dimensions increases.

Performance and Robustness

RS consistently outperforms traditional signatures and deep learning baselines like Neural Controlled Differential Equations (NCDEs) in both speed and accuracy. For instance, RS was found to be roughly 2,000 times faster to train than NCDEs while achieving significantly lower error rates. Furthermore, as dimensionality increases, the performance of truncated signatures often degrades due to over-parameterization, whereas RS remains stable.

Out-of-sample error comparison showing the stability of Randomized Signatures versus the degrading performance of truncated Signatures in high-dimensional control spaces.

Key Insights

  • Massive Compression: RS can achieve comparable accuracy to standard signatures using orders of magnitude fewer features (e.g., 190 vs. 1.1 million).
  • Handling Irregularity: Being naturally continuous-time, RS handles unevenly sampled data without needing complex interpolation or specialized architectures.
  • Out-of-Distribution (OOD) Robustness: Models trained on Brownian motion inputs successfully generalized to unseen "step function" inputs, suggesting the identification of underlying system dynamics rather than simple pattern memorization.
  • Low Data Requirements: Because only a linear readout is trained, the model requires far fewer training trajectories than deep learning models like NCDEs.

Conclusion

Randomized Signatures provide a highly efficient and robust framework for learning the dynamics of stochastic systems. By replacing computationally expensive transforms with random linear differential equations, this approach achieves state-of-the-art results with minimal training overhead. Future work may explore "Deep Randomized Signatures" to further enhance the modeling of complex, multi-layered dynamics.

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