arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.00861cs.AIcs.CLcs.GTcs.LG
收藏

多头注意力是一个多玩家游戏

Multi-Head Attention Is a Multi-Player Game

Kushal Chakrabarti, Nirmal Balachundar

AI总结:

本文提出GAME-LoRA方法,通过多头注意力的博弈论视角,通过正则化减少Γ(G)来降低价格无效率,有效减少幻觉并提升模型性能。

摘要:

现代变压器注意力在内部是多智能体的--头之间竞争和协调--然而我们将其训练为一个单一的优化器。我们正式化这个差距:交叉熵训练导致头之间隐含的势游戏,梯度下降收敛到纳什均衡,但可能由于未定价的外部性(冗余、相关误差)导致效率无界下降。我们的主要结果将价格的无效率限制为Γ(G),即头交互矩阵的非对角质量,捕捉权重和梯度耦合。在温和的光滑性假设下,我们证明了过量幻觉概率和过量头冗余都与PoA成比例,将两种不同的失败模式统一为单一机制。该界限具有指导性:减少Γ(G)的正则化可以证明性地收紧PoA。我们将此实例化为GAME-LoRA,结合Barlow Twins去相关和对数确定性协调压力。实验验证了理论:Γ(G)预测幻觉(p<0.05),涌现的联盟表现出选择性协调,而GAME-LoRA在无知识退化的情况下实现了高达18%的幻觉减少(8%平均),这是忽略游戏结构的方法无法达到的帕累托改进。

英文摘要:

Modern transformer attention is internally multi-agent -- heads compete and coordinate -- yet we train it as if it were a monolithic optimizer. We formalize this gap: cross-entropy training induces an implicit potential game among heads, and gradient descent converges to Nash equilibria with potentially unbounded inefficiency due to unpriced externalities (redundancy, correlated errors). Our main result bounds the Price of Anarchy by $Γ(G)$, the off-diagonal mass of a head interaction matrix capturing weight and gradient coupling. Under mild smoothness assumptions, we prove that both \emph{excess hallucination probability} and \emph{excess head redundancy} scale with PoA, unifying two distinct failure modes into a single mechanism. The bound is prescriptive: regularization that reduces $Γ(G)$ provably tightens PoA. We instantiate this as GAME-LoRA, combining Barlow Twins decorrelation with log-determinant coordination pressure. Experiments validate the theory: $Γ(G)$ predicts hallucination ($p{<}0.05$), emergent coalitions exhibit selective coordination, and GAME-LoRA achieves up to 18\% hallucination reduction (8\% average) with no knowledge degradation -- a Pareto improvement inaccessible to methods ignoring the game structure.

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

↑