Introduction
Evaluating AI agents has traditionally relied on coarse "success metrics"—binary indicators of task completion. While useful, these metrics fail to capture the nuances of agent behavior, such as why an agent failed or which intermediate steps were performed well. Human feedback, often provided as natural language "vibes" (e.g., "the agent was indecisive"), contains rich information but is difficult to quantify systematically. AutoLibra addresses this by automatically transforming open-ended human feedback into precise, interpretable, and verifiable evaluation metrics.
The AutoLibra Framework
AutoLibra operates as a closed-loop system designed to bridge the gap between subjective human comments and quantitative evaluation. The process is divided into two main phases: Metric Induction and Meta-Evaluation.
1. Metric Induction
The induction process begins with Feedback Grounding. Using a large language model (LLM), the system analyzes agent trajectories alongside human feedback to extract "aspects." These aspects are triples that link a specific behavior to a piece of feedback with a positive or negative valence.
Following grounding, the system performs Behavior Clustering. A high-reasoning model (such as o3-mini) clusters these aspects across multiple trajectories into distinct metrics. Each induced metric is defined with a formal description and concrete examples of "Good" and "Bad" behaviors, ensuring clarity and reproducibility.
2. Evaluation and Optimization
Once metrics are induced, they are used in an LLM-as-a-Judge setup. The LLM scores new trajectories based on the defined metrics. To ensure the quality of these metrics, AutoLibra introduces two meta-metrics:
- Coverage: The extent to which the induced metrics capture the original human feedback.
- Redundancy: The degree of overlap between different metrics.
The system iteratively optimizes the number of metrics to maximize coverage while minimizing redundancy, creating a lean and effective evaluation suite.
Experimental Results
The researchers evaluated AutoLibra across diverse environments, including web navigation (WebArena), social interaction (Sotopia), and logic puzzles (Baba-is-AI).
- Human Alignment: AutoLibra achieved over 85% agreement with human expert judgment, demonstrating that automated metric induction can match the quality of manual design.
- Metric Discovery: The framework not only recovered standard metrics like "Goal Completion" but also identified novel, fine-grained metrics such as "Action Redundancy" and "Error Recovery," which are often overlooked by human experts.
- Performance Gains: In the "Ladder" application—where induced metrics are fed back into the agent's prompt—agents showed significant improvement. In the Baba-is-AI environment, the success rate jumped from 30% to 55%, a relative gain of over 20%, as the agent learned to avoid specific pitfalls identified by the metrics.
Conclusion and Future Work
AutoLibra demonstrates that "vibes-based" feedback can be systematically converted into rigorous evaluation tools. By providing agents with a clearer "rubric" rather than just more data, the framework enables self-regulation and iterative strategy improvement. Future work aims to extend this to sub-trajectory feedback and use these induced metrics as dense reward functions for Reinforcement Learning (RL), potentially revolutionizing how we train and evaluate complex AI agents.
Summary updated