Modern Hopfield Networks Require Chain-of-Thought to Solve $\mathsf{NC}^1$-Hard Problems
Yang Cao, Xiaoyu Li, Yuanpeng Li, Yingyu Liang, Zhenmei Shi, Zhao Song

TL;DR
This paper explores the theoretical limits of Modern Hopfield Networks, showing they cannot solve certain complex problems unless augmented with Chain-of-Thought reasoning, which enables solving serial problems beyond their basic capacity.
Contribution
It provides a rigorous complexity-theoretic analysis of MHNs, demonstrating their limitations and showing how Chain-of-Thought mechanisms extend their problem-solving capabilities.
Findings
MHNs are within the TC^0 complexity class and cannot solve NC^1-hard problems.
Adding Chain-of-Thought enables MHNs to solve serial problems like the permutation group word problem.
Limitations of MHNs are characterized, and the role of reasoning steps in overcoming these limits is established.
Abstract
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 -precision MHNs with constant depth and linear hidden dimension fall within the -uniform complexity class. Consequently, assuming , we demonstrate that these architectures are incapable of solving -hard problems, such as undirected graph connectivity and tree isomorphism. We further extend these impossibility results to…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsCellular Automata and Applications
MethodsSoftmax · Attention Is All You Need
