mlsanityData to 14 Oct 2026

Outlier-Efficient Hopfield Layers for Large Transformer-Based Models

arXiv 2404.03828 ↗First posted 4 Apr 2024cs.LG cs.AI stat.MLcited by 38

Not on the map. Why?

Abstract (arXiv)

We introduce an Outlier-Efficient Modern Hopfield Model (termed OutEffHop) and use it to address the outlier inefficiency problem of training gigantic transformer-based models. Our main contribution is a novel associative memory model facilitating textitoutlier-efficient associative memory retrievals. Interestingly, this memory model manifests a model-based interpretation of an outlier-efficient attention mechanism (rm Softmax1): it is an approximation of the memory retrieval process of OutEffHop. Methodologically, this allows us to introduce novel outlier-efficient Hopfield layers as powerful alternatives to traditional attention mechanisms, with superior post-quantization performance. Theoretically, the Outlier-Efficient Modern Hopfield Model retains and improves the desirable properties of standard modern Hopfield models, including fixed point convergence and exponential storage capacity. Empirically, we demonstrate the efficacy of the proposed model across large-scale transformer-based and Hopfield-based models (including BERT, OPT, ViT, and STanHop-Net), benchmarking against state-of-the-art methods like mathttClippedSoftmax and mathttGatedAttention. Notably, OutEffHop achieves an average reduction of 22+% in average kurtosis and 26+% in the maximum infinity norm of model outputs across four models. Code is available at hrefhttps://github.com/MAGICS-LAB/OutEffHopGitHub; models are on hrefhttps://huggingface.co/collections/magicslabnu/outeffhop-6610fcede8d2cda23009a98fHugging Face Hub; future updates are on hrefhttps://arxiv.org/abs/2404.03828arXiv.

Key facts. Cited by 38 papers in the map (data through 14 Oct 2026). Builds on 41 of its 74 references that are in the map. First posted on arXiv 4 Apr 2024.

Builds on

41 of 74 references.

References · 41

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  5. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  6. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
  7. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  8. 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
  9. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
  10. 2023BloombergGPT: A Large Language Model for Financecited by 939
  11. 2020Hopfield Networks is All You Needcited by 475
  12. 2019Revealing the Dark Secrets of BERTcited by 301
29 more
  1. 2019Q8BERT: Quantized 8Bit BERTcited by 300
  2. 2016Dense Associative Memory for Pattern Recognitioncited by 236
  3. 2022Outlier Suppression: Pushing the Limit of Low-bit Transformer Language Modelscited by 181
  4. 2023Birth of a Transformer: A Memory Viewpointcited by 161
  5. 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 151
  6. 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
  7. 2023DNABERT-2: Efficient Foundation Model and Benchmark For Multi-Species Genomecited by 143
  8. 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 141
  9. 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 112
  10. 2023Fast Attention Requires Bounded Entriescited by 102
  11. 2021CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIPcited by 89
  12. 2023Energy Transformercited by 71
  13. 2020Robust Quantization: One Model to Rule Them Allcited by 63
  14. 2019Efficient 8-Bit Quantization of Transformer Neural Machine Language Translation Modelcited by 59
  15. 2020Modern Hopfield Networks and Attention for Immune Repertoire Classificationcited by 53
  16. 2023How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computationcited by 44
  17. 2023Conformal Prediction for Time Series with Modern Hopfield Networkscited by 42
  18. 2023On Sparse Modern Hopfield Modelcited by 42
  19. 2024On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysiscited by 41
  20. 2022History Compression via Language Models in Reinforcement Learningcited by 39
  21. 2023Scaling Laws for Associative Memoriescited by 35
  22. 2023STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Predictioncited by 35
  23. 2023A Fast Optimization View: Reformulating Single Layer Attention in LLM Based on Tensor and SVM Trick, and Solving It in Matrix Multiplication Timecited by 30
  24. 2024The Fine-Grained Complexity of Gradient Computation for Training Large Language Modelscited by 30
  25. 2023Context-enriched molecule representations improve few-shot drug discoverycited by 24
  26. 2018Marian: Cost-effective High-Quality Neural Machine Translation in C++cited by 22
  27. 2023Simplicial Hopfield networkscited by 16
  28. 2023Long Sequence Hopfield Memorycited by 16
  29. 2023Feature Programming for Multivariate Time Series Predictioncited by 7

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 19; 2025: 9; 2026: 10.

38 papers.

Sort:

By area:

  1. 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 56
  2. 2024Computational Limits of Low-Rank Adaptation (LoRA) Fine-Tuning for Transformer Modelscited by 31
  3. 2024Mind the Inconspicuous: Revealing the Hidden Weakness in Aligned LLMs' Refusal Boundariescited by 28
  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. 2024Conv-CoA: Improving Open-domain Question Answering in Large Language Models via Conversational Chain-of-Actioncited by 19
  7. 2024A Tighter Complexity Analysis of SparseGPTcited by 19
  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. 2024Empirical Guidelines for Deploying LLMs onto Resource-constrained Edge Devicescited by 17
  11. 2024Nonparametric Modern Hopfield Modelscited by 16
  12. 2025Attention Sinks: A 'Catch, Tag, Release' Mechanism for Embeddingscited by 16
26 more
  1. 2024Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformerscited by 15
  2. 2024Provable Differentially Private Computation of the Cross-Attention Mechanismcited by 14
  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. 2024Decoupled Alignment for Robust Plug-and-Play Adaptationcited by 9
  6. 2024Advanced AI Framework for Enhanced Detection and Assessment of Abdominal Trauma: Integrating 3D Segmentation with 2D CNN and RNN Modelscited by 9
  7. 2024Modern Hopfield Networks Require Chain-of-Thought to Solve mathsfNC1-Hard Problemscited by 9
  8. 2025Fast and Low-Cost Genomic Foundation Models via Outlier Removalcited by 8
  9. 2025Value-State Gated Attention for Mitigating Extreme-Token Phenomena in Transformerscited by 8
  10. 2026FROST: Filtering Reasoning Outliers with Attention for Efficient Reasoningcited by 5
  11. 2024Unlocking the Theory Behind Scaling 1-Bit Neural Networkscited by 4
  12. 2025Neural Algorithmic Reasoning for Hypergraphs with Looped Transformerscited by 4
  13. 2024AERO: Entropy-Guided Framework for Private LLM Inferencecited by 3
  14. 2025Advancements in Natural Language Processing: Exploring Transformer-Based Architectures for Text Understandingcited by 3
  15. 2025GenoArmory: A Unified Evaluation Framework for Adversarial Attacks on Genomic Foundation Modelscited by 2
  16. 2026Attention Sinks and Outliers in Attention Residualscited by 2
  17. 2026On the Relationship Between Activation Outliers and Feature Death in Sparse Autoencoderscited by 2
  18. 2025On the Role of Hidden States of Modern Hopfield Network in Transformercited by 1
  19. 2026AP-OOD: Attention Pooling for Out-of-Distribution Detectioncited by 1
  20. 2026SuperLocalMemory V3: Information-Geometric Foundations for Zero-LLM Enterprise Agent Memorycited by 1
  21. 2025Efficient Temporal Tokenization for Mobility Prediction with Large Language Modelscited by 0
  22. 2026Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamicscited by 0
  23. 2026Vision Hopfield Memory Networks for Image Recognitioncited by 0
  24. 2026Controlled Dynamics Attractor Transformercited by 0
  25. 2026Active Adversarial Perturbation-driven Associative Memory Retrieval for RGB-Event Visual Object Trackingcited by 0
  26. 2026From Attention Masks to Inert Zero-Vector Tokens: OAttention and O-Closure for Token Dynamicscited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale
  2. 2024Outlier Reduction with Gated Attention for Improved Post-training Quantization in Large Sequence-to-sequence Speech Foundation Models
  3. 2026A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training
  4. 2023Outlier Suppression+: Accurate quantization of large language models by equivalent and optimal shifting and scaling
  5. 2026Balancing Fidelity and Diversity in Diffusion Models via Symmetric Attention Decomposition: Hopfield Perspective
  6. 2024From Attention to Activation: Unravelling the Enigmas of Large Language Models
  7. 2024QuantTune: Optimizing Model Quantization with Adaptive Outlier-Driven Fine Tuning
  8. 2023Rethinking Channel Dimensions to Isolate Outliers for Low-bit Weight Quantization of Large Language Models