interwhen: A Generalizable Framework for Steering Reasoning Models with Test-time Verification

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Bhat, Vishak K, Chanda, Prateek, Ekbote, Vijval, Khandelwal, Ashmit, Swaroop, Maitreyi, Balasubramanian, Vineeth N., Kambhampati, Subbarao, Natarajan, Nagarajan, Sharma, Amit
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916008214659072
author Bhat, Vishak K
Chanda, Prateek
Ekbote, Vijval
Khandelwal, Ashmit
Swaroop, Maitreyi
Balasubramanian, Vineeth N.
Kambhampati, Subbarao
Natarajan, Nagarajan
Sharma, Amit
author_facet Bhat, Vishak K
Chanda, Prateek
Ekbote, Vijval
Khandelwal, Ashmit
Swaroop, Maitreyi
Balasubramanian, Vineeth N.
Kambhampati, Subbarao
Natarajan, Nagarajan
Sharma, Amit
contents 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 https://github.com/microsoft/interwhen.
format Preprint
id arxiv_https___arxiv_org_abs_2602_11202
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle interwhen: A Generalizable Framework for Steering Reasoning Models with Test-time Verification
Bhat, Vishak K
Chanda, Prateek
Ekbote, Vijval
Khandelwal, Ashmit
Swaroop, Maitreyi
Balasubramanian, Vineeth N.
Kambhampati, Subbarao
Natarajan, Nagarajan
Sharma, Amit
Logic in Computer Science
Artificial Intelligence
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 https://github.com/microsoft/interwhen.
title interwhen: A Generalizable Framework for Steering Reasoning Models with Test-time Verification
topic Logic in Computer Science
Artificial Intelligence
url https://arxiv.org/abs/2602.11202