Coverage-based Strategies for the Automated Synthesis of Test Scenarios for Conversational Agents


Abstract:

Conversational agents-or chatbots-are increasingly used as the user interface to many software services. While open-domain chatbots like ChatGPT excel in their ability to chat about any topic, task-oriented conversational agents are designed to perform goal-oriented tasks (e.g., booking or shopping) guided by a dialogue-based user interaction, which is explicitly designed. Like any kind of software system, task-oriented conversational agents need to be properly tested to ensure their quality. For this purpose, some tools permit defining and executing conversation test cases. However, there are currently no established means to assess the coverage of the design of a task-oriented agent by a test suite, or mechanisms to automate quality test case generation ensuring the agent coverage.To attack this problem, we propose test coverage criteria for task-oriented conversational agents, and define coverage-based strategies to synthesise test scenarios, some oriented to test case reduction. We provide an implementation of the criteria and the strategies that is independent of the agent development platform. Finally, we report on their evaluation on open-source Dialogflow and Rasa agents, and a comparison against a state-of-The-Art testing tool. The experiment shows benefits in terms of test generation correctness, increased coverage and reduced testing time.

Año de publicación:

2024

Keywords:

  • task-oriented conversational agents
  • test suite generation
  • TESTING

Fuente:

scopusscopus

Tipo 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
Procesado con IAProcesado con IA

Objetivos de Desarrollo Sostenible:

  • ODS 4: Educación de calidad
  • ODS 17: Alianzas para lograr los objetivos
  • ODS 9: Industria, innovación e infraestructura
Procesado con IAProcesado con IA