On the Dynamics of Coherent Memory Structures in Neural Fields

Justin M. Baker, Harris Hardiman-Mostow, Yuer Tang, Andrea L. BertozziOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

This paper introduces a theoretical framework based on the Mori-Zwanzig (MZ) formalism to explain how coherent memory structures, like traveling waves, emerge in neural networks. The authors propose the Neural Wave Field (NWF) architecture, which uses time-dependent projections to achieve state-of-the-art performance on long-range memory tasks and neuroscience benchmarks while maintaining highly interpretable latent dynamics.

What Problem Does This Paper Address?

Recurrent Neural Networks (RNNs) often struggle to retain information over long timescales due to the "vanishing gradient" problem or the difficulty of compressing long histories into a fixed-size hidden state. While biological brains use elegant solutions like traveling waves and low-dimensional manifolds to coordinate activity, artificial systems usually lack a theoretical "why" for how these structures emerge during training.

Existing models often force these structures (like imposing a traveling wave), but they don't provide a data-driven explanation for the interaction between the latent state and the readout mechanism. The authors aim to bridge this gap by providing a mathematical framework that treats memory as a dynamic process of "projection" and "drift."

Methods

The researchers leverage the Mori-Zwanzig (MZ) projection-operator formalism, a technique originally from statistical mechanics used to describe how a high-dimensional system can be reduced to a few "resolved" variables.

Key innovations include:

  • Intrinsic Time-Dependent GLE: They derive a new version of the Generalized Langevin Equation (GLE) that accounts for "intrinsic" degrees of freedom. This allows the model to track how information is reorganized in latent space over time.
  • Neural Wave Field (NWF) Architecture: A biologically-inspired architecture that factorizes latent evolution into three parts:
  • A Fixed Lift: A shift operator that moves patterns through the latent state (like a traveling wave).
  • A Dynamics Expert: A module that learns the "drift" or how the latent state changes.
  • A Measure Expert: A module that learns a time-varying projection (readout) to extract stored information.
  • Coherence Regimes: They identify two ways memory works: Invariant Trivialization (where the wave does the work and the readout is fixed) and Projection-Induced Emergence (where the latent state is compressed/stationary and the readout "sweeps" across it to find information).

Datasets

The model was evaluated on a mix of synthetic benchmarks and real-world biological data:

  • Copy Task & Selective Copy Task: Standard benchmarks for testing long-range information retention.
  • BNCI IV-2a (EEG): Recordings from 9 subjects performing motor imagery tasks (e.g., imagining moving a hand or foot).
  • BNCI IV-4 (ECoG): Finger-flexion measurements from epilepsy patients using subdural electrode grids.
  • Lorenz Attractor: A classic chaotic dynamical system used to test if the model can reconstruct complex, non-periodic manifolds.

Key Insights and Ideas

  • Readout Matters as Much as State: The paper argues that "coherence" isn't just a property of the latent state; it emerges from the relationship between the state and the projection (readout). Even if a latent state is stationary, a moving readout can create a "wave-like" replay of memory.
  • The "Ghost Boundary": In the NWF architecture, new inputs are treated as "boundary conditions" injected into a 1D field, mimicking how sensory input enters specific layers of the cortex and flows downstream.
  • Minimal Dimension Efficiency: Unlike many deep learning models that rely on massive over-parameterization, the NWF maintains high accuracy even when the latent dimension is squeezed to the absolute theoretical minimum required for the task.

Key Results

  • Copy Tasks: The NWF maintained near 100% accuracy on the Copy Task even at the minimal latent dimension (d=10), significantly outperforming Mamba, RoPE, and Alibi as the latent space was constrained.
  • Neuroscience Applications: On the BNCI IV-2a (EEG) dataset, the NWF ranked as the second-best performer (74.31% accuracy), outperforming the specialized ShallowFBCSPNet. It achieved this using a highly compressed latent state (only 30 channels), proving that traveling-wave inductive biases are effective for decoding brain activity.
  • Chaotic Systems: The NWF successfully reconstructed the Lorenz attractor's trajectory, whereas baseline models like WaveRNN introduced significant distortion by trying to fit the data into a "toroidal" (circular) manifold.

Limitations and Future Work

The authors acknowledge two primary assumptions:

  1. Continuity of Measure: The framework assumes the "measure" (how we weight different parts of the latent state) changes smoothly. This makes it difficult to learn tasks like "ordered recall," where the output might need to jump abruptly.
  2. Differentiability: The math requires the projection operator to be differentiable, which might not hold for all complex cognitive tasks.

Future work aims to explore oscillatory models (beyond just traveling waves) as lifting mechanisms and to develop a framework that can handle discontinuous changes in the latent projection.

Summary updated

Abstract

Memory in biological neural networks is often supported by coherent spatiotemporal patterns, such as traveling waves and neural activity confined to low dimensional manifolds, which are captured at mesoscopic scales by continuum neural field models. Substantial progress has been made in mechanistically analyzing both biological and artificial neural network architectures. Recent works obtain interpretable latent states by imposing traveling waves or low-dimensional invariant manifolds, but typically do not provide data-driven explanations for when and why such structures emerge during task training. We develop a theoretical framework for studying latent dynamics based on the Mori-Zwanzig projection-operator formalism. Our approach casts memory as a family of time-dependent projections that reveal how coupled dynamics support memory encoding and decoding. We instantiate a neural-field-inspired architecture, and evaluate it on both long-range benchmarks and neuroscience applications involving EEG and ECoG prediction. Across these tasks, we observe robust long-range accuracy and interpretable memory modes in the learned latent dynamics.
BibTeX
@misc{baker2026dynamics,
  author = {Justin M. Baker and Harris Hardiman-Mostow and Yuer Tang and Andrea L. Bertozzi},
  title = {{On the Dynamics of Coherent Memory Structures in Neural Fields}},
  year = {2026},
  url = {https://openreview.net/forum?id=RanDLuKUQT},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure