arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.14371cs.CL
收藏

大型语言模型评估智能体对开放式请求响应中约束满足情况的能力

The Ability of Large Language Models to Evaluate Constraint-satisfaction in Agent Responses to Open-ended Requests

Google DeepMind(谷歌DeepMind)

Lior Madmoni, Amir Zait, Ilia Labzovsky, Danny Karmon

AI总结:

本文研究LLMs评估智能体响应开放式请求时约束满足情况的能力,提出ACS基准数据集并测试多模型,发现多数模型存在推理错误、预测偏斜及少样本提示性能下降等问题。

摘要:

生成式 AI 智能体通常需要对没有唯一正确答案(NORA)的复杂用户请求做出响应,例如“设计一份低于 1800 卡路里的素食膳食计划”。这类请求可能包含一组智能体应当遵守的约束条件。为了成功开发适用于 NORA 场景的智能体,必须具备一个准确的自动评估框架,特别是能够验证智能体响应中约束满足情况的框架。最近,大型语言模型(LLMs)已被用作许多 NORA 任务的通用评估器,但它们评估生成文本中约束满足情况的能力仍不明确。为了研究这一点,我们开发并发布了一个新颖的算术约束满足(ACS)基准数据集。该数据集包含复杂的用户请求及其对应的约束条件、智能体响应,以及指示响应中每个约束满足程度的人类标签。该数据集的一个独特属性是,验证其许多约束需要将响应作为一个整体进行审查(这与许多其他需要验证单个独立项目的基准形成对比)。此外,它还评估了 LLMs 在执行推理、上下文数据提取、算术计算和计数方面的能力。然后,我们在评估约束满足方面对开源和专有 LLMs 进行了基准测试,结果表明大多数模型仍有很大的改进空间,且错误主要源于推理问题。另外,大多数模型表现出偏斜的约束满足预测模式,在真实标签为“满足”时准确率更高。最后,针对我们任务的少样本提示被证明相当具有挑战性,因为许多被研究的模型在引入该提示时表现出性能下降。

英文摘要:

Generative AI agents are often expected to respond to complex user requests that have No One Right Answer (NORA), e.g., "design a vegetarian meal plan below 1800 calories". Such requests may entail a set of constraints that the agent should adhere to. To successfully develop agents for NORA scenarios, an accurate automatic evaluation framework is essential, and specifically - one capable of validating the satisfaction of constraints in the agent's response. Recently, large language models (LLMs) have been adopted as versatile evaluators for many NORA tasks, but their ability to evaluate constraint-satisfaction in generated text remains unclear. To study this, we develop and release a novel Arithmetic Constraint-Satisfaction (ACS) benchmarking dataset. The dataset consists of complex user requests with corresponding constraints, agent responses and human labels indicating each constraint's satisfaction level in the response. A unique property of this dataset is that validating many of its constraints requires reviewing the response as a whole (in contrast to many other benchmarks that require the validation of a single independent item). Moreover, it assesses LLMs in performing reasoning, in-context data extraction, arithmetic calculations, and counting. We then benchmark both open and proprietary LLMs on evaluating constraint-satisfaction, and show that most models still have a significant headroom for improvement, and that errors primarily stem from reasoning issues. In addition, most models exhibit a skewed constraint-satisfaction prediction pattern, with higher accuracy where the ground-truth label is "satisfied". Lastly, few-shot prompting for our task proved to be rather challenging, since many of the studied models showed a degradation in performance when it was introduced.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑