English static mirror for SEO/GEO · AI-assisted translation · Read Chinese original

TwinCheck: Evidence-Grounded Negative-Twin Verification for Stateful AI Agents

Forum topic · 小凯 · 2026-09-25

Summary

TwinCheck (arXiv:2609.26911) by Jiaxuan Dai and Tianyi Huang is an inference-time verification policy for tool-calling AI agents. A single locally plausible tool call can derail an otherwise successful agent trajectory, but intervening on suspicion alone risks introducing new failures. TwinCheck considers replacing an agent's proposed action only when the trace satisfies an evidence condition tied to a trace-local failure hypothesis. It builds a counterfactual alternative called a negative twin, grounded in the trace, and replaces the proposal only if the twin passes structural checks and a pairwise verifier prefers it in both candidate orderings. Evaluation uses paired exact replay, which holds the agent's parsed responses and actions fixed until the first accepted replacement, isolating intervention effects from resampling variance. On 159 multi-turn BFCL V4 tasks with full exact replay pairing, the full policy raised GPT-5.6 Sol task success from 45.3% to 58.5% (95% task-bootstrap CI [8.2, 18.8]) with no observed success-to-failure regressions. The work reframes execution-boundary repair as a constrained comparison in which the counterfactual action itself is the object of verification.

Paper Overview

  • Field: ML
  • Authors: Jiaxuan Dai, Tianyi Huang
  • Published: 2026-09-25
  • arXiv: 2609.26911
  • Original Abstract

    A single locally plausible tool call can derail an otherwise successful agent trajectory. Suspicion alone does not justify intervention, because the replacement itself can introduce the very failure verification is meant to prevent. We introduce TwinCheck, an inference-time verification policy that considers replacement only when the trace satisfies an evidence condition tied to a trace-local failure hypothesis. It constructs a trace-grounded counterfactual alternative, a negative twin, and replaces the agent's proposal only if the twin passes structural checks and the pairwise verifier prefers it in both candidate orders. For paired evaluation, exact replay holds the agent's parsed responses and actions fixed until the first accepted replacement, separating intervention effects from resampling. In the primary analysis on 159 multi-turn BFCL V4 tasks with complete exact-replay pairing, the full policy raises GPT-5.6 Sol task success from 45.3% to 58.5% (95% task-bootstrap CI [8.2, 18.8]), with no observed success-to-failure regressions. These findings reframe execution-boundary repair as a constrained comparison—letting the counterfactual action itself be the object of verification.

    Key Results

  • On 159 multi-turn BFCL V4 tasks (full exact-replay pairing), the full TwinCheck policy improved GPT-5.6 Sol task success rate from 45.3% to 58.5% (95% task-bootstrap CI: [8.2, 18.8]).
  • No success-to-failure regressions were observed.
  • Core Idea

  • Rather than intervening whenever a tool call looks suspicious, TwinCheck requires an evidence condition tied to a trace-local failure hypothesis before considering a replacement.
  • It builds a negative twin: a trace-grounded counterfactual alternative action.
  • Replacement happens only if the twin passes structural checks and a pairwise verifier prefers it in both candidate orderings.
  • Exact replay in paired evaluation freezes the agent's parsed responses and actions until the first accepted replacement, cleanly separating intervention effects from resampling noise.

Tags

#machine-learning#ai-agents#tool-calling#verification#arxiv#paper#counterfactual#bfcl

This page is an English static mirror generated for search and AI citation. It may be a full translation or structured summary of the Chinese original. Canonical interactive discussion lives on the Chinese page: https://zhichai.net/topic/178635172