Skip to main content

Thank you for visiting You are using a browser version with limited support for CSS. To obtain the best experience, we recommend you use a more up to date browser (or turn off compatibility mode in Internet Explorer). In the meantime, to ensure continued support, we are displaying the site without styles and JavaScript.

Avalanches and edge-of-chaos learning in neuromorphic nanowire networks


The brain’s efficient information processing is enabled by the interplay between its neuro-synaptic elements and complex network structure. This work reports on the neuromorphic dynamics of nanowire networks (NWNs), a unique brain-inspired system with synapse-like memristive junctions embedded within a recurrent neural network-like structure. Simulation and experiment elucidate how collective memristive switching gives rise to long-range transport pathways, drastically altering the network’s global state via a discontinuous phase transition. The spatio-temporal properties of switching dynamics are found to be consistent with avalanches displaying power-law size and life-time distributions, with exponents obeying the crackling noise relationship, thus satisfying criteria for criticality, as observed in cortical neuronal cultures. Furthermore, NWNs adaptively respond to time varying stimuli, exhibiting diverse dynamics tunable from order to chaos. Dynamical states at the edge-of-chaos are found to optimise information processing for increasingly complex learning tasks. Overall, these results reveal a rich repertoire of emergent, collective neural-like dynamics in NWNs, thus demonstrating the potential for a neuromorphic advantage in information processing.


The age of big data has driven a renaissance in Artificial Intelligence (AI). Indeed, the ability of AI to find patterns in big data could arguably be described as super-human; the human brain is simply not designed for brute-force iterative optimisation at scale. Rather, the brain excels at processing information that is sparse, complex and changing dynamically in time. The increasing prevalence of streaming data requires a shift in neuro-inspired information processing paradigms, beyond static Artificial Neural Network (ANN) models used in AI. The brain’s unique capacity for adaptive, real-time learning is enabled by the complex interplay between its neuro-synaptic non-linear elements and a recurrent network topology1, with information processing manifested through emergent collective dynamics2.

Physically implemented neuro-inspired information processing has been demonstrated by nano-electronic device components that integrate memory and computation, enabling a shift away from the traditional von Neumann architecture. Resistive switching memories3 are an important class of such devices known as memristors4. Their electrical response depends not only on applied stimulus, but also on memory to past signals5, which can mimic the short-term plasticity and long-term potentiation of neural synapses6. Utilising memristive switches as artificial synapses in crossbar architectures7 has shown great promise in realising physical implementations of popular ANNs such as feed-forward8 and convolutional neural networks9.

Self-assembled networks of metallic nanowires with memristive cross-point junctions10,11,12,13 are an approach to move from rigid crossbar array architectures towards a more neural-like structure in hardware. Nanowire networks (NWNs) exhibit a small-world topology14, thought to be integral to the brain’s own efficient processing ability15. Electrochemical metallic filament growth through electrically insulating, ionically conducting coatings (e.g. metal-oxides16, Ag2S10 or PVP11), enables memristive switching at the metal-insulator-metal junctions11,17. The interplay between memristive switching and a recurrent network topology promotes emergence of collective, adaptive dynamics, such as formation of conducting transport pathways that can be dynamically tuned18,19, giving networks a biologically plausible structural plasticity20. These neuromorphic properties equip NWNs with unique learning potential, with applications ranging from shortest-path optimisation21 to associative memory22. Additionally, the neuromorphic dynamics of NWNs may be exploited for processing dynamic data in a reservoir computing framework23, as shown in both experimental24,25 and simulation26,27,28 studies.

It has been widely postulated that optimal information processing in non-linear dynamical systems may be achieved close to a phase transition, in a state known as criticality29. Distinct phase transitions are associated with criticality, notably ‘avalanche criticality’30 and ‘edge-of-chaos criticality’31. In avalanche criticality, a system lies at the critical point of an activity–propagation transition where perturbations to the system may trigger cascades over a range of sizes and duration, characterised by scale-free power-law distributions. In sub-critical systems, activity can only propagate locally. Super-critical systems exhibit characteristically large avalanches that span the system. Scale-invariant avalanches, concomitant with avalanche criticality, have been observed in neuronal cultures29,32,33 and neuromorphic systems comprised of percolating nanoparticles34. In edge-of-chaos criticality, dynamical states lie between order and disorder and the system retains infinite memory to perturbations. Edge-of-chaos dynamics have been observed in cortical networks35 and appear to optimise computational performance in recurrent neural networks36, echo state networks37 and random boolean networks38.

The observation of 1/f power spectra in neuromorphic NWNs has led to the suggestion that they may be poised at criticality12,39. While necessary, 1/f spectra are insufficient for criticality as 1/f noise can be produced by a diverse range of processes without spatio-temporal correlations, including uncoupled networks of isolated memristors40. Here, we present evidence for avalanche criticality in memristive NWNs and show that a critical-like state occurs near a first-order (discontinuous) phase transition. We also present the first evidence for edge-of-chaos criticality in neuromorphic NWNs and demonstrate that information processing is optimised at the edge-of-chaos for computationally complex tasks. Our results reveal new insights into neuro-inspired learning, suggesting that in addition to non-linear neuro-memristive junctions, the adaptive collective dynamics facilitated by neuromorphic network structure is essential for emergent brain-like functionality.


A physically motivated model for neuromorphic structure and function in nanowire networks

PVP-coated Ag nanowires self-assemble to form a highly disordered, complex network topology (experiment: Fig. 1a; simulation: Supplementary Fig. 1). As a neuromorphic device, NWNs are operated by applying an electrical bias between fixed electrode locations across the network12,22. To gain deeper insight into the neuromorphic dynamics, a physically motivated computational model of Ag-PVP NWNs was developed. The model is briefly described here (see Methods for further details).

Fig. 1: Ag-PVP nanowire networks with memristive junctions.

a Optical microscope image of a self-assembled Ag-PVP NWN (scalebar = 100 μm). b Biased nanowire-nanowire junctions promote Ag+ migration and redox-induced Ag filament formation through the electrically insulating, ionically conducting PVP layer. Filament gap distance s varies from \({s}_{\max }\) to 0. Junction resistance is modelled as a constant series resistance (\({R}_{r}={R}_{{\rm{off}}}={G}_{{\rm{off}}}^{-1}\)), in parallel with constant filamentary resistance (\({R}_{{\rm{f}}}={{\rm{G}}}_{0}^{-1}\)) and time-dependent tunnelling resistance (Rt). c Junction conductance (\({G}_{{\rm{jn}}}={R}_{{\rm{jn}}}^{-1}\)) and s, as a function of state variable Λ(t). As Λ increases, the junction transitions from high resistance to tunnelling and then ballistic transport.

AgPVPAg junctions lie at the intersection between nanowires. These electrical junctions are modelled as voltage-controlled memristors12,41. Λ(t) represents the state of a junction’s conductive Ag filament in the PVP layer (Fig. 1b, Eq. (5)), and is closely related to the physical filament gap distance (Fig. 1b, c, Eq. (8)) that determines the junction’s conductance (\({G}_{{\rm{jn}}}(t)={R}_{{\rm{jn}}}^{-1}={I}_{{\rm{jn}}}/{V}_{{\rm{jn}}}\)).

A junction filament grows when voltage exceeds a threshold: Vjn > Vset. The sign of Λ(t) encodes the junction polarity: a filament approaches \({{\Lambda }}={{{\Lambda }}}_{\max }\) when Vjn > Vset and approaches \({{\Lambda }}=-{{{\Lambda }}}_{\max }\) when Vjn < − Vset. When the voltage is sufficiently low (Vjn < Vreset), the filament decays towards Λ = 0, as a result of thermodynamic instability. The rate of filament growth or decay is determined by the voltage difference relative to Vset or Vreset. Hence, Λ(t) encodes a junction’s memory to past electrical stimuli. See Methods (Eq. (5), Fig. 9) for full mathematical details.

Figure 1c shows the non-linear dependence of Gjn on Λ that produces switch-like junction dynamics. When 0 ≤ Λ < Λcrit, the junction is insulating (Gjn = GoffGon, where Gon = G0 is the conductance quantum). As Λ approaches Λcrit, the junction transitions to a tunnelling regime where conductance exponentially grows as Λ increases. After the filament has grown (\({{{\Lambda }}}_{{\rm{crit}}}\le | {{\Lambda }}| \,<\,{{{\Lambda }}}_{\max }\)), the filament tip width is the limiting factor of conductance and transport is ballistic, with Gjn = Gon = G0.

Next, simulations using this model are presented analysing the network level dynamics of this neuromorphic system.

Adaptive network dynamics near a discontinuous phase transition

NWNs driven by a constant bias V converge to a steady-state conductance (simulation: Fig. 2; experiment: Supplementary Fig. 2a). The transient dynamics of the network conductance time-series, Gnw(t), occurs in steps, as the network shifts between metastable states (plateaus in Gnw). Above a threshold voltage Vth, NWNs exhibit system-level switching, with Gnw dramatically increasing by three orders of magnitude. Post-activation, the conductance increase slows to a rate comparable with pre-activation (on logarithmic scale). Increasing V increases the activation rate and diminishes the step-like increases in conductance. These qualitative features of Gnw(t) are independent of the specific network and voltage in simulation and experiment.

Fig. 2: Threshold network activation under constant bias.

Simulations using a 100 nanowire, 261 junction NWN. a DC activation curves for an initially inactive NWN (Λ = 0 for all junctions) for increasing applied voltages (V* = V/Vth), with Vth = 0.09 V. b Snapshot visualisation of NWN, showing formation of first transport pathway, corresponding to shortest path length n. c Steady-state network conductance (with \({G}_{{\rm{nw}}}^{* }=n{G}_{nw}/{{\rm{G}}}_{0}\)), as a function of V*. Black circles are for an initially inactive network. Red triangles are for a network pre-activated by a 1.8 V DC bias. Inset shows a zoom-in near V* = 1 with a logarithmic vertical scale.

Simulations reveal that in the Low Conductance State (LCS: Gnw 10−3 G0 for this network), all network junctions exhibit low tunnelling conductance and no junctions are in a ballistic transport regime. The High Conductance State (HCS: Gnw 10−1 G0) exhibits pathways of high-conductance junctions (Gjn ≈ G0) spanning from source to drain electrodes. Figure 2b shows a single pathway, however the HCS may also consist of multiple, parallel high conductance pathways at higher voltages (Supplementary Fig. 3), and for large or dense networks with many equivalently short source-drain paths.

Figure 2c shows the steady-state Gnw (re-scaled to \({G}_{\infty }^{* }=n{G}_{{\rm{nw}}}(t=\infty )/{{\rm{G}}}_{0}\), where n is the graph length of the shortest path between source and drain electrodes) as a function of V* = V/Vth for two different network initial states: an inactive (LCS) network, with all junctions initialised to Λ = 0 (black circles); and a network pre-activated (HCS) to \({G}_{{\rm{nw}}}^{* }=n{G}_{nw}/{{\rm{G}}}_{0}\approx 4.7\) by a 1.8 V = 20Vth DC bias for 10 s (red triangles). For V* < nVreset, networks always converge to a stable LCS, irrespective of initial conditions. Above this level, multiple stable \({G}_{\infty }^{* }\) states emerge. Multi-stable conductance states for a wider range of initial conditions are shown in Supplementary Fig. 4. Networks exhibit hysteresis, since initial junction filament states control which stable state is reached. In simulation, for all initial conditions, \({G}_{\infty }^{* }\) is always non-decreasing with V*, but this is not observed experimentally (Supplementary Fig. 2c) as it is difficult to prepare a network in exactly the same state before each activation (due to long-term memory of junctions). Additionally, persistent fluctuations from junction noise, not included in the model, can facilitate transitions between multi-stable states12,39 (Supplementary Fig. 2b).

A discontinuity in the order parameter (steady-steady conductance, \({G}_{\infty }^{* }\)) between LCS (\({G}_{\infty }^{* } \sim 0\)) and HCS (\({G}_{\infty }^{* } \sim 1\)) is revealed as the control parameter (V) is varied for any given network and initial conditions. This is found in both simulation (e.g. V* = 0.5 for pre-activated and V* = 1 for inactive networks in Fig. 2c) and experiment (Supplementary Fig. 2c). These distinctive discontinuities (V* = 0.5 for pre-activated and V* = 1 for inactive), along with the properties of multistability and hysteresis, indicate that the formation/annihilation of the first conducting pathway in the network corresponds to a first-order (discontinuous) non-equilibrium phase transition, marking an abrupt change in the global state of the system. In the model, the location of the discontinuous transition is universal (Supplementary Fig. 5), as it depends only on the length of the shortest path between the electrodes and on the initial state (either LCS or HCS). Networks in a LCS (no conducting pathways) transition to a HCS (conducting pathways exist) when V* > nVset. Networks in a HCS transition to a LCS when V* < nVreset. In real (i.e. non-ideal) NWNs, Vset and Vreset may vary between junctions due to variations in the thickness of PVP coating around nanowires.

Additional discontinuities in \({G}_{\infty }^{* }\) may be observed at higher integer multiples of thresholds (V = mVset, V* = kVreset). For example, at V* = 11/9 ≈ 1.2 (corresponding to V = 11Vset) in Fig. 2c. These correspond to the formation/annihilation of additional transport pathways. In the limit of large network size, only the first discontinuity (between \({G}_{\infty }^{* }\sim0\) and \({G}_{\infty }^{* } \sim 1\)) in \({G}_{\infty }^{* }\) vs V remains concomitant with formation of the first conducting pathway (Supplementary Fig. 5).

These results demonstrate that NWNs can adaptively respond to external driving and can undergo a first-order phase transition between bi-stable states (LCS and HCS). These global network dynamical states arise from the recurrent connectivity between junctions and their switching dynamics, as shown next.

Collective junction switching drives non-local transport

Network activation or de-activation as described above can be understood as a collective effect emerging from recurrent connections between junctions. By Kirchoff’s Voltage Law (KVL), the sum of voltages along any path between source and drain is equal to the externally applied voltage, while the sum of voltages around any closed loop in the network is zero. Since the voltage across a given junction Vjn(t) controls the future evolution of its filament state Λ(t) and hence conductance Gjn(t), KVL couples the dynamics of memristive junctions to the network topology. A simulation at V* = 1.1, with uniform initial conditions (Λ = 0), showing Gjn(t) (Fig. 3a), Vjn (t) (Fig. 3b) and corresponding visualisations at three time-points (Fig. 3c–e), reveals the qualitative characteristics of collective switching dynamics in NWNs.

Fig. 3: Collective switching dynamics under DC bias.

Simulations using a 100 nanowire, 261 junction NWN at voltage V* = V/Vth = 1.1. a Conductance states of each junction, Gjn, along shortest source-drain path (in units of conductance quantum G0). Junctions are numbered sequentially according to distance from source (#1 closest, #9 farthest). Network conductance, \({G}_{{\rm{nw}}}^{* }(t)\) (normalised by source-drain path length), is also shown. b Corresponding junction voltage, \({V}_{{\rm{jn}}}^{* }={V}_{{\rm{jn}}}/{V}_{{\rm{set}}}\), dynamical re-distribution. ce Snapshots of Gjn distribution (edges shown on a logarithmic colourbar scale) at different time-points during network activation. Node colour indicates voltage on nanowires between source (green asterisk) and drain (red asterisk).

Initially, the disordered network structure ensures the voltage distribution (Fig. 3b) is inhomogeneous, with junctions near the electrodes typically having the highest Vjn. For junctions with |Vjn | < Vset, filament states remain static, or otherwise decay to Λ = 0, if Λ ≠ 0 and Vjn < Vreset. When Vjn > Vset, filaments grow at a constant rate dΛ/dt = Vjn − Vset until Gjn (Fig. 3a) rapidly increases from the onset of tunnelling, coinciding with a decrease in Vjn (Fig. 3b). Gjn plateaus once Vjn reaches Vset. This first occurs at t ≈ 0.8 s for junction #1. Voltage is redistributed locally to neighbouring junctions42 (junctions near opposite electrodes, e.g. #1 and #9, can be considered connected by an edge, with Rjn = 0, at the power source). If the subsequent voltage increase results in Vjn > Vset, the filament growth rate increases for these junctions. For junctions already in a tunnelling regime (Goff < Gjn < Gon = G0), Gjn briefly increases until Vjn returns to Vset, whereas insulating junctions experience a delay before Gjn increases as their filament grows. Hence, Gnw displays small, step-like increases coinciding with junctions transitioning from insulating (Gjn = Goff) to tunnelling (Goff < Gjn < Gon) and groups of already active junctions adaptively adjust their Gjn such that their Vjn lies on or below the threshold. These active junctions effectively wait for other junctions to activate before switching on, resulting in a switching synchronisation phenomenon similar to that seen in 1D memristive networks43,44.

Through these switching events, the network self-organises to prevent a large voltage drop (greater than Vset) across any given junction, funnelling most of the current down a single (or a few) transport pathways, which grow from the electrodes towards the centre of the network (Fig. 3c, d). For any given pathway of length m, if V* < mVset, then after higher voltage junctions adjust their voltage to Vset the pathway ceases to grow. This is the fate of all paths in networks with V* < 1. When, V* > 1, nearby pathways grow in competition, with the shortest pathway forming first.

Once the final junction along a source-drain pathway enters a tunnelling regime (t ≈ 6 s), Gjn of each junction on the path adjusts (Fig. 3e) such that they receive the same voltage (Vjn = V/n > Vset), since a larger Vjn increases dΛ/dt and hence, Gjn, which in turn reduces Vjn. At this point, junctions along the path behave collectively like a single memristive junction under constant bias: for each of these junctions, Λ grows linearly in time, leading to exponential growth in Gjn and hence, Gnw. This manifests itself as a large, rapid increase in Gnw(t). This growth ceases when all junctions along the path reach the ballistic transport regime (Λ = Λcrit, Gjn = G0), where they stably remain at later times. For higher voltages or denser networks, additional transport pathways may form, resulting in later steps in Gnw (cf. Fig. 2a). For sufficiently high voltages (when Vjn > Vset for all junctions along the path), the plateaus become less pronounced and conductance increases continuously with time, however synchronous switching is still observed (Supplementary Fig. 6).

These results show that the emergence of transport pathways can be attributed to coupling between the complex network topology and memristive junction switching. Cascades of activity are induced as junctions transition into the conducting regime, adaptively redistributing voltage to their neighbours. This collective switching activity near a phase transition is reminiscent of avalanche dynamics, investigated next.

Avalanche switching dynamics

Avalanches with scale-free size and lifetime event statistics—a hallmark of critical dynamics—have been observed in neuronal populations29,32,33 and other neuromorphic systems34,45. For NWNs, the conductance time-series of each junction (from the model described above) is converted to discrete switching events by introducing a threshold for the conductance change ΔGjn between adjacent time-points. A similar procedure is applied to experimental measurements of Gnw. As in neuronal data32,33, events are binned discretely in time into frames (width Δt). This allows an ‘avalanche’ to be defined as a sequence of frames containing events preceded and followed by an empty frame. Avalanche size (S) is defined as the total number of events in the avalanche. Avalanche life-time (T) is defined as the number of frames in the avalanche. See Methods for full details.

Systems near criticality exhibit avalanche size S and lifetime T probability distributions (P(S), P(T)) and average avalanche size (〈S〉(T)) that follow power-laws (Eqs. (1), (2), (3)), with exponents obeying the crackling noise relationship (Eq. (4))46. The agreement of the independent estimates (Eqs. (3), (4)) of 1/σνz more rigorously tests avalanches for consistency with criticality than mere power-laws, as power-law size and life-time distributions can be obtained by thresholding stochastic processes47, but do not obey Eq. (4).

$$P(S) \sim {S}^{-\tau }$$
$$P(T) \sim {T}^{-\alpha }$$
$$\langle S\rangle (T) \sim {T}^{1/\sigma \nu z}$$
$$\frac{1}{\sigma \nu z}=\frac{\alpha -1}{\tau -1}$$

Both simulated and experimental NWNs stimulated with voltages close to the switching threshold (V* ≈ 1) exhibit power-law P(S) (Fig. 4a, d) and P(T) (Fig. 4b, e) (KS test, p > 0.5). In the simulated NWNs, the power-laws exhibit a break attributed to the finite-size of the network limiting avalanche propagation. As network size or density is increased (Supplementary Fig. 7), the slope of the power-law region remains unchanged, while the power-law break increases for P(S), P(T) and 〈S〉(T). The break in the distribution is consistent with criticality as the avalanche distributions obey finite-size scaling48,49 (Supplementary Fig. 8a–c). Experimental NWNs contain many more nanowires so no power-law break is evident in the avalanches sampled. Additionally, 〈S〉(T) follows a power-law (Fig. 4c, f). For simulated NWNs, τ ≈ 1.95 ± 0.05 (Kolmogorov–Smirnov distance (KSD) = 0.006, p = 0.54) and α ≈ 2.25 ± 0.05 (KSD = 0.004, p = 0.54), yielding 1/στz ≈ 1.3 ± 0.1, which is in agreement with 1/στz = 1.3 ± 0.05 from 〈S〉(T). The same agreement is obtained for experimental NWNs with τ ≈ 2.05 ± 0.10 and α ≈ 2.25 ± 0.10 (for P(S), KSD = 0.032, p = 0.80; for P(T), KSD = 0.037, p = 0.59), yielding 1/στz ≈ 1.2 ± 0.15, which is in agreement with 1/στz = 1.2 ± 0.05 from 〈S〉(T). The agreement of the individual estimates of exponent 1/σνz in both simulated and experimental data confirms the crackling noise relationship (Eq. (4)) is obeyed within uncertainties. Further evidence for avalanche criticality is found by collapse of avalanche shape onto a universal scaling function (Supplementary Fig. 9), obtaining a third independent estimate that 1/σνz ≈ 1.3. These factors strongly suggest that these avalanches are consistent with critical-like dynamics.

Fig. 4: Avalanche statistics of simulated and experimental networks.

Top row—probability distributions of avalanche size S (a) and life-time T (b) and plot of average size as function of life-time (c) for simulated networks. Bottom row—probability distributions of avalanche size S (d) and life-time T (e) and plot of average size as function of life-time (f) for experimental networks. Statistics are produced from simulations on an ensemble of 1000 independently generated networks stimulated at V* = 1. Simulations used networks with 2250 nanowires and 6800–7100 junctions (size 150 × 150 μm2 and density 0.10 nw (μm)−2). Experiments are at the same density and have size 500 × 500 μm2. Maximum likelihood power-law fits are indicated.

By altering the strength of the driving voltage away from the threshold Vth, the avalanche distributions begin to deviate from a power-law (Fig. 5). When V* < 1, pathways are unable to form across the network and the switching events result in small-scale avalanches (black points). As V* approaches 1, the distribution elongates and becomes a power-law (red points). Above V* = 1 (when the networks activate), a bi-modal distribution is evident, as avalanches of large characteristic sizes and lifetimes emerge above the power-law tail (cyan and blue points). As network size increases, the probability density of the bump relative to the power-law region grows (Supplementary Fig. 8d–f). This suggests these anomalously large avalanches are consistent with super-critical states.

Fig. 5: Voltage dependence of avalanche simulations.

Avalanche size S (a) and life-time T (b) distributions in simulated NWNs at voltages V* = 0.7, 1.0, 1.05, 1.8 (black, red, cyan, blue). Statistics are produced from simulations on an ensemble of 1000 independently generated networks with 1000 nanowires and 3000–3200 junctions (size 100 × 100 μm2 and density 0.10 nw (μm)−2). The time-frame (Δt = 160 ms, corresponding to average inter-event-interval at V* = 1) chosen to bin switching events is the same for each V* and distributions are linearly binned with same bin-sizes for each curve.

Order-chaos transition from polarity-driven switching

The response of a NWN to constant voltage stimulus, examined above, has revealed rich collective dynamics, but ultimately conductance converges to a steady state. When networks are driven by unipolar periodic stimuli, they converge to periodic attractor states. However, in response to a periodic, alternating polarity driving signal, NWNs exhibit a more diverse range of dynamics, from ordered to chaotic, depending on the amplitude A and frequency f of the driving signal. This is quantified by calculating the maximal Lyapunov exponent λ for simulated networks driven by a triangular AC signal (see Methods). λ measures the exponential convergence or divergence of nearby states of the system separated by an infinitesimal perturbation50. For λ < 0, the perturbations shrink over the trajectory and the network evolves to stationary (fixed point) or periodic (limit cycle) behaviour. For λ > 0, perturbations rapidly amplify, resulting in chaotic dynamics. λ ≈ 0 corresponds to the edge-of-chaos state.

Figure 6a plots λ as a function of A and f for triangular AC stimuli. Highly ordered dynamics can be inferred from the low-f and low-A regime where λ − 10 s−1 (black region). For f 0.2 Hz, increasing A results in an increase in λ towards zero at A ≈ 3 V. Above this frequency, increasing A can lead to a λ > 0 and the onset of chaotic dynamics in the network. For A 2.5 V and f 1.5 Hz, stronger chaotic dynamics are inferred, with λ 10 s−1 (yellow region). Further increasing f for a given A leads to a decrease of λ.

Fig. 6: Controlling network dynamical states with triangular AC signals.

a For a 100 nanowire, 261 junction simulated network, the driving amplitude A and frequency f controls the maximal Lyapunov exponent λ and hence, dynamical evolution of the network: λ < 0 indicates convergence to stable attractor states; λ > 0 indicates chaotic dynamics; and λ ≈ 0 corresponds to an edge-of-chaos state. b For a given λ, the collective network response is captured by the average ratio of maximum-to-minimum network conductance states, r.

For a given λ, the collective switching states of NWNs was characterised by the ratio of maximum to minimum network conductance, r, averaged over each AC cycle. When 1 r 10, the network remains in either LCS (no pathways) or HCS (pathways exist). When r 103, the network is persistently driven back and forth across the transition between these states. Figure 6b reveals that only networks exhibiting strong switching (r 103) can exhibit chaotic dynamics (λ > 0), whereas both edge-of-chaos dynamics (λ ≈ 0) and ordered dynamics (λ < 0) are observed over the range of possible collective switching states.

Figure 7a–f shows simulated I − V (top row) and G − V (bottom row) curves over 20 successive triangular AC cycles for A = 1.25 V and varying f, producing different network dynamical regimes: ordered (left column, f = 0.1 Hz, λ = − 2.6 s−1); edge-of-chaos (centre, f = 0.5 Hz, λ = 0.4 s−1); and chaotic (right column, f = 0.85 Hz, λ = 4.1 s−1). Examples of corresponding junction conductance and voltage time-series are shown in Supplementary Fig. 10. In the λ < 0 regime, I − V (Fig. 7a) and G − V (Fig. 7d) cycles exhibit symmetric, repetitive hysteresis. For these states the minimum conductance occurs when V = 0, meaning the network fully activates and de-activates before polarity reverses. In the edge-of-chaos regime (λ ≈ 0), I − V (Fig. 7b) and G − V (Fig. 7e) cycles are still symmetric and repetitive, but now the network does not deactivate completely before polarity reverses. In the chaotic regime (λ > 0), I − V (Fig. 7c) and G − V (Fig. 7f) trajectories diverge over successive cycles (evident from the thickening of blue curves). These chaotic trajectories are not unbound, but are instead confined to a reduced region of phase space (a ‘chaotic attractor’). Examples of chaotic trajectories of different Lyapunov exponents are shown in Supplementary Fig. 11.

Fig. 7: Ordered (λ < 0), edge-of-chaos (λ ≈ 0) and chaotic (λ > 0) network states.

Each column corresponds to a single NWN simulation for a triangular AC input (n = 20) cycles, with A = 1.25 V and f = 0.1, 0.5, 0.85 Hz (left to right). Top row: I − V curves, with arrows indicating direction of voltage control. Bottom row: corresponding network conductance, Gnw. First column (a, d): f = 0.1 Hz, r = 7.7 × 103 and λ = − 2.6 s−1; all junction filament states return to 0 between cycles (reaching V = 0), resulting in symmetric repeatable I − V and Gnw − V cycles. Second column (b, e): states near the edge-of-chaos, with f = 0.5 Hz, r = 7.1 × 103 and λ = 0.4 s−1; network does not fully deactivate as polarity of voltage is reversed. Third column (c, f): f = 0.85 Hz, r = 5.9 × 103 and λ = 4.1 s−1; network trajectories are chaotic. A 100 nanowire, 261 junction network is used, but qualitatively similar results are found on a range of network sizes and densities.

Qualitatively, the observed Lyapunov exponents can be understood by considering a small perturbation (δΛ) to the filament state (Λi) of the i-th junction. When tunnelling is absent (cf. Fig. 1c), δΛ changes Gjn and hence, leaves the voltage distribution of the network unchanged. Thus, as the network continues to evolve, δΛ is remembered by the junction (the junction states remain a fixed distance δΛ apart). When Λi approaches its boundaries (cf. Fig. 1), either from when the filament decays to zero (Λi → 0 when Vi < Vreset) or saturates (\(| {{{\Lambda }}}_{i}| \to {{{\Lambda }}}_{\max }\) when V > Vset), δΛ shrinks. When a junction is in a tunnelling regime, however, any perturbation to Λi is exponentially amplified in terms of conductance. Perturbations that increase a junction’s conductance decrease its voltage, slowing filament growth if Vi > Vset, or increasing filament decay if Vi < Vreset. The effect on neighbouring junctions is the opposite. Under slow driving, the network can adapt to such perturbations and retain the size of the perturbation. Under fast driving, however, the network is unable to adapt and perturbations grow during activation and de-activation, leading to separation of nearby network states. The frequency which constitutes fast or slow depends on the amplitude applied (cf. Fig. 6) and the network structure (size and density). The dynamical balance between the mechanisms that enforce order (perturbations shrink) and create chaos (perturbations grow) determines the stability of the global network dynamics. Hence, tuning the driving signal allows control over system dynamics. As shown next, this may be advantageous when utilising neuromorphic NWNs for information processing36,45.

Information processing optimised at the edge-of-chaos

The information processing capacity of neuromorphic NWNs in different dynamical regimes was tested with the benchmark reservoir computing51,52 task of non-linear wave-form transformation previously demonstrated in NWN experiments24,25 and simulations26,27. In this task a triangular wave is input into the network, nanowire voltages are used as readouts and are trained using linear regression to different target wave-forms. Examples of target waveforms obtained are shown in Supplementary Fig. 12 and sample network readouts (nanowire voltages) are shown in Supplementary Fig. 13.

Figure 8 shows the network performance in transforming an initial triangular wave of given A and f to different target wave-forms as a function of the maximal Lyapunov exponent λ for each input (cf. Fig. 6). Over the range of λ, the rank order of relative accuracy between tasks is consistent with the similarity between the input (triangular) and target waveforms, namely sin > square > π/2-shift ≈ 2f. The similarity between waveforms can be understood by considering the Fourier decomposition of each signal. To convert to a sine wave, higher harmonics must be removed from the triangular input signal, whereas conversion to a square wave requires additional odd higher harmonics. For double frequency conversion, odd higher harmonics must be removed, with even harmonics added. For phase shift conversion, the network must produce a lag to the input signal, i.e. coefficients of cosine terms in the Fourier series become coefficients of sine terms. The sine wave transformation accuracy is always ≥ 0.98 before decreasing to ≈ 0.95 above λ ≈ 0. The square wave and π/2-shifted wave accuracy increase as λ increases towards zero, peaking when −2 s−1λ 0 s−1 at 0.86 for square wave and 0.69 for π/2-shifted wave. Like the sine wave, both the square wave and π/2-shifted wave accuracy tapers off rapidly when the network is in a chaotic regime (λ > 0), to an approximately constant accuracy of ~ 0.6 for square and 0.3 for π/2-shift. Notably, for the π/2-shifted wave, the accuracy for chaotic states lies above the minimum accuracy for ordered states. For the 2f target wave, the accuracy is zero for λ − 0.5 s−1, before rapidly increasing to peak near the edge-of chaos regime λ ≈ − 0.1 s−1 at an accuracy of 0.79. Like the other wave-forms, accuracy decreases as the network becomes chaotic (λ > 0), but accuracy is higher than for ordered dynamics (λ < 0). For all tasks, strongly chaotic states underperform compared to the edge-of-chaos. This suggests that while more ordered (sine wave target) or slightly chaotic (2f target) dynamical regimes may be optimal depending on the computational complexity of the task, only a relatively narrow range of network states, those tuned to the ‘edge-of-chaos’, are robust performers over a diverse set of target waveforms.

Fig. 8: Network performance in non-linear transformation task for different dynamical regimes.

Accuracy of transformation of input triangular wave into different target waves: sinusoidal (blue), square (green), π/2 phase-shifted triangular (pink) and double frequency (2f) triangular (black), as a function of the network maximal Lyapunov exponent λ (averaged over all junctions whose state changes while the task is being performed). Vertical line indicates λ = 0. Data-points correspond to individual simulations for a fixed f and A of the input wave for a 100 nanowire, 261 junction network.


The formation (or destruction) of long-range transport pathways between electrodes is a ubiquitous feature of disordered memristive networks with threshold-driven junction switching53, including nanowires12,18,19 and nanoparticles54. Here, it was found that the network undergoes a discontinuous phase transition when the first pathway forms, with a linear relation between threshold voltage and source-drain path length. A similar discontinuous transition coinciding with pathway formation was reported in simulations of adiabatically driven memristive networks with large Gon/Goff ratios (ratio between maximum and minimum possible Gjn)53. Smaller Gon/Goff ratios were instead found to result in a continuous transition. When Gon/Goff is large, changes to Gjn lead to large changes in the voltage distribution, strongly coupling the dynamics of junctions in the network. This results in a switching synchronisation phenomenon (cf. Fig. 3a), analogous to that observed in 1D memristive networks43,44. Conversely, when Gon/Goff is small, junctions changing conductance have a smaller effect on their neighbours. In this regime, junctions still collectively switch between metastable states, but do not exhibit switching synchronisation (Supplementary Fig. 14). Hence, by tuning Gon/Goff, which can be achieved experimentally by varying thickness of PVP coating, the collective behaviour of NWNs can be controlled.

Finding power-law avalanche distributions over a few orders of magnitude near a first-order (discontinuous) transition is surprising, as they are usually associated with second-order (continuous) transitions55. Disorder and hysteretic behaviour are likely key ingredients for scale-free avalanches observed in other systems driven near a discontinuous phase transition, such as magnetic materials56 and neural networks57. These properties are certainly present in NWNs.

Critical avalanches were demonstrated here by tuning voltage to the activation threshold, but the role of self-organisation in achieving and sustaining critical avalanches requires further investigation. Experiments show NWNs continue to exhibit persistent, bi-directional conductance fluctuations (Supplementary Fig. 2b) as a result of junction noise, electromigration-induced junction breakdown events, and subsequent recurrent feedback by the network12,58. These mechanisms may allow NWNs to self-organise to an avalanche critical state, allowing mapping to models such as ‘self-organised criticality’ (SOC)30 (self-organisation to a continuous transition), ‘self-organised bistability’ (SOB)59 (self-organisation to a discontinuous transition), quasicriticality60 (departs from criticality with crackling noise equation (Eq. (4)) obeyed) and their non-conservative counterparts61. Over long time scales, if anomalously large avalanches coexist with scale-free avalanches, then SOB would be a better description of NWNs than SOC. However, fluctuations could plausibly make the transition (cf. Fig. 2c) continuous resulting in a SOC-like state.

Critical dynamics has previously been observed in self-assembled tin nanoparticle networks (NPNs)34,62. There are notable differences between dynamics observed in nanowire and nanoparticle networks. In NWNs, resistive switching is facilitated by filament growth through an insulating layer. In NPNs, the nanoparticles are not coated with an insulating layer and resistive switching is due to tunelling-driven filament growth across nano-gaps between nanoparticles. Thus, in the absence of filament growth, nanoparticles in contact are conductive, whereas nanowires in contact are insulating. Consequently, resistive switching dynamics and critical avalanches are only observed when the nanoparticle density is finely tuned to the percolation threshold. NWNs, on the other hand, exhibit resistive switching and avalanches at densities close to and well above the percolation threshold, such as twice the threshold (cf. Supplementary Figs. 7 and 8). Conversely, in NPNs, the voltage does not need to be finely tuned to achieve critical avalanches, provided networks are on the percolation threshold. Breakage of conductive filaments from Joule heating and electromigration effects self-tune NPNs to a critical state. In NWNs, critical avalanches with power-law sizes and life-times are observed when tuning networks close to the threshold voltage. At voltages below the threshold, avalanches do not span the network and exhibit exponentially decaying avalanche distributions (cf. Fig. 5), while at voltages significantly above the threshold, large avalanches of a characteristic size and duration are observed, corresponding to formation and annihilation of non-local conducting pathways. Thus, passivation of nanoscale metallic components affords the advantage of not having to fine-tune density.

The universality of avalanches poses an interesting question for future studies on neuromorphic systems. The experimental studies of avalanches in percolating NPNs presented non-universal avalanche exponents that satisfy criteria for avalanche criticality34,62. Notably their model62 exhibits avalanche exponents (τ = 2.0, α = 2.3, 1/στz = 1.3) very close to NWN values, suggesting they may belong to the same universality class. A capacitive breakdown model of current-controlled NWNs, in a lower current regime than studied here,63 found universal avalanche exponents consistent with the classic SOC sandpile model30. However, in other neuromorphic systems such as adiabatically driven memristive networks53 and spiking neuromorphic networks45, as well as neuronal culture experiments32, avalanche statistics match that of a branching process64, a member of the universality class of directed percolation (τ = 1.5, α = 2, 1/στz = 2).

While ordered attractor (λ < 0) states in models of networks of voltage-controlled memristors under alternating polarity stimuli have previously been observed65, the diverse edge-of-chaos and chaotic dynamics of neuromorphic NWNs have not been previously shown in memristive networks. Unlike certain types of memristors66, individual junctions driven by periodic stimuli are incapable of exhibiting chaos, but chaos emerges in these networks due to strong recurrent coupling between components67. This requires an alternating polarity pulse where activation and de-activation are both strongly driven: for unipolar periodic pulses only λ ≤ 0 is found. As the ‘edge-of-chaos’ (λ ≈ 0) can be reached in a strongly driven regime (high f), it does not necessarily coexist with ‘avalanche critical’ states. Avalanche distributions (P(S) and P(T)) near λ ≈ 0 do not follow power-laws (Supplementary Fig. 15): power-law fits fail Kolmogorov–Smirnov test unless range of fit is made very small (\({x}_{\max }/{x}_{\min }\) 2), unlike the DC case at V* = 1. This deviation may be attributed to the fast driving signal which ensures activity is injected into the network at a non-uniform rate while avalanches propagate, breaking time-scale separation between driving and network feedback (avalanches), obfuscating the distinction between consecutive avalanches. This reinforces the point often overlooked in neural network models that despite often coinciding68, activity propagation (avalanche) and order-chaos transitions are distinct69.

The observation of optimal overall performance on the non-linear transformation task at the ‘edge-of-chaos’ corroborates the popular hypothesis of robustness of information processing near phase transitions31 and is consistent with simulations in other types of recurrent networks36,37,38. Despite this, the task dependence of accuracy is striking. For the simplest task (transformation to sine wave) the ‘edge-of-chaos’ state afforded no computational advantage. On the other hand, the greatest pay-off from the ‘edge-of-chaos’ state was found for the most dissimilar target wave-forms (double frequency, phase shifted). This result corroborates a previous study using a spiking neuromorphic network that found critical dynamics maximises the abstract properties of the system (auto-correlation time, susceptibility and information theoretic measures) and hence, performance in tasks of non-trivial computational complexity, yet for simpler tasks ordered dynamical states (away from criticality) may perform more optimally45.

Neuromorphic NWNs may be utilised for a range of information processing tasks. Information may be stored in memristive junction pathways for static tasks such as associative memory22 and image classification26. However, it is the coupling of memristive junctions with recurrent network topology that makes NWNs ideal for temporal information processing when implemented in a reservoir computing framework, such as signal transformation24,25,27 and non-linear time-series forecasting26,70. These applications suggest NWNs are a promising neuromorphic system for adaptive signal processing of streaming data.

The rich dynamical behaviour revealed here may be observed on other network topologies, provided networks are highly recurrent and disordered. Recurrent networks have many short loops71, allowing junctions to be strongly coupled (e.g. short loops in Fig. 2b which are coupled by Kirchoff’s laws), thus generating the diverse range of time scales for avalanche events and chaotic dynamics to be observable. This recurrent topology is important for information processing in networks, such as recurrent neural networks52,71. Disorder ensures spatio-temporal inhomogeneity of the voltage distribution, maximising the degrees of freedom of networks. Understanding how to harness network structure for optimal information processing provides an exciting future challenge for neuromorphic network research.

In conclusion, neuromorphic NWNs respond adaptively and collectively to electrical stimuli and undergo a first-order phase transition in conductance at a threshold voltage determined by the shortest path length between electrodes. Due to recurrent loops in the network, junctions switch collectively as avalanches. These avalanches are consistent with avalanche criticality at the critical voltage. At higher voltages, anomalously large avalanches coexist with avalanches spanning a range of scales. Under alternating polarity stimuli, networks can be tuned between ordered and chaotic dynamical regimes. The edge-of-chaos is the most robust dynamical regime for information processing over a range of task complexities. These results suggest that neuromorphic NWNs can be tuned into regimes with diverse, brain-like collective dynamics2,35, which may be leveraged to optimise information processing.



NWNs were modelled (Supplementary Fig. 1a) by randomly placing lines of varying length (randomly sampled from a gamma distribution with mean 10 μm and standard deviation 1 μm) and angular distribution (sampled uniformly on [0, π]) on an 30 × 30 μm2 grid (centre locations sampled from a uniform distribution).

The network was converted to a graph representation (Supplementary Fig. 1b) in which nodes and edges correspond to equipotential nanowires and AgPVPAg junctions, respectively. The largest connected component was used in the simulations. Unless stated otherwise, a network with 100 nanowires and 261 junctions was used.

A voltage bias is applied between source and drain nodes (chosen at opposite ends of the network) and the model solves Kirchoff’s laws to calculate the voltages Vjn(t) across each junction at each time point. At each junction (edge), electrochemical metallisation is phenomenologically modelled with a conductive filament parameter (Λ(t)). The filament parameter is restricted to the interval \(-{{{\Lambda }}}_{\max }\le {{\Lambda }}(t)\le {{{\Lambda }}}_{\max }\) and dynamically evolves according to a threshold-driven bipolar memristive switch model (Fig. 9, Eq. (5))41,72:

$$\frac{d{{\Lambda }}}{dt}=\left\{\begin{array}{ll}\kern-0.5pc (| {V}_{{\rm{jn}}}(t)| -{V}_{{\rm{set}}})\ \,{\text{sgn}}\,({\rm{V}}_{{\rm{jn}}}(t))&| {V}_{{\rm{jn}}}(t)| \,> \,{V}_{{\rm{set}}}\\ \kern-9.5pc 0&\kern1.9pc{V}_{{\rm{reset}}}\,<\,| V(t)| \,<\,{V}_{{\rm{set}}}\\ b\ (| {V}_{{\rm{jn}}}(t)| -{V}_{{\rm{reset}}})\ \,{\text{sgn}}\,({{\Lambda }}(t))&\kern0.2pc{V}_{{\rm{reset}}}\,> \,| {V}_{{\rm{jn}}}(t)| \\ \kern-9.5pc0&\kern-1.1pc| {{\Lambda }}| \ge {{{\Lambda }}}_{\max }\end{array}\right.$$

Junction conductance (cf. Fig. 1b, c) is modelled as a constant residual resistance of the insulating PVP layer (Rr), in parallel with constant filamentary resistance (\({R}_{{\rm{f}}}={{\rm{G}}}_{0}^{-1}\ll {R}_{r}\)) and Λ-dependent tunnelling resistance (Rt),

$$G({{\Lambda }})=\frac{1}{{R}_{{\rm{t}}}({{\Lambda }})+{R}_{{\rm{f}}}}+\frac{1}{{R}_{{\rm{off}}}}$$

with tunnelling conductance Gt calculated using the low voltage Simmon’s formula (Eq. (7)) for a MIM junction73.

$$\begin{array}{ll}{G}_{t}&\kern-11.3pc={[{R}_{{\rm{t}}}({{\Lambda }})]}^{-1}\\ &=\frac{3{(2{m}_{* })}^{1/2}{e}^{5/2}{(\phi /e)}^{1/2}}{A2{h}^{2}{s}^{2}}\exp \Big\{-\frac{4\pi {(2{m}_{* }e)}^{1/2}}{h}s{\left(\frac{\phi }{e}\right)}^{1/2}\Big\}\end{array}$$
$$s=\max \left[\left({{{\Lambda }}}_{{\rm{crit}}}-| {{\Lambda }}| \right)\frac{{s}_{\max }}{{{{\Lambda }}}_{{\rm{crit}}}}\ ,\ 0\right]$$

with effective mass m* = 0.99me and PVP layer (assumed homogeneous) thickness \({s}_{\max }=5\ \,\text{nm}\,\). The potential barrier ϕ = 0.82 eV is the difference between Fermi levels of PVP and Ag. A = (0.41 nm)2 = 0.17 nm2 is the area of a face of the silver unit cell. Nanowire resistance is considered negligible compared to junction resistance11. Gt thus introduces an additional non-linear dependence on V, through the filament growth parameter s = s(Λ(V)), that modulates junction switching due to filament formation (cf. Supplementary Fig. 20).

Fig. 9: Pictorial representation of filament formation model.

Evolution of Λ(t) (vertical axis) as a function of junction voltage Vjn (horizontal axis) in threshold memristor junction model (Eq. (5)). Arrows are proportional to filament growth rate (dΛ/dt) and point in the direction of filament growth. When VresetVjnVset, or \(| {{\Lambda }}| ={{{\Lambda }}}_{\max }\), dΛ/dt = 0.

Free parameters are chosen such that activation time is comparable to experiment. Values used are Vset = 0.01 V, Vreset = Vset/2, Λcrit = 0.01 Vs, \({{{\Lambda }}}_{\max }=0.015\ \)Vs, \({R}_{{\rm{off}}}=1{0}^{3}{({{\rm{G}}}_{0})}^{-1}=12.9\ \)MΩ, \({R}_{{\mathrm{f}}}={({{\mathrm{G}}}_{0})}^{-1}=12.9\ \)kΩ and b = 10. For the Lyapunov analysis and non-linear transformation task Vset = Vreset was used. Simulations use the Euler method with time-step dt = 10−3 s. The effect of model parameters on results presented here is discussed in Supplementary Information.


Physical NWNs were synthesised with the polyol process74 using 1,2-propyleneglycol (PG) as an oxidising agent for silver nitrate (AgNO3) and were drop-cast onto a glass substrate12. NWN size was 500 × 500 μm. Nanowires had mean length 7.0 ± 2.4 μm, diameter 500 ± 100 nm and density ≈ 0.1 nw/μm2 determined with a high amplification optical microscope. The PVP-coating thickness is 1.2 ± 0.5 nm12. Networks were electrically stimulated with pre-patterned rectangular gold electrodes of width 500 μm and current was read out using an in-house amplification system12 at a sampling rate of 1 kHz.

Avalanche analysis

For simulation, an event is defined as when \(\frac{1}{{G}_{{\rm{jn}}}}| \frac{{{\Delta }}{G}_{{\rm{jn}}}}{dt}|\) exceeds a certain threshold (10−3 s−1) before returning below the threshold. A similar procedure was applied to experimental data using the network level (rather than junction level) conductance time-series, with an event defined as when \(\frac{1}{{G}_{{\rm{nw}}}}| \frac{{{\Delta }}{G}_{{\rm{nw}}}}{dt}|\) exceeds 1 s−1 before returning below the threshold, or when ΔGnw, exceeds a threshold 5 × 10−8 S before returning below the threshold. Changing the event detection threshold leads to negligible change of avalanche statistics.

As in studies of avalanches in neural cultures32 and nanoparticle networks34, the natural choice of frame (Δt) is the average inter-event-interval, 〈IEI〉, over the time-scale that events occur, where IEI is the time between adjacent events. Effect of changing frame on avalanche statistics is shown in Supplementary Fig. 16. Avalanche size and life-time distributions, P(S) and P(T), were binned linearly for simulations (logarithmically for experiments due to poorer resolution of the tail) and fit using a Maximum Likelihood (ML) power-law fit (P(x) xσ). Scaling exponent (σ) were determined to precision 10−2, lower (\({x}_{\min }\)) and upper (\({x}_{\max }\)) cut-offs75 were determined to nearest integer. Statistical significance of the ML fit was tested using the Kolmogorov–Smirnov (KS) test76. 500 synthetic data sets were generated from the distribution of the ML fit. The KS distance between each and the ML fit, was compared with the KS distance between the empirical (simulation or experiment) data and the ML fit. The p value is the fraction of fits where the KS distance is smaller for the empirical data than the synthetic data. In all cases where power-laws were presented above, the null hypothesis that data followed a doubly truncated power-law was accepted to the chosen statistical significant (p > 0.5). For power-law fits with p > 0.5, no significant change was found to exponents (within uncertainties) for different \({x}_{\min }\) and \({x}_{\max }\) values up to a cut-off determined by system size (Supplementary Fig. 17). Hence, \({x}_{\min }\) and \({x}_{\max }\) are chosen such that \({\mathrm{log}}\,({x}_{\max }/{x}_{\min })\) is maximised for fits with p > 0.5. As average avalanche size (〈S〉(T)) is not in the form of a probability distribution (so ML methods do not apply), it was fit using linear regression on a log-log plot.

In simulation, as networks converge to a steady-state under constant DC bias (cf. Fig. 2), to generate avalanches, either a voltage pulse is applied to a network in a steady state (allowing certain junctions to activate/deactivate, subsequently triggering avalanches of other switching junctions), or junctions are manually perturbed by changing their state (e.g. switching them from high Gjn to low Gjn or vice versa). Results based on the former method are presented here. Avalanches are calculated from the transients as networks relax to their steady state using the binning method described above. To obtain enough statistics to sample the avalanche statistical distributions an ensemble of 1000 randomly generated networks of physical dimensions 150 × 150 μm2 (100 × 100 μm2 for Fig. 5), density 0.10 nw (μm)−2 and with nanowire length 10 ± 1 μm were simulated for 30 s each starting from all filament states from Λ = 0. All nanowires with physical centre location within 2.5% (3.75 μm for this network size) of top of network were selected as source electrodes. All nanowires with physical centre location within 2.5% of bottom of network were selected as drain electrodes. This ensured the whole network is stimulated, reducing finite-size effects.

In experiment, noise and junction breakdown events12 perturb networks from their steady-state allowing spontaneous initiation of avalanches at constant voltage. NWNs were stimulated with DC biases of gradually increasing voltage (with waiting time of 3 h between measurements) until the switching threshold was determined. The network was then stimulated with a voltage just above threshold for 1000 s, or until current exceeded 8 × 10−5 A (to prevent network damage), recording data at 30 kHz. This was repeated 3 times (with 3 h wait between measurements) on the same network. Time-series are truncated, first by excluding initial times for which network current I < 1 × 10−8 A and then between the first and last detected event. Avalanche statistics from all data-sets (at fixed voltage just above threshold) were combined to produce avalanche statistical distributions. Combining data-sets is valid under the assumption that avalanches at fixed voltage on an individual network follow the same statistical distribution.

Unlike in simulations, in experimental data, switching activity and avalanches in sub-threshold networks cannot be identified as they fall below the experimental noise floor. In contrast, junction conductance time-series can be simulated at all voltages. Examples of both experimental and simulated avalanches are shown in Supplementary Fig. 18.

Lyapunov analysis

A triangular wave of period T was applied for a simulation time of 3000 s to allow the network to converge to an attractor. The perturbation method50 was used to calculate the maximal Lyapunov exponent, λ. Briefly, the procedure was:

  1. (1)

    Perturb filament state (Λi) of i-th junction in network by ϵ = 5 × 10−4 Vs.

  2. (2)

    Simultaneously evolve perturbed and unperturbed networks by one time-step (dt = 5 × 10−4 s) to obtain perturbed Λp(t) (filament states for each junction) and unperturbed Λu(t) state vectors.

  3. (3)

    Compute Euclidean distance, γ(t) = Λp(t) − Λu(t), and re-normalise perturbed state vector Λp(t) to \({{\boldsymbol{\Lambda }}}_{{\rm{u}}}(t)+\frac{\epsilon }{\gamma (t)}({{\boldsymbol{\Lambda }}}_{{\rm{p}}}(t)-{{\boldsymbol{\Lambda }}}_{{\rm{u}}}(t))\).

  4. (4)

    Repeat steps 2 and 3 until end of period. Average over all time-steps to obtain junction Lyapunov exponent \({\lambda }_{{\rm{j}}}(T)=\frac{1}{dt}{\langle {\mathrm{ln}}\,\left(\gamma (t)/\epsilon \right)\rangle }_{t}\).

  5. (5)

    Repeat step 4 until λj(T) converges to within error tolerance (λj(T) − λj(T − 1) < 10−2 s−1)

  6. (6)

    Repeat steps 1–5 for all junctions. Average over λj to obtain network Lyapunov exponent λ = 〈λj〉.

Note, Lyapunov analysis is only performed under periodic driving where network converges to time-varying attractor. Under constant DC voltage where network converges to a steady-state λ is not as well defined.

Non-linear transformation task

Following the reservoir computing implementation analysed in previous studies26,27, junction filament states were pre-initialised to the starting values used in Lyapunov analysis, and network was driven by AC triangular wave for 80 s. Target waves T(t) were sine-wave, square wave, double frequency triangular wave, and triangular wave phase shifted by π/2. Absolute voltage (vi for i-th node) of each of the n nanowires were used as reservoir readout signals, V(t) = [v1(t), v2(t),...,vn(t)], with corresponding weights \({\boldsymbol{\Theta }}={[{{{\Theta }}}_{1},{{{\Theta }}}_{2},...,{{{\Theta }}}_{n}]}^{T}\). The network’s output signal is y(t) = V(t) Θ. Weights were trained using linear regression to minimise the cost-function \(J({\boldsymbol{\Theta }})=\mathop{\sum }\nolimits_{m = 1}^{M}{(T({t}_{m})-y({t}_{m}))}^{2}\), over all time-points. Performance accuracy of the task is quantified by 1-RNMSE (Eq. (9)), where RNMSE is the root-normalised mean-squared error.

$$\,{\text{RNMSE}}\,=\sqrt{\frac{J({\boldsymbol{\Theta }})}{\mathop{\sum }\limits_{m=1}^{M}{[T({t}_{m})]}^{2}}}$$

Data availability

Experimental data generated in this study have been provided as a Source Data file. Source data are provided with this paper.

Code availability

Code to perform all simulations, process experimental data and generate all figures is on the repository


  1. 1.

    Bullmore, E. & Sporns, O. Complex brain networks: Graph theoretical analysis of structural and functional systems. Nat. Rev. Neurosci. 10, 186–198 (2009).

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  2. 2.

    Chialvo, D. R. Emergent complex neural dynamics. Nat. Phys. 6, 744–750 (2010).

    CAS  Article  Google Scholar 

  3. 3.

    Waser, R. & Aono, M. Nanoionics-based resistive switching memories. Nat. Mater. 6, 833–840 (2007).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  4. 4.

    Zhu, J., Zhang, T., Yang, Y. & Huang, R. A comprehensive review on emerging artificial neuromorphic devices. Appl. Phys. Rev. 7, 011312 (2020).

    ADS  CAS  Article  Google Scholar 

  5. 5.

    Chua, L. Memristor-The Missing Circuit Element. IEEE Trans. Circuit Theory 18, 507–519 (1971).

    Article  Google Scholar 

  6. 6.

    Ohno, T. et al. Short-term plasticity and long-term potentiation mimicked in single inorganic synapses. Nat. Mater. 10, 591–595 (2011).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  7. 7.

    Yang, J. J., Strukov, D. B. & Stewart, D. R. Memristive devices for computing. Nat. Nanotechnol. 8, 13–24 (2013).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  8. 8.

    Serb, A. et al. Unsupervised learning in probabilistic neural networks with multi-state metal-oxide memristive synapses. Nat. Commun. 7, 1–9 (2016).

    Article  CAS  Google Scholar 

  9. 9.

    Yao, P. et al. Fully hardware-implemented memristor convolutional neural network. Nature 577, 641–646 (2020).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  10. 10.

    Avizienis, A. V. et al. Neuromorphic atomic switch networks. PLoS ONE 7, e42772 (2012).

    ADS  CAS  PubMed  PubMed Central  Article  Google Scholar 

  11. 11.

    Bellew, A. T., Manning, H. G., Gomes da Rocha, C., Ferreira, M. S. & Boland, J. J. Resistance of single ag nanowire junctions and their role in the conductivity of nanowire networks. ACS Nano 9, 11422–11429 (2015).

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  12. 12.

    Diaz-Alvarez, A. et al. Emergent dynamics of neuromorphic nanowire networks. Sci. Rep. 9, 14920 (2019).

    ADS  PubMed  PubMed Central  Article  CAS  Google Scholar 

  13. 13.

    Kuncic, Z. & Nakayama, T. Neuromorphic nanowire networks: principles, progress and future prospects for neuro-inspired information processing. Adv. Phys.: X 6, 1894234 (2021).

    Google Scholar 

  14. 14.

    Loeffler, A. et al. Topological properties of neuromorphic nanowire networks. Front. Neurosci. 14, 3 (2020).

    Google Scholar 

  15. 15.

    Lynn, C. W. & Bassett, D. S. The physics of brain network structure, function and control. Nat. Rev. Phys. 1, 318–332 (2019).

    Article  Google Scholar 

  16. 16.

    Milano, G., Porro, S., Valov, I. & Ricciardi, C. Recent developments and perspectives for memristive devices based on metal oxide nanowires. Adv. Electron. Mater. 5, 1800909 (2019).

    Article  CAS  Google Scholar 

  17. 17.

    Sandouk, E. J., Gimzewski, J. K. & Stieg, A. Z. Multistate resistive switching in silver nanoparticle films. Sci. Technol. Adv. Mater. 16, 045004 (2015).

    PubMed  PubMed Central  Article  CAS  Google Scholar 

  18. 18.

    Manning, H. G. et al. Emergence of winner-takes-all connectivity paths in random nanowire networks. Nat. Commun. 9, 1–9 (2018).

    ADS  CAS  Article  Google Scholar 

  19. 19.

    Li, Q. et al. Dynamic electrical pathway tuning in neuromorphic nanowire networks. Adv. Funct. Mater. 30, 2003679 (2020).

    CAS  Article  Google Scholar 

  20. 20.

    Milano, G. et al. Brain-inspired structural plasticity through reweighting and rewiring in multi-terminal self-organizing memristive nanowire networks. Adv. Intell. Syst. 2, 2000096 (2020).

    Article  Google Scholar 

  21. 21.

    Pershin, Y. V. & Di Ventra, M. Self-organization and solution of shortest-path optimization problems with memristive networks. Phys. Rev. E 88, 1–8 (2013).

    Article  CAS  Google Scholar 

  22. 22.

    Diaz-Alvarez, A., Higuchi, R., Li, Q., Shingaya, Y. & Nakayama, T. Associative routing through neuromorphic nanowire networks. AIP Adv. 10, 025134 (2020).

    ADS  Article  Google Scholar 

  23. 23.

    Tanaka, G. et al. Recent advances in physical reservoir computing: a review. Neural Netw. 115, 100–123 (2019).

    PubMed  Article  PubMed Central  Google Scholar 

  24. 24.

    Sillin, H. O. et al. A theoretical and experimental study of neuromorphic atomic switch networks for reservoir computing. Nanotechnology 24, 384004 (2013).

    PubMed  Article  CAS  PubMed Central  Google Scholar 

  25. 25.

    Demis, E. C. et al. Nanoarchitectonic atomic switch networks for unconventional computing. Jpn. J. Appl. Phys. 55, 1102B2 (2016).

    Article  CAS  Google Scholar 

  26. 26.

    Kuncic Z. et al. Neuromorphic Information Processing with Nanowire Networks. 2020 IEEE International Symposium on Circuits and Systems (ISCAS). 10. (2020).

  27. 27.

    Fu, K. et al. Reservoir Computing with Neuromemristive Nanowire Networks. 2020 International Joint Conference on Neural Networks (IJCNN). 7. (2020).

  28. 28.

    Zhu, R. et al. Information dynamics in neuromorphic nanowire networks. Sci. Rep., in print, (2021).

  29. 29.

    Muñoz, M. A. Colloquium: Criticality and dynamical scaling in living systems. Rev. Mod. Phys. 90, 031001 (2018).

    ADS  MathSciNet  Article  Google Scholar 

  30. 30.

    Bak, P., Tang, C. & Wiesenfeld, K. Self-organized criticality: an explanation of the 1/ f noise. Phys. Rev. Lett. 59, 381–384 (1987).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  31. 31.

    Langton, C. G. Computation at the edge of chaos: phase transitions and emergent computation. Phys. D. 42, 12–37 (1990).

    MathSciNet  Article  Google Scholar 

  32. 32.

    Beggs, J. M. & Plenz, D. Neuronal avalanches in neocortical circuits. J. Neurosci. 23, 11167–11177 (2003).

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  33. 33.

    Friedman, N. et al. Universal critical dynamics in high resolution neuronal avalanche data. Phys. Rev. Lett. 108, 208102 (2012).

    ADS  PubMed  Article  CAS  PubMed Central  Google Scholar 

  34. 34.

    Mallinson, J. B. et al. Avalanches and criticality in self-organized nanoscale networks. Sci. Adv. 5, eaaw8438 (2019).

    ADS  CAS  PubMed  PubMed Central  Article  Google Scholar 

  35. 35.

    Dahmen, D., Grün, S., Diesmann, M. & Helias, M. Second type of criticality in the brain uncovers rich multiple-neuron dynamics. Proc. Natl Acad. Sci. 116, 13051–13060 (2019).

    CAS  PubMed  PubMed Central  Article  Google Scholar 

  36. 36.

    Bertschinger, N. & Natschläger, T. Real-time computation at the edge of chaos in recurrent neural networks. Neural Comput. 16, 1413–1436 (2004).

    PubMed  MATH  Article  PubMed Central  Google Scholar 

  37. 37.

    Boedecker, J., Obst, O., Lizier, J. T., Mayer, N. M. & Asada, M. Information processing in echo state networks at the edge of chaos. Theory Biosci. 131, 205–213 (2012).

    PubMed  Article  PubMed Central  Google Scholar 

  38. 38.

    Snyder, D., Goudarzi, A. & Teuscher, C. Computational capabilities of random automata networks for reservoir computing. Phys. Rev. E 87, 042808 (2013).

    ADS  Article  CAS  Google Scholar 

  39. 39.

    Stieg, A. Z. Emergent criticality in complex Turing B-type atomic switch networks. Adv. Mater. 24, 286–293 (2012).

    CAS  PubMed  Article  PubMed Central  Google Scholar 

  40. 40.

    Caravelli, F. & Carbajal, J. Memristors for the curious outsiders. Technologies 6, 118 (2018).

    Article  Google Scholar 

  41. 41.

    Kuncic Z., et al. Emergent brain-like complexity from nanowire atomic switch networks: towards neuromorphic synthetic intelligence. 2018 IEEE 18th International Conference on Nanotechnology (IEEE-NANO). 7. (2018).

  42. 42.

    Caravelli, F. Locality of interactions for planar memristive circuits. Phys. Rev. E 96, 52206 (2017).

    ADS  CAS  Article  Google Scholar 

  43. 43.

    Slipko, V. A., Shumovskyi, M. & Pershin, Y. V. Switching synchronization in one-dimensional memristive networks. Phys. Rev. E 92, 052917 (2015).

    ADS  MathSciNet  Article  CAS  Google Scholar 

  44. 44.

    Slipko, V. A. & Pershin, Y. V. Switching synchronization in one-dimensional memristive networks: an exact solution. Phys. Rev. E 96, 062213 (2017).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  45. 45.

    Cramer, B. et al. Control of criticality and computation in spiking neuromorphic networks with plasticity. Nat. Commun. 11, 2853 (2020).

    ADS  CAS  PubMed  PubMed Central  Article  Google Scholar 

  46. 46.

    Sethna, J. P., Dahmen, K. A. & Myers, C. R. Crackling noise. Nature 410, 242–250 (2001).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  47. 47.

    Touboul, J. & Destexhe, A. Power-law statistics and universal scaling in the absence of criticality. Phys. Rev. E 95, 012413 (2017).

    ADS  PubMed  Article  PubMed Central  Google Scholar 

  48. 48.

    Cardy, J. Scaling and Renormalization in Statistical Physics. 4 (Cambridge University Press, 1996).

  49. 49.

    Pruessner, G. Self-Organised Criticality. (Cambridge University Press, Cambridge, 2012).

    MATH  Book  Google Scholar 

  50. 50.

    Sprott, J. C. Chaos and Time-Series Analysis. (Oxford University Press, Oxford, United Kingdom, 2003).

    MATH  Google Scholar 

  51. 51.

    Jaeger, H. Tutorial on training recurrent neural networks, covering BPPT, RTRL, EKF and the echo state network approach. GMD-Forschungszentrum Informationstechnik 5, 1 (2002).

    Google Scholar 

  52. 52.

    Verstraeten, D., Schrauwen, B., D’Haene, M. & Stroobandt, D. An experimental unification of reservoir computing methods. Neural Netw. 20, 391–403 (2007).

    CAS  PubMed  MATH  Article  PubMed Central  Google Scholar 

  53. 53.

    Sheldon, F. C. & Di Ventra, M. Conducting-insulating transition in adiabatic memristive networks. Phys. Rev. E 95, 1–11 (2017).

    Article  Google Scholar 

  54. 54.

    Fostner, S. & Brown, S. A. Neuromorphic behavior in percolating nanoparticle films. Phys. Rev. E 92, 052134 (2015).

    ADS  Article  CAS  Google Scholar 

  55. 55.

    Eugene Stanley, H. Introduction to Phase Transitions and Critical Phenomena. (Oxford University Press, 1987).

  56. 56.

    Sethna, J. P. et al. Hysteresis and hierarchies: Dynamics of disorder-driven first-order phase transformations. Phys. Rev. Lett. 70, 3347–3350 (1993).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  57. 57.

    Scarpetta, S., Apicella, I., Minati, L. & de Candia, A. Hysteresis, neural avalanches, and critical behavior near a first-order transition of a spiking neural network. Phys. Rev. E 97, 062305 (2018).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  58. 58.

    Stieg, A. Z. et al. Self-organized atomic switch networks. Jpn. J. Appl. Phys. 53, 01AA02 (2014).

    CAS  Article  Google Scholar 

  59. 59.

    Santo, S., Burioni, R., Vezzani, A. & Muñoz, M. A. Self-organized bistability associated with first-order phase transitions. Phys. Rev. Lett. 116, 240601 (2016).

    PubMed  Article  CAS  PubMed Central  Google Scholar 

  60. 60.

    Fosque, L. J., Williams-García, R. V., Beggs, J. M. & Ortiz, G. Evidence for quasicritical brain dynamics. Phys. Rev. Lett. 126, 098101 (2021).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  61. 61.

    Buendía, V., Santo, S., Bonachela, J. A. & Muñoz, M. A. Feedback mechanisms for self-organization to the edge of a phase transition. Front. Phys. 8, 9 (2020).

    Article  Google Scholar 

  62. 62.

    Pike, M. D. et al. Atomic scale dynamics drive brain-like avalanches in percolating nanostructured networks. Nano Lett. 20, 3935–3942 (2020).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  63. 63.

    O’Callaghan, C. et al. Collective capacitive and memristive responses in random nanowire networks: emergence of critical connectivity pathways. J. Appl. Phys. 124, 152118 (2018).

    ADS  Article  CAS  Google Scholar 

  64. 64.

    Zapperi, S., Lauritsen, K. B. & Stanley, H. E. SelF-organized Branching Processes: Mean-field Theory for Avalanches. Phys. Rev. Lett. 75, 4071–4074 (1995).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  65. 65.

    Pershin, Y. V. & Slipko, V. A. Dynamical attractors of memristors and their networks. EPL 125, 20002 (2019).

    ADS  Article  CAS  Google Scholar 

  66. 66.

    Kumar, S., Strachan, J. P. & Williams, R. S. Chaotic dynamics in nanoscale NbO2 Mott memristors for analogue computing. Nature 548, 318–321 (2017).

    ADS  CAS  PubMed  Article  PubMed Central  Google Scholar 

  67. 67.

    Sprott, J. C. Chaotic dynamics on large networks. Chaos 18, 023135 (2008).

    ADS  MathSciNet  CAS  PubMed  Article  PubMed Central  Google Scholar 

  68. 68.

    Haldeman, C. & Beggs, J. M. Critical branching captures activity in living neural networks and maximizes the number of metastable states. Phys. Rev. Lett. 94, 058101 (2005).

    ADS  PubMed  Article  CAS  PubMed Central  Google Scholar 

  69. 69.

    Kanders, K., Lorimer, T. & Stoop, R. Avalanche and edge-of-chaos criticality do not necessarily co-occur in neural networks. Chaos 27, 047408 (2017).

    ADS  MathSciNet  PubMed  Article  PubMed Central  Google Scholar 

  70. 70.

    Zhu, R. et al. Harnessing adaptive dynamics in neuro-memristive nanowire networks for transfer learning. 2020 International Conference on Rebooting Computing (ICRC). (2020).

  71. 71.

    Maass, W., Natschläger, T. & Markram, H. Real-time computing without stable states: a new framework for neural computation based on perturbations. Neural Comput. 14, 2531–2560 (2002).

    PubMed  MATH  Article  PubMed Central  Google Scholar 

  72. 72.

    Pershin, Y. V., Slipko, V. A. & Di Ventra, M. Complex dynamics and scale invariance of one-dimensional memristive networks. Phys. Rev. E 87, 022116 (2013).

    ADS  Article  CAS  Google Scholar 

  73. 73.

    Simmons, J. G. Generalized formula for the electric tunnel effect between similar electrodes separated by a thin insulating film. J. Appl. Phys. 34, 1793–1803 (1963).

    ADS  Article  Google Scholar 

  74. 74.

    Sun, Y., Mayers, B., Herricks, T. & Xia, Y. Polyol synthesis of uniform silver nanowires: a plausible growth mechanism and the supporting evidence. Nano Lett. 3, 955–960 (2003).

    ADS  CAS  Article  Google Scholar 

  75. 75.

    Marshall, N. et al. Analysis of power laws, shape collapses, and neural complexity: new techniques and MATLAB support via the NCC toolbox. Front. Physiol. 7(June), 1–18 (2016).

    Google Scholar 

  76. 76.

    Clauset, A., Shalizi, C. R. & Newman, M. Power-law distributions in empirical data. SIAM Rev. 51, 661–703 (2009).

    ADS  MathSciNet  MATH  Article  Google Scholar 

Download references


The authors acknowledge use of the Artemis High Performance Computing resource at the Sydney Informatics Hub, a Core Research Facility of the University of Sydney.

Author information




J.H. and Z.K. conceived and designed the study. J.H., Z.K., R.Z. and A.L. developed the model. A.D.A. synthesised the networks and performed the experiments. J.H. performed the simulations and analysed the simulation and experimental results. T.N. conceived the system. Z.K. supervised the project. J.H. wrote the manuscript, with consultation from other authors.

Corresponding authors

Correspondence to Joel Hochstetter or Zdenka Kuncic.

Ethics declarations

Competing interests

The authors declare no competing interests.

Additional information

Peer review informationNature Communications thanks the anonymous reviewer(s) for their contribution to the peer review of this work. Peer reviewer reports are available.

Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Supplementary information

Source data

Rights and permissions

Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons license, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons license and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this license, visit

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Hochstetter, J., Zhu, R., Loeffler, A. et al. Avalanches and edge-of-chaos learning in neuromorphic nanowire networks. Nat Commun 12, 4008 (2021).

Download citation


By submitting a comment you agree to abide by our Terms and Community Guidelines. If you find something abusive or that does not comply with our terms or guidelines please flag it as inappropriate.


Quick links

Nature Briefing

Sign up for the Nature Briefing newsletter — what matters in science, free to your inbox daily.

Get the most important science stories of the day, free in your inbox. Sign up for Nature Briefing