TL;DR
Autonomous LLM agents are famously overconfident, cheerfully delivering wrong answers after wandering down dead-end search paths and broken tool calls. DAG of Grounds (DoG) fixes this by asking the agent to pause after finishing a task and map its messy, chronological execution log into a clean logical graph of what actually supported its final conclusion. With just one extra API call and a tiny 9-parameter regression model, DoG "sniffs out" flimsy reasoning on black-box models without needing internal token probabilities or expensive repeated runs.
What Problem Does This Paper Address?
When a human solves a complex problem, we hit paywalls, try bad search terms, double back, and eventually piece together an answer. LLM agents (using frameworks like ReAct) do the exact same thing. Yet, when we try to estimate how confident an agent should be in its final answer—a process called confidence calibration—existing methods treat the agent’s history as a flat, chronological receipt.
This creates two major headaches:
- Signal dilution: In a flat timeline, a failed web search at step 3 weighs into the overall vibe just as much as a crucial breakthrough at step 4. Linear sequences can't separate exploratory dead-ends from the actual load-bearing pillars of the final answer.
- White-box and budget barriers: Many calibration methods require access to internal token log-probabilities (which closed commercial APIs increasingly hide), external embedding models, or running the entire agent loop multiple times to check for self-consistency (prohibitively expensive and risky when tools have real-world side effects).
Methods
DoG operates completely post-hoc—after the black-box agent has finished its job—in a two-stage pipeline:
- Trajectory Restructuring (1 LLM Call): DoG hands the completed execution log back to the same LLM (with tools disabled) and prompts it to reorganize its history into a Directed Acyclic Graph (DAG). Nodes represent discrete pieces of evidence or claims (Constraints, Retrieved Facts, Failed Retrievals, Inferences, and the final Answer), while directed edges map how they relate (Supports, Refutes, or Derives). Crucially, this separates the Answer Chain (nodes with a directed path leading to the final answer) from Orphans (discarded detours or disconnected premises).
- Lightweight Calibration (0 LLM Calls): From this graph, DoG extracts eight features—five node-level signals (e.g., hedged language, low-plausibility logical leaps, whether query constraints were met) and three graph-level structural signals (e.g., orphan counts and the "weakest link" bottleneck along the Answer Chain). These eight numbers feed into a simple 9-parameter logistic regression model (fit on labeled trajectories from the target setting) to output a calibrated probability between 0 and 1.
Datasets
No new benchmarks are introduced. The authors evaluate DoG on three existing, complementary benchmarks:
- GAIA: Long-horizon, tool-heavy tasks where failures usually come from messy web retrieval and evidence synthesis.
- GPQA: PhD-level science questions where errors stem from deep domain reasoning rather than broken tools.
- HLE-Verified (Humanity’s Last Exam): Frontier-level questions across diverse domains where agents tend to hallucinate plausible-sounding answers on thin ice.
Key Insights and Ideas
- Semantics calibrate, topology discriminates: In ablation studies, node-level semantic features (like spotting low-plausibility inferences or hedging) do the heavy lifting for overall calibration error. Meanwhile, the graph topology—specifically finding the "weakest link" along the Answer Chain—is the single biggest driver for ranking right answers above wrong ones (AUROC). Dropping that one graph feature degrades AUROC three to four times more than any other feature.
- Beware of "cowardly" calibration: Existing linear trajectory methods like TRACER achieve decent calibration error simply by capping their predictions at medium confidence (~0.6), avoiding bold claims rather than actually distinguishing good runs from bad ones. DoG’s structural map allows it to be confident when the grounding is genuinely solid.
- Zero-shot ranking transfers across worlds: If you train DoG's 9-parameter calibrator on one LLM or benchmark and drop it untouched onto another, its ranking ability (AUROC) barely budges—even though raw probabilities shift due to different base accuracies. Structural reasoning health looks remarkably similar whether the agent is powered by GPT, Claude, Gemini, or Qwen.
Key Results
- Consistent top-tier calibration: Across all 9 (benchmark × metric) combinations, DoG ranks 1st or 2nd in every single one. On GAIA, it achieves an Expected Calibration Error (ECE, lower is better) of 0.041 and an AUROC (higher is better) of 0.727, beating static Verbalized Confidence (0.150 ECE / 0.655 AUROC) and agent-specific TRACER (0.054 ECE / 0.547 AUROC).
- Smarter test-time scaling: When running an agent 4 times per GAIA task, weighting each rollout's vote by its DoG confidence reaches 53.3% accuracy—beating plain majority voting (50.4%) by breaking ties intelligently, recovering 41% of the gap to an oracle.
- Tiny overhead: Adding one post-hoc call costs a bounded ~$0.0023 per task (under 10% of the rollout cost on GAIA).
- Broad compatibility: Across 7 LLM backbones (GPT-5.4, Claude-opus-4.7, Gemini-3.1-pro, Qwen-3.5-35B-A3B, etc.) and 3 tool regimes, ECE stays below 0.09 and AUROC stays above 0.67.
Limitations and Future Work
- Imperfect graph builders: Because an LLM builds the DAG, it occasionally hallucinates structure—human evaluation found 8.0% of sampled edges were unsupported.
- Target labels needed for exact probabilities: While trajectory ranking transfers zero-shot across models and tasks, absolute probability calibration does not; shifting to a much harder dataset requires labeled target examples to refit the regression intercept.
- Latency: Although cheap, DoG requires waiting for one sequential LLM call after the agent finishes.
For future work, the authors suggest exploring label-free calibration under distribution shift, replacing simple logistic regression with Graph Neural Networks (GNNs) to capture richer topological patterns, and bringing DoG online—letting agents inspect their own reasoning graphs mid-flight to stop early or reallocate tool budgets.
Summary updated