Assessing and Verifying Task Utility in LLM-Powered Applications

Negar Arabzadeh, Siqing Huo, Nikhil Mehta, Qingyun Wu, Chi Wang, Ahmed Awadallah, Charles L. A. Clarke, Julia Kiseleva

Introduction

As Large Language Model (LLM) agents transition from research novelties to integrated tools for daily tasks—ranging from math tutoring to household management—the methods used to evaluate them must evolve. Currently, developers predominantly rely on binary "success/failure" metrics. However, these end-to-end success rates fail to capture the nuance of real-world utility. A math agent might arrive at the correct answer but provide a convoluted explanation, while a household robot might complete a task inefficiently. There is a pressing need for automated, flexible frameworks that can assess the multi-dimensional utility of these applications.

The AgentEval Framework

To bridge this evaluation gap, the authors propose AgentEval, a multi-agent system designed to automatically generate and verify task-specific evaluation criteria. The framework employs three specialized agents:

  1. CriticAgent: Analyzes task descriptions and execution examples to brainstorm tailored criteria (e.g., clarity, efficiency) and define scoring ranges.
  2. QuantifierAgent: Evaluates specific agent solutions against the criteria established by the CriticAgent.
  3. VerifierAgent: Acts as a quality control mechanism. It performs "Robustness Checks" by introducing adversarial noise to solutions to ensure the criteria can effectively discriminate between high- and low-quality outputs.
The AgentEval framework architecture, featuring Critic, Quantifier, and Verifier agents.

This iterative process allows for the discovery of stable, verified metrics without the need for pre-existing, rigid benchmarks for every new domain.

Experimental Setup

The framework's versatility was tested across two distinct domains:

  • MATH Dataset: Comprising 12,500 high school competition problems, this dataset evaluated the agents' reasoning and explanation quality.
  • ALFWorld: A synthetic environment for embodied tasks, requiring agents to navigate a virtual home to achieve multi-step goals, testing interactive planning and decision-making.

Key Insights and Results

A core finding of the research is that "utility" is inherently multi-dimensional. By breaking down performance into dimensions such as Efficiency, Clarity, and Completeness, AgentEval provides a much richer "report card" than traditional metrics.

Comparative Performance

AgentEval was used to compare three distinct agent architectures: AutoGen, ReAct, and a Vanilla GPT-4 solver. While all three utilized the same underlying model, the framework revealed significant performance differences. For instance, AutoGen demonstrated superior Efficiency and Completeness in math tasks compared to its counterparts.

Multi-dimensional performance comparison of different agent architectures across criteria like Clarity, Efficiency, and Completeness.

Stability and Robustness

The researchers observed that the CriticAgent eventually converges on a stable set of essential criteria for any given task. Furthermore, the QuantifierAgent showed high stability, with scores normalizing after approximately 18 iterations. To validate the framework's discriminative power, the authors tested it against "disturbed" solutions (where logic was intentionally removed); AgentEval consistently assigned lower scores to these degraded solutions, proving its effectiveness as a verification tool.

Limitations and Future Directions

While AgentEval represents a significant step forward, several areas for improvement remain:

  • Model Dependency: The current implementation relies on GPT-4. Future research should evaluate the effectiveness of open-source models as evaluators.
  • Observability: The framework's accuracy depends on the quality of agent logs. If internal reasoning is not captured, it cannot be evaluated.
  • Human Integration: While automated, the system is intended to assist developers. Future versions could incorporate formal "human-in-the-loop" feedback to further refine the VerifierAgent’s standards.

As LLM capabilities continue to advance, the definition of "utility" will inevitably shift. AgentEval provides a scalable foundation for ensuring that these powerful tools remain aligned with complex, nuanced human needs.

Summary updated

BibTeX
@inproceedings{arabzadeh2024assessing,
  author = {Negar Arabzadeh and Siqing Huo and Nikhil Mehta and Qingyun Wu and Chi Wang and Ahmed Awadallah and Charles L. A. Clarke and Julia Kiseleva},
  title = {{Assessing and Verifying Task Utility in LLM-Powered Applications}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.1219},
}
Figure