TL;DR
Current AI agent benchmarks often rely solely on final outcomes (pass/fail), which can mask critical issues like shortcut-taking, real-world deployment failures, and dangerous behaviors. This paper argues that systematic log analysis – examining the agent's entire execution trace – is essential for truly credible AI agent evaluation, revealing how and why an agent succeeds or fails.
What Problem Does This Paper Address?
As AI agents become more sophisticated and deployed in real-world applications, the need for trustworthy evaluation is paramount. However, current benchmarks primarily focus on outcome-based metrics (e.g., pass/fail rates). This approach is insufficient because:
- Misleading Capabilities: Agents can achieve high scores by exploiting benchmark artifacts or taking shortcuts, rather than demonstrating genuine capability.
- Poor Real-World Prediction: Benchmark performance may not translate to real-world utility due to limitations in the testing environment (scaffolding) or recurring failure modes that are invisible in outcome-only metrics.
- Hidden Dangers: Crucial safety-related behaviors, such as dangerous reasoning or catastrophic actions, can be concealed by a successful final outcome.
The authors contend that these "validity threats" undermine confidence in AI agent evaluations, impacting decisions about release, funding, and deployment.
Methods
The paper proposes a framework for log analysis to address these validity threats. Key methodological contributions include:
- Taxonomy of Threats: A categorization of threats to evaluation credibility into three types:
- Internal Validity: Whether benchmark scores accurately reflect an agent's true capability.
- External Validity: Whether demonstrated capabilities translate to real-world utility.
- Safety Evaluation: Whether an agent's execution path involves unacceptable risks.
- Principles for Log Analysis: A set of four guiding principles for conducting effective log analysis:
- Define a Validity Target: Clearly state the goal of the analysis (internal validity, external validity, or safety).
- Confirm Log Coverage: Ensure the evaluation harness captures all necessary trajectory components.
- Build and Validate a Rubric: Develop a natural-language decision procedure for classifying behaviors and validate it with human annotators.
- Link Labels to Outcomes: Quantify the relationship between identified behaviors and task outcomes.
- Case Study: Application of these principles to the $\tau$-Bench Airline benchmark to demonstrate how log analysis can uncover under-elicited capabilities and reveal deployment-specific failure modes.
Datasets
The paper uses existing benchmarks and their associated logs for its analysis, including:
- $\tau$-Bench Airline: A benchmark designed to evaluate AI agents as customer service agents. The authors conducted a detailed analysis of this dataset.
- SWE-Bench, SWE-Bench Pro, Terminal-Bench: Mentioned as benchmarks that are beginning to release logs alongside outcomes.
- METR, Apollo, UK AISI, CAISI, HAL: Organizations and benchmarks whose evaluation reports were used to validate the identified failure modes.
No new benchmarks were introduced in this paper.
Key Insights and Ideas
- The "Log Analysis Sandwich": The paper frames log analysis as examining the "sandwich" of an agent's execution, with inputs (task, scaffold, prompt) on one side and outputs (submission, grading) on the other, all bracketed by the execution loop (reasoning, tool calls, environment state). This highlights the comprehensive nature of what needs to be analyzed.
- Under-Elicited Capability: The case study on $\tau$-Bench Airline revealed that nearly 50% of tasks had errors or ambiguities that masked true agent capabilities. Correcting these tasks doubled the reported average pass rate, suggesting current benchmarks may significantly underestimate agent performance.
- Deployment Readiness vs. Benchmark Scores: The analysis showed that agents with similar benchmark scores can exhibit vastly different "persuasion resistance." This indicates that high benchmark scores don't necessarily guarantee an agent's ability to handle adversarial user interactions in real-world deployment.
- Log Analysis as a Necessity, Not a Luxury: The authors argue that log analysis is not just a supplementary tool but a fundamental requirement for credible evaluation, especially as agent complexity and autonomy increase.
Key Results
- $\tau$-Bench Airline Underestimation: Correcting flawed tasks in $\tau$-Bench Airline led to an increase in average pass/5 scores from 20.8% to 40.0% across sampled models.
- Deployment Failure Modes: Log analysis identified specific failure modes in $\tau$-Bench Airline (e.g., susceptibility to user persuasion) that were invisible to outcome-only metrics but critical for real-world deployment.
- Agreement in Validation: In the $\tau$-Bench Airline case study, manual validation and automated validation using LLM judges (GPT-5 and Claude Sonnet 4.5) showed substantial agreement (70-82%), but also highlighted that even different evaluators and models can disagree on task validity.
Limitations and Future Work
- Cost and Scalability: The authors acknowledge that log analysis can be costly and time-consuming, and that scaling it to large numbers of evaluations is a challenge. They propose investments in infrastructure and community norms to mitigate this.
- Benchmark Specification Issues: The paper highlights that even with log analysis, the quality of the benchmark itself (e.g., ambiguous instructions, grading errors) can still be a source of invalidity.
- Future Work: The paper calls for:
- Standardization of logging formats to improve interoperability.
- Development of accessible, end-to-end log analysis tooling.
- Establishment of protocols for gated access to logs to address privacy and trade secret concerns.
- Creation of public registries for credibility threats per benchmark.
- Making log analysis an expectation for model and benchmark releases.
- Centering deployers in safety evaluation to define relevant risks and tolerances.
Summary updated