paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Testing Your Question Answering Software via Asking Recursively

通过递归提问测试你的问答软件
ASE 2021 36th IEEE/ACM International Conference on Automated Software Engineering (ASE)2021匹配度 3/10 · 该论文研究问答软件的蜕变测试,属于机器学习软件测试/调试方向,与用户关注的“静态分析应用于 ML/Agentic 程序”或“LLM/Agent 改进静态分析与形式化验证”只有较弱的 ML+PL 交叉关联;它不涉及静态分析、Agentic 程序、浮点程序分析或贝叶斯程序分析。引用 37 inbox
Songqiang Chen, Shuo Jin, Xiaoyuan Xie
crossref: 2026-09-12

AI 速览

一句话:提出 qaAskeR,利用三种蜕变关系递归提问测试问答软件,无需标注标签即可揭示违规。

问答(QA)是自然语言处理中的重要且富有挑战的方向,已有多种算法和基准数据集,QA 软件也广泛用于日常生活。然而,当前 QA 软件主要采用基于参考的测试范式,需要先投入大量人工标注测试用例的预期输出。这导致既无法在使用过程中进行即时测试,也无法在大规模无标注真实数据上进行可扩展测试,限制了测试的灵活性和充分性。本文提出 qaAskeR,设计三种新颖的蜕变关系来测试 QA 软件。该方法不依赖标注标签,而是通过递归询问与同一知识相关的多个问题,检查 QA 软件在这些问题上的行为来发现违规。实验结果表明,qaAskeR 无需任何预标注标签即可在超过 80% 的有效案例中揭示违规;在一个最先进的 QA 算法上,它发现了多种回答问题,尤其是跨数据集时对问题类型的泛化能力有限。

问题
当前 QA 软件测试主要依赖人工标注的参考标签,难以支持使用中的即时测试和大规模无标注真实数据上的可扩展测试。
方法
提出 qaAskeR,设计三种蜕变关系,通过递归询问与同一知识相关的多个问题并检查 QA 软件的行为一致性来测试,无需预标注标签。
评估
无需预标注标签,qaAskeR 在超过 80% 的有效案例中揭示违规;并在一个最先进 QA 算法上发现多种回答问题,尤其是跨数据集问题类型的泛化有限。
原文摘要(Abstract)

Question Answering (QA) is an attractive and challenging area in NLP community. There are diverse algorithms being proposed and various benchmark datasets with different topics and task formats being constructed. QA software has also been widely used in daily human life now. However, current QA software is mainly tested in a reference-based paradigm, in which the expected outputs (labels) of test cases need to be annotated with much human effort before testing. As a result, neither the just-in-time test during usage nor the extensible test on massive unlabeled real-life data is feasible, which keeps the current testing of QA software from being flexible and sufficient. In this paper, we propose a method, qaAskeR, with three novel Metamorphic Relations for testing QA software. qaAskeR does not require the annotated labels but tests QA software by checking its behaviors on multiple recursively asked questions that are related to the same knowledge. Experimental results show that qaAskeR can reveal violations at over 80% of valid cases without using any preannotated labels. Diverse answering issues, especially the limited generalization on question types across datasets, are revealed on a state-of-the-art QA algorithm.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6511,
  title = {Testing Your Question Answering Software via Asking Recursively},
  author = {Songqiang Chen and Shuo Jin and Xiaoyuan Xie},
  booktitle = {ASE},
  year = {2021},
  doi = {10.1109/ase51524.2021.9678670}
}