mlsanityData to 7 Oct 2026

Modern Hopfield Networks Require Chain-of-Thought to Solve mathsfNC1-Hard Problems

arXiv 2412.05562 ↗First posted 7 Dec 2024cs.CC cs.AI cs.CLcited by 9

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

  1. 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
  2. 2014Learning Phrase Representations using RNN Encoder-Decoder for Statistical Machine Translationcited by 4,016
  3. 2020Hopfield Networks is All You Needcited by 461
  4. 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 293
  5. 2022Transformers Learn Shortcuts to Automatacited by 260
  6. 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problemscited by 256
  7. 2016Dense Associative Memory for Pattern Recognitioncited by 230
  8. 2022The Parallelism Tradeoff: Limitations of Log-Precision Transformerscited by 191
  9. 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 137
  10. 2020Large Associative Memory Problem in Neurobiology and Machine Learningcited by 110
  11. 2023Fast Attention Requires Bounded Entriescited by 102
  12. 2022A Logic for Expressing Log-Precision Transformerscited by 67
19 more
  1. 2020Modern Hopfield Networks and Attention for Immune Repertoire Classificationcited by 52
  2. 2017Dense Associative Memory is Robust to Adversarial Inputscited by 45
  3. 2023How to Capture Higher-order Correlations? Generalizing Matrix Softmax Attention to Kronecker Computationcited by 44
  4. 2023On Sparse Modern Hopfield Modelcited by 41
  5. 2024On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysiscited by 41
  6. 2024Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Modelscited by 38
  7. 2024Outlier-Efficient Hopfield Layers for Large Transformer-Based Modelscited by 38
  8. 2023STanHop: Sparse Tandem Hopfield Model for Memory-Enhanced Time Series Predictioncited by 35
  9. 2024The Fine-Grained Complexity of Gradient Computation for Training Large Language Modelscited by 30
  10. 2024Training Tensor Attention Efficiently: From Cubic to Almost Linear Timecited by 29
  11. 2024Circuit Complexity Bounds for RoPE-based Transformer Architecturecited by 26
  12. 2024Transformers in Uniform TC0cited by 25
  13. 2023Context-enriched molecule representations improve few-shot drug discoverycited by 23
  14. 2024Multi-Layer Transformers Gradient Can be Approximated in Almost Linear Timecited by 22
  15. 2024BiSHop: Bi-Directional Cellular Learning for Tabular Data with Generalized Sparse Modern Hopfield Modelcited by 21
  16. 2022What is my math transformer doing? -- Three results on interpretability and generalizationcited by 19
  17. 2024Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical Codescited by 19
  18. 2024Nonparametric Modern Hopfield Modelscited by 16
  19. 2016Permutation-equivariant neural networks applied to dynamics predictioncited by 14

Built on by

Cited by year

Citing papers per year: 2024: 2; 2025: 7.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Hierarchical Prototype Emergence in Modern Hopfield Models
  2. 2026Chain-of-Thought Shows the Path to a Tree: Realizing Branching Complexity
  3. 2026Gate the Filter, Not the Message: Node-Channel Mixtures for Pre-Propagation GNNs
  4. 2026Continual Learning in Modern Hopfield Networks with an Application to Diffusion Models
  5. 2022A Theoretical View on Sparsely Activated Networks
  6. 2026HOPPER: Learnable Hop Extraction for Linearized Graph Sequence Models
  7. 2026Sparsity is Combinatorial Depth: Quantifying MoE Expressivity via Tropical Geometry
  8. 2026Indexing: the Beginning and the End