kirancodes.me
To Proof Maintenance & Beyond!
ASE 2021★ Distinguished Paper

Testing Your Question Answering Software via Asking Recursively

Songqiang Chen, Shuo Jin, Xiaoyuan Xie

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.

BibTeX
@inproceedings{Chen-al:ASE21,
  author    = {Songqiang Chen and
               Shuo Jin and
               Xiaoyuan Xie},
  title     = {Testing Your Question Answering Software via Asking Recursively},
  booktitle = {ASE},
  pages     = {104--116},
  publisher = {{IEEE}},
  year      = {2021},
}

Related papers