[Paper Review] interwhen: A Generalizable Framework for Verifiable Reasoning with Test-time Monitors
This paper introduces interwhen, a test-time verification framework that guides reasoning traces with meta-prompted verifiable states, enabling self- or externally-verified steering to improve accuracy and efficiency without sacrificing soundness.
Reasoning models produce long traces of intermediate decisions and tool calls, making test-time verification increasingly 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 at substantially higher compute cost. We introduce interwhen, a single-trajectory verification framework that steers model behavior by providing feedback on intermediate verifiable properties. Our method addresses two key challenges. First, extracting intermediate solutions from a reasoning trace typically requires prompt engineering or external task decomposition into fixed steps, which can constrain the model's reasoning strategy. Instead, we periodically poll the reasoning trace and fork inference to recover intermediate solutions without imposing any predefined structure. Second, frequent verifier calls can increase latency; we address this by running verifiers asynchronously and interrupting the main trajectory only when an error is detected, leaving generation unaffected otherwise. This design improves both reliability and efficiency, and naturally supports early stopping based on consistency over recent intermediate solutions. Across benchmarks in code generation and arithmetic, logical and spatial reasoning, interwhen improves accuracy by up to 15 percentage points over standard chain-of-thought execution while staying within 1.5x of token compute cost. Moreover, on every dataset, interwhen achieves a Pareto-optimal operating point between accuracy and efficiency compared to existing test-time verification methods. Code is available at https://github.com/microsoft/interwhen.
Motivation & Objective
- Motivate verification of language-model outputs in high-stakes domains (law, finance, physical world) beyond final answers.
- Propose a general framework to verify and steer partial reasoning traces at test time without externally breaking problem solving apart from the model.
- Introduce meta-prompting to extract verifiable intermediate states and enable verification with either self-verification or external verifiers.
- Demonstrate that intervening on partial traces can improve efficiency (early stopping) or accuracy (test-time scaling) across multiple datasets.
Proposed method
- Define verifiable states as intermediate reasoning states using meta-prompting to structure outputs for easy extraction.
- Three core operations: extract_state, verify, and intervene, to implement any verifer-based or self-verification strategy.
- Present a Sequential Verifier algorithm that maintains a single trace and appends verifier feedback inline when a state fails, enabling adaptive correction.
- Case studies: internal verification for early stopping (k-Stable Answer) and external verification for test-time scaling with structured prompts and verifiers.
- Demonstrate that soundness is guaranteed when using external verifiers by design.
Experimental results
Research questions
- RQ1How to identify verifiable steps in an LM's stream of output without externally decomposing the problem?
- RQ2How to verify intermediate states and steer the LM's reasoning when verifiers indicate issues?
- RQ3Can intervening on partial traces improve efficiency (early stopping) and/or accuracy (test-time scaling) across tasks and domains?
Key findings
- Using self-verification, interwhen achieves state-of-the-art efficiency for early stopping in reasoning models without accuracy loss.
- With external verifiers, interwhen improves accuracy by up to 10 percentage points over test-time scaling baselines while ensuring 100% soundness and being at least 4x more efficient.
- On Maze, SpatialMap, and GameOf24, k-Stable (Internal Verification) reduces token usage substantially with accuracy preserved.
- On Maze and SpatialMap, external-verifier setups with interwhen outperform Tree-of-Thought variants in accuracy while maintaining soundness; on GameOf24, gains are observed with comparable token efficiency.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.