ChatChecker:通过非合作用户模拟进行对话系统测试与评估的框架
ChatChecker: A Framework for Dialogue System Testing and Evaluation Through Non-cooperative User Simulation
AI总结:
本文提出ChatChecker框架,通过LLM模拟非合作用户并引入错误分类法,实现复杂对话系统的自动化测试与评估,无需参考对话且与系统实现解耦,从而更有效地发现系统弱点并加速稳健对话系统开发。
摘要:
尽管现代对话系统高度依赖大语言模型(LLMs),但其实现往往超出单纯的LLM交互。开发者会集成多个LLM、外部工具和数据库。因此,仅评估底层LLM是不够的,对话系统必须作为一个整体进行测试和评估。然而,这仍然是一个重大挑战。以往大多数工作侧重于轮次级分析,对集成化的对话级质量保证关注较少。为解决这一问题,我们提出了ChatChecker,一个用于自动化评估和测试复杂对话系统的框架。ChatChecker使用LLM来模拟多样化的用户交互、识别对话中断并评估质量。与以往方法相比,我们的设计减少了搭建工作量,并且具有通用性,因为它不需要参考对话,且与目标对话系统的实现解耦。我们通过在提示中包含错误分类法,在先前基于LLM的方法基础上提高了中断检测性能。此外,我们提出了一种新颖的基于挑战性人物画像的非合作用户模拟器,能够更有效地发现目标对话系统中的弱点。通过这种方式,ChatChecker有助于实现彻底且可扩展的测试。这使得研究人员和从业者都能加速稳健对话系统的开发。
英文摘要:
While modern dialogue systems heavily rely on large language models (LLMs), their implementation often goes beyond pure LLM interaction. Developers integrate multiple LLMs, external tools, and databases. Therefore, assessment of the underlying LLM alone does not suffice, and the dialogue systems must be tested and evaluated as a whole. However, this remains a major challenge. With most previous work focusing on turn-level analysis, less attention has been paid to integrated dialogue-level quality assurance. To address this, we present ChatChecker, a framework for automated evaluation and testing of complex dialogue systems. ChatChecker uses LLMs to simulate diverse user interactions, identify dialogue breakdowns, and evaluate quality. Compared to previous approaches, our design reduces setup effort and is generalizable, as it does not require reference dialogues and is decoupled from the implementation of the target dialogue system. We improve breakdown detection performance over a prior LLM-based approach by including an error taxonomy in the prompt. Additionally, we propose a novel non-cooperative user simulator based on challenging personas that uncovers weaknesses in target dialogue systems more effectively. Through this, ChatChecker contributes to thorough and scalable testing. This enables both researchers and practitioners to accelerate the development of robust dialogue systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。