TL;DR
Confidence Reasoning Graphs (CRGs) provide a structured, training-free way to estimate how likely an LLM agent is to have successfully completed a complex task. By decomposing a high-level success claim into a graph of evidence-grounded sub-claims, CRGs deliver significantly better-calibrated confidence scores and more reliable risk-aware decision-making than standard "black-box" or "white-box" baselines.
What Problem Does This Paper Address?
As we delegate increasingly consequential tasks to autonomous LLM agents—like fixing software bugs or managing enterprise workflows—we face a critical trust gap. How do we know if an agent's output is correct without manually re-doing the entire multi-step process?
Existing confidence estimation methods fall short in the agentic setting for three reasons:
- Heterogeneity: Agent trajectories interleave text, tool calls, and environment observations. A single mistake early on can cascade, making holistic judgment difficult.
- Black-Box Constraints: Many state-of-the-art models (like GPT-4o or Claude 3.5) don't provide internal log-probabilities, rendering "white-box" estimators useless.
- Cost and Data: Running agents is expensive, and labeled training data for success/failure is often unavailable or quickly becomes obsolete as models evolve.
Methods
The authors introduce Confidence Reasoning Graphs (CRGs), an inference-time framework that requires only a single agent trajectory and no training data. Inspired by "assurance cases" in safety engineering, the process follows four key steps:
- Claim Decomposition: An LLM "constructor" recursively breaks down the root claim ("The task was accomplished") into simpler, contextualized sub-claims (e.g., "The bug was resolved" and "No regressions were introduced").
- Evidence Gathering: The constructor identifies specific steps in the trajectory that serve as evidence for each leaf claim, labeling them as Supports, Undermines, or Unverified.
- Leaf-Claim Confidence: A separate estimator LLM assigns a probability to each leaf claim based on its specific evidence and a reduced version of the trajectory.
- Aggregation: These leaf scores are combined into a final root confidence score using a product rule, assuming local conditional independence between sub-claims.
Datasets
The researchers evaluated CRGs across three diverse and challenging agentic benchmarks:
- SWE-Bench Verified: Real-world software engineering issues from GitHub.
- EnterpriseOps-Gym: Tool-heavy enterprise workflows (e.g., managing HR tasks or calendars).
- SkillsBench: Long-horizon tasks requiring specific skill usage.
They tested these using three different backbone models (GPT-4o, Gemini 1.5 Flash, and MiniMax-M3) and three agent frameworks (OpenHands, Codex, and Claude Code).
Key Insights and Ideas
- Decomposition is the Secret Sauce: Holistic "verbalized" confidence (asking an LLM "how sure are you?") is notoriously overconfident. CRGs force the model to justify its confidence through granular, verifiable steps, which naturally tempers overconfidence.
- Calibration vs. Discrimination: The paper highlights that a model can be "well-calibrated" (accurate on average) while still being a poor "discriminator" (unable to tell a specific success from a failure). CRGs are unique in providing both strong calibration and competitive discrimination.
- Auditability at Scale: Because CRGs produce a graph, a human user doesn't just get a number; they get a map. If an agent gives a low-confidence score, a developer can trace it back to a specific failed test or an "unverified" claim in the graph.
- Cost-Efficiency: Generating a CRG is remarkably cheap—costing between $0.04 and $0.07 per estimate—which is a tiny fraction of the cost required to generate the original agent trajectory.
Key Results
- Superior Calibration: CRGs achieved the lowest Adaptive Expected Calibration Error (ECE) across all benchmarks. For example, on SWE-Bench Verified, CRGs reached an ECE of 0.09, compared to 0.18 for basic verbalization.
- Better Risk Management: Using the Behavioral Alignment Score (BAS), which measures the utility of "accept-or-abstain" decisions, CRGs consistently outperformed all baselines. They were the only method that didn't fall into "negative utility" (making decisions worse than just abstaining) in high-risk settings.
- Robustness: The benefits of CRGs held up even when transferring across different agent frameworks and when using post-hoc calibration techniques like temperature scaling.
Limitations and Future Work
- Independence Assumption: The current aggregation method uses a product rule that assumes sub-claims are independent. While the authors found this effective, real-world claims often have complex dependencies that a more sophisticated probabilistic model could capture.
- Graph Quality: The system is only as good as the LLM's ability to decompose the task. If the constructor misses a critical success criterion, the resulting confidence score will be misleading.
- Human-in-the-loop: While the graphs are auditable, the paper doesn't extensively test how effectively humans can use these graphs to overrule or correct an agent in real-time. This remains a promising area for future research.
Summary updated