arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2601.09775cs.LGcs.CL
收藏

思维的几何学:揭示Transformer为热带多项式电路

The Geometry of Thought: Disclosing the Transformer as a Tropical Polynomial Circuit

Bahçeşehir University(巴切希尔大学)

Faruk Alpay, Bilge Senturk

AI总结:

本研究揭示Transformer在高置信度下通过热带多项式电路实现动态规划,为链式思维提供几何解释。

摘要:

我们证明在高置信度 regime(β→∞,其中β是逆温度)中,Transformer 自注意力机制在热带半环(最大-加代数)中运作。具体来说,我们展示了对 softmax 注意力取热带极限会将其转换为热带矩阵乘积。这揭示了 Transformer 的前向传递本质上是在由 token 相似性定义的潜在图上执行动态规划递归(具体而言,是 Bellman-Ford 路径查找更新)。我们的理论结果为链式思维推理提供了新的几何视角:它源于网络计算中固有的最短路径(或最长路径)算法。

英文摘要:

We prove that the Transformer self-attention mechanism in the high-confidence regime ($β\to \infty$, where $β$ is an inverse temperature) operates in the tropical semiring (max-plus algebra). In particular, we show that taking the tropical limit of the softmax attention converts it into a tropical matrix product. This reveals that the Transformer's forward pass is effectively executing a dynamic programming recurrence (specifically, a Bellman-Ford path-finding update) on a latent graph defined by token similarities. Our theoretical result provides a new geometric perspective for chain-of-thought reasoning: it emerges from an inherent shortest-path (or longest-path) algorithm being carried out within the network's computation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑