AUTHOR=Danovski Kaloyan , Soriano Miguel C. , Lacasa Lucas TITLE=Dynamical stability and chaos in artificial neural network trajectories along training JOURNAL=Frontiers in Complex Systems VOLUME=2 YEAR=2024 URL=https://www.frontiersin.org/journals/complex-systems/articles/10.3389/fcpxs.2024.1367957 DOI=10.3389/fcpxs.2024.1367957 ISSN=2813-6187 ABSTRACT=

The process of training an artificial neural network involves iteratively adapting its parameters so as to minimize the error of the network’s prediction, when confronted with a learning task. This iterative change can be naturally interpreted as a trajectory in network space–a time series of networks–and thus the training algorithm (e.g., gradient descent optimization of a suitable loss function) can be interpreted as a dynamical system in graph space. In order to illustrate this interpretation, here we study the dynamical properties of this process by analyzing through this lens the network trajectories of a shallow neural network, and its evolution through learning a simple classification task. We systematically consider different ranges of the learning rate and explore both the dynamical and orbital stability of the resulting network trajectories, finding hints of regular and chaotic behavior depending on the learning rate regime. Our findings are put in contrast to common wisdom on convergence properties of neural networks and dynamical systems theory. This work also contributes to the cross-fertilization of ideas between dynamical systems theory, network theory and machine learning.