Outlier-Efficient Hopfield Layers for Large Transformer-Based Models
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
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
- 2020Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecastingcited by 2,169
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
- 2023BloombergGPT: A Large Language Model for Financecited by 939
- 2020Hopfield Networks is All You Needcited by 475
- 2019Revealing the Dark Secrets of BERTcited by 301
29 more
- 2019Q8BERT: Quantized 8Bit BERTcited by 300
- 2016Dense Associative Memory for Pattern Recognitioncited by 236
- 2022Outlier Suppression: Pushing the Limit of Low-bit Transformer Language Modelscited by 181
- 2023Birth of a Transformer: A Memory Viewpointcited by 161
- 2023Quantizable Transformers: Removing Outliers by Helping Attention Heads Do Nothingcited by 151
- 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
- 2023DNABERT-2: Efficient Foundation Model and Benchmark For Multi-Species Genomecited by 143
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantizationcited by 141
- 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 112
- 2023Fast Attention Requires Bounded Entriescited by 102
- 2021CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIPcited by 89
- 2023Energy Transformercited by 71
- 2020Robust Quantization: One Model to Rule Them Allcited by 63
- 2019Efficient 8-Bit Quantization of Transformer Neural Machine Language Translation Modelcited by 59
- 2020Modern Hopfield Networks and Attention for Immune Repertoire Classificationcited by 53
- 2023How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computationcited by 44
- 2023Conformal Prediction for Time Series with Modern Hopfield Networkscited by 42
- 2023On Sparse Modern Hopfield Modelcited by 42
- 2024On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysiscited by 41
- 2022History Compression via Language Models in Reinforcement Learningcited by 39
- 2023Scaling Laws for Associative Memoriescited by 35
- 2023STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Predictioncited by 35
- 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
- 2024The Fine-Grained Complexity of Gradient Computation for Training Large Language Modelscited by 30
- 2023Context-enriched molecule representations improve few-shot drug discoverycited by 24
- 2018Marian: Cost-effective High-Quality Neural Machine Translation in C++cited by 22
- 2023Simplicial Hopfield networkscited by 16
- 2023Long Sequence Hopfield Memorycited by 16
- 2023Feature Programming for Multivariate Time Series Predictioncited by 7
Built on by
Citing papers per year: 2024: 19; 2025: 9; 2026: 10.
38 papers.
Sort:
By area:
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 56
- 2024Computational Limits of Low-Rank Adaptation (LoRA) Fine-Tuning for Transformer Modelscited by 31
- 2024Mind the Inconspicuous: Revealing the Hidden Weakness in Aligned LLMs' Refusal Boundariescited by 28
- 2024Multi-Layer Transformers Gradient Can be Approximated in Almost Linear Timecited by 22
- 2024Bypassing the Exponential Dependency: Looped Transformers Efficiently Learn In-context by Multi-step Gradient Descentcited by 22
- 2024Conv-CoA: Improving Open-domain Question Answering in Large Language Models via Conversational Chain-of-Actioncited by 19
- 2024A Tighter Complexity Analysis of SparseGPTcited by 19
- 2024HSR-Enhanced Sparse Attention Accelerationcited by 19
- 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
- 2024Empirical Guidelines for Deploying LLMs onto Resource-constrained Edge Devicescited by 17
- 2024Nonparametric Modern Hopfield Modelscited by 16
- 2025Attention Sinks: A 'Catch, Tag, Release' Mechanism for Embeddingscited by 16
26 more
- 2024Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformerscited by 15
- 2024Provable Differentially Private Computation of the Cross-Attention Mechanismcited by 14
- 2024Beyond Scaling Laws: Understanding Transformer Performance with Associative Memorycited by 12
- 2025Video Latent Flow Matching: Optimal Polynomial Projections for Video Interpolation and Extrapolationcited by 11
- 2024Decoupled Alignment for Robust Plug-and-Play Adaptationcited by 9
- 2024Advanced AI Framework for Enhanced Detection and Assessment of Abdominal Trauma: Integrating 3D Segmentation with 2D CNN and RNN Modelscited by 9
- 2024Modern Hopfield Networks Require Chain-of-Thought to Solve mathsfNC1-Hard Problemscited by 9
- 2025Fast and Low-Cost Genomic Foundation Models via Outlier Removalcited by 8
- 2025Value-State Gated Attention for Mitigating Extreme-Token Phenomena in Transformerscited by 8
- 2026FROST: Filtering Reasoning Outliers with Attention for Efficient Reasoningcited by 5
- 2024Unlocking the Theory Behind Scaling 1-Bit Neural Networkscited by 4
- 2025Neural Algorithmic Reasoning for Hypergraphs with Looped Transformerscited by 4
- 2024AERO: Entropy-Guided Framework for Private LLM Inferencecited by 3
- 2025Advancements in Natural Language Processing: Exploring Transformer-Based Architectures for Text Understandingcited by 3
- 2025GenoArmory: A Unified Evaluation Framework for Adversarial Attacks on Genomic Foundation Modelscited by 2
- 2026Attention Sinks and Outliers in Attention Residualscited by 2
- 2026On the Relationship Between Activation Outliers and Feature Death in Sparse Autoencoderscited by 2
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformercited by 1
- 2026AP-OOD: Attention Pooling for Out-of-Distribution Detectioncited by 1
- 2026SuperLocalMemory V3: Information-Geometric Foundations for Zero-LLM Enterprise Agent Memorycited by 1
- 2025Efficient Temporal Tokenization for Mobility Prediction with Large Language Modelscited by 0
- 2026Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamicscited by 0
- 2026Vision Hopfield Memory Networks for Image Recognitioncited by 0
- 2026Controlled Dynamics Attractor Transformercited by 0
- 2026Active Adversarial Perturbation-driven Associative Memory Retrieval for RGB-Event Visual Object Trackingcited by 0
- 2026From Attention Masks to Inert Zero-Vector Tokens: OAttention and O-Closure for Token Dynamicscited by 0
- 2026From Attention Masks to Inert Zero-Vector Tokens: OAttention and O-Closure for Token Dynamics21 Aug 2026
- 2026Active Adversarial Perturbation-driven Associative Memory Retrieval for RGB-Event Visual Object Tracking24 Jun 2026
- 2026Controlled Dynamics Attractor Transformer13 Jun 2026
- 2026On the Relationship Between Activation Outliers and Feature Death in Sparse Autoencoders29 May 2026
- 2026Attention Sinks and Outliers in Attention Residuals18 May 2026
- 2026Vision Hopfield Memory Networks for Image Recognition26 Mar 2026
- 2026Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamics21 Mar 2026
- 2026SuperLocalMemory V3: Information-Geometric Foundations for Zero-LLM Enterprise Agent Memory15 Mar 2026
- 2026AP-OOD: Attention Pooling for Out-of-Distribution Detection5 Feb 2026
- 2026FROST: Filtering Reasoning Outliers with Attention for Efficient Reasoning26 Jan 2026
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformer24 Nov 2025
- 2025Value-State Gated Attention for Mitigating Extreme-Token Phenomena in Transformers10 Oct 2025
26 more
- 2025Efficient Temporal Tokenization for Mobility Prediction with Large Language Models18 Jul 2025
- 2025GenoArmory: A Unified Evaluation Framework for Adversarial Attacks on Genomic Foundation Models16 May 2025
- 2025Fast and Low-Cost Genomic Foundation Models via Outlier Removal1 May 2025
- 2025Advancements in Natural Language Processing: Exploring Transformer-Based Architectures for Text Understanding26 Mar 2025
- 2025Attention Sinks: A 'Catch, Tag, Release' Mechanism for Embeddings2 Feb 2025
- 2025Video Latent Flow Matching: Optimal Polynomial Projections for Video Interpolation and Extrapolation1 Feb 2025
- 2025Neural Algorithmic Reasoning for Hypergraphs with Looped Transformers18 Jan 2025
- 2024Modern Hopfield Networks Require Chain-of-Thought to Solve mathsfNC1-Hard Problems7 Dec 2024
- 2024Unlocking the Theory Behind Scaling 1-Bit Neural Networks3 Nov 2024
- 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codes30 Oct 2024
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMs17 Oct 2024
- 2024AERO: Entropy-Guided Framework for Private LLM Inference16 Oct 2024
- 2024Bypassing the Exponential Dependency: Looped Transformers Efficiently Learn In-context by Multi-step Gradient Descent15 Oct 2024
- 2024HSR-Enhanced Sparse Attention Acceleration14 Oct 2024
- 2024Multi-Layer Transformers Gradient Can be Approximated in Almost Linear Time23 Aug 2024
- 2024A Tighter Complexity Analysis of SparseGPT22 Aug 2024
- 2024Advanced AI Framework for Enhanced Detection and Assessment of Abdominal Trauma: Integrating 3D Segmentation with 2D CNN and RNN Models23 Jul 2024
- 2024Provable Differentially Private Computation of the Cross-Attention Mechanism20 Jul 2024
- 2024Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformers26 Jun 2024
- 2024Empirical Guidelines for Deploying LLMs onto Resource-constrained Edge Devices6 Jun 2024
- 2024Computational Limits of Low-Rank Adaptation (LoRA) Fine-Tuning for Transformer Models5 Jun 2024
- 2024Decoupled Alignment for Robust Plug-and-Play Adaptation3 Jun 2024
- 2024Mind the Inconspicuous: Revealing the Hidden Weakness in Aligned LLMs' Refusal Boundaries31 May 2024
- 2024Conv-CoA: Improving Open-domain Question Answering in Large Language Models via Conversational Chain-of-Action28 May 2024
- 2024Beyond Scaling Laws: Understanding Transformer Performance with Associative Memory14 May 2024
- 2024Nonparametric Modern Hopfield Models5 Apr 2024
- 2026Vision Hopfield Memory Networks for Image Recognitioncited by 0
- 2026Vision Hopfield Memory Networks for Image Recognition26 Mar 2026
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 56
- 2024Computational Limits of Low-Rank Adaptation (LoRA) Fine-Tuning for Transformer Modelscited by 31
- 2024Multi-Layer Transformers Gradient Can be Approximated in Almost Linear Timecited by 22
- 2024Bypassing the Exponential Dependency: Looped Transformers Efficiently Learn In-context by Multi-step Gradient Descentcited by 22
- 2024Conv-CoA: Improving Open-domain Question Answering in Large Language Models via Conversational Chain-of-Actioncited by 19
- 2024A Tighter Complexity Analysis of SparseGPTcited by 19
- 2024HSR-Enhanced Sparse Attention Accelerationcited by 19
- 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
- 2024Empirical Guidelines for Deploying LLMs onto Resource-constrained Edge Devicescited by 17
- 2024Nonparametric Modern Hopfield Modelscited by 16
- 2025Attention Sinks: A 'Catch, Tag, Release' Mechanism for Embeddingscited by 16
- 2024Do LLMs dream of elephants (when told not to)? Latent concept association and associative memory in transformerscited by 15
12 most cited of 30 All 30 (JSON)
- 2026From Attention Masks to Inert Zero-Vector Tokens: OAttention and O-Closure for Token Dynamics21 Aug 2026
- 2026Active Adversarial Perturbation-driven Associative Memory Retrieval for RGB-Event Visual Object Tracking24 Jun 2026
- 2026Controlled Dynamics Attractor Transformer13 Jun 2026
- 2026Attention Sinks and Outliers in Attention Residuals18 May 2026
- 2026Sinkhorn Based Associative Memory Retrieval Using Spherical Hellinger Kantorovich Dynamics21 Mar 2026
- 2026AP-OOD: Attention Pooling for Out-of-Distribution Detection5 Feb 2026
- 2026FROST: Filtering Reasoning Outliers with Attention for Efficient Reasoning26 Jan 2026
- 2025On the Role of Hidden States of Modern Hopfield Network in Transformer24 Nov 2025
- 2025Value-State Gated Attention for Mitigating Extreme-Token Phenomena in Transformers10 Oct 2025
- 2025Efficient Temporal Tokenization for Mobility Prediction with Large Language Models18 Jul 2025
- 2025GenoArmory: A Unified Evaluation Framework for Adversarial Attacks on Genomic Foundation Models16 May 2025
- 2025Fast and Low-Cost Genomic Foundation Models via Outlier Removal1 May 2025
12 newest of 30 All 30 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2022LLM.int8(): 8-bit Matrix Multiplication for Transformers at Scale
- 2024Outlier Reduction with Gated Attention for Improved Post-training Quantization in Large Sequence-to-sequence Speech Foundation Models
- 2026A Unified View of Attention and Residual Sinks: Outlier-Driven Rescaling is Essential for Transformer Training
- 2023Outlier Suppression+: Accurate quantization of large language models by equivalent and optimal shifting and scaling
- 2026Balancing Fidelity and Diversity in Diffusion Models via Symmetric Attention Decomposition: Hopfield Perspective
- 2024From Attention to Activation: Unravelling the Enigmas of Large Language Models
- 2024QuantTune: Optimizing Model Quantization with Adaptive Outlier-Driven Fine Tuning
- 2023Rethinking Channel Dimensions to Isolate Outliers for Low-bit Weight Quantization of Large Language Models