TL;DR
EvalAgent is a novel framework that automatically discovers implicit, task-specific evaluation criteria by mining expert advice from the web. It generates criteria that are more nuanced, actionable, and human-aligned than those produced by LLMs alone, leading to more effective evaluation of language model outputs.
What Problem Does This Paper Address?
The paper addresses the challenge of evaluating the quality of language model (LLM) outputs, particularly for complex writing tasks. While explicit criteria are often used, high-quality responses often require satisfying implicit criteria that are not directly stated in the prompt. Current methods for identifying these implicit criteria are limited, making it difficult to scale evaluations and systematically improve LLM performance. The authors aim to bridge this gap by developing a method to automatically uncover these nuanced, task-specific criteria.
Methods
EvalAgent employs a three-component framework:
- Query Generator: This component takes a user prompt and generates conceptual search queries designed to retrieve relevant instructional web documents. These queries are more effective than simply using the prompt itself, as they target useful concepts for generating a good response.
- Expert Retriever: This component searches the web using the generated queries, filters the results for authoritative and relevant URLs, and extracts and summarizes information from these documents. It uses a combination of expert advice retrieval and document-grounded question answering.
- Criteria Generator: This component aggregates the summarized information from the Expert Retriever to propose diverse, long-tail evaluation criteria. These criteria are then rewritten to be specific, actionable, and aligned with the original instruction, and finally ranked by relevance.
The framework can also be extended to combine its web-grounded criteria with LLM-generated criteria for a more comprehensive set.
Datasets
The authors evaluate EvalAgent on a subset of instructions from several existing datasets, including:
- BigGenBench (BGB)
- ChatBotArena
- Art or Artifice
- Dolomites
- WritingBench
- InfoBench
- WildBench
- MT-Bench
They also introduce a new dataset called Ask-then-Critique, which consists of user-specified instructions, LLM responses, and user-written natural language critiques. This dataset was collected to obtain more reliable critiques from users who are also the issuers of the instructions.
Key Insights and Ideas
- Implicit Criteria are Crucial: The research highlights that human evaluators expect responses to meet implicit criteria beyond what is explicitly stated in the prompt.
- Web Mining for Expertise: Leveraging expert advice from the web is an effective way to discover nuanced and task-specific evaluation criteria.
- EvalAgent's Strengths: EvalAgent generates criteria that are more implicit, less obvious, and more actionable compared to LLM-generated criteria.
- Actionability Matters: Actionable criteria are key to improving LLM responses, allowing models to effectively revise and enhance their output.
- Human Alignment: EvalAgent's criteria are shown to be more human-aligned, capturing what humans consider important for evaluating responses.
Key Results
- Specificity and Implicitness: EvalAgent-Web (EA-Web) criteria exhibit higher specificity and less word overlap with instructions, indicating greater implicitness.
- Actionability: EA-Web achieves the highest actionability scores, leading to the largest improvements in response quality after editing.
- Non-Obviousness and Utility: Human evaluations show that EvalAgent consistently generates criteria that are less obvious but maintain high utility.
- Recall of Human Criteria: The combined EvalAgent system (EA-Full) demonstrates higher recall of human-written criteria compared to LLM baselines.
- Cost-Effectiveness: While EvalAgent incurs computational costs for retrieval and generation, these are one-time costs and do not impact runtime evaluation.
Limitations and Future Work
- Web Dependency: EvalAgent's reliance on web-grounded retrieval means its effectiveness is constrained by the quality and scope of available online information. Niche domains or inaccessible content (e.g., PDFs not extracted by the system) can limit criterion generation.
- Perspective Bias: The criteria generated implicitly center the perspectives of authors of retrieved documents, which may not always align with diverse expert views.
- Computational Overhead: EvalAgent introduces additional overhead compared to direct LLM prompting due to retrieval and multi-stage prompting.
- Future Work: The authors suggest developing better scoring functions for relevance ranking and expanding the system's ability to process various document formats like PDFs. They also acknowledge the potential for further exploration of downstream applications of their framework.
Summary updated