Reproduce “Large Associative Memory Problem in Neurobiology and Machine Learning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Dmitry Krotov, John Hopfield

A framework for high-capacity associative memory is presented that relies exclusively on two-body synaptic interactions and a hidden neuron layer, addressing the biological implausibility of prior models with multi-body interactions. This work provides a principled derivation for existing architectures like Dense Associative Memory and modern Hopfield networks, demonstrating their connection to the attention mechanism in Transformers.

Key insights

  • High-capacity associative memories, including modern Hopfield networks, can be biologically plausible by interpreting apparent many-body interactions as effective descriptions of two-body interactions with hidden neurons.
  • The framework provides a principled derivation for the modern Hopfield network and the attention mechanism used in Transformer architectures, moving their understanding beyond heuristic design.
  • The increased memory capacity in these models stems from adding more hidden neurons and their connections, rather than requiring novel synaptic properties, consistent with information-counting arguments.
  • A novel 'Spherical Memory' model is introduced, which incorporates divisive normalization, a common neural computation, within the proposed framework.
  • The authors provide a rigorous proof that the network's energy function monotonically decreases over time, ensuring stability and convergence to stored memories.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.