mlsanityData to 14 Oct 2026

On Sparse Modern Hopfield Model

arXiv 2309.12673 ↗First posted 22 Sep 2023cs.LG cs.AI cs.CVcited by 42

Not on the map. Why?

Abstract (arXiv)

We introduce the sparse modern Hopfield model as a sparse extension of the modern Hopfield model. Like its dense counterpart, the sparse modern Hopfield model equips a memory-retrieval dynamics whose one-step approximation corresponds to the sparse attention mechanism. Theoretically, our key contribution is a principled derivation of a closed-form sparse Hopfield energy using the convex conjugate of the sparse entropic regularizer. Building upon this, we derive the sparse memory retrieval dynamics from the sparse energy function and show its one-step approximation is equivalent to the sparse-structured attention. Importantly, we provide a sparsity-dependent memory retrieval error bound which is provably tighter than its dense analog. The conditions for the benefits of sparsity to arise are therefore identified and discussed. In addition, we show that the sparse modern Hopfield model maintains the robust theoretical properties of its dense counterpart, including rapid fixed point convergence and exponential memory capacity. Empirically, we use both synthetic and real-world datasets to demonstrate that the sparse Hopfield model outperforms its dense counterpart in many situations.

Key facts. Cited by 42 papers in the map (data through 14 Oct 2026). Builds on 29 of its 73 references that are in the map. First posted on arXiv 22 Sep 2023.

Builds on

29 of 73 references.

References · 29

  1. 2017Attention Is All You Needcited by 60,361
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  5. 2020Longformer: The Long-Document Transformercited by 3,413
  6. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
  7. 2019Generating Long Sequences with Sparse Transformerscited by 1,546
  8. 2018Attention-based Deep Multiple Instance Learningcited by 1,095
  9. 2020Efficient Transformers: A Surveycited by 790
  10. 2019Deep Equilibrium Modelscited by 615
  11. 2020Hopfield Networks is All You Needcited by 475
  12. 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 341
17 more
  1. 2020Sparse Sinkhorn Attentioncited by 251
  2. 2016Dense Associative Memory for Pattern Recognitioncited by 236
  3. 2021AutoFormer: Searching Transformers for Visual Recognitioncited by 188
  4. 2019Sparse Sequence-to-Sequence Modelscited by 170
  5. 2016Multiple Instance Learning: A Survey of Problem Characteristics and Applicationscited by 164
  6. 2019Blockwise Self-Attention for Long Document Understandingcited by 159
  7. 2019Adaptively Sparse Transformerscited by 155
  8. 2022FiLM: Frequency improved Legendre Memory Model for Long-term Time Series Forecastingcited by 147
  9. 2017On the Properties of the Softmax Function with Application in Game Theory and Reinforcement Learningcited by 142
  10. 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 112
  11. 2021CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIPcited by 89
  12. 2023Energy Transformercited by 71
  13. 2022Universal Hopfield Networks: A General Framework for Single-Shot Associative Memory Modelscited by 55
  14. 2020Modern Hopfield Networks and Attention for Immune Repertoire Classificationcited by 53
  15. 2022History Compression via Language Models in Reinforcement Learningcited by 39
  16. 2022Transformers from an Optimization Perspectivecited by 27
  17. 2014Dissimilarity-based Ensembles for Multiple Instance Learningcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 2; 2024: 19; 2025: 13; 2026: 8.

42 papers.

Sort:

By area:

  1. 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Modelscited by 38
  2. 2024Computational Limits of Low-Rank Adaptation (LoRA) Fine-Tuning for Transformer Modelscited by 31
  3. 2024The Fine-Grained Complexity of Gradient Computation for Training Large Language Modelscited by 30
  4. 2024Multi-Layer Transformers Gradient Can be Approximated in Almost Linear Timecited by 22
  5. 2024Bypassing the Exponential Dependency: Looped Transformers Efficiently Learn In-context by Multi-step Gradient Descentcited by 22
  6. 2024BiSHop: Bi-Directional Cellular Learning for Tabular Data with Generalized Sparse Modern Hopfield Modelcited by 21
  7. 2024The Computational Limits of State-Space Models and Mamba via the Lens of Circuit Complexitycited by 21
  8. 2024HSR-Enhanced Sparse Attention Accelerationcited by 19
  9. 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
  10. 2024Nonparametric Modern Hopfield Modelscited by 16
  11. 2024Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformerscited by 15
  12. 2024Provable Differentially Private Computation of the Cross-Attention Mechanismcited by 14
30 more
  1. 2023In-Context Exemplars as Clues to Retrieving from Large Associative Memorycited by 13
  2. 2024Sparse and Structured Hopfield Networkscited by 13
  3. 2024Beyond Scaling Laws: Understanding Transformer Performance with Associative Memorycited by 12
  4. 2025Video Latent Flow Matching: Optimal Polynomial Projections for Video Interpolation and Extrapolationcited by 11
  5. 2025Dense Associative Memory with Epanechnikov Energycited by 11
  6. 2024Decoupled Alignment for Robust Plug-and-Play Adaptationcited by 9
  7. 2024Modern Hopfield Networks Require Chain-of-Thought to Solve mathsfNC1-Hard Problemscited by 9
  8. 2024Dense Associative Memory Through the Lens of Random Featurescited by 8
  9. 2025Fast and Low-Cost Genomic Foundation Models via Outlier Removalcited by 8
  10. 2025In-context denoising with one-layer transformers: connections between attention and associative memory retrievalcited by 7
  11. 2025PLADIS: Pushing the Limits of Attention in Diffusion Models at Inference Time by Leveraging Sparsitycited by 7
  12. 2026FROST: Filtering Reasoning Outliers with Attention for Efficient Reasoningcited by 5
  13. 2025Neural Algorithmic Reasoning for Hypergraphs with Looped Transformerscited by 4
  14. 2024CoRMF: Criticality-Ordered Recurrent Mean Field Ising Solvercited by 3
  15. 2025Transformers as Intrinsic Optimizers: Forward Inference through the Energy Principlecited by 3
  16. 2025Time and Memory Trade-off of KV-Cache Compression in Tensor Transformer Decodingcited by 2
  17. 2025Dense associative memory for Gaussian distributionscited by 2
  18. 2026Sparse Attention as Compact Kernel Regressioncited by 2
  19. 2023Beyond PID Controllers: PPO with Neuralized PID Policy for Proton Beam Intensity Control in Mu2ecited by 1
  20. 2025Adaptive Hopfield Network: Rethinking Similarities in Associative Memorycited by 1
  21. 2025On the Role of Hidden States of Modern Hopfield Network in Transformercited by 1
  22. 2024Predictive Attractor Modelscited by 0
  23. 2025Modern Hopfield Networks with Continuous-Time Memoriescited by 0
  24. 2025Effects of Feature Correlations on Associative Memory Capacitycited by 0
  25. 2026Geometry-Aware Attention Guidance for Diffusion Models via Modern Hopfield Dynamicscited by 0
  26. 2026Context-Gated Associative Retrieval: From Theory to Transformerscited by 0
  27. 2026Hyperbolic Neural Population Geometry Benefits Computationcited by 0
  28. 2026Controlled Dynamics Attractor Transformercited by 0
  29. 2026Robust Auto-associative Memory via Convolutional Restricted Hopfield Networkscited by 0
  30. 2026Intrinsic Associative Memory on Riemannian Manifolds: Curvature, Capacity, and Emergent Modescited by 0