Generative System Dynamics in Recurrent Neural Networks

Michele Casoni, Tommaso Guidi, Alessandro Betti, Stefano Melacci, Marco Gori
4/16/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

In this study, we investigate the continuous time dynamics of Recurrent Neural Networks (RNNs), focusing on systems with nonlinear activation functions. The objective of this work is to identify conditions under which RNNs exhibit perpetual oscillatory behavior, without converging to static fixed points. We establish that skew-symmetric weight matrices are fundamental to enable stable limit cycles in both linear and nonlinear configurations. We further demonstrate that hyperbolic tangent-like activation functions (odd, bounded, and continuous) preserve these oscillatory dynamics by ensuring motion invariants in state space. Numerical simulations showcase how nonlinear activation functions not only maintain limit cycles, but also enhance the numerical stability of the system integration process, mitigating those instabilities that are commonly associated with the forward Euler method. The experimental results of this analysis highlight practical considerations for designing neural architectures capable of capturing complex temporal dependencies, i.e., strategies for enhancing memorization skills in recurrent models.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{casoni2025generative,
  title  = {Generative System Dynamics in Recurrent Neural Networks},
  author = {Michele Casoni and Tommaso Guidi and Alessandro Betti and Stefano Melacci and Marco Gori},
  year   = {2025},
  eprint = {2504.13951},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2504.13951v1}
}

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

Discussion