arXiv cs.AI· Vishak K Bhat, Vijval Ekbote, Prateek Chanda, Ashmit Khandelwal, Maitreyi Swaroop, Vineeth N. Balasubramanian, Subbarao Kambhampati, Nagarajan Natarajan, Amit Sharma·· 10 小时前AI 评分49
interwhen:用测试时验证引导推理模型的可泛化框架
interwhen: A Generalizable Framework for Steering Reasoning Models with Test-time Verification
AI 导读
interwhen 是一个单轨迹测试时验证框架,通过周期性轮询推理轨迹、分叉推理过程恢复中间状态,在违规发生时才介入,对正确执行几乎无额外开销。它能从自然语言策略文档自动合成代码验证器,包括 Lean 和 z3 中可证明正确的验证器。在 tau2-bench 电信领域,Qwen3-30B 无需微调的任务完成率从 32% 提升至 87%。
正文 · 原文
Abstract:Reasoning models produce long traces of intermediate decisions and tool calls, making test-time verification important for ensuring correctness. Existing approaches either verify only the final answer, which misses early errors, or rely on branch-and-verify strategies that explore multiple trajectories. We introduce interwhen, a single-trajectory verification framework that steers model behavior by providing feedback on intermediate reasoning traces. It addresses two key challenges. First, given a set of verifiers, obtaining verifiable states from the reasoning trace typically requires prompt engineering or external task decomposition into fixed steps. Instead, we propose a monitoring system that periodically polls the reasoning trace and forks inference of the reasoning model to recover intermediate states. Verifiers are run asynchronously alongside generation, adding negligible overhead on correct executions and intervening only when violations occur. Second, beyond math and code, a central challenge for process verification is the scarcity of verifiers. interwhen addresses this through automatic verifier synthesis from natural-language policy documents. Given a policy, it can generate code-based verifiers, including provably correct verifiers in Lean and z3. Together, these contributions yield a plug-and-play test-time verification system that can improve task completion and policy compliance of any reasoning agent. On reasoning benchmarks where policies encode mathematical or logical constraints, interwhen achieves near-perfect accuracy for reasoning models using a fraction of the tokens of baselines. On agentic benchmarks with policy-based verifier generation, it enables improvements in task quality for SLMs without any finetuning, e.g., task completion rate of Qwen3-30B jumps from 32% to 87% on the telecom domain in tau2-bench. Code at this https URL.
| Comments: | 62 pages, 6 figures |
| Subjects: | Logic in Computer Science (cs.LO); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2602.11202 [cs.LO] |
| (or arXiv:2602.11202v4 [cs.LO] for this version) | |
| https://doi.org/10.48550/arXiv.2602.11202 arXiv-issued DOI via DataCite |
Submission history
From: Vishak K Bhat [view email]
[v1]
Thu, 5 Feb 2026 08:35:01 UTC (1,199 KB)
[v2]
Tue, 17 Mar 2026 18:20:33 UTC (2,980 KB)
[v3]
Wed, 13 May 2026 11:00:51 UTC (1,446 KB)
[v4]
Wed, 25 Nov 2026 08:53:41 UTC (705 KB)
来源:arXiv cs.AI · arxiv.org