cond-mat.dis-nnFeb 16, 2026

Drift-Diffusion Matching: Embedding dynamics in latent manifolds of asymmetric neural networks

Authors: Ramón Nartallo-Kaluarachchi, Renaud Lambiotte, Alain Goriely

Organizations: Mathematical Institute, University of Oxford, Woodstock Road, Oxford, OX2 6GG, United Kingdom · Centre for Eudaimonia and Human Flourishing, University of Oxford, 7 Stoke Pl, Oxford, OX3 9BX, United Kingdom · Complexity Science Hub, Metternichgasse 8, Vienna, 1030, Austria

Abstract

Recurrent neural networks (RNNs) provide a theoretical framework for understanding computation in biological neural circuits, yet classical results, such as Hopfield's model of associative memory, rely on symmetric connectivity that restricts network dynamics to gradient-like flows. In contrast, biological networks support rich time-dependent behaviour facilitated by their asymmetry. Here we introduce a general framework, which we term drift-diffusion matching, for training continuous-time RNNs to represent arbitrary, nonlinear stochastic differential equations (SDEs), with given drift and diffusion coefficients, within a low-dimensional latent subspace. Allowing asymmetric connectivity, we show that RNNs can faithfully embed the drift and diffusion of a given SDE, including nonlinear and nonequilibrium dynamics such as chaotic attractors. As an application, we construct RNN realisations of stochastic systems that transiently explore various attractors through both input-driven switching and autonomous transitions driven by nonequilibrium currents, which we interpret as models of associative and sequential (episodic) memory. To elucidate how these dynamics are encoded in the network, we introduce decompositions of the RNN based on its asymmetric connectivity and its time-irreversibility. Our results extend attractor neural network theory beyond equilibrium, showing that asymmetric neural populations can implement a broad class of dynamical computations within low-dimensional manifolds, unifying ideas from associative memory, nonequilibrium statistical mechanics, and neural computation.

Figures & tables

Appendix figures & tables5 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Dynamical stability for dense patterns in attractor neural networks

    Jul 14, 2025Uri Cohen, Máté LengyelDynamical SystemsNeural Processes

  2. Beyond Fixed Points: Superpolynomial Capacity of Asymmetric Hopfield Networks

    May 23, 2026Aakash Kumar, Anatoly Khina, Frederik Mallmann-Trenn +1Dynamical SystemsHopfield Networks

  3. Learning-Induced Dynamical Transition in Recurrent Neural Networks

    Sep 16, 2026Varun VaidyaDynamical SystemsRecurrent Neural Networks