Abstract
Traditional evaluation of Large Language Model (LLM) agents often relies on binary success metrics, which fail to capture the nuanced "helpfulness" or utility of an agent in complex, multi-step tasks. We present AgentEval, a novel framework that automates the definition and quantification of task utility. By employing a two-agent system—a CriticAgent to generate tailored rubrics and a QuantifierAgent to score performance—AgentEval provides a scalable, multi-dimensional assessment of agent behavior. Our evaluation across MATH and ALFWorld datasets demonstrates that AgentEval effectively distinguishes between varying levels of agent performance and aligns more closely with human expectations of utility than simple pass/fail metrics.
Introduction
As LLM-powered agents transition from simple text generators to sophisticated assistants in domains like education and household management, the definition of "success" becomes increasingly complex. A math tutor providing a correct answer via a convoluted explanation may be less useful than one providing a clear, albeit slightly incomplete, step-by-step guide. Current benchmarks often overlook these qualitative aspects of utility.
The "alignment problem" in AI extends beyond safety to utility alignment: ensuring agent behavior satisfies user goals in a qualitative sense. Manually crafting evaluation rubrics for every unique application is unscalable. AgentEval addresses this by automating rubric generation and scoring, allowing for a more granular understanding of agent performance.
The AgentEval Framework
AgentEval utilizes a pipeline consisting of two specialized LLM-based agents to assess task utility.
- CriticAgent: Acts as the rubric designer. It analyzes task descriptions and example executions (both successful and failed) to propose a set of application-specific criteria (e.g., Clarity, Efficiency). It also defines a scale of accepted values for each criterion.
- QuantifierAgent: Acts as the evaluator. It applies the CriticAgent's rubric to a specific agent's execution trace to produce a quantified utility score.
The framework distinguishes between task-based criteria (derived from the initial prompt) and solution-based criteria (derived from the agent's actual problem-solving strategy). This allows the evaluation to adapt dynamically; for instance, if an agent uses a specific tool, the rubric can automatically include criteria related to that tool's efficient use.
Experimental Setup
The framework was tested on two diverse benchmarks:
- MATH Dataset: Focusing on Level 5 problems to test reasoning and clarity in mathematical problem-solving.
- ALFWorld: A synthetic environment for multi-step household tasks, testing interaction, planning, and response to environmental feedback.
Multi-dimensional Utility Assessment
A key insight from this research is that utility is multi-dimensional. An agent might fail a task but still exhibit high utility in specific areas like "Task Understanding" or "Plan Making."
As shown in Figure 4, AgentEval allows for a detailed comparison between architectures like AutoGen (with varying agent counts) and ReAct. While success rates might be similar, their performance across dimensions like "Action Decision" or "Response to Feedback" can vary significantly. The framework successfully assigns higher scores to successful runs while maintaining sensitivity to quality degradations (e.g., when steps are randomly removed from a solution).
Conclusion and Future Work
AgentEval represents a significant step toward automated, scalable utility alignment. By moving beyond binary metrics, it provides developers with actionable insights into agent failure modes. While some criteria like "Error Analysis" remain noisy, the overall stability of the QuantifierAgent suggests LLMs are robust evaluators. Future research will focus on correlating these automated scores with large-scale human satisfaction studies and extending the framework to multi-modal environments.
Summary updated