Modern Hopfield Networks Require Chain-of-Thought to Solve mathsfNC1-Hard Problems
Not on the map. Why?
Abstract (arXiv)
Modern Hopfield Networks (MHNs) have emerged as powerful components in deep learning, serving as effective replacements for pooling layers, LSTMs, and attention mechanisms. While recent advancements have significantly improved their storage capacity and retrieval efficiency, their fundamental theoretical boundaries remain underexplored. In this paper, we rigorously characterize the expressive power of MHNs through the lens of circuit complexity theory. We prove that poly(n)-precision MHNs with constant depth and linear hidden dimension fall within the mathsfDLOGTIME-uniform mathsfTC0 complexity class. Consequently, assuming mathsfTC0 neq mathsfNC1, we demonstrate that these architectures are incapable of solving mathsfNC1-hard problems, such as undirected graph connectivity and tree isomorphism. We further extend these impossibility results to Kernelized Hopfield Networks. However, we show that these limitations are not absolute: we prove that equipping MHNs with a Chain-of-Thought (CoT) mechanism enables them to transcend the mathsfTC0 barrier, allowing them to solve inherently serial problems like the word problem for the permutation group S5. Collectively, our results delineate a fine-grained boundary between the capabilities of standard MHNs and those augmented with reasoning steps.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). Builds on 31 of its 45 references that are in the map. First posted on arXiv 7 Dec 2024.
Builds on
31 of 45 references.
References · 31
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
- 2020Hopfield Networks is All You Needcited by 461
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 293
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 256
- 2016Dense Associative Memory for Pattern Recognitioncited by 230
- 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 191
- 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 137
- 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 110
- 2023Fast Attention Requires Bounded Entriescited by 102
- 2022A Logic for Expressing Log-Precision Transformerscited by 67
19 more
- 2020Modern Hopfield Networks and Attention for Immune Repertoire Classificationcited by 52
- 2017Dense Associative Memory is Robust to Adversarial Inputscited by 45
- 2023How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computationcited by 44
- 2023On Sparse Modern Hopfield Modelcited by 41
- 2024On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysiscited by 41
- 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Modelscited by 38
- 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Modelscited by 38
- 2023STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Predictioncited by 35
- 2024The Fine-Grained Complexity of Gradient Computation for Training Large Language Modelscited by 30
- 2024Training Tensor Attention Efficiently: From Cubic to Almost Linear Timecited by 29
- 2024Circuit Complexity Bounds for RoPE-based Transformer Architecturecited by 26
- 2024Transformers in Uniform TC0cited by 25
- 2023Context-enriched molecule representations improve few-shot drug discoverycited by 23
- 2024Multi-Layer Transformers Gradient Can be Approximated in Almost Linear Timecited by 22
- 2024BiSHop: Bi-Directional Cellular Learning for Tabular Data with Generalized Sparse Modern Hopfield Modelcited by 21
- 2022What is my math transformer doing? -- Three results on interpretability and generalizationcited by 19
- 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
- 2024Nonparametric Modern Hopfield Modelscited by 16
- 2016Permutation-equivariant neural networks applied to dynamics predictioncited by 14
Built on by
Citing papers per year: 2024: 2; 2025: 7.
9 papers.
- 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimizationcited by 60
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Timecited by 57
- 2024The Computational Limits of State-Space Models and Mamba via the Lens of Circuit Complexitycited by 21
- 2025Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Countingcited by 17
- 2024Theoretical Constraints on the Expressive Power of mathsfRoPE-based Tensor Attention Transformerscited by 12
- 2025Circuit Complexity Bounds for Visual Autoregressive Modelcited by 10
- 2025T2VTextBench: A Human Evaluation Benchmark for Textual Control in Video Generation Modelscited by 9
- 2025Provable Failure of Language Models in Learning Majority Boolean Logic via Gradient Descentcited by 8
- 2025Fundamental Limits of Crystalline Equivariant Graph Neural Networks: A Circuit Complexity Perspectivecited by 0
- 2025Fundamental Limits of Crystalline Equivariant Graph Neural Networks: A Circuit Complexity Perspective7 Oct 2025
- 2025Your Vision-Language Model Can't Even Count to 20: Exposing the Failures of VLMs in Compositional Counting6 Oct 2025
- 2025ATLAS: Learning to Optimally Memorize the Context at Test Time29 May 2025
- 2025T2VTextBench: A Human Evaluation Benchmark for Textual Control in Video Generation Models8 May 2025
- 2025It's All Connected: A Journey Through Test-Time Memorization, Attentional Bias, Retention, and Online Optimization17 Apr 2025
- 2025Provable Failure of Language Models in Learning Majority Boolean Logic via Gradient Descent7 Apr 2025
- 2025Circuit Complexity Bounds for Visual Autoregressive Model8 Jan 2025
- 2024Theoretical Constraints on the Expressive Power of mathsfRoPE-based Tensor Attention Transformers23 Dec 2024
- 2024The Computational Limits of State-Space Models and Mamba via the Lens of Circuit Complexity9 Dec 2024
Similar, not cited
Close in wording, no citation either way
- 2026Hierarchical Prototype Emergence in Modern Hopfield Models
- 2026Chain-of-Thought Shows the Path to a Tree: Realizing Branching Complexity
- 2026Gate the Filter, Not the Message: Node-Channel Mixtures for Pre-Propagation GNNs
- 2026Continual Learning in Modern Hopfield Networks with an Application to Diffusion Models
- 2022A Theoretical View on Sparsely Activated Networks
- 2026HOPPER: Learnable Hop Extraction for Linearized Graph Sequence Models
- 2026Sparsity is Combinatorial Depth: Quantifying MoE Expressivity via Tropical Geometry
- 2026Indexing: the Beginning and the End