Reshape and Recur: Improving SSMs with Input Reshaping and Depth Recurrence
cs.LG, cs.AI
Submitted: 2026-05-15
Updated: 2026-10-01
License: http://creativecommons.org/licenses/by-sa/4.0/
The gist: State Space Models (SSMs) are increasingly deployed in the Edge because they offer, at comparable performance, a smaller memory/training/inference footprint, compared to Large Language Models (LLMs).
Terminology
Abstract
State Space Models (SSMs) are increasingly deployed in the Edge because they offer, at comparable performance, a smaller memory/training/inference footprint, compared to Large Language Models (LLMs). These three advantages are a direct consequence of the time recurrence inherent in the SSMs architecture. Here, we further improve this recurrent architecture by positively answering two previously underexplored, orthogonal questions: (1) Can we reduce SSMs memory-footprint without any performance penalty, by also employing depth recurrence? (2) Can we increase SSMs performance by using a fixed and consistent time-granularity across all tasks? The first question is somewhat unexpected, given that SSMs are already recurrent. However, the orthogonal depth recurrence further decreases SSMs memory footprint. We show that a looped SSM with k parameters adaptively iterated M times, achieves a performance comparable to a standard SSM with k times L independent parameters, where M at most L. The second question is also unexpected given the time-recurrent nature of the SSMs architecture. However, it makes perfect sense for the time-parallel training of SSMs on the entire input sequence. We show that concatenating time steps for lower-dimensional sequence elements, or flattening and re-chunking the joint feature-time dimension for high-dimensional ones, can improve the baseline by enhancing the way information is presented to the model. Our results for both extensions lead to consistent benefits across four representative SSM architectures: LRU, S5, LinOSS, LrcSSM.
Sources
- The UEA multivariate time series classification archive, 2018
- A Mechanistic Analysis of Looped Reasoning Language Models
- Learning to Dissipate Energy in Oscillatory State-Space Models
- A Time Series is Worth 64 Words: Long-term Forecasting with Transformers
- Weight-Space Linear Recurrent Neural Networks
- Two-Scale Latent Dynamics for Recurrent-Depth Transformers
- Parcae: Scaling Laws For Stable Looped Language Models
- Scaling Latent Reasoning via Looped Language Models
Related papers
- Polynomial-Augmented Neural Networks (PANNs) with Weak Orthogonality Constraints for Enhanced Function and PDE Approximation
- AIRL-S: Unifying Reinforcement Learning and Search-Based Test-Time Scaling via Adversarial Inverse Reinforcement Learning
- Transformers as Bayesian In-Context Experimenters: Smoothness-Adaptive Efficient ATE Estimation
- Convergence issues in Relational Concept Analysis based on AOC-posets
- Beliefs Beyond Posteriors: The Predictive Cost of ELBO Binding
- Understanding Diffusion Models via Ratio-Based Function Approximation with SignReLU Networks