Optimal information loading into working memory in prefrontal cortex explains dynamic coding

Jake P. Stroud, Kei Watanabe, Takafumi Suzuki, Mark G. Stokes, Máté LengyelbioRxiv 2021

Abstract

Working memory involves the short-term maintenance of information and is critical in many tasks. The neural circuit dynamics underlying working memory remain poorly understood, with different aspects of prefrontal cortical (PFC) responses explained by different putative mechanisms. By mathematical analysis, numerical simulations, and using recordings from monkey PFC, we investigate a critical but hitherto ignored aspect of working memory dynamics: information loading. We find that, contrary to common assumptions, optimal loading of information into working memory involves inputs that are largely orthogonal, rather than similar, to the persistent activities observed during memory maintenance, naturally leading to the widely observed phenomenon of dynamic coding in PFC. Using a novel, theoretically principled metric, we show that PFC exhibits the hallmarks of optimal information loading. We also find that optimal loading emerges as a general dynamical strategy in task-optimized recurrent neural networks. Our theory unifies previous, seemingly conflicting theories of memory maintenance based on attractor or purely sequential dynamics, and reveals a normative principle underlying dynamic coding.

Introduction: The Puzzle of Dynamic Coding

Traditional theories of working memory rely on attractor dynamics, where stable patterns of neural activity represent stored information. In this framework, the most efficient way to initiate a memory is through "pattern completion"—providing an input that closely matches the desired stable state. However, this model struggles to explain "dynamic coding" in the prefrontal cortex (PFC), where neural activity undergoes significant transient changes before stabilizing. This paper proposes that these transients are not noise, but the signature of optimal information loading into non-normal neural circuits.

Methods and Experimental Design

The researchers employed a three-pronged approach:

  1. Mathematical Modeling: They analyzed linear and nonlinear Recurrent Neural Networks (RNNs) to identify "most persistent modes" (memory states) and "most amplifying modes" (directions maximizing signal boost).
  2. Task-Optimized RNNs: Artificial networks were trained on a memory-guided saccade task, varying the cost functions to prioritize either immediate stability or "just-in-time" accuracy.
  3. In Vivo Electrophysiology: Data was analyzed from the lateral PFC of two macaque monkeys performing a memory-guided saccade task.
Experimental task paradigm: memory-guided saccade task in macaques.

To quantify the alignment of population activity, the authors developed a novel subspace overlap metric, measuring how activity shifts between "amplifying" and "persistent" directions over time.

Key Insights: Non-Normality and Orthogonality

A central finding is the importance of non-normality in biological circuits. In non-normal networks, the internal "flow" can amplify certain inputs. Paradoxically, the "most amplifying" inputs—those that lead to the strongest final memory state—are often nearly orthogonal to that final state. This means the optimal pattern for loading information looks fundamentally different from the pattern for maintaining it. Dynamic coding is thus the observable transition of the network state as it is steered by internal dynamics from an optimal loading state toward a stable attractor.

Results: The Signature of Optimal Loading

The study revealed a distinct "cross-over" signature in both monkey PFC and task-optimized RNNs. Initially, neural activity overlaps strongly with the amplifying subspace but poorly with the persistent subspace. As the delay progresses, this relationship flips.

Comparison of symmetric vs. unconstrained connectivity in RNNs and neural population dynamics.

Key findings include:

  • Performance Gains: Unconstrained (non-normal) networks using "most amplifying" inputs achieved significantly higher decoding accuracy at the end of the delay compared to those using "persistent" inputs, particularly in noisy environments.
  • Just-in-Time Strategy: Networks optimized for "just-in-time" performance naturally adopted this optimal loading strategy, whereas those forced into immediate stability resembled less efficient traditional attractor models.

Discussion and Conclusion

This theory unifies two previously conflicting views: "stable attractor" models and "sequential/liquid state" models. It demonstrates that a single circuit can utilize sequential-like dynamics for efficient loading and attractor-like dynamics for robust maintenance. While the current work focuses on relatively simple spatial tasks and relies partly on linear approximations, it establishes a normative principle for dynamic coding in the PFC, suggesting that the brain prioritizes efficient information loading over immediate stability.

Summary updated

BibTeX
@misc{stroud2021optimal,
  author = {Jake P. Stroud and Kei Watanabe and Takafumi Suzuki and Mark G. Stokes and Máté Lengyel},
  title = {{Optimal information loading into working memory in prefrontal cortex explains dynamic coding}},
  year = {2021},
  doi = {10.1101/2021.11.16.468360},
  howpublished = {bioRxiv},
}
Figure