Extending SSMs with the Exponentially Weighted Signature
Organizations: Mathematical Institute, University of Oxford · SKF · Department of Mathematics, Imperial College London
Abstract
We introduce the exponentially weighted signature (EWS), a continuous-time model that computes iterated integrals of a path, where each increment is weighted by the matrix exponential of a learnable generator over elapsed clock time. We prove that it solves a linear controlled differential equation, keeps the group-like structure and the universality of the signature, and satisfies a modified Chen identity, enabling a parallel scan. At depth one the EWS is a state-space model (SSM), and we map linear time-invariant SSMs, Mamba channels and Mamba- heads to it in closed form. The EWS extends SSMs through an arbitrary matrix generator, a clock that generalises the step size to causal functionals of the input, and higher truncation depths that are non-linear in the path within a single layer. Empirically, the EWS achieves the highest average accuracy and rank on six long time-series classification datasets, where depth generally helps. Learned clocks prove necessary for state tracking on formal language tasks, and at depth one, the EWS matches or exceeds competing SSMs on regression and forecasting with far fewer parameters.
Figures & tables
| Family | Spectrum | Kernels |
| Zero | ||
| Diagonal | real | |
| Rotation | ||
| Dense | general | mixtures |
| Jordan, real | , repeated | |
| Jordan, complex | , repeated |
| Signature | EFM | EWS | ||||
| Target | ||||||
| Oscillator | ||||||
| coeff. | ||||||
| high-band | ||||||
| burst (%) | ||||||
| Model | Stores | Discretisation | Block | Spectrum of | Route |
| S4D ( Gu et al., 2022a ) | , step | ZOH | rotation | read-off | |
| S5 ( Smith et al., 2023 ) | , step | ZOH | rotation | read-off | |
| S4 ( Gu et al., 2022b ) | , step | bilinear | dense, diagonalisable | ( 9 ) | |
| LRU ( Orvieto et al., 2023 ) | none | rotation | ( 9 ) | ||
| LinOSS-IM ( Rusch & Rus, 2025 ) | , step | implicit | oscillator | ( 9 ) | |
| D-LinOSS ( Boyer et al., 2025 ) | , step | IMEX | oscillator | ( 9 ) |
| Model | EigenWorms | Ethanol | Heartbeat | Motor | SCP1 | SCP2 | Avg. | Rank |
|---|---|---|---|---|---|---|---|---|
| Log-NCDE | ||||||||
| S5 | ||||||||
| S6 | ||||||||
| Mamba | ||||||||
| DE-SLiCE | ||||||||
| D-DE-SLiCE |
| PPG-DaLiA | ||
|---|---|---|
| Model | MSE | Params. |
| NCDE | k | |
| Mamba | k | |
| Log-NCDE | k | |
| LinOSS-IMEX | k | |
| FLASH PD-SSM | – | |
| Model | Cycle nav. | Even pairs | Mod. arith. | Parity | Avg. |
|---|---|---|---|---|---|
| LSTM | |||||
| xLSTM[1:1] | |||||
| Transformer | |||||
| S4D | |||||
| Mamba | |||||
| Mamba-3 |
Appendix figures & tables14 assets
Supplementary material from the paper’s appendix.
Appendix
| Model | Route | Max. rel. error |
|---|---|---|
| S4D | read-off | |
| S5 | read-off | |
| S4 | ( 9 ) | |
| LRU | ( 9 ) | |
| LinOSS-IM | ( 9 ) | |
| LinOSS-IMEX | ( 9 ) |
| Dataset | Depth | Level 1 | Level 2 | Level 3 |
|---|---|---|---|---|
| SelfRegulationSCP1 | – | |||
| Heartbeat | ||||
| MotorImagery | ||||
| SelfRegulationSCP2 |
| Model | Params. | Balanced acc. (%) | AUROC |
|---|---|---|---|
| EEGNet ( Lawhern et al., 2018 ) | M | ||
| SPaRCNet ( Jing et al., 2023 ) | M | ||
| ST-Transformer ( Song et al., 2021 ) | M | ||
| BIOT ( Yang et al., 2023 ) | M | ||
| EWS, depth one | M | ||
| EWS, depth two | M |
| Target Model | Signature | EFM | EWS |
|---|---|---|---|
| Signature | |||
| EFM | |||
| EWS |
| , normalised MSE | , accuracy (%) | ||||
|---|---|---|---|---|---|
| at | |||||
| Dataset | Dimension | Observations | Classes |
|---|---|---|---|
| EigenWorms | |||
| EthanolConcentration | |||
| Heartbeat | |||
| MotorImagery | |||
| SelfRegulationSCP1 | |||
| SelfRegulationSCP2 |
| Dataset | Path | Gen. | Clock | Readout | Batch | Steps | LR | Params | ||
|---|---|---|---|---|---|---|---|---|---|---|
| EigenWorms | value, clock | Jordan | clamped | mean | ||||||
| Ethanol | derivative | rotation | time | terminal | ||||||
| Heartbeat | value, base. | rotation | blended | mean | ||||||
| Motor | value | skew | time | terminal | ||||||
| SCP1 | value | skew | variation | mean | ||||||
| SCP2 | value | skew | blended | terminal |
| Dataset | Val. | Test | Val. | Test | Val. | Test |
|---|---|---|---|---|---|---|
| EigenWorms | ||||||
| Ethanol | ||||||
| Heartbeat | ||||||
| Motor | ||||||
| SCP1 | ||||||
| Dataset | Val. | Test | Val. | Test |
|---|---|---|---|---|
| EigenWorms | ||||
| Ethanol | ||||
| Heartbeat | ||||
| Motor | ||||
| SCP1 | ||||
| Model | EigenWorms | Ethanol | Heartbeat | Motor | SCP1 | SCP2 | Mean |
|---|---|---|---|---|---|---|---|
| Log-NCDE | |||||||
| S5 | |||||||
| S6 | |||||||
| Mamba | |||||||
| DE-SLiCE | |||||||
| D-DE-SLiCE |
| Model | EigenWorms | Ethanol | Heartbeat | Motor | SCP1 | SCP2 |
|---|---|---|---|---|---|---|
| Log-NCDE | ||||||
| S5 | ||||||
| S6 | ||||||
| Mamba | ||||||
| LRU | ||||||
| BD-SLiCE |
| Model | Params | Time | Memory |
|---|---|---|---|
| EWS | |||
| D-LinOSS |
| Block 1 | Block 2 | ||||||
|---|---|---|---|---|---|---|---|
| Task | Generator | Clock | Generator | Clock | Smoothing | Params. | |
| Cycle nav. | rotation | clamped | rotation | variation | |||
| Even pairs | rotation | gated | rotation | variation | |||
| Mod. arith. | skew | gated | rotation | variation | |||
| Parity | rotation | gated | skew | variation | |||