现代Hopfield网络需要链式思考来解决$\mathsf{NC}^1$-难问题
Modern Hopfield Networks Require Chain-of-Thought to Solve $\mathsf{NC}^1$-Hard Problems
AI总结:
本文研究了现代Hopfield网络在解决$\mathsf{NC}^1$-难问题时的能力限制,并证明引入链式思考机制可使其突破$\mathsf{TC}^0$障碍。
摘要:
现代Hopfield网络(MHNs)已作为深度学习中的强大组件出现,用作有效的替代品,取代池化层、LSTMs和注意力机制。尽管最近的进展显著提高了它们的存储容量和检索效率,但其基本理论边界仍处于探索之中。在本文中,我们通过电路复杂性理论的视角,严格表征了MHNs的表达能力。我们证明了具有常数深度和线性隐藏维度的$\mathrm{poly}(n)$精度MHNs属于$\mathsf{DLOGTIME}$-均匀的$\mathsf{TC}^0$复杂度类。因此,在假设$\mathsf{TC}^0 \neq \mathsf{NC}^1$的情况下,我们证明这些架构无法解决$\mathsf{NC}^1$-难问题,如无向图连通性和树同构性。我们进一步将这些不可能性结果扩展到核化Hopfield网络。然而,我们显示这些限制并非绝对:我们证明为MHNs添加链式思考(CoT)机制可以使其超越$\mathsf{TC}^0$障碍,使其能够解决本质上串行的问题,如置换群$S_5$的单词问题。总体而言,我们的结果界定了标准MHNs和附加推理步骤的MHNs之间能力的细粒度边界。
英文摘要:
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 $\mathrm{poly}(n)$-precision MHNs with constant depth and linear hidden dimension fall within the $\mathsf{DLOGTIME}$-uniform $\mathsf{TC}^0$ complexity class. Consequently, assuming $\mathsf{TC}^0 \neq \mathsf{NC}^1$, we demonstrate that these architectures are incapable of solving $\mathsf{NC}^1$-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 $\mathsf{TC}^0$ barrier, allowing them to solve inherently serial problems like the word problem for the permutation group $S_5$. Collectively, our results delineate a fine-grained boundary between the capabilities of standard MHNs and those augmented with reasoning steps.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。