<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="research-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Complex Syst.</journal-id>
<journal-title>Frontiers in Complex Systems</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Complex Syst.</abbrev-journal-title>
<issn pub-type="epub">2813-6187</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">1367957</article-id>
<article-id pub-id-type="doi">10.3389/fcpxs.2024.1367957</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Complex Systems</subject>
<subj-group>
<subject>Original Research</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>Dynamical stability and chaos in artificial neural network trajectories along training</article-title>
<alt-title alt-title-type="left-running-head">Danovski et al.</alt-title>
<alt-title alt-title-type="right-running-head">
<ext-link ext-link-type="uri" xlink:href="https://doi.org/10.3389/fcpxs.2024.1367957">10.3389/fcpxs.2024.1367957</ext-link>
</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Danovski</surname>
<given-names>Kaloyan</given-names>
</name>
<uri xlink:href="https://loop.frontiersin.org/people/1387944/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/data-curation/"/>
<role content-type="https://credit.niso.org/contributor-roles/formal-analysis/"/>
<role content-type="https://credit.niso.org/contributor-roles/investigation/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/software/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Soriano</surname>
<given-names>Miguel C.</given-names>
</name>
<uri xlink:href="https://loop.frontiersin.org/people/220788/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Lacasa</surname>
<given-names>Lucas</given-names>
</name>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/2433914/overview"/>
<role content-type="https://credit.niso.org/contributor-roles/conceptualization/"/>
<role content-type="https://credit.niso.org/contributor-roles/funding-acquisition/"/>
<role content-type="https://credit.niso.org/contributor-roles/methodology/"/>
<role content-type="https://credit.niso.org/contributor-roles/supervision/"/>
<role content-type="https://credit.niso.org/contributor-roles/writing-original-draft/"/>
<role content-type="https://credit.niso.org/contributor-roles/Writing - review &#x26; editing/"/>
</contrib>
</contrib-group>
<aff>
<institution>Institute for Cross-Disciplinary Physics and Complex Systems (IFISC, CSIC-UIB)</institution>, <addr-line>Palma de Mallorca</addr-line>, <country>Spain</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/601611/overview">Andrea Rapisarda</ext-link>, University of Catania, Italy</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/106607/overview">Yukio Pegio Gunji</ext-link>, Waseda University, Japan</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/43580/overview">Anna Carbone</ext-link>, Polytechnic University of Turin, Italy</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Lucas Lacasa, <email>lucas@ifisc.uib-csic.es</email>
</corresp>
</author-notes>
<pub-date pub-type="epub">
<day>17</day>
<month>05</month>
<year>2024</year>
</pub-date>
<pub-date pub-type="collection">
<year>2024</year>
</pub-date>
<volume>2</volume>
<elocation-id>1367957</elocation-id>
<history>
<date date-type="received">
<day>09</day>
<month>01</month>
<year>2024</year>
</date>
<date date-type="accepted">
<day>24</day>
<month>04</month>
<year>2024</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2024 Danovski, Soriano and Lacasa.</copyright-statement>
<copyright-year>2024</copyright-year>
<copyright-holder>Danovski, Soriano and Lacasa</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.</p>
</license>
</permissions>
<abstract>
<p>The process of training an artificial neural network involves iteratively adapting its parameters so as to minimize the error of the network&#x2019;s prediction, when confronted with a learning task. This iterative change can be naturally interpreted as a trajectory in network space&#x2013;a time series of networks&#x2013;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.</p>
</abstract>
<kwd-group>
<kwd>artificial neural networks</kwd>
<kwd>chaos</kwd>
<kwd>edge of chaos</kwd>
<kwd>dynamical stability</kwd>
<kwd>machine learning</kwd>
</kwd-group>
<custom-meta-wrap>
<custom-meta>
<meta-name>section-at-acceptance</meta-name>
<meta-value>Complex Systems Theory</meta-value>
</custom-meta>
</custom-meta-wrap>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>The impact of artificial neural network (ANN) models (<xref ref-type="bibr" rid="B56">Yegnanarayana, 2009</xref>; <xref ref-type="bibr" rid="B23">Goodfellow et al., 2016</xref>) for science, engineering, and technology is undeniable, but their inner workings are notoriously difficult to understand or interpret (<xref ref-type="bibr" rid="B38">Marcus, 2018</xref>). This black-box feeling extends as well to the process of training, whereby an ANN is exposed to a training set to &#x201c;learn&#x201d; a representation of the patterns lying inside the input data, with the ultimate goal of leveraging this ANN representation for the prediction of unseen data. In this work we propose to study such a training process&#x2013;in the scenario where ANNs are used in a supervised learning task&#x2013;through the lens of dynamical systems theory, in an attempt to provide mechanistic understanding of the complex behavior emerging in machine learning solutions (<xref ref-type="bibr" rid="B3">Arola-Fern&#xe1;ndez and Lacasa, 2023</xref>; <xref ref-type="bibr" rid="B50">San Miguel, 2023</xref>). As a matter of fact, training an ANN within a supervised learning task traditionally boils down to an iterative process whereby the parameters of the ANN are sequentially readjusted in order for the output of the ANN to match the expected output of a previously defined ground truth. Such iterative process is, in essence, a (discrete) dynamical system, and more particularly a graph dynamical system (<xref ref-type="bibr" rid="B47">Prisner, 1995</xref>), as the mathematical object that evolves through training is the structure of the ANN itself.</p>
<p>Note that, from an optimization viewpoint, such dynamics is vastly projected onto a scalar function (the so-called loss function), that training aims to minimize, usually via a gradient-descent type of relaxational dynamics (<xref ref-type="bibr" rid="B49">Ruder, 2016</xref>), i.e., a &#x201c;pure exploitation&#x201d; type of search algorithm. This low-dimensional projection, however, precludes insight on how the specific ANN&#x2019;s structure evolves while the loss function is forced to follow a gradient descent scheme. Therefore, we turn our attention to the question: how does the structure of an ANN evolve in graph space as the loss function is updated?</p>
<p>At the same time, observe that not all gradient-descent-like schemes yield necessarily monotonically decreasing loss functions, as this often depends on the particular learning rate within the gradient-descent-based iterative scheme. More concretely, the learning rate can be adjusted to introduce non-relaxational behavior into the gradient descent dynamics, potentially helping to escape local minima, and thus an element of <italic>exploration</italic> is added, making this an exploration-exploitation type of algorithm. This raises a second question: How does the specific structure of the ANN evolve in such optimisation schemes that produce non-monotonically decreasing loss functions?</p>
<p>These questions naturally call for the use of dynamical systems concepts and tools, such as dynamical and orbital stability. Under this lens, the ANN is an evolving system whose dynamical variables are the parameters (weights and biases) and the dynamical equations are those implicitly defined by the training algorithm. The training algorithm is a scheme applied iteratively to batches of input data, in such a way that the ANN parameters are successively updated (<xref ref-type="bibr" rid="B26">Hoffer et al., 2017</xref>), i.e., this is a (high dimensional) discrete-time map. The whole training process is thus nothing but a trajectory in high-dimensional weight space, i.e., a specific type of temporal network (<xref ref-type="bibr" rid="B27">Holme and Saram&#xe4;ki, 2019</xref>) that has been coined as a network trajectory (<xref ref-type="bibr" rid="B32">Lacasa et al., 2022</xref>; <xref ref-type="bibr" rid="B12">Caligiuri et al., 2023</xref>), see <xref ref-type="fig" rid="F1">Figure 1</xref> for an illustration. The purpose of training is to take the loss function to a minimum which, intuitively, is a stationary point not only of such loss function, but also of the implicitly defined network dynamics. However, it is not clear whether this intuition always holds, or what happens if the training algorithm is designed to produce a non-monotonic evolution of the loss.</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>The training process of an ANN is depicted as a network trajectory in graph space, where in each iteration of the optimization scheme the network parameters are updated, leading to a decreasing loss function.</p>
</caption>
<graphic xlink:href="fcpxs-02-1367957-g001.tif"/>
</fig>
<p>This paper aims to explore the questions stated above, to challenge some of the basic intuitions, and to further explore the interface between machine learning, dynamical systems and network theory (<xref ref-type="bibr" rid="B48">Ribas et al., 2020</xref>; <xref ref-type="bibr" rid="B34">La Malfa et al., 2021</xref>; <xref ref-type="bibr" rid="B33">La Malfa et al., 2022</xref>; <xref ref-type="bibr" rid="B51">Scabini et al., 2022</xref>) by putting together ideas and tools in the specific context of ANN training of a supervised task. The purpose of this work is to offer an illustration of this cross-disciplinary perspective. In particular, we are interested in the dynamical stability of training trajectories in graph space and in the dependence of the dynamical behavior observed on the learning rate parameter of the training algorithm. To this end, inspired by traditional methods and tools from dynamical systems theory (<xref ref-type="bibr" rid="B52">Schuster and Just, 2006</xref>)&#x2013;such as linear stability theory, the concept of Lyapunov exponents, or orbital stability&#x2013;, as well as by more recent ideas of marginal stability close to criticality and the edge of chaos hypothesis (<xref ref-type="bibr" rid="B6">Bak et al., 1988</xref>; <xref ref-type="bibr" rid="B35">Langton, 1990</xref>; <xref ref-type="bibr" rid="B13">Carroll, 2020</xref>), our main approach is to track, for specific values of the learning rate, the evolution (in graph space) of nearby network trajectories during training. This allows us to confirm or dispel some intuitions about the learning process and the landscape of the loss function.</p>
<p>The rest of the paper is organized as follows: in <xref ref-type="sec" rid="s2">Section 2</xref> we introduce some notation, setting the language and defining the ANN architecture, its specific supervised learning task and its optimization scheme. We discuss how to recast the ANN and its training as a graph dynamical system&#x2013;establishing trajectories in graph space as orbits&#x2013;and, accordingly, introduce relevant tools to investigate its dynamical behavior. In <xref ref-type="sec" rid="s2">Section 2</xref>, we also discuss related literature in the areas of machine learning, optimization theory as well as dynamical systems. <xref ref-type="sec" rid="s3">Sections 3</xref>, <xref ref-type="sec" rid="s4">4</xref> depict our results on the dynamical stability of the system, which are organized into two separate cases: the low and high learning rate regimes, respectively. In particular, <xref ref-type="sec" rid="s3">Section 3</xref> summarises the results of our investigation for the case where the learning rate of the training scheme is sufficiently small so that we expect a monotonically decreasing loss function (purely relaxational dynamics of the loss function). For parsimonious reasons, we keep the ANN topology as simple as possible and propose a feed-forward architecture with a single hidden layer and use a very simple classification task (Iris dataset) as the supervised learning problem. Despite such simplicity, our results challenge basic intuitions of low-dimensional stability theory. <xref ref-type="sec" rid="s4">Section 4</xref> then summarises the results for the opposite case, where the learning rate does not necessarily guarantee convergence of the training algorithm. We find a rich taxonomy of complex dynamical behaviors that non-trivially relate to the actual learning of the ANN. The final part of the manuscript, <xref ref-type="sec" rid="s5">Section 5</xref>, provides an overview of our findings and relate them to the general questions that we have stated in the opening paragraphs.</p>
</sec>
<sec id="s2">
<title>2 Preliminaries</title>
<sec id="s2-1">
<title>2.1 Notation, system definition and useful metrics</title>
<p>To formalize the intuitive notion of ANN training as a graph dynamical system, we first briefly define the network architecture and our training task. A more thorough description can be found in many standard texts on ML and deep learning [e.g., Refs. (<xref ref-type="bibr" rid="B56">Yegnanarayana, 2009</xref>; <xref ref-type="bibr" rid="B23">Goodfellow et al., 2016</xref>)]. As we have mentioned already, in this work we investigate a quite simple learning task&#x2014;a fully-connected, feed-forward neural network with a single hidden layer trained for classification on the Iris dataset (<xref ref-type="bibr" rid="B17">Fisher, 1936</xref>). A fully-connected, feed-forward artificial neural network (also known as a multi-layer perceptron) is a parametrized functional mapping whose purpose is to encode a meaningful relationship, usually inferred from an empirical dataset during the so-called training process. Conceptually, the non-linear computational units (neurons) of the network can be grouped into layers, where computation flows sequentially through all layers, from input to output.</p>
<p>Concretely, we consider a multi-layer ANN as a nonlinear function <italic>F</italic>(<italic>x</italic>; <italic>W</italic>) with input <italic>x</italic> and parameter set <italic>W</italic>. For a network of <italic>L</italic> layers (one input layer, one output layer, and <italic>H</italic> &#x3d; <italic>L</italic> &#x2212; 2 hidden layers), we define the output at each layer <italic>l</italic> &#x3d; 1, &#x2026; , <italic>L</italic> as <inline-formula id="inf1">
<mml:math id="m1">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>, where <italic>n</italic>
<sub>
<italic>l</italic>
</sub> is the dimensionality of layer <italic>l</italic> (i.e., number of neurons). Thus, <bold>f</bold>
<sub>1</sub> &#x3d; <italic>x</italic> is the input data and <bold>f</bold>
<sub>
<italic>L</italic>
</sub> &#x3d; <italic>F</italic>(<italic>x</italic>; <italic>W</italic>) is the final output of the network. To obtain the output of layer <italic>l</italic> for each neuron, we take a weighted sum over the output of the previous layer <italic>l</italic> &#x2212; 1 and feed it through a non-linear activation function <italic>&#x3c6;</italic>. Utilizing vector notation, we have the recursive definition<disp-formula id="equ1">
<mml:math id="m2">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>&#x3c6;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="1em"/>
<mml:mtext>for&#x2009;</mml:mtext>
<mml:mi>l</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>2</mml:mn>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mi>L</mml:mi>
<mml:mo>,</mml:mo>
</mml:math>
</disp-formula>where <bold>W</bold>
<sub>
<italic>l</italic>
</sub> is an <italic>n</italic>
<sub>
<italic>l</italic>
</sub> &#xd7; <italic>n</italic>
<sub>
<italic>l</italic>&#x2212;1</sub> weight matrix and <inline-formula id="inf2">
<mml:math id="m3">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">b</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> is an additive bias term. In all of our experiments, we use the sigmoid activation function <italic>&#x3c6;</italic>(<italic>z</italic>) &#x3d; 1/(1 &#x2b; <italic>e</italic>
<sup>&#x2212;<italic>z</italic>
</sup>). If the architecture is held fixed, in order to make our functional mapping <italic>F</italic>(<italic>x</italic>; <italic>W</italic>) meaningful, we need to specify the parameter set <italic>W</italic> &#x3d; {<bold>W</bold>
<sub>2</sub>, &#x2026; , <bold>W</bold>
<sub>
<italic>L</italic>
</sub>, <bold>b</bold>
<sub>2</sub>, &#x2026; , <bold>b</bold>
<sub>
<italic>L</italic>
</sub>}. This is the main problem of training artificial neural networks, often formalized as an optimization task: defining a loss function <inline-formula id="inf3">
<mml:math id="m4">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> that measures the &#x201c;badness&#x201d; of any given output <italic>F</italic>(<italic>x</italic>; <italic>W</italic>) using the parameter set <italic>W</italic>. Then, training is the process that allows you to find<disp-formula id="e1">
<mml:math id="m5">
<mml:msup>
<mml:mrow>
<mml:mi>W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mrow>
<mml:mi>argmin</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(1)</label>
</disp-formula>This is usually done via a Gradient Descent optimization algorithm, as described below. In general, the loss function depends on the specific task that we are designing our network to solve. In supervised classification, it quantifies the mismatch between prediction and ground truth, and the standard choice is a cross-entropy loss function<disp-formula id="equ2">
<mml:math id="m6">
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#x2212;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:msub>
<mml:mrow>
<mml:mi>y</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>log</mml:mi>
<mml:mo>&#x2061;</mml:mo>
<mml:mi>F</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>;</mml:mo>
<mml:mi>W</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
</disp-formula>
</p>
<p>In general, we can include a so-called regularization term in our loss functions that penalizes large weights in an attempt to prevent overfitting of the model. However, to constrain the complexity of the problem and ease our analysis of the Gradient Descent map, we do not include a regularization term. Later on we discuss the possible implications of this choice.</p>
<p>To facilitate the exploration of the training dynamics we have chosen to tackle a simple, toy problem: the so-called Iris dataset (directly available from the scikit-learn library). This dataset consists of <italic>N</italic> &#x3d; 150 samples {<italic>x</italic>
<sub>
<italic>i</italic>
</sub>, <italic>y</italic>
<sub>
<italic>i</italic>
</sub>}, where each <italic>x</italic>
<sub>
<italic>i</italic>
</sub> is measuring 4 physiological properties of one of three species of <italic>Iris</italic> flowers, and our goal is to train a network that can classify flowers into one of the three species given its physiological properties, i.e., <italic>y</italic>
<sub>
<italic>i</italic>
</sub> is a categorical variable with three categories. Thus our network has an input dimension <italic>n</italic>
<sub>1</sub> &#x3d; 4 (number of physiological properties) and an output dimension <italic>n</italic>
<sub>
<italic>L</italic>
</sub> &#x3d; 3. We split the dataset into 120 samples for training and 30 samples for testing performance. To illustrate why this problem is simple, but non-trivial, in <xref ref-type="fig" rid="F2">Figure 2</xref> we plot the dataset in the space of two of its input features, where we can see that some, but not all, of the classes are easily separable. In addition, we mark instances that were not correctly predicted by a typical network trained using the procedure described in this and the following sections, where we can see that these instances fall between two classes whose boundary is ambiguous.</p>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Illustration of the Iris dataset and difficulty in linearly separating the three classes. Datapoints are shown in the space of two of their four input features, namely &#x201c;sepal length&#x201d; and &#x201c;sepal width.&#x201d; Colors correspond to different classes, while markers show whether the instances were classified correctly or not (marked as &#x201c;x&#x201d; if the prediction was incorrect).</p>
</caption>
<graphic xlink:href="fcpxs-02-1367957-g002.tif"/>
</fig>
<p>The choice of a simple task allows us to also use a simple architecture. Our network has a single hidden layer of 10 units. Thus, we have <italic>L</italic> &#x3d; 3, <italic>H</italic> &#x3d; 1, and <italic>n</italic>
<sub>2</sub> &#x3d; 10. In total, the number of trainable parameters is <italic>&#x23;</italic> &#x3d; 83, which is also the dimensionality of our dynamical system. To initialize our parameters, we set bias weights equal to zero and each of the weights to an independent realization of a standard Gaussian <inline-formula id="inf4">
<mml:math id="m7">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>N</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mn>0,1</mml:mn>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> random variable.</p>
<p>To solve the optimization problem Eq. <xref ref-type="disp-formula" rid="e1">1</xref>, we employ the Gradient Descent (GD) algorithm, which is used widely in the training of neural networks. Consider any parameter, e.g., <italic>w</italic> &#x2208; <bold>W</bold>
<sub>
<italic>l</italic>
</sub> for any <italic>l</italic>. Under GD, we iteratively update the parameter <italic>w</italic> based on the gradient of the loss function <inline-formula id="inf5">
<mml:math id="m8">
<mml:mi mathvariant="script">L</mml:mi>
</mml:math>
</inline-formula> with respect to it, effectively moving <italic>w</italic> in the direction of the steepest descent along the surface of the loss function. That is, at iteration <italic>t</italic> we have<disp-formula id="equ3">
<mml:math id="m9">
<mml:mi>w</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b7;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mfenced open="" close="|">
<mml:mrow>
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x2202;</mml:mi>
<mml:mi mathvariant="script">L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x2202;</mml:mi>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:mfrac>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:mi>W</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:math>
</disp-formula>
</p>
<p>The notation <italic>t</italic> for the iteration index is not accidental, since we will interpret it as a time parameter when we reformulate the GD algorithm as a discrete dynamical system. We can already see that the above is an equation for a dynamical map. This can be defined equally well for any of the parameter matrices or vectors, where we have<disp-formula id="equ4">
<mml:math id="m10">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b7;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi>&#x2207;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:msub>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>x</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>W</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
</disp-formula>in practice, the gradients are computed using the backpropagation algorithm (<xref ref-type="bibr" rid="B23">Goodfellow et al., 2016</xref>)<disp-formula id="equ5">
<mml:math id="m11">
<mml:msub>
<mml:mrow>
<mml:mi>&#x2207;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:msub>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mo>&#x2261;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x2202;</mml:mi>
<mml:mi mathvariant="script">L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x2202;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c6;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#xd7;</mml:mo>
<mml:mo>&#x22ef;</mml:mo>
<mml:mo>&#xd7;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c6;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#xd7;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi>&#x3c6;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#xd7;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mi>&#x2202;</mml:mi>
<mml:mi mathvariant="script">L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x2202;</mml:mi>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>L</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfrac>
<mml:mo>.</mml:mo>
</mml:math>
</disp-formula>
</p>
<p>There are in principle many ways to choose the learning rate <italic>&#x3b7;</italic> [e.g., adaptive learning rates (<xref ref-type="bibr" rid="B23">Goodfellow et al., 2016</xref>)], but we adopt the simplest strategy, which is to assign <italic>&#x3b7;</italic> a constant value throughout the training process.</p>
<p>In supervised learning, the loss term relies on comparing the outputs of the network <italic>F</italic>(<italic>x</italic>; <italic>W</italic>) given a parameter set <italic>W</italic> and a set of input data <italic>x</italic> to the ground-truth of the respective datapoints <italic>x</italic>
<sub>
<italic>i</italic>
</sub> &#x2208; <italic>x</italic>. Given our dataset, how we choose what data to use for calculating the loss term is very important. The most common approach, mainly due to efficiency concerns (see <xref ref-type="sec" rid="s2-2">Section 2.2</xref>), is to randomly partition the dataset into batches and use the batches for successive parameter updates. This is known as <italic>Stochastic</italic> Gradient Descent (SGD). Alternatively, we can use the whole training dataset at every parameter update step. This is the classic GD algorithm, but in many cases the datasets are too large to make this approach tractable or efficient. However, in our work we use the GD algorithm, which has the advantage of making the dynamics fully deterministic [see (<xref ref-type="bibr" rid="B58">Ziyin et al., 2023</xref>) for an interesting analysis on the stability problem for SGD].</p>
<p>Finally, we formalize the notion of GD training as a deterministic graph dynamical system that we have alluded to. Since the architecture is very standard, the network is small, and in general here we are more interested in the dynamics of the network throughout training, we shift focus away from the details of the network internals and adopt some notational conveniences. We will represent the parameter set <italic>W</italic> (i.e., trainable weights) of all <italic>L</italic> layers as a single composite weight matrix <bold>W</bold>. This composite matrix represents the dynamical variables we are interested in, so we define <bold>W</bold>(<italic>t</italic>) as the weight matrix at time step <italic>t</italic>, i.e., after <italic>t</italic> iterations of the training algorithm. Thus <bold>W</bold>(0) is the initial condition of our dynamical system, i.e., the (random) initialization of our ANN weights described before. The dynamical equation of our system <bold>W</bold>(<italic>t</italic>) is the GD algorithm, which now reads:<disp-formula id="e2">
<mml:math id="m12">
<mml:mi mathvariant="bold">W</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold">W</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3b7;</mml:mi>
<mml:mi mathvariant="bold">&#x2207;</mml:mi>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2261;</mml:mo>
<mml:mi>g</mml:mi>
<mml:mfenced open="[" close="]">
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>;</mml:mo>
<mml:mi>&#x3b7;</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>.</mml:mo>
</mml:math>
<label>(2)</label>
</disp-formula>
</p>
<p>From this definition, we can immediately form the intuitive conjecture that the stability of the map <bold>W</bold>(<italic>t</italic> &#x2b; 1) &#x3d; <italic>g</italic>(<bold>W</bold>; <italic>&#x3b7;</italic>) will depend on the learning rate <italic>&#x3b7;</italic>. The rest of our paper is devoted to exploring this dependence, and soon we formalize what we mean by stability.</p>
<p>Now that we have formalized our dynamical system, we can define trajectories and a number of tools we will use to study them. Intuitively, the evolution of network weights described by <italic>g</italic>(&#x22c5;) defines a trajectory through multi-dimensional network space. More formally, the dynamics occur over iterations defined by the composition of the gradient map <italic>g</italic>(<bold>W</bold>), where at time step <italic>t</italic> the weights are defined as <bold>W</bold>(<italic>t</italic>) &#x3d; <italic>g</italic>
<sup>(<italic>t</italic>)</sup>(<bold>W</bold>) and <italic>g</italic>
<sup>(0)</sup>(<bold>W</bold>) &#x3d; <bold>W</bold>(0) are the initial weights. We call the sequence {<bold>W</bold>(<italic>t</italic>)} a weight or network <italic>trajectory</italic>, and it is our main object of study. We will sometimes also look at the trajectory of the loss function <inline-formula id="inf6">
<mml:math id="m13">
<mml:mrow>
<mml:mo stretchy="false">{</mml:mo>
<mml:mrow>
<mml:mi mathvariant="script">L</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="false">}</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> and individual weights {<italic>w</italic>
<sub>
<italic>ij</italic>
</sub>(<italic>t</italic>)}, all defined intuitively from the network trajectory.</p>
<p>Our main approach is to analyze how the distance between initially close trajectories evolves over time. Initially close trajectories are generated by training from an initial condition obtained through a &#x201c;small,&#x201d; point-wise perturbation of a reference weight matrix. Concretely, if our reference matrix is <bold>W</bold> &#x3d; {<italic>w</italic>
<sub>
<italic>ij</italic>
</sub>}, our perturbed matrix will be <bold>W</bold>&#x2032; &#x3d; {<italic>w</italic>
<sub>
<italic>ij</italic>
</sub> &#x2b; <italic>&#x3b4;</italic>
<sub>
<italic>ij</italic>
</sub>} where the values <italic>&#x3b4;</italic>
<sub>
<italic>ij</italic>
</sub> are iid realizations of a random variable <inline-formula id="inf7">
<mml:math id="m14">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3b4;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula>. We can define <inline-formula id="inf8">
<mml:math id="m15">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3b4;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
</mml:math>
</inline-formula> as we wish, but in this work we focus on the case where <inline-formula id="inf9">
<mml:math id="m16">
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>&#x3b4;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x2261;</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:mi>U</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">&#x302;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>&#x3f5;</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>&#x3f5;</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula>. We refer to the parameter 0 &#x3c; <italic>&#x3f5;</italic> &#x226A; 1 as the <italic>perturbation radius</italic>. Intuitively, this perturbation scheme amounts to generating a new set of weights within an <italic>&#x3f5;</italic>-ball around the reference point<xref ref-type="fn" rid="fn1">
<sup>1</sup>
</xref>.</p>
<p>Once we obtain a perturbed matrix <bold>W</bold>&#x2032;, we independently train the model with those weights as initialization, to obtain a perturbed trajectory {<bold>W</bold>&#x2032;(<italic>t</italic>)}. Given a reference and perturbed trajectories, we can measure the divergence between them by applying a distance metric <italic>d</italic>(<bold>W</bold>(<italic>t</italic>), <bold>W</bold>&#x2032;(<italic>t</italic>)) at each iteration <italic>t</italic>. We take <italic>d</italic> as simply the <italic>L</italic>
<sub>1</sub>-norm of the element-wise difference between weight matrices:<disp-formula id="equ10">
<mml:math id="m17">
<mml:mi>d</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
<mml:mo>,</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mo stretchy="false">&#x2016;</mml:mo>
<mml:mi mathvariant="bold">W</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo stretchy="false">&#x2016;</mml:mo>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munder>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>,</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:munder>
</mml:mstyle>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>w</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2212;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mi>w</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2032;</mml:mo>
</mml:mrow>
</mml:msubsup>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mo>.</mml:mo>
</mml:math>
</disp-formula>
</p>
<p>In a slight abuse of notation, when it is unambiguous to do so we will use <italic>d</italic>(<italic>t</italic>) &#x2261; <italic>d</italic>(<bold>W</bold>(<italic>t</italic>), <bold>W</bold>&#x2032;(<italic>t</italic>)) to denote the evolution of the distance between two trajectories.</p>
<p>In this work we consider two types of stability: stability of stationary solutions (dynamical stability) and stability of network trajectories (orbital stability). Dynamical stability refers to understand how <italic>d</italic>(<italic>t</italic>) grows or shrinks when {<bold>W</bold>} is a network configuration found after the training has finished (i.e., {<bold>W</bold>} is somewhat stationary) and {<bold>W</bold>&#x2032;} is a perturbation around the stationary solution. Orbital stability on the other hand does not require {<bold>W</bold>} to be a stationary solution, and assesses if a perturbed trajectory {<bold>W</bold>&#x2032;} does not diverge (indefinitely) from the reference trajectory {<bold>W</bold>}: in that case the latter is stable. Of course, this could imply a weaker form of stability, where the perturbation remains bounded within some neighborhood of the reference, or a stronger one if the perturbation is attracted to the reference, i.e., their distance obeys lim<sub>
<italic>t</italic>&#x2192;<italic>&#x221e;</italic>
</sub>
<italic>d</italic>(<italic>t</italic>) &#x3d; 0. If the distance between trajectories increases (e.g., exponentially), the reference is dynamically unstable. This kind of sensitive dependence to initial conditions is a feature of many chaotic systems (<xref ref-type="bibr" rid="B53">Strogatz, 2015</xref>). To study this formally, we will estimate the (network) maximum Lyapunov exponent (<xref ref-type="bibr" rid="B12">Caligiuri et al., 2023</xref>), which provides an average estimation of the exponential expansion of initially close network trajectories. More concretely, given an initial condition (reference trajectory <bold>W</bold>) and an ensemble of <italic>M</italic> perturbed initial conditions, we first calculate the distance <italic>d</italic>
<sub>
<italic>i</italic>
</sub>(<italic>t</italic>), <italic>i</italic> &#x3d; 1, &#x2026; , <italic>M</italic> between the reference and each of the <italic>M</italic> perturbations at each iteration <italic>t</italic>. We then calculate the expansion rate of the distance averaged over perturbations as<disp-formula id="e3">
<mml:math id="m18">
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfrac>
<mml:mi>ln</mml:mi>
<mml:mfrac>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:msubsup>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:msub>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>&#x3c4;</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msup>
<mml:msubsup>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>M</mml:mi>
</mml:mrow>
</mml:msubsup>
<mml:msub>
<mml:mrow>
<mml:mi>d</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:math>
<label>(3)</label>
</disp-formula>where the parameter <italic>&#x3c4;</italic> is the saturation time (<xref ref-type="bibr" rid="B12">Caligiuri et al., 2023</xref>), at which the distance reaches the size of the attractor and any eventual exponential divergence necessarily stops. The quantity &#x39b; characterizes the local expansion rate around the initial condition <bold>W</bold>, and is called a <italic>finite</italic> network Lyapunov exponent (just as it happens for finite time Lyapunov exponents (<xref ref-type="bibr" rid="B4">Aurell et al., 1996</xref>; <xref ref-type="bibr" rid="B5">Aurell et al., 1997</xref>), here the initial distance between nearby networks cannot&#x2013;by construction&#x2013;be infinitesimally small, and thus the distance between initially close conditions reach the size of the attractor in finite time). To obtain a global picture we can look at the distribution <italic>P</italic>(&#x39b;) over different initial conditions. If <italic>P</italic>(&#x39b;) is unimodal, its mean provides an estimate of the <italic>maximum</italic> network Lyapunov exponent <italic>&#x3bb;</italic>
<sub>nMLE</sub> (<xref ref-type="bibr" rid="B12">Caligiuri et al., 2023</xref>)<disp-formula id="equ6">
<mml:math id="m19">
<mml:msub>
<mml:mrow>
<mml:mi>&#x3bb;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mtext>nMLE</mml:mtext>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">&#x27e8;</mml:mo>
<mml:mrow>
<mml:mi mathvariant="normal">&#x39b;</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
</mml:mfenced>
</mml:mrow>
<mml:mo stretchy="false">&#x27e9;</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mi mathvariant="bold">W</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>.</mml:mo>
</mml:math>
</disp-formula>
</p>
<p>The saturation time <italic>&#x3c4;</italic> is fixed for a given reference trajectory and set of perturbations. In practice, it has to be found by visually exploring the distance curve or (better) by numerically estimating a good window for calculating the expansion rate (i.e., by trying various windows and taking the ones with the best exponential fit).</p>
</sec>
<sec id="s2-2">
<title>2.2 Relevant concepts</title>
<sec id="s2-2-1">
<title>2.2.1 On convergence of gradient descent</title>
<p>Since we adopt the perspective of dynamical stability, a particularly relevant question for us is under what conditions GD will converge to a local or global minimum of the loss function, which we will identify with a stable equilibrium of the dynamics. Convergence to global minima is guaranteed under the mathematical assumptions of <italic>&#x2113;</italic>-smoothness and (strong) convexity of the loss function <inline-formula id="inf10">
<mml:math id="m20">
<mml:mi mathvariant="script">L</mml:mi>
</mml:math>
</inline-formula>. In those cases GD is guaranteed to make progress towards the global minimum, and if the loss function is convex the convergence is exponential, as we would expect for a globally attracting fixed point. In a sense then the loss function is a Lyapunov function of the dynamical system, as its value will decrease monotonically on trajectories. This is an interesting thought experiment, but this scenario is not realistic. In practically all applications of neural networks, the loss function <inline-formula id="inf11">
<mml:math id="m21">
<mml:mi mathvariant="script">L</mml:mi>
</mml:math>
</inline-formula> is highly non-convex, with a large number of local minima and saddle points, which represent critical points of the dynamics. Gradient descent (let it be full-batch, or stochastic) is in general only guaranteed to converge to a local minimum in this case. Interestingly, escape from local minima can be done by accurately striking a balance between so-called <italic>exploitation strategies</italic> (e.g., purely relaxational, gradient descent) and <italic>exploration rules</italic>. While classic GD with small learning rate can be seen as a pure exploitation strategy, to some extent some variations of such classical scheme such as increasing the learning rate, adding a dropout mechanism, or moving from full-batch GD to stochastic gradient descent, can themselves be seen as adding a certain amount of exploration. Other approaches that fully balance exploration and exploitation include simulated annealing or genetic algorithms (<xref ref-type="bibr" rid="B39">Montana and Davis, 1989</xref>). While finding the global minimum in a highly non-convex loss landscape is generally intractable, in practice this is not an issue of practical concern since for large networks most local minima have near-optimal loss (<xref ref-type="bibr" rid="B15">Choromanska et al., 2015</xref>), and therefore exploration rules are not as important as exploitation strategies when it comes to training ANNs.</p>
<p>Convergence theorems give a bound to the learning rate <italic>&#x3b7;</italic> &#x2264; 2/<italic>&#x2113;</italic> (where <italic>&#x2113;</italic> refers to the Lipschitz constant of the loss function), above which GD is expected to diverge. This bound is commonly used as a heuristic for the choice of learning rate <italic>&#x3b7;</italic>, but in practice, a number of studies have observed that learning and convergence towards minima can happen for large <italic>&#x3b7;</italic> at or above this threshold as well (<xref ref-type="bibr" rid="B31">Kong et al., 2020</xref>; <xref ref-type="bibr" rid="B1">Agarwal et al., 2021</xref>; <xref ref-type="bibr" rid="B16">Cohen et al., 2021</xref>). Exploring this question is one of the goals of this work.</p>
<p>An important and often debated question in the literature on optimization theory is the convergence to saddle points. Theoretically, if saddle points are strict (i.e., at least one of the eigenvalues of the loss function Hessian is strictly negative) then GD will never remain trapped in them (<xref ref-type="bibr" rid="B37">Lee et al., 2016</xref>), though it is still possible that in practice the trajectories take an impractically long time to escape. Note that for shallow networks with one hidden layer (which we consider in this work) saddle points are guaranteed to be strict (<xref ref-type="bibr" rid="B30">Kawaguchi et al., 2016</xref>; <xref ref-type="bibr" rid="B57">Zhu et al., 2020</xref>). However, for the loss function arising in an arbitrary ANN problem it seems difficult to determine whether saddles can be assumed strict or not, so even the convergence of GD towards local minima is not guaranteed theoretically. This is why in practice one never waits for the algorithm to converge to a truly stationary point, but stops training when the gradient has been deemed sufficiently small.</p>
</sec>
<sec id="s2-2-2">
<title>2.2.2 Loss landscape</title>
<p>There is also a line of study in machine learning theory focusing on describing the landscape of the loss function, which can give us some insights. In general, studies continuously find that loss landscapes are very difficult to characterize in theory, but seem to behave more simply in practice, and one of our aims is to see if the dynamical systems perspective can help explain this. In particular, the modality of the loss function (i.e., presence and nature of fixed points) has been studied by many authors. For example, Kawaguchi (<xref ref-type="bibr" rid="B30">Kawaguchi et al., 2016</xref>) shows that all local minima have the same loss and deep networks can have non-strict saddle nodes, which could help to explain why obtaining &#x201c;good&#x201d; results under gradient optimization is tractable despite it being an NP-complete problem in theory. In other work, Bosman et al. (<xref ref-type="bibr" rid="B10">Bosman et al., 2020a</xref>) among many other authors show that with an increased dimensionality of the ANN problem, the loss landscape contains more saddles and fewer local minima. Lastly, other features of the loss surface seem simpler than we might assume, given that for example, regions with low loss are represented by high-dimensional basins rather than isolated points (<xref ref-type="bibr" rid="B20">Fort and Jastrzebski, 2019</xref>), SGD usually quickly takes solutions to those basins, and then slowly moves to find the most optimal solution (<xref ref-type="bibr" rid="B19">Fort et al., 2019</xref>; <xref ref-type="bibr" rid="B24">Havasi et al., 2020</xref>), and quadratic approximations to the loss landscape do well in the latter phase (<xref ref-type="bibr" rid="B18">Fort et al., 2020</xref>).</p>
</sec>
<sec id="s2-2-3">
<title>2.2.3 Reminder on dynamical and orbital stability</title>
<p>See (<xref ref-type="bibr" rid="B2">Alligood et al., 1996</xref>; <xref ref-type="bibr" rid="B28">Holmes and Shea-Brown, 2006</xref>; <xref ref-type="bibr" rid="B53">Strogatz, 2015</xref>) for background. We restrict our focus to autonomous, discrete-time maps, as is the GD algorithm defined in Eq. <xref ref-type="disp-formula" rid="e2">2</xref>. Consider a dynamical system in <italic>m</italic> dimensions with dynamical variable <inline-formula id="inf12">
<mml:math id="m22">
<mml:mi mathvariant="bold">x</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mo>&#x2208;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="double-struck">R</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula> and the set of difference equations <bold>f</bold>(<bold>x</bold>) such that<disp-formula id="equ7">
<mml:math id="m23">
<mml:mi mathvariant="bold">x</mml:mi>
<mml:mo>&#x21a6;</mml:mo>
<mml:mi mathvariant="bold">f</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi mathvariant="bold">x</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mspace width="1em"/>
<mml:mtext>or</mml:mtext>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mi mathvariant="bold">f</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="bold">f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>n</mml:mi>
</mml:mrow>
</mml:msup>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="bold">x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:mfenced>
<mml:mo>,</mml:mo>
</mml:math>
</disp-formula>
</p>
<p>Where <italic>n</italic> is used to index time as iterations of the map functions <inline-formula id="inf13">
<mml:math id="m24">
<mml:mi mathvariant="bold">f</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold">x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold">x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mi>f</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>m</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold">x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:msup>
</mml:math>
</inline-formula>. A fixed point of the system is <bold>x</bold>&#x2a; for which <bold>x</bold>&#x2a; &#x3d; <bold>f</bold>(<bold>x</bold>&#x2a;). A fixed point is considered <italic>Lyapunov stable</italic> if, intuitively, all orbits starting near the fixed point remain close to it indefinitely, i.e., the distance between points on the trajectory and the fixed point is bounded. Concretely, if for every neighbourhood <italic>U</italic> around <bold>x</bold>&#x2a; there exists a neighbourhood <italic>V</italic> &#x2286; <italic>U</italic> s.t. <italic>&#x2200;</italic>
<bold>x</bold>
<sub>0</sub> &#x2208; <italic>V</italic> we have <bold>f</bold>
<sup>
<italic>n</italic>
</sup>(<bold>x</bold>
<sub>0</sub>) &#x2208; <italic>U</italic> as <italic>n</italic> &#x2192; <italic>&#x221e;</italic>, the point <bold>x</bold>&#x2a; is Lyapunov stable. A point is considered <italic>asymptotically stable</italic> if it is both Lyapunov stable and also <italic>&#x2200;</italic>
<bold>x</bold> &#x2208; <italic>V</italic>, lim<sub>
<italic>n</italic>&#x2192;<italic>&#x221e;</italic>
</sub>&#x7c;<bold>f</bold>
<sup>
<italic>n</italic>
</sup>(<bold>x</bold>
<sub>0</sub>) &#x2212; <bold>x</bold>&#x2a;&#x7c; &#x3d; 0. That is, the distance between nearby points and the fixed point decreases over time, thus <bold>x</bold>&#x2a; is attracting. Note this implies that <inline-formula id="inf14">
<mml:math id="m25">
<mml:mfrac>
<mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="bold">f</mml:mi>
<mml:mrow>
<mml:mo stretchy="false">(</mml:mo>
<mml:mrow>
<mml:mi mathvariant="bold">x</mml:mi>
</mml:mrow>
<mml:mo stretchy="false">)</mml:mo>
</mml:mrow>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="bold">x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi mathvariant="bold">x</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:msup>
<mml:mrow>
<mml:mi mathvariant="bold">x</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mo>&#x2a;</mml:mo>
</mml:mrow>
</mml:msup>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:mrow>
</mml:mfrac>
<mml:mo>&#x3c;</mml:mo>
<mml:mi>a</mml:mi>
</mml:math>
</inline-formula> for some 0 &#x3c; <italic>a</italic> &#x3c; 1, and for a sequence of <italic>n</italic> iterations of the map we have &#x7c;<bold>f</bold>
<sup>
<italic>n</italic>
</sup>(<bold>x</bold>) &#x2212; <bold>x</bold>&#x2a;&#x7c; &#x2264; <italic>a</italic>
<sup>
<italic>n</italic>
</sup>&#x7c;<bold>x</bold> &#x2212; <bold>x</bold>&#x2a;&#x7c;, which is an exponential convergence to the fixed point <bold>x</bold>&#x2a;. If a point is Lyapunov stable, but not asymptotically stable, we will call it marginally or neutrally stable, since nearby trajectories neither grow unboundedly nor decrease exponentially.</p>
<p>Finally, the concept of <italic>orbital stability</italic> (<xref ref-type="bibr" rid="B28">Holmes and Shea-Brown, 2006</xref>) extends the notion of stability of fixed points to general orbits of a dynamical system. The intuition is the same&#x2014;an asymptotically stable orbit will attract nearby orbits, i.e., the distance between the orbits will shrink over time; while a marginally stable orbit will have nearby trajectories bounded within some neighborhood. This is the main perspective we will adopt when studying the trajectories defined by the GD map in network space.</p>
</sec>
</sec>
</sec>
<sec id="s3">
<title>3 The low learning rate regime</title>
<p>Unless otherwise stated, the data we show in this section is based on simulations of (deterministic) Gradient Descent (i.e., full batch) with a small learning rate <italic>&#x3b7;</italic> &#x3d; 0.01, a regime in which the convergence of the loss function is typically guaranteed (note however that the precise values of <italic>&#x3b7;</italic> that delineate the different regimes likely depend on the problem, architecture, and data, so the values here should not be taken as universal).</p>
<p>Note that in this work we are more interested in establishing a methodology to study the evolution of network trajectories, rather than in designing optimal ANN architectures. Nevertheless, we recognize that examining the performance of the network on both training and held-out testing data is an important indicator to ensure its architecture is relevant, and thus include sample performance metrics in <xref ref-type="sec" rid="s11">Supplementary Appendix S1</xref>.</p>
<sec id="s3-1">
<title>3.1 Divergence of network trajectories and orbital stability</title>
<p>Here, we track and examine the trajectories of the ANN as it learns. For illustration, <xref ref-type="fig" rid="F3">Figure 3</xref> shows the distance <italic>d</italic>(<italic>t</italic>) of perturbed network initial conditions with respect to a reference initial condition, the average distance of the ensemble, and training loss <inline-formula id="inf15">
<mml:math id="m26">
<mml:mi mathvariant="script">L</mml:mi>
</mml:math>
</inline-formula>, over the network trajectory depicted through learning (i.e., at each iteration), for a perturbation radius <italic>&#x3f5;</italic> &#x3d; 10<sup>&#x2212;8</sup>. While the network is always &#x2018;learning&#x2019; (the loss function monotonically decreases), and contrary to naive expectations, we observe that:<list list-type="simple">
<list-item>
<p>&#x2022; The network distance <italic>d</italic>(<italic>t</italic>) is not monotonic, and neither increases exponentially (as in chaotic systems), nor monotonically shrinks over time.</p>
</list-item>
<list-item>
<p>&#x2022; For a particular network initial condition, the dynamical evolution of nearby perturbations (within the perturbation radius) is not consistent. This <italic>a priori</italic> suggests lack of orbital stability.</p>
</list-item>
<list-item>
<p>&#x2022; The shape of the network distances is dependent on the specific network initial condition, and the dynamical behavior is therefore not ergodic.</p>
</list-item>
</list>
</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Example showing the evolution of the distances between reference and perturbed trajectories, for a perturbation radius <italic>&#x3f5;</italic> &#x3d; 10<sup>&#x2212;8</sup>. Each panel shows results for a different network initial condition and a random set of perturbations. Gray lines are the distances from individual perturbations, and black is the average distance over all (20) perturbations. Overlaid in blue dashed line (right-hand axis) is the loss trajectory of the network plotted for all perturbations (all loss curves coincide).</p>
</caption>
<graphic xlink:href="fcpxs-02-1367957-g003.tif"/>
</fig>
<p>A possible explanation for the fact that distances do not vanish (actually, they seem to systematically increase in the long run) and that perturbations exhibit different convergence patterns relative to the reference trajectory would be that, within the perturbation radius, different perturbations are indeed converging towards different minima of the loss function, i.e., different network configurations with nearly-identical loss values (<xref ref-type="bibr" rid="B15">Choromanska et al., 2015</xref>). If this was the main reason underlying the observed phenomenology, then we speculate that, for small enough perturbation radius <italic>&#x3f5;</italic>, we should find a transition to non-increasing distances. However, the results shown in <xref ref-type="fig" rid="F4">Figure 4</xref> indicate that, for the same network initial condition, perturbations within systematically smaller radius <italic>&#x3f5;</italic> still show a similar qualitative behavior for <italic>d</italic>(<italic>t</italic>), i.e., almost independently of <italic>&#x3f5;</italic>. In <xref ref-type="fig" rid="F4">Figure 4</xref>, we do not see a transition between convergence and divergence with <italic>&#x3f5;</italic>, at least for the values considered here. The conclusion is thus that, numerically, what we are observing is consistent with the lack of orbital stability: there is no small enough <italic>&#x3f5;</italic> such that orbits within that radius stay confined. At the same time, the evolution of network distances is not consistent with sensitive dependence of initial conditions (exponential expansion): enforcing a low learning rate <italic>&#x3b7;</italic> guarantees convergence of the iteration scheme and thus such exponential expansion is not to be expected in this regime.</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Evolution of distances between perturbations and reference trajectory for a single initial condition and different values of the perturbation range <italic>&#x3f5;</italic> &#x3d; {10<sup>&#x2212;14</sup>, 10<sup>&#x2212;10</sup>, 10<sup>&#x2212;6</sup>, 10<sup>&#x2212;2</sup>}. Random perturbations are sampled separately for each value of <italic>&#x3f5;</italic>. Gray lines represent individual perturbations and black line is the mean over perturbations. Note the different scales on the distance axis (left-hand side). The loss of perturbations is overlaid in dashed blue line (right-hand axis).</p>
</caption>
<graphic xlink:href="fcpxs-02-1367957-g004.tif"/>
</fig>
<p>Hence, why do initially close network trajectories appear to continuously diverge, irrespective of the initial distance <italic>&#x3f5;</italic>? What is causing this lack of orbital stability? This brings us to the conjecture of the existence of irrelevant directions (i.e., that not all weights are important for the output of the network) and the scenario of marginal stability, where the network trajectory would be &#x201c;drifting&#x201d; along some dimensions that are essentially flat with respect to the loss function, which in turn would imply that minima of the loss function would be represented by stationary manifolds, rather than simple stationary points. In such a scenario, throughout training initially a handful of network parameters would be updating to go in the direction of strong gradients, and eventually most of the gradients would be very small, so that the update would be producing a sort of random walk trajectory within the stationary manifold, and such network diffusion would in turn produce the continuous&#x2013;yet slow&#x2013;divergence of trajectories observed in <xref ref-type="fig" rid="F3">Figures 3</xref>, <xref ref-type="fig" rid="F4">4</xref>.</p>
<p>The existence of irrelevant directions seems to be supported when looking at how the loss changes when we disable individual weights after training has finished. The results in the left panel of <xref ref-type="fig" rid="F5">Figure 5</xref> show that the &#x201c;importance&#x201d; of weights, defined as the decrease in loss incurred after they have been disabled (set to zero), is not normally distributed, and while disabling some weights has a disproportionately large impact on the loss, this impact is minimal for plenty of others. Note, however, that the story is far more intricate, since the &#x201c;problem-solving ability&#x201d; of neural networks is based not on individual weights, but on non-linear combinations of multiple weights (this echoes the issues with similar &#x201c;feature importance&#x201d; approaches in classical machine learning).</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>(Left panel) Heatmap for one of the weight matrices of a final solution, i.e., <bold>W</bold>
<sub>1</sub> at the final iteration. Color corresponds to difference in loss <inline-formula id="inf16">
<mml:math id="m27">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="script">L</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> after disabling each weight individually (i.e., setting <italic>w</italic>
<sub>
<italic>ji</italic>
</sub> &#x3d; 0 only and recalculating loss). Difference is shown relative to baseline loss <inline-formula id="inf17">
<mml:math id="m28">
<mml:mi mathvariant="script">L</mml:mi>
</mml:math>
</inline-formula> when all weights are kept as is. (Right panel) Relationship between per-weight displacements &#x394;<sub>
<italic>w</italic>
</sub> and the total distance travelled by individual weights <italic>D</italic>
<sub>
<italic>w</italic>
</sub>. Results are for the weight matrices of a single network trajectory.</p>
</caption>
<graphic xlink:href="fcpxs-02-1367957-g005.tif"/>
</fig>
<p>To test for the neutral drift hypothesis, we finally look at the dynamics on the level of individual network weights: for each weight <italic>w</italic>, we compute its per-weight displacement &#x394;<sub>
<italic>w</italic>
</sub> as<disp-formula id="equ8">
<mml:math id="m29">
<mml:msub>
<mml:mrow>
<mml:mi mathvariant="normal">&#x394;</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mn>0</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo stretchy="false">&#x7c;</mml:mo>
</mml:mrow>
</mml:mfrac>
<mml:mo>,</mml:mo>
</mml:math>
</disp-formula>where <italic>T</italic> denotes the time of the final iteration, and scatter plot it against the per-weight total distance travelled <italic>D</italic>
<sub>
<italic>w</italic>
</sub>, i.e., a rectification of its trajectory<disp-formula id="equ9">
<mml:math id="m30">
<mml:msub>
<mml:mrow>
<mml:mi>D</mml:mi>
</mml:mrow>
<mml:mrow>
<mml:mi>w</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mstyle displaystyle="true">
<mml:munderover>
<mml:mrow>
<mml:mo>&#x2211;</mml:mo>
</mml:mrow>
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mrow>
<mml:mi>T</mml:mi>
</mml:mrow>
</mml:munderover>
</mml:mstyle>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
</mml:mrow>
</mml:mfenced>
<mml:mo>&#x2212;</mml:mo>
<mml:mi>w</mml:mi>
<mml:mfenced open="(" close=")">
<mml:mrow>
<mml:mi>t</mml:mi>
<mml:mo>&#x2212;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:mfenced>
<mml:mo stretchy="false">&#x7c;</mml:mo>
<mml:mo>.</mml:mo>
</mml:math>
</disp-formula>
</p>
<p>Intuitively, along the irrelevant dimensions (with unbiased random-walk-like drift), we would expect a small displacement &#x394;<sub>
<italic>w</italic>
</sub> and a large distance traveled <italic>D</italic>
<sub>
<italic>w</italic>
</sub>, whereas more ballistic weight trajectories would yield <italic>D</italic>
<sub>
<italic>w</italic>
</sub> &#x221d;&#x394;<sub>
<italic>w</italic>
</sub>. The right panel of <xref ref-type="fig" rid="F5">Figure 5</xref> shows scatter plots of this relationship for all the weights of a typical network trajectory, finding a linear relationship in this representation between displacement and distance and the lack of weights with both small displacement and large distance. Thus, naive neutral drift is an unlikely explanation.</p>
<p>In the end, the most plausible explanation of the continued divergence observed at perturbation near the initial conditions might come in light of findings about the effect of cross-entropy loss on the shape of low-loss basins (<xref ref-type="bibr" rid="B19">Fort et al., 2019</xref>). Essentially, once a training algorithm has found a basin of low loss (i.e., classifies samples correctly), it will further try to scale up the outputs of neural units in order to increase the gap with the incorrect prediction and make the outputs match as best as possible the ground-truth (represented by unit vectors with a value of 1&#xa0;at the index of the correct prediction). As a result of this, low-loss basins for cross-entropy loss &#x201c;extend outwards&#x201d; from the origin and the dynamics move gradually (but slowly) away from the origin. Since independent initial conditions are unlikely to converge towards the same minima, the perturbations drift away from one another.</p>
</sec>
<sec id="s3-2">
<title>3.2 Stability analysis near the stationary state (post-learning)</title>
<p>In the preceding section we have analysed how perturbations of an initial network condition evolve through learning, i.e., exploring network divergences related to the ideas of orbital stability. Here we turn our attention to the problem of dynamical stability close to stationary points of the dynamics. It has been observed empirically that at the start of training the network is looking for a basin of lower loss, while later on it is exploring within that region (<xref ref-type="bibr" rid="B19">Fort et al., 2019</xref>). We would like to explore here the intuition that as the network asymptotically reaches a plateau of the loss function late in training, the trajectory reaches a (stable) stationary solution. A naive linear stability theory tells us that, close to a stable (unstable) fixed point, small perturbations generate orbits that converge exponentially towards (diverge exponentially away from) the fixed point, depending on the eigenvalues of the linearized system&#x2019;s Jacobian (the same phenomenology is expected for gradient descent under a strongly convex function). In <xref ref-type="fig" rid="F6">Figure 6</xref> we show examples for the distance <italic>d</italic>(<italic>t</italic>) between perturbations taken with respect to a network condition found near the end of training (after 4,000 epochs). We see that distance between trajectories predominantly remains flat or decreases slowly, but on rare occasions also increases or experiences bumps. By plotting the distances on a semi-logarithmic scale, we see that for many initial conditions they exhibit a relatively sharp drop followed by a very slow decay. These results seem to be incompatible with an exponential shrinkage, and thus the solutions obtained after 4,000 training epochs are not strictly attractive fixed points in the sense of dynamical systems, or minima of locally convex functions, from the point of view of optimisation theory.</p>
<fig id="F6" position="float">
<label>FIGURE 6</label>
<caption>
<p>Distance between perturbed and reference trajectories for <italic>&#x3f5;</italic> &#x3d; 10<sup>&#x2212;8</sup>, where perturbations are taken after 4,000 learning iterations (the change in the loss function is <italic>O</italic>(10<sup>&#x2212;2</sup>)). Gray lines correspond to individual perturbations and black line corresponds to mean over perturbations. Each panel shows a different independent initial condition.</p>
</caption>
<graphic xlink:href="fcpxs-02-1367957-g006.tif"/>
</fig>
<p>The above notwidthstanding, the behavior of the distances shown in <xref ref-type="fig" rid="F6">Figure 6</xref> is indeed very different from that observed for perturbations taken at the initial condition, as shown earlier in e.g., <xref ref-type="fig" rid="F3">Figure 3</xref>. Considering the tendency for distances to experience abrupt swelling and other non-trivial behaviors, we cannot state with certainty whether trajectories are bounded for long times, and therefore stable (in a weaker, Lyapunov sense). However, we should be more confident in this conclusion than for perturbations at the initial condition.</p>
<p>The fact that for the same initial condition some perturbations decay while others grow seem to imply that, within a radius <italic>&#x3f5;</italic>, the behavior is not homogeneous (it is still unclear whether perturbed trajectories converge towards the same local minimum). When minima are locally convex/well-like, the loss function represents a Lyapunov potential and linear stability theory predicts exponential decay, as mentioned before. In the case when minima are not points dotting the phase space, but instead are represented by high-dimensional manifolds, random perturbations would converge to points at a distance from the reference along the flat dimensions. In this case, the distance between some weight values would decay exponentially while for others it would remain constant. In the language of linear stability theory of maps, it is possible that the Jacobian of the linearized system has many eigenvalues equal to 1 and only a handful smaller than 1.</p>
<p>Finally, since distances do not decay fully, this could again imply that trajectories converge to nearby saddle points. We know that saddle points are ubiquitous in high-dimensional systems (both general dynamical systems (<xref ref-type="bibr" rid="B21">Fyodorov and Khoruzhenko, 2016</xref>; <xref ref-type="bibr" rid="B8">Ben Arous et al., 2021</xref>) and empirically in neural network loss landscapes (<xref ref-type="bibr" rid="B11">Bosman et al., 2020b</xref>) and that the convergence of GD slows down near any critical point, whether that is a minima or a saddle. In fact, GD is notoriously bad at escaping saddle points (one of the reasons SGD is preferred in practice). On one hand, perturbations away from a local minimum (if that minimum is isolated and narrow) could cause the trajectory to evolve towards nearby saddle-points and slow down the dynamics. On the other hand, perturbations away from saddle points might allow a trajectory to escape that saddle more quickly and continue the evolution towards a different critical point (unlikely for low-rank saddles). We return to this discussion in <xref ref-type="sec" rid="s5">Section 5</xref>, after presenting the exploration of large learning rates in the following section.</p>
</sec>
</sec>
<sec id="s4">
<title>4 The large learning rate regimes</title>
<p>In the previous section, we explored the evolution of network trajectories when the learning rate is &#x201c;conventionally&#x201d; small (<italic>&#x3b7;</italic> &#x3d; 0.01), i.e., for which the loss function monotonically decreases towards its minimum by the action of the gradient descent scheme, see e.g., <xref ref-type="fig" rid="F3">Figure 3</xref>. Here we relax this assumption and consider larger values of the learning rate <italic>&#x3b7;</italic>, where such convergence is less well understood, and explore how both network trajectories and loss trajectories evolve and what type of dynamics are observed.</p>
<sec id="s4-1">
<title>4.1 <italic>&#x3b7;</italic> &#x3d; 1 (edge of stability): evidence of sensitive dependence on initial conditions</title>
<p>Recent literature (<xref ref-type="bibr" rid="B31">Kong et al., 2020</xref>; <xref ref-type="bibr" rid="B1">Agarwal et al., 2021</xref>; <xref ref-type="bibr" rid="B16">Cohen et al., 2021</xref>) points to the fact that gradient descent on non-convex loss functions does not necessarily become unstable when the learning rate is increased above the threshold predicted by the theory for convex optimization; astonishingly, within some region labelled the &#x201c;edge of stability&#x201d; the convergence of the neural network (i.e., learning) is faster than for the traditionally lower learning rate.</p>
<p>More concretely (<xref ref-type="bibr" rid="B16">Cohen et al., 2021</xref>), in this regime the maximum eigenvalue of the loss function Hessian (so called <italic>sharpness</italic>) increases until it reaches the theoretical bound of divergence for Gradient Descent, yet the training itself does not diverge, and this occurs consistently across many tasks and architectures. In this regime, the loss overall tends to decrease but non-monotonically in the short-term.</p>
<p>Accordingly, we now fix a substantially higher learning rate<xref ref-type="fn" rid="fn2">
<sup>2</sup>
</xref> <italic>&#x3b7;</italic> &#x3d; 1 and replicate the analysis performed in <xref ref-type="fig" rid="F3">Figure 3</xref>. Results are plotted in <xref ref-type="fig" rid="F7">Figure 7</xref>, for four different network initial conditions and a perturbation radius <italic>&#x3f5;</italic> &#x3d; 10<sup>&#x2212;8</sup>. We can see (fourth column) that while the loss eventually reaches a minimum close to zero, its transient behavior is clearly non-monotonic. At the same time, we can observe (first column) that the distance between initially close network trajectories typically show strong divergences (with an order of magnitude significantly larger than for <italic>&#x3b7;</italic> &#x3d; 0.01). Zooming in (second column), we can see that the initial divergence between network trajectories displays in many cases an exponential phase, whereas asymptotically (third column) distances are often oscillatory with a small period, sometimes resembling (stable) limit cycles.</p>
<fig id="F7" position="float">
<label>FIGURE 7</label>
<caption>
<p>Distance from perturbed to reference trajectories, and training loss in the Edge of Stability (<italic>&#x3b7;</italic> &#x3d; 1) regime, for four example initial conditions (each row corresponds to a different network initial condition). Around each initial condition, we build five perturbed networks, with <italic>&#x3f5;</italic> &#x3d; 10<sup>&#x2212;8</sup>. The first column from the left shows distances <italic>d</italic>(<italic>t</italic>) for the full training period. The second column shows the region of exponential divergence for the first 200 iterations. Red dotted lines illustrate the slope of best fit for the exponential region. The third column shows the distances for the last 50 iterations. The final column shows the evolution of the loss <inline-formula id="inf18">
<mml:math id="m31">
<mml:mi mathvariant="script">L</mml:mi>
</mml:math>
</inline-formula>.</p>
</caption>
<graphic xlink:href="fcpxs-02-1367957-g007.tif"/>
</fig>
<p>We now pay a bit more attention to the presence of an exponentially expanding phase depicted in the second column of <xref ref-type="fig" rid="F7">Figure 7</xref>, which might be indicative to the presence of sensitivity to initial conditions in network space. One can quantify this effect by estimating the finite network Lyapunov exponent distribution <italic>P</italic>(&#x39b;) (<xref ref-type="bibr" rid="B12">Caligiuri et al., 2023</xref>) [the network version of finite Lyapunov exponents (<xref ref-type="bibr" rid="B4">Aurell et al., 1996</xref>), following the procedure depicted (<xref ref-type="bibr" rid="B12">Caligiuri et al., 2023</xref>) and briefly summarised in <xref ref-type="sec" rid="s2">Section 2</xref>]. In <xref ref-type="fig" rid="F8">Figure 8</xref> (left) we show <italic>P</italic>(&#x39b;) reconstructed from 500 different network initial conditions, where (i) around each network initial condition we consider an <italic>&#x3f5;</italic>-ball of radius <italic>&#x3f5;</italic> &#x3d; 10<sup>&#x2212;8</sup> and track the evolution of 5 perturbations within that radius, (ii) we compute &#x39b; via Eq. <xref ref-type="disp-formula" rid="e3">3</xref>, where (iii) <italic>&#x3c4;</italic> is automatically found as the window yielding the best exponential fit. We only keep those cases where the exponential fit has a <italic>R</italic>
<sup>2</sup> &#x3e; 0.9, and also discard cases where the resulting &#x39b; &#x3c; 0.05 (around 90% of the initial conditions were kept after this filtering was performed). Observe that the distribution is unimodal, its mean is therefore a good proxy for the network MLE. In the right panel of <xref ref-type="fig" rid="F8">Figure 8</xref>, we plot the resulting <italic>&#x3bb;</italic>
<sub>nMLE</sub>, as a function of the perturbation radius <italic>&#x3f5;</italic>. The exponent stabilises to a positive value <italic>&#x3bb;</italic>
<sub>nMLE</sub> &#x2248; 0.33 as <italic>&#x3f5;</italic> decreases, indeed suggesting the onset of sensitive dependence of initial conditions along the training process for <italic>&#x3b7;</italic> &#x3d; 1, an interesting result that clearly deserves further investigation.</p>
<fig id="F8" position="float">
<label>FIGURE 8</label>
<caption>
<p>Lyapunov exponents for trajectories in the Edge of Stability (<italic>&#x3b7;</italic> &#x3d; 1) regime. (Left panel) Distribution of finite Lyapunov exponents <italic>P</italic>(&#x39b;), where each &#x39b; is estimated from Eq. <xref ref-type="disp-formula" rid="e3">3</xref> for an <italic>&#x3f5;</italic>-ball of radius <italic>&#x3f5;</italic> &#x3d; 10<sup>&#x2212;8</sup> centred at a network initial condition with 5 perturbed networks. <italic>P</italic>(&#x39b;) reconstructs the distribution for 500 different network initial conditions (only exponential fits with <italic>R</italic>
<sup>2</sup> &#x3e; 0.9 and value greater than 0.05 have been used in order to exclude cases where no exponential divergence can be observed). (Right panel) Mean and standard deviation of <italic>P</italic>(&#x39b;), providing the network Maximum Lyapunov Exponent <italic>&#x3bb;</italic>
<sub>nMLE</sub> and its fluctuations, respectively, for <italic>&#x3f5;</italic> &#x2208; [10<sup>&#x2212;14</sup>, 10<sup>&#x2212;2</sup>]. <italic>&#x3bb;</italic>
<sub>nMLE</sub> converges to a stable value <italic>&#x3bb;</italic>
<sub>nMLE</sub> &#x2248; 0.33 as <italic>&#x3f5;</italic> decreases.</p>
</caption>
<graphic xlink:href="fcpxs-02-1367957-g008.tif"/>
</fig>
</sec>
<sec id="s4-2">
<title>4.2 <italic>&#x3b7;</italic> &#x3d; 5: rich taxonomy of dynamical behavior and hints of intermittency</title>
<p>If we increase the learning rate well beyond the point that is conventionally considered stable, we still see no numerical divergence in the loss, but the dynamics&#x2013;both at the level of the loss function and the network dynamics&#x2013;once again change dramatically. For illustration, <xref ref-type="fig" rid="F9">Figure 9</xref> shows the evolution of the loss <inline-formula id="inf19">
<mml:math id="m32">
<mml:mi mathvariant="script">L</mml:mi>
</mml:math>
</inline-formula> and the weight norm &#x2016;<bold>W</bold>&#x2016; for different independent initial conditions and a learning rate <italic>&#x3b7;</italic> &#x3d; 5. Generally, we can observe that the loss is very different from the other regimes studied so far. Its magnitude is very large compared to other regimes we have studied, to the point where it is difficult to argue that the network is indeed learning, except for occasions where the loss manages to settle to a small value. Even then, it is unclear whether the loss stays small for long times, since we sometimes observe jumps to larger-loss regions.</p>
<fig id="F9" position="float">
<label>FIGURE 9</label>
<caption>
<p>Training trajectories in the very large <italic>&#x3b7;</italic> &#x3d; 5 regime. Each column <bold>(A&#x2013;D)</bold> represents the trajectory starting from an independent initial condition, where in total four were picked to illustrate the range of dynamical behaviors. Shown are the training loss <inline-formula id="inf20">
<mml:math id="m33">
<mml:mi mathvariant="script">L</mml:mi>
</mml:math>
</inline-formula> (top row) and weight norms &#x2016;<bold>W</bold>&#x2016; (bottom row) for each trajectory.</p>
</caption>
<graphic xlink:href="fcpxs-02-1367957-g009.tif"/>
</fig>
<p>Interestingly, the time series of the loss for individual trajectories switches between a (period 3) quasi-periodic behavior<xref ref-type="fn" rid="fn3">
<sup>3</sup>
</xref> and a random-like phase. Such tendency for the trajectory to alternate between a quasi-periodic phase and a random-like phase is reminiscent of deterministic intermittency (<xref ref-type="bibr" rid="B52">Schuster and Just, 2006</xref>; <xref ref-type="bibr" rid="B46">N&#xfa;nez et al., 2013</xref>), a classical phenomenon describing the alternation of laminar phases intertwined with chaotic bursts. We thus look more closely into these random-like phases.</p>
<p>In <xref ref-type="fig" rid="F10">Figure 10</xref> we depict the evolution of the scalar loss function, along with an estimation of its autocorrelation function, for a typical time series within one of these random-like intermissions. It is interesting to see that, while the time series is highly irregular and no obvious pattern emerges at the naked eye, the autocorrelation function detects statistically significant, periodic-like autocorrelation, suggesting that the loss time series might be performing an irregular evolution but alternating between two separate regions of the loss. This image is for instance reminiscent of the evolution of a chaotic orbit in a two-band chaotic attractor (<xref ref-type="bibr" rid="B45">Nunez et al., 2012</xref>). Subsequently, in <xref ref-type="fig" rid="F11">Figure 11</xref> we perform a Kantz-based (<xref ref-type="bibr" rid="B29">Kantz, 1994</xref>) approach to compute the (finite) Lyapunov exponent directly from the loss time series. Results indicate that for some initial conditions, there is evidence of sensitive dependence on initial conditions, whereas for many other initial conditions, such evidence is not statistically significant. All this points to the fact that the complex, intermittent-like evolution of the loss function cannot be simply accommodated to a one dimensional chaotic intermittent process. In hindsight, this is not surprising as the projection of the network dynamics into the loss function dynamics is quite severe: whereas the loss time series is a one-dimensional scalar one, the actual underlying system is high-dimensional and thus we expect a spectrum of Lyapunov exponents govern the long-run behavior. Finally, we observed that a qualitatively similar phenomenology is observed for the evolution of individual network weights <italic>w</italic>
<sub>
<italic>ij</italic>
</sub> (<xref ref-type="fig" rid="F12">Figure 12</xref>). At the network level (<xref ref-type="fig" rid="F9">Figure 9</xref>), the observed intermittent-like behavior seems to be caused by a few weights acting in an intermittent-like fashion (which we have picked out for the plot in <xref ref-type="fig" rid="F12">Figure 12</xref>), while the rest of the weights remain constant throughout training. Interestingly, the onset or end of chaotic-like behavior seems to coincide for different weights. This rich phenomenology deserves further investigation, alongside with an investigation of the transition between the <italic>&#x3b7;</italic> &#x3d; 1 and the larger values explored here.</p>
<fig id="F10" position="float">
<label>FIGURE 10</label>
<caption>
<p>Closer look at a representative sequence of chaotic-like loss of a single trajectory (extracted from trajectory shown in column b) in <xref ref-type="fig" rid="F9">Figure 9</xref> in the very large <italic>&#x3b7;</italic> &#x3d; 5 regime. (Left) Time series of loss during the chaotic-like regime. (Center) Zoom in on 50 iterations of the loss series. (Right) ACF up to lag <italic>&#x3c4;</italic> &#x3d; 50 of the loss series. The shaded area represents the bounds of the 95% confidence interval for a randomized null model, i.e., the ACF computed for 1,000 realizations of the shuffled series.</p>
</caption>
<graphic xlink:href="fcpxs-02-1367957-g010.tif"/>
</fig>
<fig id="F11" position="float">
<label>FIGURE 11</label>
<caption>
<p>Analysis of local expansion rates for the chaotic-like loss of a single trajectory, shown in <xref ref-type="fig" rid="F10">Figure 10</xref>, in the <italic>&#x3b7;</italic> &#x3d; 5 regime. (Left panels) Divergence of initially nearby orbits for two example initial conditions. Light blue corresponds to distance <italic>d</italic>
<sub>
<italic>n</italic>
</sub> between the initial condition and a single perturbation, while dark blue is the average distance over all perturbations for the given initial condition. The top panel shows an initial condition with a statistically significant exponential slope (best fit illustrated in red dashed line). The bottom panel shows an initial condition for which a slope of zero (i.e., no exponential divergence) cannot be rejected. (Right panels) Distribution of finite Lyapunov exponents &#x39b;, for 1,000 different initial conditions of the loss time series (top) and scatter plot of &#x39b; as a function of the initial condition of the loss <inline-formula id="inf21">
<mml:math id="m34">
<mml:mi mathvariant="script">L</mml:mi>
</mml:math>
</inline-formula> (bottom). Gray corresponds to initial conditions for which random evolution cannot be rejected (<italic>p</italic>-value <inline-formula id="inf22">
<mml:math id="m35">
<mml:mo>&#x3e;</mml:mo>
<mml:mn>0.05</mml:mn>
</mml:math>
</inline-formula>), while red corresponds to those for which a period of exponential divergence is statistically significant (<italic>p</italic>-value <inline-formula id="inf23">
<mml:math id="m36">
<mml:mo>&#x3c;</mml:mo>
<mml:mn>0.05</mml:mn>
</mml:math>
</inline-formula>).</p>
</caption>
<graphic xlink:href="fcpxs-02-1367957-g011.tif"/>
</fig>
<fig id="F12" position="float">
<label>FIGURE 12</label>
<caption>
<p>Trajectories for three individual weights that exhibit intermittent-like behavior, from a single initial condition (corresponding to column b) in <xref ref-type="fig" rid="F9">Figure 9</xref>. Different colors correspond to different weights <italic>w</italic>
<sub>
<italic>ij</italic>
</sub>.</p>
</caption>
<graphic xlink:href="fcpxs-02-1367957-g012.tif"/>
</fig>
</sec>
</sec>
<sec id="s5">
<title>5 Discussion and outlook</title>
<p>In this work we have illustrated how the process of training a neural network can be interpreted as a graph dynamical system yielding network trajectories, and how classical concepts from dynamical systems such as dynamical or orbital stability can be leveraged to gain some understanding of this training process (<xref ref-type="bibr" rid="B32">Lacasa et al., 2022</xref>; <xref ref-type="bibr" rid="B12">Caligiuri et al., 2023</xref>; <xref ref-type="bibr" rid="B58">Ziyin et al., 2023</xref>). For illustration, we considered a simple (toy) classification task, and trained a shallow neural network via gradient descent optimization. We analysed both the loss function time series and the actual neural network trajectories, and examined how small network perturbations propagate throughout the action of the training process to gain insights on dynamical and orbital stability of the graph dynamics. Our analysis allows us to distinguish clearly between two regimes, the so-called low learning rate regime (<italic>&#x3b7;</italic> &#x3d; 0.01) where gradient descent schemes are typically producing monotonically decreasing loss functions towards a minimum, and the large learning rate regime (<italic>&#x3b7;</italic> &#x2265; 1) where such convergence is not necessarily guaranteed, and more complex dynamics at the level of the loss function can develop. Overall our results challenge naive expectations from low-dimensional dynamical systems and optimization theory.</p>
<p>In the low learning rate regime, despite the fact that the loss monotonically decreases towards a minimum, initially closeby network trajectories perform non-trivial evolution in graph space, marked by an alternation of divergence and convergence, eventually reaching a phase of slow yet monotonic divergence. Such behavior was found to be qualitatively similar regardless how close the network trajectories were initially but heavily dependent on the position of the initial condition within the whole graph space and results were put in the context of a lack of orbital stability. Similarly, we examined the evolution of closeby network trajectories in a post-learning process, i.e., where the loss had already approached a minimum, mimicking the dynamical stability analysis of dynamical systems close to a stationary point. We found hints of dynamical stability but overall results were pointing to the existence of plenty of irrelevant dimensions in graph space, i.e., the loss function minima being more of a stationary manifold in graph space. The absence of (exponentially fast) convergence of perturbations of network stationary points deserves further investigation. Our conjecture that the marginal stability we observe is caused by the presence of flat dimensions (where the loss gradient vanishes) seems plausible in light of research presented earlier on the high-dimensional nature of low-loss basins (<xref ref-type="bibr" rid="B20">Fort and Jastrzebski, 2019</xref>). In fact, there is evidence from both analytical results (in a reduced setting) and numerical experiments (for the Fashion-MNIST dataset) for the existence of wide and flat loss minima which, although rare, can be reached by many simple learning algorithms, especially when a cross-entropy loss function is employed (<xref ref-type="bibr" rid="B7">Baldassi et al., 2020</xref>). Intuitions developed from low-dimensional landscapes do not seem to hold for higher dimensions.</p>
<p>We stress that the phenomenology in the low learning rate regime is quite dependent on the initial condition, pointing to a severe loss of ergodicity, as it is usually the case for optimization problems in non-convex loss function landscapes. An interesting question for future work is the effect of including a regularization term in the loss function, which would essentially add a preferred direction for optimization in flatter regions of the loss landscape and thus we suspect would lead to more stable trajectories.</p>
<p>When the learning rate is large but the loss function still converges (<italic>&#x3b7;</italic> &#x3d; 1), we found hints of complex behavior both in the loss function time series and the network trajectories, including non-monotonic loss dynamics and hints of sensitive dependence of initial conditions for the network dynamics. Further research is necessary to elucidate whether this phenomenon is universal, but preliminary results in this direction (shown in <xref ref-type="sec" rid="s11">Supplementary Appendix S2</xref>) suggest that for the more complex MNIST dataset (<xref ref-type="bibr" rid="B36">Lecun et al., 1998</xref>), network trajectories exhibit similar behavior and a region of optimal exploration-exploitation tradeoff with sensitive dependence on initial conditions is again identifiable. At this point, it is stimulating to mention the so-called edge of chaos paradigm, where dynamics poised near a critical point that separates an ordered and a disordered phase might evidence some degree of optimality in information processing capabilities (<xref ref-type="bibr" rid="B13">Carroll, 2020</xref>). This classical hypothesis was introduced by Langton in the context of cellular automata (<xref ref-type="bibr" rid="B35">Langton, 1990</xref>), and has been recently explored in the context of information processing (<xref ref-type="bibr" rid="B9">Boedecker et al., 2012</xref>; <xref ref-type="bibr" rid="B13">Carroll, 2020</xref>; <xref ref-type="bibr" rid="B54">Vettelschoss et al., 2022</xref>). A very similar hypothesis is that living systems exhibit self-organized criticality (<xref ref-type="bibr" rid="B6">Bak et al., 1988</xref>; <xref ref-type="bibr" rid="B25">Hidalgo et al., 2014</xref>; <xref ref-type="bibr" rid="B55">Watkins et al., 2016</xref>; <xref ref-type="bibr" rid="B44">Munoz, 2018</xref>), with the brain being an archetypical example (<xref ref-type="bibr" rid="B14">Chialvo, 2010</xref>; <xref ref-type="bibr" rid="B43">Moretti and Mu&#xf1;oz, 2013</xref>; <xref ref-type="bibr" rid="B40">Morales et al., 2023a</xref>). Connecting the apparent criticality of brain dynamics with the information processing advantages of artificial systems and neural networks at the edge of chaos (<xref ref-type="bibr" rid="B13">Carroll, 2020</xref>; <xref ref-type="bibr" rid="B42">Morales and Mu&#xf1;oz, 2021</xref>; <xref ref-type="bibr" rid="B41">Morales et al., 2023b</xref>) has invigorated this interdisciplinary research line even further. It is thus suggestive to relate this phenomenology to our findings in the so-called edge of stability: a region where the loss function is still converging to a minimum (i.e., the ANN learns) albeit in a non-monotonic and faster way. The fact that in this region we find evidence of sensitive dependence on initial conditions (with positive maximum Lyapunov exponent) suggests that the search algorithm has switched from being a pure exploitation one for low learning rates to a balanced exploitation-exploration one at higher learning rate: a possible optimal strategy given the fact that the loss function indeed converges faster.</p>
<p>Finally, in the (very) large learning rate, we have observed and alternation of quasi-periodic and chaotic-like evolution of both the loss and the network itself (pointing to the presence of chaotic intermittency) for even larger learning rates. Further research is needed to better understand the dynamical nature of these regimes, their possible relation to classical paradigms of complex behavior such as the intermittency routes to chaos, and how these could be leveraged to develop deterministic gradient-based training strategies at extremely large learning rates (<xref ref-type="bibr" rid="B31">Kong et al., 2020</xref>; <xref ref-type="bibr" rid="B22">Geiping et al., 2022</xref>).</p>
<p>To conclude, this work provides an illustration as to how concepts and tools from dynamical systems, time series analysis and temporal networks can be combined to gain understanding of the training process of a neural network. The specific classification task and network architecture under consideration were chosen for illustration, rather than specific interest. In this sense, more realistic scenarios (both for tasks and network architectures) should be explored. Further work is also needed to understand whether the results presented here generalize well across tasks and architectures, or e.g., if specific architectures display different types of dynamical stability. Ultimately, our exploratory findings aims to stimulate research and exchange of ideas between the above-mentioned fields.</p>
</sec>
</body>
<back>
<sec sec-type="data-availability" id="s6">
<title>Data availability statement</title>
<p>The original contributions presented in the study are included in the article/<xref ref-type="sec" rid="s11">Supplementary Material</xref>, further inquiries can be directed to the corresponding author. The code used to generate the data in this work can be found at <ext-link ext-link-type="uri" xlink:href="https://github.com/GitKalo/ann_dynamics">https://github.com/GitKalo/ann_dynamics</ext-link>.</p>
</sec>
<sec id="s7">
<title>Author contributions</title>
<p>KD: Data curation, Formal Analysis, Investigation, Methodology, Software, Writing&#x2013;original draft, Writing&#x2013;review and editing. MS: Conceptualization, Funding acquisition, Methodology, Supervision, Writing&#x2013;original draft, Writing&#x2013;review and editing. LL: Conceptualization, Funding acquisition, Methodology, Supervision, Writing&#x2013;original draft, Writing&#x2013;review and editing.</p>
</sec>
<sec sec-type="funding-information" id="s8">
<title>Funding</title>
<p>The author(s) declare that financial support was received for the research, authorship, and/or publication of this article.</p>
</sec>
<ack>
<p>Authors acknowledge helpful feedback from Manuel Matias and Massimiliano Zanin and IFISC MSc in Physics of Complex Systems. We acknowledge funding from the Spanish Research Agency MICIU/AEI/10.13039/501100011033 via projects DYNDEEP (EUR2021-122007), MISLAND (PID 2020-114324GB-C22), INFOLANET (PID 2022-139409NB-I00) and the Mar&#xed;a de Maeztu project CEX 2021-001164-M.</p>
</ack>
<sec sec-type="COI-statement" id="s9">
<title>Conflict of interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s10">
<title>Publisher&#x2019;s note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec id="s11">
<title>Supplementary material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fcpxs.2024.1367957/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fcpxs.2024.1367957/full&#x23;supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="Image1.pdf" id="SM1" mimetype="application/pdf" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<fn-group>
<fn id="fn1">
<label>1</label>
<p>To be precise, the perturbation is actually bounded by a hypercube (an <italic>N</italic>-cube) with side length 2<italic>&#x3f5;</italic> centered at the point defined by <bold>W</bold>. Nevertheless, we will still refer to <italic>&#x3f5;</italic> as the &#x201c;radius&#x201d; of perturbations.</p>
</fn>
<fn id="fn2">
<label>2</label>
<p>Note that <italic>&#x3b7;</italic> &#x3d; 1 is actually larger than the learning rate for which Cohen et al. (<xref ref-type="bibr" rid="B16">Cohen et al., 2021</xref>) observe the Edge of Stability in their tasks. The authors note that for shallow networks and easy tasks, the sharpness increases to a lesser degree. Since our network is shallow and our task easy, it is reasonable to assume that we need larger values of <italic>&#x3b7;</italic> to reach the sharpness necessary for the Edge of Stability. Additionally, they show that for cross-entropy loss (rather than e.g., MSE loss), the sharpness drops towards the end of training.</p>
</fn>
<fn id="fn3">
<label>3</label>
<p>The time series does not strictly bounce between three fixed values, but instead three fixed regions. Within a region, the trajectory takes values that in isolation appear as a monotonically decaying series. The distance between region boundaries is usually <italic>O</italic>(1) or larger, but the size of the regions is much smaller, often approximately <italic>O</italic>(10<sup>&#x2212;6</sup>). Thus, to the &#x201c;naked eye&#x201d; the trajectories appear periodic, e.g., on the plots in <xref ref-type="fig" rid="F9">Figure 9</xref>.</p>
</fn>
</fn-group>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Agarwal</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Goel</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>C.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Acceleration via fractal learning rate schedules</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2103.01338">https://arxiv.org/abs/2103.01338</ext-link>.</comment>
</citation>
</ref>
<ref id="B2">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Alligood</surname>
<given-names>K. T.</given-names>
</name>
<name>
<surname>Sauer</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Yorke</surname>
<given-names>J. A.</given-names>
</name>
</person-group> (<year>1996</year>). &#x201c;<article-title>Chaos: an introduction to dynamical systems</article-title>,&#x201d; in <source>Textbooks in mathematical sciences</source> (<publisher-loc>New York</publisher-loc>: <publisher-name>Springer</publisher-name>).</citation>
</ref>
<ref id="B3">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Arola-Fern&#xe1;ndez</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Lacasa</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>An effective theory of collective deep learning</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2310.12802">https://arxiv.org/abs/2310.12802</ext-link>.</comment>
</citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Aurell</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Boffetta</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Crisanti</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Paladin</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Vulpiani</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>1996</year>). <article-title>Growth of noninfinitesimal perturbations in turbulence</article-title>. <source>Phys. Rev. Lett.</source> <volume>77</volume> (<issue>7</issue>), <fpage>1262</fpage>&#x2013;<lpage>1265</lpage>. <pub-id pub-id-type="doi">10.1103/physrevlett.77.1262</pub-id>
</citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Aurell</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Boffetta</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Crisanti</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Paladin</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Vulpiani</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>1997</year>). <article-title>Predictability in the large: an extension of the concept of lyapunov exponent</article-title>. <source>J. Phys. A Math. general</source> <volume>30</volume> (<issue>1</issue>), <fpage>1</fpage>&#x2013;<lpage>26</lpage>. <pub-id pub-id-type="doi">10.1088/0305-4470/30/1/003</pub-id>
</citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bak</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Tang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Wiesenfeld</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>1988</year>). <article-title>Self-organized criticality</article-title>. <source>Phys. Rev. A</source> <volume>38</volume> (<issue>1</issue>), <fpage>364</fpage>&#x2013;<lpage>374</lpage>. <pub-id pub-id-type="doi">10.1103/physreva.38.364</pub-id>
</citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Baldassi</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Pittorino</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Zecchina</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Shaping the learning landscape in neural networks around wide flat minima</article-title>. <source>Proc. Natl. Acad. Sci.</source> <volume>117</volume> (<issue>1</issue>), <fpage>161</fpage>&#x2013;<lpage>170</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.1908636117</pub-id>
</citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ben Arous</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Fyodorov</surname>
<given-names>Y. V.</given-names>
</name>
<name>
<surname>Khoruzhenko</surname>
<given-names>B. A.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Counting equilibria of large complex systems by instability index</article-title>. <source>Proc. Natl. Acad. Sci. U. S. A.</source> <volume>118</volume> (<issue>34</issue>), <fpage>2023719118</fpage>. <pub-id pub-id-type="doi">10.1073/pnas.2023719118</pub-id>
</citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Boedecker</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Obst</surname>
<given-names>O.</given-names>
</name>
<name>
<surname>Lizier</surname>
<given-names>J. T.</given-names>
</name>
<name>
<surname>Mayer</surname>
<given-names>N. M.</given-names>
</name>
<name>
<surname>Asada</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Information processing in echo state networks at the edge of chaos</article-title>. <source>Theory Biosci.</source> <volume>131</volume>, <fpage>205</fpage>&#x2013;<lpage>213</lpage>. <pub-id pub-id-type="doi">10.1007/s12064-011-0146-8</pub-id>
</citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bosman</surname>
<given-names>A. S.</given-names>
</name>
<name>
<surname>Engelbrecht</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Helbig</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2020a</year>). <article-title>Visualising basins of attraction for the cross-entropy and the squared error neural network loss functions</article-title>. <source>Neurocomputing</source> <volume>400</volume>, <fpage>113</fpage>&#x2013;<lpage>136</lpage>. <pub-id pub-id-type="doi">10.1016/j.neucom.2020.02.113</pub-id>
</citation>
</ref>
<ref id="B11">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Bosman</surname>
<given-names>A. S.</given-names>
</name>
<name>
<surname>Petrus Engelbrecht</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Helbig</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2020b</year>). &#x201c;<article-title>Loss surface modality of feed-forward neural network architectures</article-title>,&#x201d; in <conf-name>2020 International Joint Conference on Neural Networks (IJCNN)</conf-name>, <conf-loc>Glasgow, United Kingdom</conf-loc>, <conf-date>July, 2020</conf-date>, <fpage>1</fpage>&#x2013;<lpage>8</lpage>.</citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Caligiuri</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Egu&#xed;luz</surname>
<given-names>V. M.</given-names>
</name>
<name>
<surname>Di Gaetano</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Galla</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Lacasa</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Lyapunov exponents for temporal networks</article-title>. <source>Phys. Rev. E</source> <volume>107</volume> (<issue>4</issue>), <fpage>044305</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevE.107.044305</pub-id>
</citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Carroll</surname>
<given-names>T. L.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Do reservoir computers work best at the edge of chaos?</article-title> <source>Chaos (Woodbury, N.Y.)</source> <volume>30</volume> (<issue>12</issue>), <fpage>121109</fpage>. <pub-id pub-id-type="doi">10.1063/5.0038163</pub-id>
</citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chialvo</surname>
<given-names>D. R.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>Emergent complex neural dynamics</article-title>. <source>Nat. Phys.</source> <volume>6</volume> (<issue>10</issue>), <fpage>744</fpage>&#x2013;<lpage>750</lpage>. <pub-id pub-id-type="doi">10.1038/nphys1803</pub-id>
</citation>
</ref>
<ref id="B15">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Choromanska</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Henaff</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Mathieu</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Ben Arous</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>LeCun</surname>
<given-names>Y.</given-names>
</name>
</person-group> (<year>2015</year>). &#x201c;<article-title>The loss surfaces of multilayer networks</article-title>,&#x201d; in <source>Proceedings of the eighteenth international conference on artificial intelligence and statistics. Proceedings of machine learning research</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Lebanon</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Vishwanathan</surname>
<given-names>S. V. N.</given-names>
</name>
</person-group> (<publisher-loc>San Diego, California, USA</publisher-loc>: <publisher-name>PMLR</publisher-name>), <fpage>192</fpage>&#x2013;<lpage>204</lpage>.</citation>
</ref>
<ref id="B16">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Cohen</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Kaur</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Kolter</surname>
<given-names>J. Z.</given-names>
</name>
<name>
<surname>Talwalkar</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2021</year>). &#x201c;<article-title>Gradient descent on neural networks typically occurs at the edge of stability</article-title>,&#x201d; in <source>International conference on learning representations</source>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://openreview.net/forum?id=jh-rTtvkGeM">https://openreview.net/forum?id&#x3d;jh-rTtvkGeM</ext-link>.</comment>
</citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fisher</surname>
<given-names>R. A.</given-names>
</name>
</person-group> (<year>1936</year>). <article-title>The use of multiple measurements in taxonomic problems</article-title>. <source>Ann. Eugen.</source> <volume>7</volume> (<issue>2</issue>), <fpage>179</fpage>&#x2013;<lpage>188</lpage>. <pub-id pub-id-type="doi">10.1111/j.1469-1809.1936.tb02137.x</pub-id>
</citation>
</ref>
<ref id="B18">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Fort</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Dziugaite</surname>
<given-names>G. K.</given-names>
</name>
<name>
<surname>Paul</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Kharaghani</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Roy</surname>
<given-names>D. M.</given-names>
</name>
<name>
<surname>Ganguli</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Deep learning versus kernel learning: an empirical study of loss landscape geometry and the time evolution of the Neural Tangent Kernel</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2010.15110">https://arxiv.org/abs/2010.15110</ext-link>.</comment>
</citation>
</ref>
<ref id="B19">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Fort</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Hu</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Lakshminarayanan</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Deep ensembles: a loss landscape perspective</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/1912.02757">https://arxiv.org/abs/1912.02757</ext-link>.</comment>
</citation>
</ref>
<ref id="B20">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Fort</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Jastrzebski</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Large scale structure of neural network loss landscapes</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/1906.04724">https://arxiv.org/abs/1906.04724</ext-link>.</comment>
</citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fyodorov</surname>
<given-names>Y. V.</given-names>
</name>
<name>
<surname>Khoruzhenko</surname>
<given-names>B. A.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Nonlinear analogue of the may-wigner instability transition</article-title>. <source>Proc. Natl. Acad. Sci.</source> <volume>113</volume> (<issue>25</issue>), <fpage>6827</fpage>&#x2013;<lpage>6832</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.1601136113</pub-id>
</citation>
</ref>
<ref id="B22">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Geiping</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Goldblum</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Pope</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Moeller</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Goldstein</surname>
<given-names>T.</given-names>
</name>
</person-group> (<year>2022</year>). &#x201c;<article-title>Stochastic training is not necessary for generalization</article-title>,&#x201d; in <source>International conference on learning representations</source>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://openreview.net/forum?id=ZBESeIUB5k">https://openreview.net/forum?id&#x3d;ZBESeIUB5k</ext-link>.</comment>
</citation>
</ref>
<ref id="B23">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Goodfellow</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Bengio</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Courville</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2016</year>) <source>Deep learning</source>. <publisher-loc>Cambridge</publisher-loc>: <publisher-name>MIT press</publisher-name>.</citation>
</ref>
<ref id="B24">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Havasi</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Jenatton</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Fort</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>J. Z.</given-names>
</name>
<name>
<surname>Snoek</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Lakshminarayanan</surname>
<given-names>B.</given-names>
</name>
<etal/>
</person-group> (<year>2020</year>). <article-title>Training independent subnetworks for robust prediction</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2010.06610">https://arxiv.org/abs/2010.06610</ext-link>.</comment>
</citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hidalgo</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Grilli</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Suweis</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Munoz</surname>
<given-names>M. A.</given-names>
</name>
<name>
<surname>Banavar</surname>
<given-names>J. R.</given-names>
</name>
<name>
<surname>Maritan</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>Information-based fitness and the emergence of criticality in living systems</article-title>. <source>Proc. Natl. Acad. Sci.</source> <volume>111</volume> (<issue>28</issue>), <fpage>10095</fpage>&#x2013;<lpage>10100</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.1319166111</pub-id>
</citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hoffer</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Hubara</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Soudry</surname>
<given-names>D.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Train longer, generalize better: closing the generalization gap in large batch training of neural networks</article-title>. <source>Adv. neural Inf. Process. Syst.</source> <volume>30</volume>.</citation>
</ref>
<ref id="B27">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Holme</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Saram&#xe4;ki</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2019</year>) <source>Temporal network theory</source>. <publisher-loc>New York</publisher-loc>: <publisher-name>Springer</publisher-name>.</citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Holmes</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Shea-Brown</surname>
<given-names>E. T.</given-names>
</name>
</person-group> (<year>2006</year>). <article-title>Stability</article-title>. <source>Scholarpedia</source> <volume>1</volume> (<issue>10</issue>), <fpage>1838</fpage>. <pub-id pub-id-type="doi">10.4249/scholarpedia.1838</pub-id>
</citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Kantz</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>1994</year>). <article-title>A robust method to estimate the maximal lyapunov exponent of a time series</article-title>. <source>Phys. Lett. A</source> <volume>185</volume> (<issue>1</issue>), <fpage>77</fpage>&#x2013;<lpage>87</lpage>. <pub-id pub-id-type="doi">10.1016/0375-9601(94)90991-1</pub-id>
</citation>
</ref>
<ref id="B30">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Kawaguchi</surname>
<given-names>K.</given-names>
</name>
</person-group> (<year>2016</year>). &#x201c;<article-title>Deep learning without poor local minima</article-title>,&#x201d; in <source>Advances in neural information processing systems</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Lee</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Sugiyama</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Luxburg</surname>
<given-names>U.</given-names>
</name>
<name>
<surname>Guyon</surname>
<given-names>I.</given-names>
</name>
<name>
<surname>Garnett</surname>
<given-names>R.</given-names>
</name>
</person-group> (<publisher-loc>New York, United States</publisher-loc>: <publisher-name>Curran Associates, Inc.</publisher-name>).</citation>
</ref>
<ref id="B31">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Kong</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Tao</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2020</year>). &#x201c;<article-title>Stochasticity of deterministic gradient descent: large learning rate for multiscale objective function</article-title>,&#x201d; in <source>Advances in neural information processing systems</source>. Editors <person-group person-group-type="editor">
<name>
<surname>Larochelle</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Ranzato</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Hadsell</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Balcan</surname>
<given-names>M. F.</given-names>
</name>
<name>
<surname>Lin</surname>
<given-names>H.</given-names>
</name>
</person-group> (<publisher-loc>New York, United States</publisher-loc>: <publisher-name>Curran Associates, Inc.</publisher-name>), <fpage>2625</fpage>&#x2013;<lpage>2638</lpage>.</citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lacasa</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Rodriguez</surname>
<given-names>J. P.</given-names>
</name>
<name>
<surname>Eguiluz</surname>
<given-names>V. M.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Correlations of network trajectories</article-title>. <source>Phys. Rev. Res.</source> <volume>4</volume> (<issue>4</issue>), <fpage>042008</fpage>. <pub-id pub-id-type="doi">10.1103/PhysRevResearch.4.L042008</pub-id>
</citation>
</ref>
<ref id="B33">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>La Malfa</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>La Malfa</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Caprioli</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Nicosia</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Latora</surname>
<given-names>V.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Deep neural networks as complex networks</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2209.05488">https://arxiv.org/abs/2209.05488</ext-link>.</comment>
</citation>
</ref>
<ref id="B34">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>La Malfa</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>La Malfa</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Nicosia</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Latora</surname>
<given-names>V.</given-names>
</name>
</person-group> (<year>2021</year>). &#x201c;<article-title>Characterizing learning dynamics of deep neural networks via complex networks</article-title>,&#x201d; in <conf-name>2021 IEEE 33rd International Conference on Tools with Artificial Intelligence (ICTAI)</conf-name>, <conf-loc>Washington, DC, USA</conf-loc>, <conf-date>December, 2021</conf-date> (<publisher-name>IEEE</publisher-name>), <fpage>344</fpage>&#x2013;<lpage>351</lpage>.</citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Langton</surname>
<given-names>C. G.</given-names>
</name>
</person-group> (<year>1990</year>). <article-title>Computation at the edge of chaos: phase transitions and emergent computation</article-title>. <source>Phys. D. nonlinear Phenom.</source> <volume>42</volume> (<issue>1-3</issue>), <fpage>12</fpage>&#x2013;<lpage>37</lpage>. <pub-id pub-id-type="doi">10.1016/0167-2789(90)90064-v</pub-id>
</citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lecun</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Bottou</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Bengio</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Haffner</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>1998</year>). <article-title>Gradient-based learning applied to document recognition</article-title>. <source>Proc. IEEE</source> <volume>86</volume> (<issue>11</issue>), <fpage>2278</fpage>&#x2013;<lpage>2324</lpage>. <pub-id pub-id-type="doi">10.1109/5.726791</pub-id>
</citation>
</ref>
<ref id="B37">
<citation citation-type="confproc">
<person-group person-group-type="author">
<name>
<surname>Lee</surname>
<given-names>J. D.</given-names>
</name>
<name>
<surname>Simchowitz</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Jordan</surname>
<given-names>M. I.</given-names>
</name>
<name>
<surname>Recht</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2016</year>). &#x201c;<article-title>Gradient descent only converges to minimizers</article-title>,&#x201d; in <conf-name>Conference on Learning Theory</conf-name>, <conf-loc>Colorado, USA</conf-loc>, <fpage>1246</fpage>&#x2013;<lpage>1257</lpage>.</citation>
</ref>
<ref id="B38">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Marcus</surname>
<given-names>G.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Deep learning: a critical appraisal</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/1801.00631">https://arxiv.org/abs/1801.00631</ext-link>.</comment>
</citation>
</ref>
<ref id="B39">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Montana</surname>
<given-names>D. J.</given-names>
</name>
<name>
<surname>Davis</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>1989</year>). <article-title>Training feedforward neural networks using genetic algorithms</article-title>. <source>IJCAI</source> <volume>89</volume>, <fpage>762</fpage>&#x2013;<lpage>767</lpage>.</citation>
</ref>
<ref id="B40">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Morales</surname>
<given-names>G. B.</given-names>
</name>
<name>
<surname>Di Santo</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Mu&#xf1;oz</surname>
<given-names>M. A.</given-names>
</name>
</person-group> (<year>2023a</year>). <article-title>Quasiuniversal scaling in mouse-brain neuronal activity stems from edge-of-instability critical dynamics</article-title>. <source>Proc. Natl. Acad. Sci. U. S. A.</source> <volume>120</volume> (<issue>9</issue>), <fpage>2208998120</fpage>. <pub-id pub-id-type="doi">10.1073/pnas.2208998120</pub-id>
</citation>
</ref>
<ref id="B41">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Morales</surname>
<given-names>G. B.</given-names>
</name>
<name>
<surname>Di Santo</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Mu&#xf1;oz</surname>
<given-names>M. A.</given-names>
</name>
</person-group> (<year>2023b</year>). <article-title>Unveiling the intrinsic dynamics of biological and artificial neural networks: from criticality to optimal representations</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2307.10669">https://arxiv.org/abs/2307.10669</ext-link>.</comment>
</citation>
</ref>
<ref id="B42">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Morales</surname>
<given-names>G. B.</given-names>
</name>
<name>
<surname>Mu&#xf1;oz</surname>
<given-names>M. A.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Optimal input representation in neural systems at the edge of chaos</article-title>. <source>Biology</source> <volume>10</volume> (<issue>8</issue>), <fpage>702</fpage>. <pub-id pub-id-type="doi">10.3390/biology10080702</pub-id>
</citation>
</ref>
<ref id="B43">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Moretti</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Mu&#xf1;oz</surname>
<given-names>M. A.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Griffiths phases and the stretching of criticality in brain networks</article-title>. <source>Nat. Commun.</source> <volume>4</volume> (<issue>1</issue>), <fpage>2521</fpage>. <pub-id pub-id-type="doi">10.1038/ncomms3521</pub-id>
</citation>
</ref>
<ref id="B44">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Munoz</surname>
<given-names>M. A.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Colloquium: criticality and dynamical scaling in living systems</article-title>. <source>Rev. Mod. Phys.</source> <volume>90</volume> (<issue>3</issue>), <fpage>031001</fpage>. <pub-id pub-id-type="doi">10.1103/revmodphys.90.031001</pub-id>
</citation>
</ref>
<ref id="B45">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Nunez</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Lacasa</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Valero</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>G&#xf3;mez</surname>
<given-names>J. P.</given-names>
</name>
<name>
<surname>Luque</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Detecting series periodicity with horizontal visibility graphs</article-title>. <source>Int. J. Bifurcation Chaos</source> <volume>22</volume> (<issue>07</issue>), <fpage>1250160</fpage>. <pub-id pub-id-type="doi">10.1142/s021812741250160x</pub-id>
</citation>
</ref>
<ref id="B46">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>N&#xfa;nez</surname>
<given-names>A. M.</given-names>
</name>
<name>
<surname>Luque</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Lacasa</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>G&#xf3;mez</surname>
<given-names>J. P.</given-names>
</name>
<name>
<surname>Robledo</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Horizontal visibility graphs generated by type-i intermittency</article-title>. <source>Phys. Rev. E</source> <volume>87</volume> (<issue>5</issue>), <fpage>052801</fpage>. <pub-id pub-id-type="doi">10.1103/physreve.87.052801</pub-id>
</citation>
</ref>
<ref id="B47">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Prisner</surname>
<given-names>E.</given-names>
</name>
</person-group> (<year>1995</year>) <source>Graph dynamics (pitman research notes in mathematics series)</source>. <publisher-loc>London</publisher-loc>: <publisher-name>Chapman &#x26; Hall CRC</publisher-name>.</citation>
</ref>
<ref id="B48">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Ribas</surname>
<given-names>L. C.</given-names>
</name>
<name>
<surname>S&#xe1; Junior</surname>
<given-names>J. J. D. M.</given-names>
</name>
<name>
<surname>Scabini</surname>
<given-names>L. F. S.</given-names>
</name>
<name>
<surname>Bruno</surname>
<given-names>O. M.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>Fusion of complex networks and randomized neural networks for texture analysis</article-title>. <source>Pattern Recognit.</source> <volume>103</volume>, <fpage>107189</fpage>. <pub-id pub-id-type="doi">10.1016/j.patcog.2019.107189</pub-id>
</citation>
</ref>
<ref id="B49">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Ruder</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>An overview of gradient descent optimization algorithms</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/1609.04747">https://arxiv.org/abs/1609.04747</ext-link>.</comment>
</citation>
</ref>
<ref id="B50">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>San Miguel</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>Frontiers in complex systems</article-title>. <source>Front. Complex Syst.</source> <volume>1</volume>, <fpage>1080801</fpage>. <pub-id pub-id-type="doi">10.3389/fcpxs.2022.1080801</pub-id>
</citation>
</ref>
<ref id="B51">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Scabini</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>De Baets</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Bruno</surname>
<given-names>O. M.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Improving deep neural network random initialization through neuronal rewiring</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2207.08148">https://arxiv.org/abs/2207.08148</ext-link>.</comment>
</citation>
</ref>
<ref id="B52">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Schuster</surname>
<given-names>H. G.</given-names>
</name>
<name>
<surname>Just</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2006</year>) <source>Deterministic chaos: an introduction</source>. <publisher-loc>Weinheim</publisher-loc>: <publisher-name>John Wiley &#x26; Sons</publisher-name>.</citation>
</ref>
<ref id="B53">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Strogatz</surname>
<given-names>S. H.</given-names>
</name>
</person-group> (<year>2015</year>) <source>Nonlinear dynamics and chaos: with applications to Physics, biology, chemistry, and engineering</source>. <publisher-loc>Boulder, CO</publisher-loc>: <publisher-name>Westview Press, a member of the Perseus Books Group</publisher-name>.</citation>
</ref>
<ref id="B54">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Vettelschoss</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>R&#xf6;hm</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Soriano</surname>
<given-names>M. C.</given-names>
</name>
</person-group> (<year>2022</year>). <article-title>Information processing capacity of a single-node reservoir computer: an experimental evaluation</article-title>. <source>IEEE Trans. Neural Netw. Learn. Syst.</source> <volume>33</volume> (<issue>6</issue>), <fpage>2714</fpage>&#x2013;<lpage>2725</lpage>. <pub-id pub-id-type="doi">10.1109/tnnls.2021.3116709</pub-id>
</citation>
</ref>
<ref id="B55">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Watkins</surname>
<given-names>N. W.</given-names>
</name>
<name>
<surname>Pruessner</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Chapman</surname>
<given-names>S. C.</given-names>
</name>
<name>
<surname>Crosby</surname>
<given-names>N. B.</given-names>
</name>
<name>
<surname>Jensen</surname>
<given-names>H. J.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>25 years of self-organized criticality: concepts and controversies</article-title>. <source>Space Sci. Rev.</source> <volume>198</volume>, <fpage>3</fpage>&#x2013;<lpage>44</lpage>. <pub-id pub-id-type="doi">10.1007/s11214-015-0155-x</pub-id>
</citation>
</ref>
<ref id="B56">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Yegnanarayana</surname>
<given-names>B.</given-names>
</name>
</person-group> (<year>2009</year>) <source>Artificial neural networks</source>. <publisher-loc>Delhi</publisher-loc>: <publisher-name>PHI Learning Pvt. Ltd.</publisher-name>,</citation>
</ref>
<ref id="B57">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhu</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Soudry</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Eldar</surname>
<given-names>Y. C.</given-names>
</name>
<name>
<surname>Wakin</surname>
<given-names>M. B.</given-names>
</name>
</person-group> (<year>2020</year>). <article-title>The global optimization geometry of shallow linear neural networks</article-title>. <source>J. Math. Imaging Vis.</source> <volume>62</volume> (<issue>3</issue>), <fpage>279</fpage>&#x2013;<lpage>292</lpage>. <pub-id pub-id-type="doi">10.1007/s10851-019-00889-w</pub-id>
</citation>
</ref>
<ref id="B58">
<citation citation-type="web">
<person-group person-group-type="author">
<name>
<surname>Ziyin</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Galanti</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Ueda</surname>
<given-names>M.</given-names>
</name>
</person-group> (<year>2023</year>). <article-title>The probabilistic stability of stochastic gradient descent</article-title>. <comment>Available at: <ext-link ext-link-type="uri" xlink:href="https://arxiv.org/abs/2303.13093">https://arxiv.org/abs/2303.13093</ext-link>.</comment>
</citation>
</ref>
</ref-list>
</back>
</article>