Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models

Benjamin Walker, Lingyi Yang, Nicola Muca Cirone, Cristopher Salvi, Terry Lyons

Presented at NeurIPS 2025, this research introduces SLiCEs (Structured Linear Controlled Differential Equations), a framework designed to resolve the fundamental trade-off between the efficiency of modern State-Space Models (SSMs) and the state-tracking power of classical Recurrent Neural Networks (RNNs).

Abstract

Modern sequence models often sacrifice expressivity for parallel efficiency. Structured Linear CDEs (SLiCEs) bridge this gap by utilizing structured matrices within a continuous-time framework. We prove that specific structures, such as block-diagonal and sparse matrices, retain the maximal probabilistic expressivity of dense RNNs while enabling parallel-in-time computation. SLiCEs achieve state-of-the-art performance on state-tracking and time-series benchmarks, offering up to a 20x training speedup over dense alternatives.

The Problem: The Diagonal Bottleneck

Parallel-in-time architectures like Transformers and SSMs (e.g., Mamba, S4) have enabled massive scaling but struggle with "state-tracking" tasks—those requiring the maintenance of a precise internal state over long sequences. This limitation stems from the "diagonal bottleneck": to remain efficient, these models often use diagonal state-transition matrices, which mathematically limits their expressivity. In contrast, Linear Neural Controlled Differential Equations (LNCDEs) use dense matrices that are maximally expressive but computationally expensive ($O(d_h^3)$ complexity).

Methodology: Introducing SLiCEs

The authors propose SLiCEs as a unifying framework that replaces expensive dense matrices with efficient structured variants:

  • Block-Diagonal (BD-SLiCE): Splits the hidden state into independent blocks, allowing complex intra-block interactions.
  • Sparse (S-SLiCE): Uses randomly selected sparse matrices.
  • Walsh–Hadamard (WH-SLiCE): Employs fast transforms to mix information across the hidden state.
  • Diagonal-Plus-Low-Rank (DPLR): Adds a flexible low-rank update to a diagonal base.

To ensure high performance, SLiCEs utilize associative parallel scans and the Log-ODE method, allowing them to process sequences as efficiently as modern SSMs.

Theoretical Expressivity

A key finding of this work is that structured versions—specifically block-diagonal, sparse, and Walsh-Hadamard—retain the maximal probabilistic expressivity of dense matrices. This means that a structured model is statistically as capable of representing complex functions as a dense one, without the associated computational cost.

Figure 1: Minimum layers required to solve state-tracking tasks. Diagonal models (Mamba, mLSTM) require more layers as sequence length increases, while SLiCE variants maintain efficiency with a single layer.

As shown in Figure 1, diagonal models fail to solve simple state-tracking tasks in a single layer as the sequence length grows. SLiCEs overcome this "diagonal bottleneck," requiring only a single layer regardless of sequence length.

Experimental Results

The models were evaluated across group theory tasks ($A_5$ benchmark), formal languages, and the UEA Multivariate Time Series Archive.

Length Generalization

On the $A_5$ task, which tests pure state-tracking ability, SLiCEs demonstrated remarkable length generalization. While diagonal models like Mamba saw performance collapse as sequences lengthened, SLiCE variants maintained high accuracy.

Figure 2: Token accuracy vs. sequence length on the $A_5$ task. SLiCEs (BD, DPLR, etc.) maintain high accuracy on sequences much longer than those seen during training, outperforming diagonal models.

Efficiency and Accuracy

On the UEA benchmarks, BD-SLiCE achieved the best average rank among all tested models, outperforming Mamba and dense DE-LNCDEs. Crucially, SLiCEs are significantly faster to train; on the EigenWorms dataset, BD-SLiCE reduced training time per 1,000 steps from 1321.7 seconds to just 68.1 seconds—a nearly 20x improvement.

Conclusion

SLiCEs represent a significant step forward in sequence modeling, providing the "best of both worlds": the expressivity of dense RNNs and the speed of parallel SSMs. By proving that structured matrices can maintain maximal expressivity, this work opens new avenues for scaling sophisticated sequence models to larger datasets and more complex tasks.

Summary updated

BibTeX
@inproceedings{walker2025structured,
  author = {Benjamin Walker and Lingyi Yang and Nicola Muca Cirone and Cristopher Salvi and Terry Lyons},
  title = {{Structured Linear CDEs: Maximally Expressive and Parallel-in-Time Sequence Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=HKDyRDzy1E},
}
Figure