注意力图曲率用于数学推理验证 Attention-Graph Curvature for the Verification of Mathematical Reasoning 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-12
👁️ 预览文献
💡 AI 中文简介
大语言模型已能解决高难度数学问题,但其自然语言解答无法被证明助手自动验证,且一步出错会导致后续全错,因此尽早发现错误步骤很有价值。本研究探究模型注意力图的有向Forman曲率(一种由边周围注意力权重计算的局部量)是否携带步骤正确性信息。作者在ProcessBench上对比四种逐步验证器在输入中加入曲率前后的表现,发现加入曲率后四种验证器平均性能均提升,其中以整步所有token为输入的ReProbe提升最大,代价是前向传播时间平均增加18%。
领域大语言模型推理与形式化验证(AI数学推理)
适合谁读需要一定专业背景(了解大语言模型注意力机制与推理验证)
核心贡献首次将注意力图的有向Forman曲率作为逐步推理正确性的判别特征,并验证其可提升多种验证器性能;发现细粒度输入(全token)的验证器受益最大。
关键数据四种逐步验证器在ProcessBench上加入曲率后平均性能均提升,ReProbe提升最大;前向传播时间平均增加18%。
推荐理由想用几何视角给大模型推理“体检”、低成本提前抓出错误步骤的读者,这篇值得一读。
关键词["数学推理验证", "注意力图", "Forman曲率", "过程监督", "大语言模型", "错误检测"]

原文摘要

查看英文原文摘要

Language models have recently solved open Erdős problems and achieved gold-medal level performance on International Mathematical Olympiad problems. But their solutions, written in natural language, cannot yet be verified by proof assistants. An erroneous reasoning step can invalidate every step that comes after, so it is advantageous to detect errors early. Several methods have been proposed to detect erroneous reasoning quickly based on the features of the forward pass of the language model that performs reasoning. In this work, we study whether the directed Forman curvature of that model's attention graph, a local quantity computed at an edge from the attention weights around it, carries information about a step's correctness. To do so, we evaluate four per-step verifiers on ProcessBench with and without the curvature appended to their input. Appending curvature values improves the overall mean performance of all four verifiers. ReProbe, the verifier that takes every token of a step as input, shows the largest improvement. Adding the curvature increases the time of the language model's forward pass by 18% on average.