Finite-Time Lyapunov Exponents in Recurrent Neural Networks: Analyzing Chaos in RNN Forecasts of Dynamical Systems
2025 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
Recurrent neural networks (RNNs), are computational models used in machine learning to predict sequential data, such as time-series data from dynamical systems. In previous studies, these have been analyzed using the framework of dynamical systems theory. Lyapunov exponents, which quantify the degree of chaos in a system, have been defined in RNNs and shown to be a robust measure of training stability. In this project we propose two definitions of Lyapunov exponents in an RNN, referred to as PLE and HSLE. These are computed on an RNN performing time-series prediction of sampled solution curves to a double pendulum system. The double pendulum is a chaotic dynamical system meaning the solution curves themselves have a well defined Lyapunov exponent. The aim of the project is to compare the Lyapunov exponents of the proposed definitions with those of the underlying system with the hypothesis that there is a positive correlation. With this we hope to bring a further insight into Lyapunov exponents as a tool to analyze RNNs. The results show a moderate positive correlation with a correlation coefficient of R = 0.49 for the HSLE while the PLE definition indicates no significant correlation (R = 0.10). For the PLE we theorize that this result stems from the definition being sensitive to the accuracy of the model. The results for the HSLE indicate that there is a possibility that the sensitivity characteristics of a system used in RNN training is captured in the hidden state dynamics of the RNN. We conclude that a more comprehensive study is required to draw any reliable conclusions.
Place, publisher, year, edition, pages
2025. , p. 23
Series
MATVET-F ; 25031MATVET-F
Keywords [en]
Machine Learning, Dynamical Systems, Physics, Neural Networks, RNNs, Supervised Learning, Lyapunov Exponent
National Category
Other Physics Topics Engineering and Technology
Identifiers
URN: urn:nbn:se:uu:diva-561092OAI: oai:DiVA.org:uu-561092DiVA, id: diva2:1973572
Subject / course
Independent Project in Engineering Physics
Educational program
Master Programme in Engineering Physics
Presentation
2025-06-03, 4007, Ångströmlaboratoriet, Regementsvägen 10, Uppsala, 14:15
Supervisors
Examiners
2025-08-072025-06-192025-08-07Bibliographically approved