Abstract

We propose a two-stage memory retrieval dynamics for modern Hopfield models, termed \(\mathtt\{U\text\{-\}Hop\}\), with enhanced memory capacity. Our key contribution is a learnable feature map \(\Phi\) which transforms the Hopfield energy function into kernel space. This transformation ensures convergence between the local minima of energy and the fixed points of retrieval dynamics within the kernel space. Consequently, the kernel norm induced by \(\Phi\) serves as a novel similarity measure. It utilizes the stored memory patterns as learning data to enhance memory capacity across all modern Hopfield models. Specifically, we accomplish this by constructing a separation loss \(\mathcal\{L\}_\Phi\) that separates the local minima of kernelized energy by separating stored memory patterns in kernel space. Methodologically, \(\mathtt\{U\text\{-\}Hop\}\) memory retrieval process consists of: (Stage I) minimizing separation loss for a more uniform memory (local minimum) distribution, followe

Authors

(none)

Tags

  • Image Retrieval

Stats

  • citations0
  • S2 citationsβ€”
  • github stars9
  • HF likes0
  • heat score2.00
  • arxiv keywu2024uniform

Related papers