Skip to content

TURF: Outcome-Grounded Uncertainty Quantification for Tool-Interacting LLM Agents

Tianhao Wang, Yuzhe Ou, Feng Chen

cs.AI

Abstract

An LLM agent can report success even when a database update, shell command, or online purchase falls short of the user's request. We introduce TURF (Trajectory Uncertainty via Risk Fusion), a training-free method for ranking the failure risk of aggregated task results. TURF combines two complementary signals from repeated tool-use rollouts of the same task: dispersion across observable execution outcomes and semantic disagreement among final responses or execution summaries. To accommodate different compute budgets, TURF supports two sampling policies: TURF-Fixed scores a prescribed number of executions, whereas TURF-Adaptive uses a Bayesian stopping rule to halt early when subsequent executions consistently agree with the first. We evaluate TURF on 6,854 matched task-setting records across four tool-use environments, three LLM backbones, and three seeds. Averaged over the six rollout budgets shared by all 15 baselines (2, 3, 4, 6, 8, and 12 rollouts), TURF-Fixed exceeds SGD by 5.14 percentage points in AUROC and 2.94 percentage points in AUPR. SGD has the highest mean AUROC and AUPR among the baselines over these budgets. In replay at a cap of 16 trajectories, TURF-Adaptive inspects 24.00 percent fewer rollouts than TURF-Fixed at the same cap; its AUROC and AUPR point estimates are lower by 0.56 and 0.28 percentage points, respectively. Together, these results highlight the complementary value of observable execution outcomes and semantic disagreement for uncertainty quantification in tool-interacting LLM agents.

Create a lesson

Metadata

Categories
cs.AI, cs.SE
Comments
99 pages, 51 figures, including appendices. Tianhao Wang and Yuzhe Ou contributed equally and share first authorship