LogSig-SSM: Time-Series Modelling with Multi-Scale Log-Signature Compression for State-Space Models

Felix Oury, Nicolas Calvo Peiro, Reiko J TanakaNeurIPS 2026

TL;DR

Modelling long, messy time-series data usually forces an uncomfortable choice: use continuous-time differential equations that handle irregular timestamps gracefully but grind to a halt on long sequences, or use modern State-Space Models (like Mamba) that run blazingly fast but struggle to mix information across different sensor channels. LogSig-SSM bridges these two worlds by compressing raw signals into geometric "log-signature" tokens before feeding them into a Mamba backbone. The result is a model that captures rich cross-channel dynamics, shrugs off missing data, and trains up to 30× faster using 37× less memory than standard Mamba.

What Problem Does This Paper Address?

Real-world signals—think ICU vitals, wrist-worn heart monitors, or financial ticks—are notoriously unruly. They span tens of thousands of steps, arrive at irregular intervals, and hide crucial clues in how multiple channels interact over time.

Two main families of models try to tame this, each with an Achilles' heel:

  1. Continuous-time models (like Neural Controlled Differential Equations, or NCDEs) treat discrete data points as samples from a smooth underlying path. They naturally handle irregular sampling, but their numerical solvers become prohibitively slow over long horizons.
  2. Selective State-Space Models (SSMs) like Mamba scale linearly with sequence length and train in parallel on GPUs. However, Mamba's internal recurrence is diagonal—meaning within a single block, each hidden channel evolves independently. It literally cannot compute how Channel A and Channel B twist around each other (such as which peaked first) without stacking many deep layers, and its memory still degrades on ultra-long sequences.

Can we keep Mamba’s fast diagonal scan while giving it instant access to cross-channel geometry and irregular-time robustness?

Methods

LogSig-SSM solves this with a clean two-stage pipeline: geometric compression offline, selective recurrence online.

Figure 1: Discrete-time LogSig-SSM pipeline. A multivariate time series x ∈Rdx×T is summarised at strided anchors ˜tτ := tτs. For each scale k, a windowed segment Wk(x)τ is extracted, and its

Instead of feeding raw data points into Mamba, the authors introduce a multi-scale log-signature tokeniser:

  • Path Signatures (The Classic Math): Originating from rough path theory, a signature summarises a multidimensional curve over a time window using iterated integrals. Depth-1 terms simply measure net change per channel; depth-2 terms capture Lévy areas—signed areas enclosed by pairs of channels that encode sequential ordering and cross-channel interactions. Crucially, signatures depend on the shape of the path, not how densely or irregularly points are sampled along it. Taking the tensor logarithm yields the log-signature, squeezing out algebraic redundancies into a compact vector.
  • Multi-Scale Tokenisation (The Novel Twist): At regular strided anchor points along the time series, LogSig-SSM looks backward through $K$ overlapping windows of different lengths (capturing both fine local wiggles and broad trends). It computes truncated log-signatures for each scale, concatenates them into a single token, and projects it down via a learned linear layer. Because signatures need no learned weights, this entire compression step happens once, offline, outside the GPU backpropagation graph.
  • Selective SSM Backbone (Standard Mamba): The compressed stream of geometric tokens is passed into standard Mamba blocks. Mamba's input-dependent gating ("selectivity") dynamically decides how much each interval summary should update the long-range hidden state.

Datasets

No new benchmarks are introduced; instead, the authors test across four diverse, established datasets:

  • UEA Archive (6 longest-sequence tasks): Multivariate classification (up to 17,984 steps), including EigenWorms and EthanolConcentration.
  • PPG-DaLiA: High-frequency (up to 128 Hz) wrist-sensor data for heart-rate regression, sliced into ultra-long 49,920-step windows.
  • Weather Forecasting: Predicting 720 hours (30 days) of multivariate climate variables from the preceding 720 hours.
  • PhysioNet 2019 Sepsis: Early sepsis prediction across 40,335 ICU stays—an extreme test of irregular sampling where 89.7% of values are missing.

Key Insights and Ideas

  • Trading Model Depth for Token Geometry: A single diagonal Mamba block is mathematically blind to cross-channel interactions like Lévy areas; recovering them normally requires stacking deep chains of blocks. By pre-computing depth-$m$ log-signatures at the input, a single LogSig-SSM block can approximate any continuous functional of those cross-channel features.
  • Selectivity as Adaptive Time-Warping: Extending recent theory linking SSMs to differential equations, the authors show LogSig-SSM behaves like a Neural Rough Differential Equation (NRDE)—except Mamba's selective gate acts as a learned, content-dependent clock, stretching or compressing internal evolution speed based on what happened inside each time window.
  • Geometry Beats Raw Compression: Ablations reveal that simply shortening sequences (via summary statistics, convolutions, or even wavelet scattering) leaves accuracy on the table. Adding depth-2 cross-channel geometry provides the decisive leap over linear mixing and spectral features.

Key Results

LogSig-SSM matches or beats specialized baselines while slashing compute costs:

  • UEA Classification: Achieves the best average accuracy (71.7%) and rank (2.7) across 16 models. On EthanolConcentration—where classes differ by subtle global curve shapes—standard Mamba scores 27.9% (barely above 25% chance), whereas LogSig-SSM hits 51.4%.
  • Massive Efficiency Gains: On EigenWorms ($T = 17,984$), LogSig-SSM reaches 95.3% accuracy while training 30× faster (4s vs. 122s per 1k steps) and using 37× less VRAM (362 MB vs. 13,486 MB) than Mamba. Offline tokenisation for all six UEA datasets combined takes just 6 seconds.
Table 2: Efficiency on EIGENWORMS (T = 17,984): GPU memory (MB), wall-clock time per 1000 training steps (s) on one RTX 4090, and test accuracy (%). Full results in Appendix B.
  • Ultra-Long Regression & Forecasting: Cuts heart-rate MSE on PPG-DaLiA ($T = 49,920$) to 4.46×10⁻²—a 58% improvement over Mamba and 28% over the runner-up (D-LinOSS). On Weather forecasting, it lowers MAE by 11% over D-LinOSS (0.432 vs. 0.486).
  • Extreme Sparsity: On PhysioNet Sepsis, it scores 90.4 / 87.4 AUROC (with/without observation masks), outperforming Neural CDEs (88.0 / 77.6) and rivalling purpose-built irregular-time SDE models.

Limitations and Future Work

  • Curse of Channel Dimensionality: Log-signature token width grows combinatorially with channel count $d_x$ and truncation depth $m$ at $O(d_x^m / m)$. High-dimensional inputs inflate offline computation and linear projection sizes rapidly.
  • Single-Channel Degeneracy: For strictly 1D time series, cross-channel terms vanish and log-signatures collapse into simple increments—though appending time itself as a second coordinate restores non-trivial geometry.
  • Manual Window Tuning: Stride and multi-scale window lengths are currently chosen via per-dataset hyperparameter search (though a simple rule-of-thumb still beats raw Mamba). Making window selection learned or adaptive is a natural next step.

Summary updated

Abstract

Time-series data are often sampled irregularly at high frequency and exhibit long-range dependencies, which makes long-horizon modelling difficult. Continuous-time models such as neural controlled differential equations (NCDEs) and neural rough differential equations (NRDEs) can handle irregular sampling, but they scale poorly to long sequences. Selective state-space models (SSMs) such as Mamba scale linearly with sequence length, but within a single block they provide limited recurrent mixing across hidden dimensions. We propose LogSig-SSM (Log-Signature Compression for State-Space Models), which first compresses long multivariate time series into a shorter sequence of tokens using multi-scale windowed log-signatures, and then processes these tokens with a selective SSM backbone. LogSig-SSM is scalable and robust to irregular sampling, combining log-signature tokens that capture higher-order cross-channel interactions with a selective SSM that models long-range dependencies. The model also admits a continuous-time interpretation as an NCDE/NRDE-style system driven by a log-signature-based input, in which selectivity induces an input-dependent rescaling of the latent dynamics. Across four benchmarks, namely long-sequence classification on UEA, high-frequency physiological regression on PPG-DaLiA, multivariate weather forecasting, and irregularly sampled clinical prediction on PhysioNet Sepsis, LogSig-SSM overall outperforms existing SSM and continuous-time baselines while significantly reducing training time and GPU memory usage.
BibTeX
@inproceedings{oury2026logsig,
  author = {Felix Oury and Nicolas Calvo Peiro and Reiko J Tanaka},
  title = {{LogSig-SSM: Time-Series Modelling with Multi-Scale Log-Signature Compression for State-Space Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=tIKjiGlxPz},
}
Figure