Looped SSMs: Depth-Recurrence and Input Reshaping for Time Series Classification

Mónika Farsang, Ramin Hasani, Daniela Rus, Radu GrosuarXiv 2026

TL;DR

State Space Models (SSMs) are celebrated for their temporal recurrence, but what happens if we make them recurrent in depth too? This paper introduces "Looped SSMs," demonstrating that reusing the same architectural block across layers matches or outperforms standard deep SSMs while slashing parameter counts by up to 6x. Combined with a simple, parameter-free "input reshaping" technique that optimizes data density, this approach unlocks significant performance gains across multiple time-series classification benchmarks.

What Problem Does This Paper Address?

Deep learning models for sequential data typically scale up by stacking independent layers, each with its own unique set of parameters. While this approach provides representational diversity, it drastically increases model size and optimization complexity.

State Space Models (SSMs) have emerged as powerful, linear-time alternatives to Transformers due to their native recurrence along the time dimension. However, researchers have implicitly assumed that adding another axis of recurrence—reusing layers across depth—would be redundant.

Additionally, standard time-series pipelines feed raw data directly into models without considering its intrinsic information density. Low-dimensional data often results in long, information-sparse sequences, while high-dimensional data packs too much complex information into every single timestep. This paper tackles both inefficiencies simultaneously.

Methods

The authors introduce two independent and complementary design axes for SSMs:

1. Depth-Recurrence (Looped SSMs)

Instead of stacking $L$ independent unique blocks (the baseline ABCDEF approach), the authors propose parameter-sharing strategies across depth. They test three configurations:

  • Fully Looped (AAAAAA): A single block iterated $L$ times.
  • Partially Shared (ABABAB or ABCABC): Small groups of unique blocks repeated to fill the depth budget.

They also explore two supervision schemes: Final supervision (computing loss only at the very end) and Block-wise supervision (averaging the loss after each full block repetition to encourage intermediate representations to be discriminative).

Figure 1: Left: Architecture setup of six independent unique layers ABCDEF, compared with different strategies to introduce recursive-depth into the architecture. Right: Looped architectures AAAAAA, ABABAB, and ABCABC with a classification head. Based on the supervision strategy, we either take only the final loss L∇value or the mean of all the losses of the repeated block.

2. Input Reshaping

A parameter-free preprocessing step governed by a concentration factor $c$ that alters the sequence length and feature width:

  • Low-dimensional inputs: Consecutive timesteps are concatenated together, making the sequence shorter but wider to increase per-step information density.
  • High-dimensional inputs: The entire feature-time grid is flattened and then rechunked into vectors of width $c$. This intentionally mixes feature and temporal identities locally, akin to patch tokenization in Vision Transformers (ViTs).
Figure 2: Illustration of the two input reshaping strategies. A concentration factor c controls the rechunking: a low-dimensional input of shape (T, d) is reshaped to (⌈Td/c⌉, c), where c is a multiplicative of d, while a high-dimensional input of shape (T, D) is flattened and rechunked to (⌈TD/c⌉, c), with zero-padding applied where necessary.

The authors systematically evaluate these techniques across four popular SSM architectures: LRU, S5, LinOSS, and LrcSSM.

Datasets

The methods were evaluated on six multivariate time-series classification benchmarks from the widely recognized UEA archive, categorized by their input dimensionality:

  • Low-dimensional: EthanolConcentration (Ethanol)
  • Medium-dimensional: EigenWorms (Worms), SelfRegulationSCP1 (SCP1), SelfRegulationSCP2 (SCP2)
  • High-dimensional: Heartbeat, MotorImagery (Motor)

Key Insights and Ideas

  • Optimization Over Expressivity: Mathematically, an independent SSM contains the looped SSM as a special case, meaning the independent model has strictly more expressive power. Because the looped models consistently match or beat the baseline, their success isn't due to capacity, but rather because parameter sharing acts as an excellent inductive bias that simplifies optimization and regularizes the network.
  • Orthogonality of Recurrence: Time-recurrence and depth-recurrence are entirely orthogonal. Layer reuse doesn't conflict with the SSM's temporal memory; instead, it acts as an iterative refinement mechanism for latent representations.
  • Rethinking Feature-Time Separation: For high-dimensional time series, breaking the strict boundary between "what feature it is" and "when it happened" via flattening and rechunking provides a substantial boost. This suggests that conventional separation of feature and temporal dimensions isn't a mandatory inductive bias for sequential models.

Key Results

  • Massive Parameter Savings: Looped SSMs achieved comparable or superior accuracy to the 6-layer baseline while reducing the parameter count of the recurrent core by up to 6x (e.g., dropping from ~150K parameters down to ~25K).
  • Standalone Reshaping Gains: Applying input reshaping alone yielded standalone accuracy improvements of 1% to 6% across all architectures. For example, the S5 model saw an accuracy boost of over 5% on the Ethanol dataset and over 6% on the Motor dataset.
  • Compounding Benefits: When input reshaping and depth-recurrence were combined, more structured recursion patterns (ABABAB and ABCABC) flourished, proving that providing a better input structure allows models to extract more value even with drastically fewer parameters.

Limitations and Future Work

  • Task Scope: This work focuses exclusively on time-series classification. Whether these benefits translate cleanly to forecasting or generative sequence modeling remains an open question.
  • Fixed Depth: The experiments fixed the total depth at $L=6$. Future work should explore much deeper loops or adaptive depth scaling.
  • Static Reshaping: The concentration factor $c$ is currently a static hyperparameter. Developing learned or adaptive reshaping strategies could further optimize information density dynamically.
  • Early-Exit Inference: Because block-wise supervision trains intermediate layers to be highly discriminative, it opens the door for "early-exit" testing—allowing the model to stop iterating early if it reaches a high-confidence prediction, saving compute at inference time.

Summary updated

BibTeX
@misc{farsang2026looped,
  author = {Mónika Farsang and Ramin Hasani and Daniela Rus and Radu Grosu},
  title = {{Looped SSMs: Depth-Recurrence and Input Reshaping for Time Series Classification}},
  year = {2026},
  eprint = {2605.16048},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2605.16048},
}
Figure