Lune

NeurIPS2024Top-tier venue

Relating Hopfield Networks to Episodic Control

Hugo Chateau-Laurent, Frédéric Alexandre

Abstract

Neural Episodic Control is a powerful reinforcement learning framework that employs a differentiable dictionary to store non-parametric memories. It was inspired by episodic memory on the functional level, but lacks a direct theoretical connection to the associative memory models generally used to implement such a memory. We first show that the dictionary is an instance of the recently proposed Universal Hopfield Network framework. We then introduce a continuous approximation of the dictionary readout operation in order to derive two energy functions that are Lyapunov functions of the dynamics. Finally, we empirically show that the dictionary outperforms the Max separation function, which had previously been argued to be optimal, and that performance can further be improved by replacing the Euclidean distance kernel by a Manhattan distance kernel. These results are enabled by the generalization capabilities of the dictionary, so a novel criterion is introduced to disentangle memorization from generalization when evaluating associative memory models.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Models cites Hopfield Networks is All You Need
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on2

  1. Hopfield Networks is All You NeedHubert Ramsauer, Bernhard Schäfl, Johannes Lehner, Philipp Seidl et al.ICLR 2021 · 620 citations
  2. Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory ModelsBeren Millidge, Tommaso Salvatori, Yuhang Song, Thomas Lukasiewicz et al.ICML 2022 · 72 citations

Related papers

  1. Biological key-value memory networksDanil Tyulmankov, Ching Fang, Annapurna Vadaparty, Guangyu Robert YangNeurIPS 2021 · 3 citations
  2. Uniform Memory Retrieval with Larger Capacity for Modern Hopfield ModelsDennis Wu, Jerry Yao-Chieh Hu, Teng-Yun Hsiao, Han LiuICML 2024 · 44 citations
  3. General Sequential Episodic Memory ModelArjun Karuvally, Terrence J. Sejnowski, Hava T. SiegelmannICML 2023 · 9 citations
  4. Episodic Reinforcement Learning with Associative MemoryGuangxiang Zhu, Zichuan Lin, Guangwen Yang, Chongjie ZhangICLR 2020 · 56 citations
  5. Long Sequence Hopfield MemoryHamza Tahir Chaudhry, Jacob A. Zavatone-Veth, Dmitry Krotov, Cengiz PehlevanNeurIPS 2023 · 33 citations
Dusk over the sea between two cliffs drawn in fine vertical lines