Almost-Linear RNNs Yield Highly Interpretable Symbolic Codes in Dynamical Systems Reconstruction

Manuel Brenner, Christoph Jurgen Hemmer, Z. Monfared, Daniel Durstewitz
2/3/2026

No official code found. Best implementation: DurstewitzLab/ALRNN-DSR (14 stars, GPL-3.0, last commit 2025-04-21).

Abstract

Dynamical systems (DS) theory is fundamental for many areas of science and engineering. It can provide deep insights into the behavior of systems evolving in time, as typically described by differential or recursive equations. A common approach to facilitate mathematical tractability and interpretability of DS models involves decomposing nonlinear DS into multiple linear DS separated by switching manifolds, i.e. piecewise linear (PWL) systems. PWL models are popular in engineering and a frequent choice in mathematics for analyzing the topological properties of DS. However, hand-crafting such models is tedious and only possible for very low-dimensional scenarios, while inferring them from data usually gives rise to unnecessarily complex representations with very many linear subregions. Here we introduce Almost-Linear Recurrent Neural Networks (AL-RNNs) which automatically and robustly produce most parsimonious PWL representations of DS from time series data, using as few PWL nonlinearities as possible. AL-RNNs can be efficiently trained with any SOTA algorithm for dynamical systems reconstruction (DSR), and naturally give rise to a symbolic encoding of the underlying DS that provably preserves important topological properties. We show that for the Lorenz and R\"ossler systems, AL-RNNs discover, in a purely data-driven way, the known topologically minimal PWL representations of the corresponding chaotic attractors. We further illustrate on two challenging empirical datasets that interpretable symbolic encodings of the dynamics can be achieved, tremendously facilitating mathematical and computational analysis of the underlying systems.

View on arXivView PDF

Code Implementations(1)

GPL-3.0

Implementation of the AL-RNN architecture for dynamical systems reconstruction and time series forecasting.

145Julia, PythonOct 1, 20241 years agoGPL-3.0

Similar Papers

Cite this paper

@article{brenner2026almostlinear,
  title  = {Almost-Linear RNNs Yield Highly Interpretable Symbolic Codes in Dynamical Systems Reconstruction},
  author = {Manuel Brenner and Christoph Jurgen Hemmer and Z. Monfared and Daniel Durstewitz},
  year   = {2026},
  eprint = {2410.14240},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2410.14240},
  url    = {https://arxiv.org/abs/2410.14240},
  journal = {NEURIPS 2024 2024}
}

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/2410.14240.svg)](https://codeofpaper.com/paper/2410.14240)

Discussion