Do You Understand How I Feel?: Towards Verified Empathy in Therapy Chatbots
By: Francesco Dettori , Matteo Forasassi , Lorenzo Veronese and more
Conversational agents are increasingly used as support tools along mental therapeutic pathways with significant societal impacts. In particular, empathy is a key non-functional requirement in therapeutic contexts, yet current chatbot development practices provide no systematic means to specify or verify it. This paper envisions a framework integrating natural language processing and formal verification to deliver empathetic therapy chatbots. A Transformer-based model extracts dialogue features, which are then translated into a Stochastic Hybrid Automaton model of dyadic therapy sessions. Empathy-related properties can then be verified through Statistical Model Checking, while strategy synthesis provides guidance for shaping agent behavior. Preliminary results show that the formal model captures therapy dynamics with good fidelity and that ad-hoc strategies improve the probability of satisfying empathy requirements.
Similar Papers
Are You Listening to Me? Fine-Tuning Chatbots for Empathetic Dialogue
Human-Computer Interaction
Teaches computers to listen with feelings.
Artificial Empathy: AI based Mental Health
Other Quantitative Biology
AI chatbots offer comfort but need better safety.
Heartificial Intelligence: Exploring Empathy in Language Models
Computation and Language
Computers understand feelings better than people.