arXiv:2505.02820cs.AIcs.CL2025-05被引 2

用人类反馈自动生成可衡量的智能体行为评估指标

AutoLibra: Agent Metric Induction from Open-Ended Human Feedback

  • 将开放式人类反馈转化为具体行为度量,基于行为聚类构建可解释评估标准
  • 通过覆盖率与冗余度优化,比现有基准发现更多有效评估指标
  • 适用于提示工程调优与智能体自调节优化,不依赖特定任务

智能体主要依赖任务成功率等粗粒度指标进行评估和优化,这些指标需人工设计且无法奖励中间涌现行为。本文提出AutoLibra框架,将开放式的自然语言反馈(如“若按钮禁用,不要再点击”)转化为细粒度行为评估指标。该方法通过将反馈与智能体行为对齐,聚类相似的正负向行为,并生成具有明确定义和实例的可操作指标,可用于大模型作为评判者。我们进一步引入两个元指标——覆盖度与冗余度,用于评估一组诱导指标与原始反馈的一致性。实验表明,AutoLibra能生成比现有基准更具体的评估指标,并发现新维度以分析智能体行为。此外,我们展示了两种应用:一是辅助提示工程师诊断失败模式并迭代改进提示;二是诱导出可用于自动优化的指标,使智能体实现自我调节。结果表明,AutoLibra是一种强大的、任务无关的智能体评估与改进工具。

原文摘要 · Abstract (English)

Agents are predominantly evaluated and optimized via task success metrics, which are coarse, rely on manual design from experts, and fail to reward intermediate emergent behaviors. We propose **AutoLibra**, a framework for agent evaluation, that transforms open-ended human feedback *e.g.* "If you find that the button is disabled, don't click it again", or "This agent has too much autonomy to decide what to do on its own" into metrics for evaluating fine-grained behaviors in agent trajectories. AutoLibra accomplishes this by grounding feedback to an agent's behavior, clustering similar positive and negative behaviors, and creating concrete metrics with clear definitions and concrete examples, which can be used for prompting LLM-as-a-Judge as evaluators. We further propose two meta metrics to evaluate the alignment of a set of (induced) metrics with open feedback: "coverage" and "redundancy". Through optimizing these meta-metrics, we experimentally demonstrate AutoLibra's ability to induce more concrete agent evaluation metrics than the ones proposed in previous agent evaluation benchmarks and discover new metrics to analyze agents. We also present two applications of AutoLibra in agent improvement: First, we show that AutoLibra serve human prompt engineers for diagonalize agent failures and improve prompts iterative. Moreover, we find that AutoLibra can induce metrics for automatic optimization for agents, which makes agents improve through self-regulation. Our results suggest that AutoLibra is a powerful task-agnostic tool for evaluating and improving language agents.

智能体评估人类反馈自监督学习提示优化

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。