Tracepiler:将推理轨迹作为程序的语言与可校验判定方法
Tracepiler: Reasoning Traces as Programs: A Language and Checked Verdicts for Natural-Language Reasoning
AI 导读
Tracepiler 将语言模型推理轨迹视为程序,通过 Ore 语言逐步重写并校验每步声明与理由,首个错误可被明确定位。在算术应用题上,它能认证所有正确轨迹,判定准确率超过七款模型裁判中的最强者,且每项判定均由 Lean 独立重证;在奥数数论题上,其定位首个错误的数量超过任何裁判模型。
正文 · 原文
Abstract:Language models now write out their reasoning, and people act on it. Yet a right answer can rest on a step that is false, or on one that is true and does not follow from the reason it gives. Checking the answer sees neither, and a prover that finds its own proof of the final claim says nothing about the inference the text made. We treat a reasoning trace as a program: its steps are actions on a reasoning world, and checking the trace is giving that program a semantics. Ore is a small language in which a model rewrites a trace step by step. Every action, right or wrong, has a defined effect on the world and owes two obligations: that its claim follows from the world, and that it follows from the reason the step states. A claim refuted by a checked countermodel is withdrawn, which makes the first error of a trace well defined and keeps the world consistent. A domain is a library written in Ore, with definitions, checked theorems, and named assumptions that verdicts carry. Evidence is found by untrusted search and accepted only by small checkers and a kernel. On word problems, Tracepiler certifies every correct trace and is more accurate than the strongest of seven models used as judges, and Lean independently re-proves every verdict; a substantial share of the correct traces contain a true step that its stated reason does not support. On olympiad number theory Tracepiler locates more first errors than any judge, and a small language model used as an untrusted prover, each proof checked by Lean, proves most of the obligations its own search leaves open.
| Comments: | 27 pages |
| Subjects: | Programming Languages (cs.PL); Artificial Intelligence (cs.AI); Logic in Computer Science (cs.LO) |
| Cite as: | arXiv:2612.05963 [cs.PL] |
| (or arXiv:2612.05963v1 [cs.PL] for this version) | |
| https://doi.org/10.48550/arXiv.2612.05963 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Yeqi Gao [view email]
[v1]
Thu, 3 Dec 2026 15:51:09 UTC (68 KB)
来源:arXiv cs.AI · arxiv.org