Catch It Where It Happens:LLM 推理过程中的实时错误纠正
Catch It Where It Happens: Real-Time Error Correction During LLM Reasoning
研究提出在线确定性验证方法,用代码在推理步骤写出时实时校验,无需调用模型或占用 GPU,检查失败即指出错误并让模型从原处继续。在 ASyMoB 基准上用三个开放权重模型测试,准确率提升 1.4-5.6 个百分点,错误答案净减少 1.8-14.9%,token 用量仅增加 6-7%。验证器独立于模型,可随确定性检查器扩展至更多推理步骤类型而持续受益。
arXiv:2611.13107v2 Announce Type: replace Abstract: Large language models (LLMs) are increasingly trusted with mathematical, scientific and engineering work, yet their mistakes are often confidently written and hard to spot. A single wrong step tends to propagate, making the model waste inference tokens following a false premise. Existing safeguards either check only the final answer and restart from scratch, or rely on a verifier LLM that competes for GPU capacity and slows down response time. We propose online, deterministic verification: many kinds of reasoning steps can be validated by code, so a step can be verified in real time, as it is written, without any model call or GPU use. Whenever a check fails, we point out the mistake and let the model continue from the same spot. We demonstrate this approach on symbolic mathematics, where derivations already contain explicit expressions that a computer algebra system can check in milliseconds. Tested on the ASyMoB benchmark with three open-weights models, our online validation improves accuracy by 1.4-5.6 percentage points, corresponding to a 1.8-14.9% net reduction in incorrect answers, while increasing token usage by only 6-7%. Because the verifier is independent of the model, the approach complements progress in LLMs rather than competing with it: every new model can benefit immediately, and the benefit grows as deterministic checkers extend to more kinds of reasoning steps.
来源:arXiv (AI + Vision + Imaging) · arxiv.org