arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.15934cs.CLcs.AIcs.LG
收藏

用于评估作为对话式AI智能体的工具增强型LLM的自动化测试生成

Automated test generation to evaluate tool-augmented LLMs as conversational AI agents

Zendesk

Samuel Arcadinho, David Aparicio, Mariana Almeida

AI总结:

针对工具增强型LLM作为对话式AI智能体评估难的问题,提出带中间图约束的自动化测试生成流水线及客服场景数据集ALMITA,验证了现有模型在完整对话处理上的不足,方法可跨领域通用。

摘要:

工具增强型大语言模型(LLM)是打造能开展真实对话、遵循流程并调用恰当函数的AI智能体的一种颇具前景的路径。但由于可能出现的对话具有多样性,对这类模型的评估颇具挑战,且现有数据集仅聚焦单次交互与函数调用场景。我们提出了一套测试生成流水线,用于评估作为对话式AI智能体的LLM。该框架借助LLM生成基于用户自定义流程的多样化测试;为此,我们使用中间图来限制LLM测试生成器产生无输入流程依据的幻觉内容的倾向,并确保对可能对话的高覆盖率。此外,我们推出了ALMITA——一个人工整理的、用于评估客服场景AI智能体的数据集,并借助它评估现有LLM。结果显示,尽管工具增强型LLM在单次交互中表现良好,但它们往往难以应对完整对话。虽然本研究聚焦客服领域,但我们的方法具有通用性,可适配不同领域的AI智能体。

英文摘要:

Tool-augmented LLMs are a promising approach to create AI agents that can have realistic conversations, follow procedures, and call appropriate functions. However, evaluating them is challenging due to the diversity of possible conversations, and existing datasets focus only on single interactions and function-calling. We present a test generation pipeline to evaluate LLMs as conversational AI agents. Our framework uses LLMs to generate diverse tests grounded on user-defined procedures. For that, we use intermediate graphs to limit the LLM test generator's tendency to hallucinate content that is not grounded on input procedures, and enforces high coverage of the possible conversations. Additionally, we put forward ALMITA, a manually curated dataset for evaluating AI agents in customer support, and use it to evaluate existing LLMs. Our results show that while tool-augmented LLMs perform well in single interactions, they often struggle to handle complete conversations. While our focus is on customer support, our method is general and capable of AI agents for different domains.

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

↑