Dream to Chat: Model-based Reinforcement Learning on Dialogues with User Belief Modeling

Yue Zhao, Xiaoyu Wang, Dan Wang, Zhonglin Jiang, Qing Gu, Teng Chen, Ningyuan Xi, Jia Qu, Yong Chen, Luo Ji

Abstract

World models have been widely utilized in robotics, gaming, and autonomous driving. However, their applications to natural language tasks are relatively limited. In this paper, we construct the dialogue world model, which could predict future utterances and user beliefs, including emotion, sentiment, and intention. We propose a framework called DreamCUB, which shows that this user belief modeling and the entire dialogue world model can be established by LLM post-training. By defining a POMDP, we apply model-based reinforcement learning to the dialogue system and solve it by maximizing the information bottleneck. Experiments show that the pretrained dialogue world model can achieve state-of-the-art performances on emotion classification and sentiment identification, while dialogue quality is also enhanced by joint training of policy, critic and dialogue world model. Further analysis reveals that DreamCUB holds a reasonable exploration-exploitation balance and also transfers well to out-of-domain scenarios such as empathetic dialogues.

Introduction

While Large Language Models (LLMs) have become impressive conversationalists, their training typically relies on model-free reinforcement learning, such as Proximal Policy Optimization (PPO) in RLHF. These methods are often sample-efficient and struggle with high performance variance. More critically, standard models react primarily to observable text, often ignoring the unobservable "inner states" that drive human communication: emotions, sentiments, and intentions.

Conceptual overview of the DreamCUB framework

To address this, the authors introduce DreamCUB (Dream to Chat with User Belief). By treating conversation as a Partially Observable Markov Decision Process (POMDP), DreamCUB explicitly models these hidden psychological states. This allows the agent to "dream" or simulate future dialogue trajectories, enabling more empathetic and effective conversational planning.

Methodology

The core of DreamCUB is the Dialogue World Model (DWM). Unlike traditional models that only track text history, the DWM maintains a "belief" state representing the user's internal psychological condition.

Components of the Dialogue World Model (DWM)

The DWM consists of three primary components:

  1. Belief Inference Model ($q$): Identifies the user's current emotion, sentiment, and intention from the dialogue history.
  2. Belief Transition and Next-Query Model ($p$): Predicts how the user's internal state will shift and what their next response will be given the agent's action.
  3. Reward Model ($R$): Evaluates the interaction quality based on the inferred state transitions.

The framework is trained using a Variational Information Bottleneck approach. By maximizing the Evidence Lower Bound (ELBO), the model learns to reconstruct observations and rewards while regularizing the belief state. This regularization prevents overfitting to specific phrasing and encourages the model to capture the underlying dynamics of human emotion.

Datasets and Evaluation

The DWM was pretrained on a variety of sentiment and emotion benchmarks, including Amazon, Yelp, IMDB, GoEmotion, and SemEval 2018 Task 1. Policy training utilized the DailyDialog dataset, known for its high-quality multi-turn conversations with rich annotations. To test robustness, the model was evaluated on out-of-domain (OOD) scenarios using the ESConv (Emotional Support Conversation) and EmpatheticDialogues datasets.

Key Results and Insights

DreamCUB achieves state-of-the-art (SOTA) performance in emotional cognition. Based on Llama 3.1-8B, the DWM outperformed specialized models like EmoLlama in emotion and sentiment classification.

  • Enhanced Dialogue Quality: DreamCUB consistently outperformed baselines in automatic metrics such as BLEU-2, ROUGE-L, and Distinct-2.
  • Human Preference: Blind tests showed that human evaluators preferred DreamCUB for its effectiveness in shifting negative emotions to positive ones and its overall sensitivity to user states.
  • Response Length Optimization: An interesting emergent behavior was the model's ability to balance response length. While LLMs often start with overly long responses, joint training with the world model led to more concise, human-like interactions.
  • Robust Generalization: The model demonstrated strong transferability to sensitive emotional support scenarios, even when primarily trained on daily conversational data.

Conclusion

DreamCUB demonstrates that integrating a dialogue world model with user belief modeling significantly enhances the emotional intelligence and effectiveness of LLMs. By moving beyond simple pattern matching to a "theory of mind" approach, agents can better navigate the complexities of human emotion. Future work will explore expanding the belief state to include user preferences and long-term memory, while addressing the ethical implications of modeling private internal states.

Summary updated

BibTeX
@misc{zhao2025dream,
  author = {Yue Zhao and Xiaoyu Wang and Dan Wang and Zhonglin Jiang and Qing Gu and Teng Chen and Ningyuan Xi and Jia Qu and Yong Chen and Luo Ji},
  title = {{Dream to Chat: Model-based Reinforcement Learning on Dialogues with User Belief Modeling}},
  year = {2025},
  eprint = {2508.16876},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.16876},
}
Figure