Back to AI News
arxiv

Tracepiler: Reasoning Traces as Programs

This paper introduces Tracepiler, a framework that treats LLM reasoning traces as programs executed in a small language called Ore. Every reasoning action has a defined effect on a reasoning world and must satisfy two obligations: the claim follows from the world, and it follows from the stated reason. On word problems, Tracepiler certifies correct traces and is more accurate than seven judge models, with Lean independently checking every verdict. It also locates more first errors than judges on olympiad number theory, using checked proofs to handle model-generated obligations.

AI Brief

It offers a novel formal-semantics approach to verifying LLM reasoning traces, catching true-but-unsupported steps that answer-level checks miss.

arXiv:2612.05963v1 Announce Type: cross 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.
Be the first to rate this article.

Comments & Questions (0)

Captcha
Please be respectful — let's keep the conversation friendly.

No comments yet

Be the first to comment!