English

RV4Chatbot: Are Chatbots Allowed to Dream of Electric Sheep?

Artificial Intelligence 2024-11-22 v1 Human-Computer Interaction Software Engineering

Abstract

Chatbots have become integral to various application domains, including those with safety-critical considerations. As a result, there is a pressing need for methods that ensure chatbots consistently adhere to expected, safe behaviours. In this paper, we introduce RV4Chatbot, a Runtime Verification framework designed to monitor deviations in chatbot behaviour. We formalise expected behaviours as interaction protocols between the user and the chatbot. We present the RV4Chatbot design and describe two implementations that instantiate it: RV4Rasa, for monitoring chatbots created with the Rasa framework, and RV4Dialogflow, for monitoring Dialogflow chatbots. Additionally, we detail experiments conducted in a factory automation scenario using both RV4Rasa and RV4Dialogflow.

Keywords

Cite

@article{arxiv.2411.14368,
  title  = {RV4Chatbot: Are Chatbots Allowed to Dream of Electric Sheep?},
  author = {Andrea Gatti and Viviana Mascardi and Angelo Ferrando},
  journal= {arXiv preprint arXiv:2411.14368},
  year   = {2024}
}

Comments

In Proceedings FMAS2024, arXiv:2411.13215