Hyperbolic Associative Memory Networks
Boliang Hao, Bailing Zhang, Fangyu Wu
Abstract
Modern Hopfield Networks (MHNs) have achieved widespread success across various domains but are confined to Euclidean/Hilbert spaces, failing to preserve the hierarchical structure of data due to geometric constraints—arbitrary tree structures cannot be embedded with low distortion, while hyperbolic spaces can naturally accommodate hierarchical structures through exponential volume growth. To address this issue, we propose Hyperbolic Associative Memory Networks (HAMNs), the first framework to embed modern associative memory into hyperbolic space: we map query and memory vectors from Euclidean space to a constant negative curvature manifold via exponential maps, define a regularized energy function based on the Minkowski inner product, and adopt curvature-aware Riemannian optimization combined with exponential map updates to achieve stable on-manifold retrieval. We put forward a hierarchy-sensitivity hypothesis—HAMNs outperform Euclidean MHNs on data with deep hierarchies but exhibit comparable performance on data with weak or shallow hierarchies, which is validated by depth-controlled experiments and cross-level metrics. As a plug-and-play, model-agnostic module, HAMNs are suitable for the storage and retrieval of representations in task architectures requiring hierarchical understanding, instantiated with the Poincaré ball in experiments, and also applicable to any hyperbolic model with constant negative curvature. The code is available at https://github.com/hbl66/HAMNs.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Builds on8
- Hyperbolic Neural Networks++Ryohei Shimizu, Yusuke Mukuta, Tatsuya HaradaICLR 2021 · 791 citations
- Hopfield Networks is All You NeedHubert Ramsauer, Bernhard Schäfl, Johannes Lehner, Philipp Seidl et al.ICLR 2021 · 620 citations
- Large Associative Memory Problem in Neurobiology and Machine LearningDmitry Krotov, John J. HopfieldICLR 2021 · 202 citations
- Modern Hopfield Networks and Attention for Immune Repertoire ClassificationMichael Widrich, Bernhard Schäfl, Milena Pavlovic, Hubert Ramsauer et al.NeurIPS 2020 · 152 citations
- On Sparse Modern Hopfield ModelJerry Yao-Chieh Hu, Donglin Yang, Dennis Wu, Chenwei Xu et al.NeurIPS 2023 · 52 citations
Related papers
- Hyperbolic neural population geometry benefits computationDennis Wu, Yi-Chun Hung, Braden Yuille, James Fitzgerald et al.ICML 2026
- Ultrahyperbolic Representation LearningMarc T. Law, Jos StamNeurIPS 2020 · 28 citations
- Nested Hyperbolic Spaces for Dimensionality Reduction and Hyperbolic NN DesignXiran Fan, Chun-Hao Yang, Baba C. VemuriCVPR 2022
- Computationally Tractable Riemannian Manifolds for Graph EmbeddingsCalin Cruceru, Gary Bécigneul, Octavian-Eugen GaneaAAAI 2021 · 38 citations
- Adaptive Hyperbolic Kernels: Modulated Embedding in de Branges-Rovnyak SpacesLeping Si, Meimei Yang, Hui Xue, Shipeng Zhu et al.AAAI 2026
