potentialpaper

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

Vishak K Bhat, Vijval Ekbote, Prateek Chanda, Ashmit Khandelwal, Maitreyi Swaroop, Subbarao Kambhampati, Vineeth N. Balasubramanian, Nagarajan Natarajan, Amit Sharma

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. 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 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, which can constrain the model's reasoning strategy. 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 system for policy-grounded, formally verified process supervision of any reasoning agent. On reasoning benchmarks where policies encode mathematical or logical constraints, interwhen-based steering achieves near-perfect accuracy for reasoning models using a fraction of the token compute of test-time verification baselines. On agentic benchmarks with policy-based verifier generation, it enables significant improvements in task quality for SLMs without any finetuning; e.g., the task completion rate of Qwen3-30B jumps from 32% to 87% on the telecom domain in tau^2-bench.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
5 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]—[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:43 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

The paper proposes interwhen, a test-time framework for steering reasoning models and agents using intermediate verification. It periodically forks a partial reasoning trace at step boundaries, extracts state variables, runs code-based verifiers asynchronously, and rolls back with feedback when violations are detected. Verifiers are synthesized automatically from natural-language policies, with a Lean-based variant proving that verifier code matches a generated formal specification. Results across eight agentic and non-agentic benchmarks show gains, including a large τ2\tau^2-bench telecom improvement at near-parity token cost.

The main strengths are the importance of process-level policy compliance (xc3V, evJK) and the practical appeal of the asynchronous fork-and-verify design, which pays verification overhead only on violating traces (X4PB, xc3V). The evaluation is broad, and the ablations decomposing policy, trace, and prompt-derived verifier contributions, the probing analysis, and the small-extractor robustness check are valuable (xc3V).

The authors should prioritize the following concerns in their response.

First, the correctness guarantees are overstated: Lean proves that verifiers match a generated specification, not that the specification faithfully captures the natural-language policy, and the paper itself exhibits a mistranslated rule (xc3V, evJK).

Second, the pipeline hinges on LLM-based state extraction, yet there is no rigorous false-positive and false-negative analysis of extraction errors (X4PB, evJK).

Third, the strongest results rely on trace and prompt-derived verifiers rather than policy-derived ones alone, which weakens the automatic policy-to-verifier claim and reintroduces human engineering (X4PB, evJK).

Fourth, cost accounting is incomplete, including forked extraction tokens, retries, offline verifier generation with a frontier model, and latency (X4PB, xc3V, evJK).

Finally, the monitoring schedule is underspecified, the Markov-chain analysis is disconnected from the experiments with unmeasured parameters, and results appear to be single-run point estimates without significance testing (X4PB, xc3V).

Convincing responses on these points would be an important consideration in the subsequent discussion of this paper.

Final justification

This paper proposes interwhen, a test-time framework for steering reasoning models and agents via intermediate process verification. The method periodically forks a partial reasoning trace, extracts state variables, checks them with code-based verifiers, and rolls back with feedback when violations are detected. Verifiers are synthesized from natural-language policies, with an optional Lean-based route checking verifier/specification consistency.

The main concerns involved overstated guarantees, reliance on state extraction, verifier synthesis fidelity, cost accounting, and significance reporting. The rebuttal substantially addressed these: the authors clarified that guarantees are with respect to the verifier set, provided extraction error rates, added standard deviations, clarified monitoring schedules, and better accounted for offline and runtime costs.

Area Chair VCtF · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The paper proposes interwhen, a test-time framework for steering reasoning models and agents using intermediate verification. It periodically forks a partial reasoning trace at step boundaries, extracts state variables, runs code-based verifiers asynchronously, and rolls back with feedback when violations are detected. Verifiers are synthesized automatically from natural-language policies, with a Lean-based variant proving that verifier code matches a generated formal specification. Results across eight agentic and non-agentic benchmarks show gains, including a large τ2\tau^2-bench telecom improvement at near-parity token cost.

The main strengths are the importance of process-level policy compliance (xc3V, evJK) and the practical appeal of the asynchronous fork-and-verify design, which pays verification overhead only on violating traces (X4PB, xc3V). The evaluation is broad, and the ablations decomposing policy, trace, and prompt-derived verifier contributions, the probing analysis, and the small-extractor robustness check are valuable (xc3V).

The authors should prioritize the following concerns in their response.

First, the correctness guarantees are overstated: Lean proves that verifiers match a generated specification, not that the specification faithfully captures the natural-language policy, and the paper itself exhibits a mistranslated rule (xc3V, evJK).

Second, the pipeline hinges on LLM-based state extraction, yet there is no rigorous false-positive and false-negative analysis of extraction errors (X4PB, evJK).

Third, the strongest results rely on trace and prompt-derived verifiers rather than policy-derived ones alone, which weakens the automatic policy-to-verifier claim and reintroduces human engineering (X4PB, evJK).

Fourth, cost accounting is incomplete, including forked extraction tokens, retries, offline verifier generation with a frontier model, and latency (X4PB, xc3V, evJK).

Finally, the monitoring schedule is underspecified, the Markov-chain analysis is disconnected from the experiments with unmeasured parameters, and results appear to be single-run point estimates without significance testing (X4PB, xc3V).

Convincing responses on these points would be an important consideration in the subsequent discussion of this paper.

Final justification

This paper proposes interwhen, a test-time framework for steering reasoning models and agents via intermediate process verification. The method periodically forks a partial reasoning trace, extracts state variables, checks them with code-based verifiers, and rolls back with feedback when violations are detected. Verifiers are synthesized from natural-language policies, with an optional Lean-based route checking verifier/specification consistency.

The main concerns involved overstated guarantees, reliance on state extraction, verifier synthesis fidelity, cost accounting, and significance reporting. The rebuttal substantially addressed these: the authors clarified that guarantees are with respect to the verifier set, provided extraction error rates, added standard deviations, clarified monitoring schedules, and better accounted for offline and runtime costs.

Reviewer evJKOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper presents interwhen framewrok which improves reasoning models through test-time process verification. The proposed mehtod generates verifiers using LLMs and validate the reasoning trace using those verifiers during test-time asynchronously. Although this paper explores a worthwhile direction, the method and experiments raise several concerns regarding the soundness and necessity of the design.

Strengths and weaknesses

Strengths:

  1. It's an important topic and is worth exploring.

Weaknesses:

  1. The correctness of the verifier is the key part of the proposed framework. However, this cannot be fully guaranteed. The verifier is generated by a LLM without any further evaluation, errors in the verifier may directly affect the reliability of the whole framework. The Lean-based verification does not fully guarantee the correctness. It only proves consistency between the verifier and the generated formal specification.
  2. The state extraction is also another source of uncertainty. If the current state and the constraints are clear, the LLM can easily extract the state or even directly verify the reasoning trace. But if the state is unclear and LLM fail to verify the reasoning trace, it also unclear how the LLM can extarct the state instead.
  3. The experiment results show that the improvement brought by the policy alone is limited compared with the prompt-based verification.
Questions
  1. What's the additional cost the generation of the verifie as it may use more advanced models?
  2. How can the semantic correctness of the verifier be guranteed given the limited capability of Lean-based checking alone?
  3. What are the performance and cost of prompt-based verification alone?
Limitations

The correctness of the verifier should be discussed in more detail.

Final justification

The rebuttal addressed most of my concern regarding state-extraction error, verifier-generation cost, and the prompt-only ablation. The framework is a practical and broadly evaluated contribution. A key limitation is that the correctness guarantee covers only verifier-to-spec consistency, while the fidelity of the specification to the natural-language policy still rests on manual inspection, and the Lean configuration is in fact less accurate and more token-expensive than the manually validated Python verifiers.

Formatting concerns

N/A

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

W1, Q2: Correctness of the verifier

We can guarantee the correctness of the verifier with respect to the policy. Our synthesis turns the natural-language policy into a specification, using which we generate the verifier code. On tau2 telecom benchmark, we got 20 Lean specs. The value of our design is that a human can easily check if the specs are matching the Policy or not. After the human check is passed we can say that the verifier is valid with respect to the Policy. We built this mapping for all 20 tau2-telecom rules, a sample is shown below.

Rule Policy sentence (verbatim) Specification Meaning (backtranslated)
R3 "You should always check that the bill is overdue before sending a payment request." (L113) ∃ b, lookupBill s bid = some b ∧ b.status = BillStatus.overdue a payment request only goes out on an overdue bill
R9 "You are not allowed to lift the suspension if the line's contract end date is in the past..." (L122) ∃ l, lookupLine s lid = some l ∧ l.contractEndDate ≥ s.today do not lift a suspension if the contract end date has passed

We use these specs to generate the corresponding code and proof. We iterate until Lean passes all the (spec, code, proof) triplets. In our experiments, the process converges in 2 iterations (see xc3V Q1), and the by-hand spec-vs-policy check found no mismatches. We can share the full mapping and proofs as an anonymized zip with the AC.

W2: Is State extraction reliable?

Yes as stated in X4PB, W1, we evaluated the error rate of the state extractor and it is negligible. We compare each extracted value against ground truth (grid state for Maze, ticket value for tau2) and label it correct, wrong (false positive), or missed (false negative):

Setting What is extracted Extractions Wrong (FP) Missed (FN)
Non-agentic Steps from forked trace (main LLM) 12,000 (Maze) 5 (0.04%) 15 (0.1%)
Agentic Tool name + arguments (parsed, no LLM) 6,975 (tau2) + 7,612 (AgentSafety) 0 0
Agentic Values from user message, e.g. phone/name (3B SLM) 398 (tau2) 0 0

Non-agentic. The extractor forks the trajectory, the main LLM regenerates the step in a fixed format, and it reads the state from that fork. Out of ~12,000 calls on Maze, 0.1% returned nothing and 0.04% returned a wrong value. A missed value makes the verifier abstain and fall back to plain CoT; a wrong value is bounded by Thm. C.1/C.2, which keeps compliance at or above baseline. Extraction is also a strictly easier job than deciding compliance, which is why even a small 3B model matches a frontier extractor (Table 8).

Agentic. The verifier fires right before a tool call, and two types of extraction can happen: 1) read the tool name and arguments straight from the structured call, where there is no scope for extraction error; 2) use an SLM (3B) to read user-stated grounding values (phone, name, travelling status, country), which also incurred no error as in the table above, matching a frontier extractor (Table 8).

W3, Q3: Performance and cost of Policy-only vs prompt-based verifiers

On tau2 telecom, the full interwhen stack sits on top of CoT and uses three verifier components: a policy verifier, a trace verifier, and a completeness verifier (the prompt-based verifier the reviewer asks about, which checks that the instance-specific actions a task needs were actually carried out). The prompt-based verifier on its own, with no policy or trace verifier, reaches 38.67% (last row). We can clearly see that just prompt based verifier doesn't give much improvement.

Telecom (solo, 114 tasks) Reward Env pass Action Token %
CoT (baseline) 32.17 35.00 76.23 100.0
IW (policy) 42.11 42.00 81.10 116.7
IW (policy + trace) 71.10 81.20 89.68 97.4
IW (policy + trace + prompt, full) 87.70 90.80 98.80 96.9
IW (prompt only) 38.67 36.63 77.57 112.25

On cost, the prompt-only setting runs at 112.25% of the CoT baseline tokens (last row), a small overhead, and this Token% already counts all of the method's overhead (the retries and the feedback; see (X4PB) Q3, W4). The prompt-based verifier uses a very small model that extracts the minimum required tool calls for completing the task, and if the conversation ends early we give feedback to check whether all the tasks are done or not. Since this is a small model compared to the main LLM and it extracts just a few words, we don't count these tokens in the cost.

If the concern is about Policy + trace + completeness getting very high numbers compared to just Policy, then we argue as stated in X4PB Q1 that it is because the Policy is incomplete / contains errors. For example, on tau2-telecom the policy says "at most 2GB of data can be refueled", but we get penalized if its not exactly 2GB which is a bug. Therefore we can say that given a good policy alone is sufficient to see good performance.

Q1: Additional cost of generation of verifiers

The verifier generation is a one-time, offline cost, and the runtime itself needs no frontier model. We generate the verifiers once with Claude-Opus-4.7:

  • tau2-telecom: roughly 35k tokens, about 2 USD to generate.
  • AgentSafetyBench: roughly 18k tokens, about 1 USD to generate.

This is paid once and never recurs at inference time.

Authors · CommentOpenReview ↗

Dear Reviewer evJK,

As the response window draws to a close, we wanted to reach out to see if there are any outstanding issues or points of clarification we can address before the deadline.

If you feel that our replies have resolved your concerns, we would be sincerely thankful if you could consider raising the current score in your overall evaluation. We truly appreciate your time and the valuable feedback you’ve provided to help improve our work.

Best regards,

The Authors of #33924

Reviewer evJK · CommentOpenReview ↗

Thank you for the response. I will adjust my score.

Reviewer xc3VOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The paper introduces interwhen, a test-time framework for steering reasoning models so that their reasoning process complies with a natural-language policy. The core proposal has two parts. (1) An online, asynchronous single-trajectory steering mechanism: as the reasoning model generates, a monitor periodically "forks" the model at step boundaries to extract verifiable "state variables" from the partial trace. Code-based verifiers run asynchronously on these states; if no violation is found there is no added latency, and only on a detected violation does the system roll back to the fork point, inject feedback, and resume. (2) An offline auto-formalization of policies into code-based verifiers: a frontier LLM converts a natural-language policy document into per-rule verifier code plus a state→verifier mapping; a Lean-based variant additionally produces a formal spec and machine-checked proofs that each verifier is sound and complete w.r.t. its spec, so human review is needed only on the spec.

The authors formalize "reasoning under policy compliance, give a two-state Markov-chain analysis characterizing when verification-based steering beats unassisted execution, and evaluate on eight benchmarks: agentic and non-agentic. Headline results: on τ²-bench telecom solo mode, Qwen3-30B's reward rises from 32.17% (CoT) to 87.70% (IW policy+trace+prompt) at ~0.97× the token budget; non-agentic results show IW/IW-GT on the accuracy-token Pareto frontier vs Best-of-N, Generate-Test, and Tree-of-Thoughts.

Strengths and weaknesses

Strengths

The paper tackles a timely and practically important problem—steering an agent's reasoning process, not just its final answer, to comply with a written natural-language policy, cheaply and at inference time without any finetuning. The framing is careful and the formalism (Sec. 3–4) is mostly clean: the partial-trace, rule, and policy definitions (Defs. 3.1–3.4) and the policy-verifier soundness condition (Def. 4.2) are reasonable, and the process-vs-final-answer distinction is well-motivated by the τ²-bench example (Remark 3.1, lines 152–155). The asynchronous forking design (Sec. 4.1, lines 210–220) is a genuinely sensible engineering idea—verification overhead is paid only on violating traces, which the token-budget columns (at or below the CoT baseline on several tasks) substantiate—and the running refund-mode example (lines 235–244) makes the verifier-synthesis pipeline concrete. The empirical sweep is broad (eight benchmarks, agentic and non-agentic), and the ablations are the strongest part of the paper: Table 5 cleanly decomposes the τ²-bench gain into policy / +trace / +completeness contributions; Table 3 and Fig. 3 give a posthoc probing result showing verifier feedback raises the probability of the correct option by 32.6 points on Maze; and Table 8 shows a 3B extractor matches a frontier extractor to within 0.4 points—an important robustness check, since the whole pipeline hinges on extraction quality. The headline τ²-bench telecom result (reward rising from 32% to 87.7% at roughly the CoT token budget, Table 1c), if it holds up, is a large, attention-worthy gain at near-parity cost. On significance and originality, the combination is novel: I am not aware of prior work coupling asynchronous single-trajectory forking-based state extraction with auto-formalized, Lean-proven code verifiers for general policies, and Sec. 2 positions this reasonably against branch-and-verify/ToT, PRMs, and natural-language-to-formal-spec work.

Weaknesses

The central concerns are overstated guarantees, theory disconnected from the experiments, and missing statistics. (i) The soundness claim is overstated. The abstract and lines 76–78 say that if the system outputs an answer it is "guaranteed to satisfy all verifiers," and the Lean variant is described as yielding "provably correct verifiers." But the guarantee is conditional on the verifiers being complete with respect to the true policy and on the LLM-based state extraction being correct—both acknowledged failure points (lines 78–79, 390–393, App. E.2). The paper itself shows the policy-to-verifier translation is incomplete in practice ("refueling exactly 2GB" versus "at most 2GB," lines 353–354), which directly contradicts the soundness framing: a verifier that mis-encodes the policy can pass a non-compliant trace. The Lean proofs guarantee that the verifier matches its specification, not that the specification faithfully captures the policy—the part that actually matters, and the part left to manual review (lines 252–255). This gap should be confronted far more prominently. (ii) The theory is decorative relative to the empirical claims. The two-state Markov model (App. C) collapses the entire compliance trajectory into a single yes/no compliance state, with feedback abstracted into several free parameters (verifier accuracy on correct and incorrect states, the chance feedback fixes a violation, the chance it preserves a compliant state) that are never measured or tied to any experiment. The proofs are correct as algebra (the stationary-distribution computation on p. 16 and the induction in Thm. C.2 both check out), but they establish a near-tautology: feedback helps whenever feedback quality exceeds a threshold. The one crisp consequence—that when unassisted execution cannot recover from errors, interwhen is superior for all horizons (lines 287–288)—holds precisely in the regime where any corrective signal trivially helps. Because none of the parameters are estimated from real traces, the theory neither predicts nor explains the headline numbers. (iii) No variance or significance reporting. Tables 1 and 2 appear to be single-run point estimates, with no error bars, seeds, or significance tests anywhere except Fig. 3; several non-agentic gains (e.g., Game24 95.0→97.2, ZebraLogic 95.5→97.9 in Table 2) are small enough that I cannot tell whether they are meaningful.

On clarity, the "fork" operation is described only verbally (lines 192–199), with its actual realization (a second decoding pass seeded with the prefix plus an extraction prompt) buried in App. G; the naming is inconsistent ("interwhen-GT(k)" vs. "IW-GT-k" vs. "TW-GT-k," the last an apparent typo at line 322), and the strong requirement in Def. 4.2 that every partial trace admits a verifier is never revisited. Finally, on significance and originality: the most impressive numbers come from a single domain (telecom) of a single benchmark; the pipeline depends on a closed frontier model (Claude-Opus-4.7) for offline verifier synthesis, whose own failure rate is unquantified; and while the integration is novel, the individual ingredients are each close to cited prior art—single-trajectory steering ([24], [10], [26]), reflection-token insertion ([22]), and auto-formalization ([39, 28, 40])—making this an incremental rather than conceptual advance.

Questions
  1. Verifier-synthesis failure rate. The offline phase uses Claude-Opus-4.7 to generate verifiers, and the Lean pipeline "iteratively prompts... as long as triplets are inconsistent" (line 378). What fraction of policy rules failed to yield a compiling/proving Lean triplet, and what happens to those rules at inference time—silently dropped, or fall back to a Python verifier? This directly affects the "provably verified" claim.

  2. Theory-experiment connection. Can you estimate the Markov parameters (δ,γ,ϕfix,ϕsafe,β,β′\delta,\gamma,\phi_{\text{fix}},\phi_{\text{safe}},\beta,\beta') from your actual traces on one benchmark and check whether the predicted qTiwq^{\text{iw}}_T tracks the observed compliance trajectory? As written, App. C is detached from the empirics; even one such calibration would make the analysis load-bearing.

  3. Fork overhead accounting. The "negligible overhead" claim depends on forked extraction calls. Are the forked decoding tokens (App. G shows ~300–800 tokens per fork) counted in the Token% columns? Line 338 says verification tokens are counted, but it is unclear whether the forked extraction generation (a separate decode) is included. If not, the near-parity token claims are optimistic.

Limitations

yes

Final justification

I have adjusted my evaluation after reading the authors' responses.

Formatting concerns

N/A

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

W1: Scope of the soundness guarantee and validity of the verifiers

interwhen guarantees soundness with respect to the verifier set, not the natural-language policy directly. The model proceeds only if it passes all the verifier else refrains. As we showed the validity of verifier in (X4PB, W2) with respect to the policy, we can say that interwhen is sound.

The "2GB" case (lines 353-354) This is an issue with the Policy and not in our methodology. The Policy says "at most 2GB of data can be refueled", but the dataset ground-truth requires it to be exactly 2GB. Therefore we add this rule in the policy and rerun the automatic synthesis. This is a feature, not a bug, the user can add or refine verifiers (the Policy + Trace setting), to improve the policy and in turn the verifiers.

State extraction errors stays bounded and we measured it near zero As we respond in Reviewer X4PB W1/Q2, in the agentic setting, 1) the determininstic tool call parsing is exact (0/6975 extraction errors in tau2 bench), and 2) the SLM extractor we use to extract the values from user statement also is exact (0% wrong and missed cases). In the non-agentic setting, Thm. C.1/C.2 shows that interwhen is at or above baseline even under extraction errors, and Table 8 shows a 3B extractor closely matches a frontier one.

Completeness i.e. catching every violation is a separate, harder question we do not claim to solve and will flag as open.

W3: Variance and significance

We did considered noise and variance and report average of 4 runs in Table 1 and of 3 runs in Table 2. In every case the gain is well outside the standard deviation:

Dataset CoT (mean ± SD) IW (mean ± SD)
tau2-telecom (Qwen3-30B, solo) 32.17 ± 0.68 87.70 ± 0.84
Game24 95.0 ± 0.31 97.2 ± 0.24
ZebraLogic 95.5 ± 0.14 97.9 ± 0.45
ZebraLogic-XL 79.2 ± 0.49 90.6 ± 0.53
VERINA-Code 56.1 ± 0.18 71.6 ± 1.2

Where CoT is already near the ceiling the deltas are naturally small (Game24, ZebraLogic) but still outside the noise, and they are larger on harder sets (ZebraLogic-XL, VERINA-Code). We will add these SDs to Tables 1 and 2.

Clarity, Significance and Originality

  • We will move the algorithm part into the right place and fix the typos.
  • Beyond telecom we also improve AgentSafetyBench, VitaBench, and seven non-agentic datasets, across four models (Qwen3-30B, QwQ-32B, Claude-Haiku-4.5, GPT-5.4-Mini). Telecom is the headline only because the gain is largest.
  • We agree the frontier model can make mistakes. In our case we saw very few: on tau2-telecom, of the 20 rules only 1 needed a fix, which the synthesis loop resolved automatically by re-prompting until it proved (see Reviewer xc3V Q1).
  • Our contribution is process verification: we check and steer the model while it is reasoning, at intermediate steps, instead of scoring the final answer as prior works do. To our knowledge this inference-time steering based on policy verification is novel.

Q1: Verifier synthesis failure rate

Our synthesis turns the natural-language policy into a specification, using which we generate the verifier code. On tau2 telecom benchmark, we got 20 Lean specs. We use these specs to generate the corresponding code and proof. We iterate until Lean passes all the (spec, code, proof) triplets. Though in our experiments, the process converges in 2 iterations. We can share this in a zip file to the AC on request.

W2,Q2: Theory disconnected from experiments

Thanks for the interesting point. Below, we present the analysis. In short, we find that the assumptions are indeed mild, and the claims hold well. In particular, "significance of γ\gamma =0".

We estimated the App. C parameters from our tau2-telecom traces (all 114 solo-mode tasks, CoT baseline and interwhen runs), for two rules that are fully decidable from the logs:

  • R3 (payment): the agent may send a payment request only when the customer's bill is actually overdue
  • R9 (resume): the agent may resume (reactivate) a suspended line only while its contract is still valid

We label each governed action's compliance state Pt∈{0,1}P_t\in\{0,1\} as in App. C, and estimate the App. C parameters off the traces: δ,γ\delta,\gamma from the baseline run, and β,β′\beta,\beta' and the ϕfix\phi_{fix} from the interwhen run.

Parameter Definition (Probability that) Observation Estimated value
δ\delta we go from compliant to non-compliant state 45% of actions broke the rule when it was compliant 0.45
γ\gamma we go from non-compliant to compliant without verifier 0 of 79 violations recovered on their own 0.00
β\beta the verifier flags a non-compliant action 16 of 16 violations flagged 1.00
β′\beta' the verifier falsely flags a compliant action 0 of 31 compliant actions falsely flagged 1.00
ϕfix\phi_{fix} we go from non-compliant to compliant state, given feedback 16 of 16 blocked violations corrected 1.00

With these estimates, the interwhen transition probabilities are then, from Eqs. 10-11,

a1=β′(1−δ)+(1−β′)ϕsafe=0.55(stay compliant)a_1=\beta'(1-\delta)+(1-\beta')\phi_{safe}=0.55\quad(\text{stay compliant})
b1=βϕfix+(1−β)γ=1.00(recover).b_1=\beta\phi_{fix}+(1-\beta)\gamma=1.00\quad(\text{recover}).

Significance of γ=0\gamma=0. This is a genuine empirical finding rather than a corner case. For irreversible write actions like payment and resume, the baseline model has zero observed recovery events in our logs, meaning once it violates the policy it never self-corrects. This is significant, and it tells us why process verification specifically matters for irreversible actions, rather than being a theoretical contrivance.

The finite-horizon guarantee (Thm. C.2) applies directly. Its three assumptions all hold at the estimated values: 1−δ=0.55≥γ=01-\delta = 0.55 \ge\gamma = 0, ϕfix=1≥γ=0,β′=1\phi_{fix} = 1 \ge\gamma = 0, \beta'=1. So Thm. C.2 gives

qTiw≥qTbaseat every horizon T,q_T^{iw}\ge q_T^{base}\quad\text{at every horizon } T,

not just in the limit, as our logs show too; rule-compliance goes from 0.62 (baseline) to 1.00 (interwhen). (Note that the safe-action rate does not have to be pinned down here, as it only figures with 1−β′1-\beta' which is 0.)

Long-horizon check (Thm. C.1) The stationary values are

qb⋆=γδ+γ=0(baseline),qi⋆=b1(1−a1)+b1=11.45=0.69(interwhen),q_b^{\star}=\frac{\gamma}{\delta+\gamma}=0\quad(\text{baseline}),\qquad q_i^{\star}=\frac{b_1}{(1-a_1)+b_1}=\frac{1}{1.45}=0.69\quad(\text{interwhen}),

and the improvement condition holds:

γδ=0 ≤ b11−a1=10.45=2.22.\frac{\gamma}{\delta}=0\ \le\ \frac{b_1}{1-a_1}=\frac{1}{0.45}=2.22.

We do not expect these to match 0.62 → 1.00 in magnitude: Thm. C.1 is an infinite-horizon limit, so a baseline that drifts toward 0 asymptotically is consistent with 0.62 at our finite episode lengths; the directionality agrees, and interwhen well above baseline.

We will add these results, and also include results on more rules and seeds in the revision.

Q3: Fork overhead accounting

Yes, we consider all costs in the Token%. Apart from the main-stream tokens, it also includes the forked step-extractor tokens, the retries, and the feedback, since these all count as the method's overhead. After accounting carefully, interwhen stays near parity with the baseline in tokens, because early feedback steers the model to converge faster (see Reviewer X4PB Q3, W4).

Reviewer xc3V · CommentOpenReview ↗

Response to Authors

Thank you for your thorough responses. I have adjusted my evaluation.

Reviewer X4PBOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes interwhen, a test-time framework that steers reasoning models or agents using intermediate verification. It periodically extracts state variables from a model's reasoning trace, runs verifiers asynchronously, and injects feedback when violations occur. The authors also devise automatic verifier synthesis from natural language. In addition, it also produces a Lean-based variant to help verify that the implementations match formal specifications. Interwhen is evaluated on multiple agentic and non-agentic benchmarks

Strengths and weaknesses

Strengths:

  1. The paper targets an important problem. It extracts and detects the partial trace to steer the model more effectively and efficiently.
  2. Asynchronous verification and rollback from a fork point are practical ideas that could reduce latency relative to full retry or branch-and-search methods.
  3. Experimental results on multiple benchmarks and models show its effectiveness.

Weaknesses:

  1. The whole pipeline is dependent on the LLM-based state extraction, whose correctness cannot be guaranteed, so the main correctness guarantee is compromised too. If the extractor misses a violation, extracts the wrong arguments, or hallucinatedly fills missing state, the downstream verifier can be perfectly correct and still verify the wrong object. The paper does not provide a sufficiently rigorous assessment of extraction false negatives and false positives, calibration, or failure modes across the evaluated domains.
  2. The automatic verifier synthesis may not be valid, as the generated formal specification may not faithfully capture the original natural-language policy.
  3. The strongest results depend on the additional trace- and prompt-derived verifiers, not just policy-derived ones. This significantly changes the claimed automatic policy-to-verifier synthesis. Instead, it becomes an engineering problem in which humans are involved in deriving more useful verifiers.
  4. The overhead is not clear. The authors reported the token percentage output by the subject model, but didn't talk about the extra cost caused by extracting states, retries, etc. In addition, the time cost should be reported as well as the offline one.
  5. It is unclear if the natural-languge policy contains conflicts in itself, how the framework will perform.
  6. The monitoring and state-extraction schedule is underspecified. The method relies on heuristic step boundaries such as every N newlines, every N double-newlines, or tool-call events, but the paper does not report the actual values of N, warmup lengths, or how these choices affect performance. This makes the method hard to reproduce and leaves an important accuracy–overhead tradeoff unexplored.
Questions
  1. How exactly were the “policy + trace” verifiers constructed? How many traces were inspected, from which split, and how did the authors prevent benchmark-specific leakage into the test evaluation?

  2. For τ²-bench and AgentSafetyBench, what are the separate error rates of the state extractor? Please report false-negative extraction failures, false-positive violations, wrong argument extraction, and “unknown” rates.

  3. What is the overhead for the system?

Limitations

If the model cannot extract the states correctly or the policy is not resolvable, the method may fail.

Final justification

I am happy with the rebuttal and will keep my score.

Formatting concerns

No

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

W1,Q2: State-extraction error rates (false positives, false negatives, calibration)

Yes, we evaluated the error rate of the state extractor and it is negligible; infact, 0 in agentic tasks (Deterministic). We compare each extracted value against ground truth (grid state for Maze, ticket value for tau2) and label it correct, wrong (false positive), or missed (false negative):

Setting What is extracted Extractions Wrong (FP) Missed (FN)
Non-agentic Steps from forked trace (main LLM) 12,000 (Maze) 5 (0.04%) 15 (0.1%)
Agentic Tool name + arguments (parsed, no LLM) 6,975 (tau2) + 7,612 (AgentSafety) 0 0
Agentic Values from user message, e.g. phone/name (3B SLM) 398 (tau2) 0 0

Non-agentic. The extractor forks the trajectory and the main LLM is asked to generate the step in a fixed format, and extracts the step from it. Out of ~12,000 calls on Maze, 0.1% returned nothing and 0.04% returned a wrong value. A missed value makes the verifier abstain and fall back to plain CoT and a wrong value is bounded by Thm. C.1/C.2, which keeps compliance at or above baseline.

Agentic. The verifier fires right before a tool call, and two types of extraction can happen: 1) read the tool name and arguments straight from the structured call, where there is no scope for extraction error; 2) use an SLM (3B) to read user-stated grounding values (phone, name, travelling status, country), which also incurred no error as in the Table above, matching a frontier extractor (Table 8).

W2: Is the generated specification faithful to the policy?

Yes, it is. Our synthesis turns the natural-language policy into a specification, using which we generate the verifier code. Lean/z3 proves if the verifier matches the specification (Section 4.2). The value of our design is that a human can easily check if the specs are correct. A small sample of the actual policy lines and the corresponding spec on tau2 bench is shown below (can provide the full artifact along with proofs as anonymized zip to the AC if needed).

Rule Policy sentence (verbatim) Specification Meaning (backtranslated)
R3 "You should always check that the bill is overdue before sending a payment request." (L113) ∃ b, lookupBill s bid = some b ∧ b.status = BillStatus.overdue a payment request only goes out on an overdue bill
R9 "You are not allowed to lift the suspension if the line's contract end date is in the past..." (L122) ∃ l, lookupLine s lid = some l ∧ l.contractEndDate ≥ s.today do not lift a suspension if the contract end date has passed

W3: Do the trace/prompt verifiers break the "automatic synthesis" claim?

No, they do not break the claim as the verifiers are always synthesised from the Policy even in trace/prompt based verifers. If the policy is incomplete, a few train samples are used to find gaps in the policy, and then update the policy. This can be considered a warm-up step where policy is being updated. Once the policy is updated, the automatic synthesis pipeline is rerun. This update step can also be automatically done in the future.

For example, on tau2-telecom the policy says "at most 2GB of data can be refueled", but we get penalized if its not exactly 2GB which is a bug. Therefore we add this rule in the policy and rerun the automatic synthesis.

W5: What if the policy contradicts itself?

First, a human reviews the policy-to-specification mapping and fixes any contradictions. These are easy to spot when the rules are read side by side against the policy (e.g. "enable roaming for free" vs "never enable roaming"). Second, if a conflict does slip past review, it still cannot produce a wrong answer at runtime: the two opposing verifiers can never both pass, so the agent runs out of retries and simply says "No solution" instead of returning a bad answer.

W6: How is the monitoring / state-extraction schedule chosen?

In non-agentic tasks we fork the trace every N=40 double-newlines after a warmup of 120 double-newlines to extract the steps for verification. The same is used across all datasets. We tried several values of N and saw little accuracy difference so we use N=40 everywhere for reproducibility. For agentic tasks: we check before every write/tool call, so the boundary is the tool-call event and there is no N to set.

Q1: How were the policy + trace verifiers constructed, from which split, and how is leakage avoided?

We start from the automatically generated policy verifiers. We then run the base model on 10 tasks from the training subset to find any bug/missed rules in the policy (X4PB, W3). In our case we could identify a couple of them. Each such rule is added back in the policy and the automatic verifier synthesis is rerun.

Leakage. We inspect 10 traces from training subset, and every number we report is on a disjoint set that was never inspected.

Q3, W4: What is the total overhead (extraction, retries, time, offline)?

Yes, we consider all costs in the Token%, since they all count as the method's overhead.

  • Extraction. For non-agentic tasks we use the same main LLM to generate the step in the required format in the fork, so those tokens are fully counted in Token%. For agentic tasks we don't generate anything, we just extract the tool call directly. The parameter extraction is only a single word from an SLM that is very small compared to the main LLM, so we ignore its cost.
  • Retries. Fully counted: when a step is flagged and regenerated, all the retry tokens are added, not just the first attempt.
  • Time. We don't report wall-clock time because our runs share LLM servers, where latency is dominated by batching and queueing and is too noisy to compare, tokens are the reliable measure instead. It stays low anyway, since verification runs asynchronously and only interrupts on a violation.
  • Offline (one-time). Generating the verifiers is a separate, one-time cost, not paid per inference: about 2 USD (~35k tokens) for tau2-telecom and 1 USD (~18k tokens) for AgentSafetyBench. The runtime itself needs no frontier model (see (evJK) Q1).
Authors · CommentOpenReview ↗

Dear Reviewer X4PB,

Thank you again for engaging with our paper and considering our rebuttal. Before the discussion period concludes, we wanted to ask whether any of your concerns remain unresolved. We would be glad to provide any additional clarification that may be helpful.

Should you find that our responses have addressed the key issues raised in your review, we would greatly appreciate your reconsideration of the current score. Your feedback has been valuable in helping us strengthen both the presentation and technical clarity of the paper.

Best regards,

The Authors of #33924

Reviewer X4PB · CommentOpenReview ↗

Thank you for your response. I will maintain my positive score.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…