Mutation Testing for Task-Oriented Chatbots
Abstract:
Conversational agents, or chatbots, are increasingly used to access all sorts of services using natural language. While open-domain chatbots - like ChatGPT - can converse on any topic, task-oriented chatbots - the focus of this paper - are designed for specific tasks, like booking a flight, obtaining customer support, or setting an appointment. Like any other software, task-oriented chatbots need to be properly tested, usually by defining and executing test scenarios (i.e., sequences of user-chatbot interactions). However, there is currently a lack of methods to quantify the completeness and strength of such test scenarios, which can lead to low-quality tests, and hence to buggy chatbots. To fill this gap, we propose adapting mutation testing (MuT) for task-oriented chatbots. To this end, we introduce a set of mutation operators that emulate faults in chatbot designs, an architecture that enables MuT on chatbots built using heterogeneous technologies, and a practical realisation as an Eclipse plugin. Moreover, we evaluate the applicability, effectiveness and efficiency of our approach on open-source chatbots, with promising results.
Año de publicación:
2024
Keywords:
- Botium
- Dialogflow
- Mutation testing
- Rasa
- Task-oriented chatbots
Fuente:
scopusTipo de documento:
Other
Estado:
Acceso restringido
Áreas de conocimiento:
- Ingeniería de software
- Software
- Ciencias de la computación
Áreas temáticas de Dewey:
- Métodos informáticos especiales
- Programación informática, programas, datos, seguridad
- Ciencias de la computación
Objetivos de Desarrollo Sostenible:
- ODS 4: Educación de calidad
- ODS 17: Alianzas para lograr los objetivos
- ODS 9: Industria, innovación e infraestructura