Generative System Dynamics in Recurrent Neural Networks

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Casoni, Michele, Guidi, Tommaso, Betti, Alessandro, Melacci, Stefano, Gori, Marco
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866910914325774336
author Casoni, Michele
Guidi, Tommaso
Betti, Alessandro
Melacci, Stefano
Gori, Marco
author_facet Casoni, Michele
Guidi, Tommaso
Betti, Alessandro
Melacci, Stefano
Gori, Marco
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2504_13951
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Generative System Dynamics in Recurrent Neural Networks
Casoni, Michele
Guidi, Tommaso
Betti, Alessandro
Melacci, Stefano
Gori, Marco
Machine Learning
Artificial Intelligence
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.
title Generative System Dynamics in Recurrent Neural Networks
topic Machine Learning
Artificial Intelligence
url https://arxiv.org/abs/2504.13951