학술

Tracepiler: Reasoning Traces as Programs: A Language and Checked Verdicts for Natural-Language Reasoning

arXiv CS.AI
CC BY
이 매체는 공공·자유 라이선스로 본문을 직접 표시합니다.

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.
Additional Features

관련 뉴스