paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DialTest: automated testing for recurrent-neural-network-driven dialogue systems

DialTest:面向 RNN 驱动对话系统的自动化测试
ISSTA Proceedings of the 30th ACM SIGSOFT International Symposium on Software Testing and Analysis2021匹配度 2/10 · 该论文关注 RNN 驱动对话系统的自动化测试,属于机器学习系统测试方向,但与用户核心关注的静态分析、Agentic/LLM 程序分析、浮点程序分析或贝叶斯程序分析均无直接关系。其方法基于数据变换和 Gini 不纯度,未涉及 LLM/Agent 与 PL 的交叉。引用 26 inbox
Zixi Liu, Yang Feng, Zhenyu Chen
crossref: 2026-09-12

AI 速览

一句话:提出首个 RNN 驱动对话系统自动化测试工具 DialTest,通过保 oracle 的数据变换与 Gini 不纯度引导生成测试,高效检出错误。

RNN 驱动的对话系统(如 Siri、Google Home、Alexa)虽性能优异,但本质仍是软件,可能产生错误行为并带来巨大损失;而 RNN 模型的复杂与不可解释性使其测试颇具挑战。本文设计并实现了首个 RNN 驱动对话系统测试工具 DialTest:它采用一系列变换算子对种子数据做贴近真实的修改,同时恰当保留其 oracle 信息,以保证变异数据的标注正确;为进一步提升错误检出效率,还引入 Gini 不纯度来引导测试生成过程。作者在自然语言理解的两个基础任务(意图识别与槽填充)上开展实验,结果表明 DialTest 能为不同 RNN 驱动的 NLU 模块检出数百个错误行为,并可用生成数据重训练提升准确率;此外在一个工业对话系统上的案例研究显示,DialTest 能在真实使用场景下有效发现错误并提升系统鲁棒性。

问题
RNN 驱动的对话系统本质是软件,可能产生错误行为,但其模型复杂且难以解释,导致测试与错误检出困难。
方法
DialTest 使用一系列变换算子对种子数据做真实感修改并保留 oracle 信息,同时用 Gini 不纯度引导测试生成以提升检错效率。
评估
在意图识别与槽填充两个 NLU 任务上实验,并通过重训练验证准确率提升;另在工业对话系统上开展案例研究验证真实场景效果。
原文摘要(Abstract)

With the tremendous advancement of recurrent neural networks(RNN), dialogue systems have achieved significant development. Many RNN-driven dialogue systems, such as Siri, Google Home, and Alexa, have been deployed to assist various tasks. However, accompanying this outstanding performance, RNN-driven dialogue systems, which are essentially a kind of software, could also produce erroneous behaviors and result in massive losses. Meanwhile, the complexity and intractability of RNN models that power the dialogue systems make their testing challenging. In this paper, we design and implement DialTest, the first RNN-driven dialogue system testing tool. DialTest employs a series of transformation operators to make realistic changes on seed data while preserving their oracle information properly. To improve the efficiency of detecting faults, DialTest further adopts Gini impurity to guide the test generation process. We conduct extensive experiments to validate DialTest. We first experiment it on two fundamental tasks, i.e., intent detection and slot filling, of natural language understanding. The experiment results show that DialTest can effectively detect hundreds of erroneous behaviors for different RNN-driven natural language understanding (NLU) modules of dialogue systems and improve their accuracy via retraining with the generated data. Further, we conduct a case study on an industrial dialogue system to investigate the performance of DialTest under the real usage scenario. The study shows DialTest can detect errors and improve the robustness of RNN-driven dialogue systems effectively.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6684,
  title = {DialTest: automated testing for recurrent-neural-network-driven dialogue systems},
  author = {Zixi Liu and Yang Feng and Zhenyu Chen},
  booktitle = {ISSTA},
  year = {2021},
  doi = {10.1145/3460319.3464829}
}