EmoUS: Simulating User Emotions in Task-Oriented Dialogues

Hsien-Chin Lin, Shutong Feng, Christian Geishauser, Nurul Lubis, Carel van Niekerk, Michael Heck, Benjamin Matthias Ruppik, Renato Vukovic, Milica Gasic · DOI

Abstract

Existing user simulators (USs) for task-oriented dialogue systems only model user behaviour on semantic and natural language levels without considering the user persona and emotions. Optimising dialogue systems with generic user policies, which cannot model diverse user behaviour driven by different emotional states, may result in a high drop-off rate when deployed in the real world. Thus, we present EmoUS, a user simulator that learns to simulate user emotions alongside user behaviour. EmoUS generates user emotions, semantic actions, and natural language responses based on the user goal, the dialogue history, and the user persona. By analysing what kind of system behaviour elicits what kind of user emotions, we show that EmoUS can be used as a probe to evaluate a variety of dialogue systems and in particular their effect on the user's emotional state. Developing such methods is important in the age of large language model chat-bots and rising ethical concerns.

Introduction

Task-oriented dialogue systems (TDS) are designed to help users achieve specific goals, such as booking a flight or finding a restaurant. To train and evaluate these systems, researchers typically use User Simulators (USs). However, traditional USs operate under a "rational agent" assumption, focusing exclusively on the logical progression of a task. They ignore the intrinsic human elements—personality and emotion—that dictate real-world interactions.

In practice, a user’s response is not just a function of their goal, but also their emotional state. A user who encounters repeated system errors may become frustrated or even abusive, while a helpful system may elicit satisfaction or excitement. By failing to model these dynamics, traditional simulators create a "laboratory gap" where bots perform well in simulation but fail to handle the emotional complexity of human users. EmoUS addresses this by integrating persona and emotion into the simulation loop.

The EmoUS Framework

EmoUS is built upon the GenTUS architecture, an ontology-independent simulator, but extends it to handle emotional states. The model is framed as a Sequence-to-Sequence (Seq2Seq) problem using a BART (Bidirectional and Auto-Regressive Transformer) backbone.

Input and Output Structure

The model processes a comprehensive set of inputs to generate a contextually aware response:

  1. System Action: The most recent move by the dialogue system.
  2. Dialogue History: The preceding three turns to maintain context.
  3. User Goal: The specific objective the user is trying to achieve.
  4. Turn Number: To track the progression and potential fatigue of the interaction.
  5. User Persona: A descriptive prompt (e.g., "a polite user") that grounds the user's baseline behavior.

The output is a unified string containing three distinct components: the predicted User Emotion, the Semantic Actions (the logical intent), and the Natural Language response. This joint modeling ensures that the generated text is not only task-appropriate but also emotionally consistent with the predicted state.

Data and Training

The researchers utilized EmoWOZ, a large-scale dataset derived from the MultiWOZ corpus. EmoWOZ features over 10,000 dialogues annotated with a hierarchy of emotional labels:

  • Seven Fine-Grained Emotions: Neutral, Fearful, Dissatisfied, Apologetic, Abusive, Satisfied, and Excited.
  • Three Sentiment Polarities: Positive, Neutral, and Negative.

By training on this rich dataset, EmoUS learns the nuances of how specific system behaviors (like "requesting" or "confirming") correlate with shifts in user sentiment.

Key Insights

The Role of Persona

A critical finding of the study was the impact of the user persona. Including persona information improved emotion prediction accuracy by over 20% (macro-F1). This suggests that emotional reactions are not universal; they are filtered through the lens of an individual's personality. Knowing if a user is naturally polite or impolite is crucial for predicting if they will stay calm or become abusive when a bot fails.

Simulator as an Evaluation Probe

Beyond training, EmoUS serves as a diagnostic tool. By simulating interactions with various dialogue systems, researchers can "probe" which system behaviors trigger negative user emotions. The study identified that "looping" (repeating the same prompt) and "neglecting" (ignoring a user's constraint) were the primary catalysts for user dissatisfaction.

Linguistic Diversity

Modeling emotion naturally leads to higher linguistic variety. Unlike standard simulators that might produce a single "correct" response for a given state, EmoUS can generate diverse phrasing based on whether the simulated user is "satisfied" or "dissatisfied," providing a more robust training signal for the dialogue policy.

Results and Performance

EmoUS demonstrated superior performance in both emotion prediction and policy training:

  • Accuracy: It achieved a macro-F1 score of 0.693 for sentiment and 0.501 for fine-grained emotion, significantly outperforming the SatActUtt baseline.
  • Policy Robustness: Dialogue policies trained against EmoUS proved more resilient. When tested against other simulators, a bot trained on EmoUS maintained a 52% success rate, compared to 45% for ABUS and 47% for GenTUS.
  • Configurability: The system allows for "personality tuning," enabling developers to test their bots against specifically "difficult" or "easy" user profiles by adjusting emotional weights.

Conclusion and Future Work

EmoUS represents a significant step toward more human-centric dialogue simulation. By moving beyond pure logic to include emotion and persona, it provides a more realistic environment for developing robust AI. Future research will focus on human validation to confirm the perceived realism of the simulator and exploring the complex, long-term interplay between stable user personas and transient emotional states. Ultimately, this work paves the way for emotion-sensitive bots capable of de-escalating frustration and improving user satisfaction in real-time.

Summary updated

BibTeX
@inproceedings{lin2023emous,
  author = {Hsien-Chin Lin and Shutong Feng and Christian Geishauser and Nurul Lubis and Carel van Niekerk and Michael Heck and Benjamin Matthias Ruppik and Renato Vukovic and Milica Gasic},
  title = {{EmoUS: Simulating User Emotions in Task-Oriented Dialogues}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2023},
  doi = {10.1145/3539618.3592092},
}
Figure