On Computational Limits of Modern Hopfield Models: A Fine-Grained Complexity Analysis
摘要
We investigate the computational limits of the memory retrieval dynamics of modern Hopfield models from the fine-grained complexity analysis. Our key contribution is the characterization of a phase transition behavior in the efficiency of all possible modern Hopfield models based on the norm of patterns. Specifically, we establish an upper bound criterion for the norm of input query patterns and memory patterns. Only below this criterion, sub-quadratic (efficient) variants of the modern Hopfield model exist, assuming the Strong Exponential Time Hypothesis (SETH). To showcase our theory, we provide a formal example of efficient constructions of modern Hopfield models using low-rank approximation when the efficient criterion holds. This includes a derivation of a lower bound on the computational time, scaling linearly with # of stored memory patterns, length of input query sequence. In addition, we prove its memory retrieval error bound and exponential memory capacity.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 20 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIP 引用了 Modern Hopfield Networks and Attention for Immune Repertoire Classification
- The Fine-Grained Complexity of Gradient Computation for Training Large Language Models 引用了 Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models 引用了 The Fine-Grained Complexity of Gradient Computation for Training Large Language Models
- The Fine-Grained Complexity of Gradient Computation for Training Large Language Models 引用了 Language Models are Few-Shot Learners
- The Fine-Grained Complexity of Gradient Computation for Training Large Language Models 引用了 Outlier-Efficient Hopfield Layers for Large Transformer-Based Models
- Outlier-Efficient Hopfield Layers for Large Transformer-Based Models 引用了 The Fine-Grained Complexity of Gradient Computation for Training Large Language Models
- The Fine-Grained Complexity of Gradient Computation for Training Large Language Models 引用了 On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs)
- On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs) 引用了 The Fine-Grained Complexity of Gradient Computation for Training Large Language Models
- The Closeness of In-Context Learning and Weight Shifting for Softmax Regression 引用了 The Fine-Grained Complexity of Gradient Computation for Training Large Language Models
- The Closeness of In-Context Learning and Weight Shifting for Softmax Regression 引用了 Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models
- The Closeness of In-Context Learning and Weight Shifting for Softmax Regression 引用了 Language Models are Few-Shot Learners
- The Closeness of In-Context Learning and Weight Shifting for Softmax Regression 引用了 Outlier-Efficient Hopfield Layers for Large Transformer-Based Models
- The Closeness of In-Context Learning and Weight Shifting for Softmax Regression 引用了 On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs)
- Hopfield Networks is All You Need 引用了 Modern Hopfield Networks and Attention for Immune Repertoire Classification
- Hopfield Networks is All You Need 引用了 Large Associative Memory Problem in Neurobiology and Machine Learning
- Large Associative Memory Problem in Neurobiology and Machine Learning 引用了 Hopfield Networks is All You Need
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models 引用了 CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIP
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models 引用了 Modern Hopfield Networks and Attention for Immune Repertoire Classification
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models 引用了 Hopfield Networks is All You Need
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models 引用了 Large Associative Memory Problem in Neurobiology and Machine Learning
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models 引用了 Outlier-Efficient Hopfield Layers for Large Transformer-Based Models
- Outlier-Efficient Hopfield Layers for Large Transformer-Based Models 引用了 Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models
- Large Associative Memory Problem in Neurobiology and Machine Learning 引用了 Modern Hopfield Networks and Attention for Immune Repertoire Classification
- Outlier-Efficient Hopfield Layers for Large Transformer-Based Models 引用了 CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIP
- Outlier-Efficient Hopfield Layers for Large Transformer-Based Models 引用了 Modern Hopfield Networks and Attention for Immune Repertoire Classification
- Outlier-Efficient Hopfield Layers for Large Transformer-Based Models 引用了 Hopfield Networks is All You Need
- Outlier-Efficient Hopfield Layers for Large Transformer-Based Models 引用了 Language Models are Few-Shot Learners
- Outlier-Efficient Hopfield Layers for Large Transformer-Based Models 引用了 Large Associative Memory Problem in Neurobiology and Machine Learning
- On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs) 引用了 Hopfield Networks is All You Need
- On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs) 引用了 Uniform Memory Retrieval with Larger Capacity for Modern Hopfield Models
- On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs) 引用了 Language Models are Few-Shot Learners
- On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs) 引用了 Outlier-Efficient Hopfield Layers for Large Transformer-Based Models
引用它的顶会 Paper20
- The Closeness of In-Context Learning and Weight Shifting for Softmax RegressionShuai Li, Zhao Song, Yu Xia, Tong Yu 等NeurIPS 2024 · 53 次引用
- On Statistical Rates and Provably Efficient Criteria of Latent Diffusion Transformers (DiTs)Jerry Yao-Chieh Hu, Weimin Wu, Zhuoru Li, Sophia Pi 等NeurIPS 2024 · 49 次引用
- Outlier-Efficient Hopfield Layers for Large Transformer-Based ModelsJerry Yao-Chieh Hu, Pei-Hsuan Chang, Haozheng Luo, Hong-Yu Chen 等ICML 2024 · 46 次引用
- Uniform Memory Retrieval with Larger Capacity for Modern Hopfield ModelsDennis Wu, Jerry Yao-Chieh Hu, Teng-Yun Hsiao, Han LiuICML 2024 · 44 次引用
- The Fine-Grained Complexity of Gradient Computation for Training Large Language ModelsJosh Alman, Zhao SongNeurIPS 2024 · 33 次引用
它引用的 Paper26
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- Hopfield Networks is All You NeedHubert Ramsauer, Bernhard Schäfl, Johannes Lehner, Philipp Seidl 等ICLR 2021 · 620 次引用
- Large Associative Memory Problem in Neurobiology and Machine LearningDmitry Krotov, John J. HopfieldICLR 2021 · 202 次引用
- Modern Hopfield Networks and Attention for Immune Repertoire ClassificationMichael Widrich, Bernhard Schäfl, Milena Pavlovic, Hubert Ramsauer 等NeurIPS 2020 · 152 次引用
- CLOOB: Modern Hopfield Networks with InfoLOOB Outperform CLIPAndreas Fürst, Elisabeth Rumetshofer, Johannes Lehner, Viet T. Tran 等NeurIPS 2022 · 131 次引用
相关 Paper
- Nonparametric Modern Hopfield ModelsJerry Yao-Chieh Hu, Bo-Yu Chen, Dennis Wu, Feng Ruan 等ICML 2025
- Dynamical properties of dense associative memoryKazushi Mimura, Jun'ichi Takeuchi, Yuto Sumikawa, Yoshiyuki Kabashima 等ICLR 2026 · 6 次引用
- On Sparse Modern Hopfield ModelJerry Yao-Chieh Hu, Donglin Yang, Dennis Wu, Chenwei Xu 等NeurIPS 2023 · 52 次引用
- Provably Optimal Memory Capacity for Modern Hopfield Models: Transformer-Compatible Dense Associative Memories as Spherical CodesJerry Yao-Chieh Hu, Dennis Wu, Han LiuNeurIPS 2024 · 26 次引用
- Computational Limits of Low-Rank Adaptation (LoRA) Fine-Tuning for Transformer ModelsJerry Yao-Chieh Hu, Maojiang Su, En-Jui Kuo, Zhao Song 等ICLR 2025
