paper-with-me

Papers

MORTAR: Multi-turn Metamorphic Testing for LLM-based Dialogue Systems

2024-12-20 · Guoxiang Guo, Aldeida Aleti, Neelofar Neelofar, Chakkrit Tantithamthavorn, Yuanyuan Qi, Tsong Yueh Chen

With the widespread application of LLM-based dialogue systems in daily life, quality assurance has become more important than ever. Recent research has successfully introduced methods to identify unexpected behaviour in single-turn testing scenarios. However, multi-turn interaction is the common real-world usage of dialogue systems, yet testing methods for such interactions remain underexplored. This is largely due to the oracle problem in multi-turn testing, which continues to pose a significant challenge for dialogue system developers and researchers. In this paper, we propose MORTAR, a metamorphic multi-turn dialogue testing approach, which mitigates the test oracle problem in testing LLM-based dialogue systems. MORTAR formalises the multi-turn testing for dialogue systems, and automates the generation of question-answer dialogue test cases with multiple dialogue-level perturbations and metamorphic relations (MRs). The automated MR matching mechanism allows MORTAR more flexibility and efficiency in metamorphic testing. The proposed approach is fully automated without reliance on LLM judges. In testing six popular LLM-based dialogue systems, MORTAR reaches significantly better effectiveness with over 150\% more bugs revealed per test case when compared to the single-turn metamorphic testing baseline. Regarding the quality of bugs, MORTAR reveals higher-quality bugs in terms of diversity, precision and uniqueness. MORTAR is expected to inspire more multi-turn testing approaches, and assist developers in evaluating the dialogue system performance more comprehensively with constrained test resources and budget.

📄 PDF Abstract BibTeX arXiv:2412.15557

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Persona-centric Metamorphic Relation guided Robustness Evaluation for Multi-turn Dialogue Modelling

2024-01-23 · Yanbing Chen, Lin Li, Xiaohui Tao, Dong Zhou

Recently there has been significant progress in the field of dialogue system thanks to the introduction of training paradigms such as fine-tune and prompt learning. Persona can function as the prior knowledge for maintai…

Prompt LearningReading ComprehensionRelationRetrieval

From Untestable to Testable: Metamorphic Testing in the Age of LLMs

2026-03-25 · Valerio Terragni arxiv

This article discusses the challenges of testing software systems with increasingly integrated AI and LLM functionalities. LLMs are powerful but unreliable, and labeled ground truth for testing rarely scales. Metamorphic…

Object-based Metamorphic Testing through Image Structuring

2020-02-12 · Adrian Wildandyawan, Yasuharu Nishi

Testing software is often costly due to the need of mass-producing test cases and providing a test oracle for it. This is often referred to as the oracle problem. One method that has been proposed in order to alleviate t…

Object

Multi-Agent LLM-based Metamorphic Testing for REST APIs

2026-05-27 · Shehroz Khan, Abdullah Mughees, Gaadha Sudheerbabu, Tanwir Ahmad 외 arxiv

As REST APIs become an increasingly significant part of software systems, their validation is becoming more critical. Hence, testing and uncovering underlying issues are of utmost importance for improving software qualit…

Perception Matters: Detecting Perception Failures of VQA Models Using Metamorphic Testing

2021-06-19 · CVPR 2021 1 · Yuanyuan Yuan, Shuai Wang, Mingyue Jiang, Tsong Yueh Chen

Visual question answering (VQA) takes an image and a natural-language question as input and returns a natural-language answer. To date, VQA models are primarily assessed by their accuracy on high-level reasoning ques…

BenchmarkingDNN TestingQuestion AnsweringVisual Question Answering+1