Learning to Dissipate Energy in Oscillatory State-Space Models

Jared Boyer, T. Konstantin Rusch, Daniela Rus
5/17/2025
cs.LGstat.ML

No official code found. Best implementation: jaredbmit/damped-linoss (5 stars, MIT, last commit 2026-02-13). 1 more below.

Abstract

State-space models (SSMs) are a class of networks for sequence learning that benefit from fixed state size and linear complexity with respect to sequence length, contrasting the quadratic scaling of typical attention mechanisms. Inspired from observations in neuroscience, Linear Oscillatory State-Space models (LinOSS) are a recently proposed class of SSMs constructed from layers of discretized forced harmonic oscillators. Although these models perform competitively, leveraging fast parallel scans over diagonal recurrent matrices and achieving state-of-the-art performance on tasks with sequence length up to 50k, LinOSS models rely on rigid energy dissipation ("forgetting") mechanisms that are inherently coupled to the time scale of state evolution. As forgetting is a crucial mechanism for long-range reasoning, we demonstrate the representational limitations of these models and introduce Damped Linear Oscillatory State-Space models (D-LinOSS), a more general class of oscillatory SSMs that learn to dissipate latent state energy on arbitrary time scales. We analyze the spectral distribution of the model's recurrent matrices and prove that the SSM layers exhibit stable dynamics under a simple, flexible parameterization. Without introducing additional complexity, D-LinOSS consistently outperforms previous LinOSS methods on long-range learning tasks, achieves faster convergence, and reduces the hyperparameter search space by 50%.

View on arXivView PDF

Code Implementations(2)

MIT

Oscillatory State-Space Models

51PythonJan 13, 20258 months agoMIT
Rust

D-LinOSS: Damped Linear Oscillatory State-Space Models - Mathematical implementation following arXiv:2505.12171 with learnable damping matrices and comprehensive mathematical documentation

00RustJul 7, 20251 years ago

Similar Papers

Cite this paper

@article{boyer2025learning,
  title  = {Learning to Dissipate Energy in Oscillatory State-Space Models},
  author = {Jared Boyer and T. Konstantin Rusch and Daniela Rus},
  year   = {2025},
  eprint = {2505.12171},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.12171v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2505.12171.svg)](https://codeofpaper.com/paper/2505.12171)

Discussion