Exploring Personalized Neural Conversational Models

Satwik Kottur, Xiaoyu Wang, Vítor Carvalho

Introduction

Building conversational agents that exhibit human-like consistency and engagement remains a significant challenge in natural language processing. Standard neural dialogue models often suffer from two primary deficiencies: a lack of persona consistency, leading to contradictory responses, and a tendency toward generic, "safe" outputs such as "I don't know." While prior work has addressed personalization and context-awareness independently, this paper introduces CoPerHED (Context-aware, Persona-based Hierarchical Encoder-Decoder), a model that integrates both elements to improve dialogue quality.

Methodology

The CoPerHED architecture is designed to track the multi-turn state of a conversation while accounting for individual speaker identities. As illustrated in Figure 1, the model employs a hierarchical structure consisting of three specialized Recurrent Neural Networks (RNNs):

  1. Encoder RNN: This component processes individual utterances while incorporating speaker identity as an additional input feature.
  2. Context RNN: Acting as a high-level "manager," this RNN tracks the dialogue state across multiple turns, providing a summary of the conversation history.
  3. Decoder RNN: The generation component produces responses by conditioning on the current word, the speaker's identity, and the context summary provided by the Context RNN.
The CoPerHED architecture features a hierarchical structure with Encoder, Context, and Decoder RNNs to manage persona and dialogue history.

Beyond architecture, the authors employ several critical training strategies:

  • Bootstrapping Embeddings: Word vectors are initialized with word2vec, and speaker vectors are initialized using a Bag-of-Words (BOW) representation of their historical dialogue.
  • Large-scale Pretraining: The model is first trained on the massive SubTle dataset to establish a strong language prior before fine-tuning on personalized data.
  • Mutual Information (MI) Reranking: To combat generic responses, the model uses an MI-based scoring function during evaluation to reward diverse and informative outputs.

Experimental Setup

The study utilizes three primary datasets derived from cinematic and television scripts, summarized in Table 1.

Summary of the Movie-DiC, TV-Series, and SubTle datasets used for training and evaluation.
  • Movie-DiC: Contains 132K conversations with explicit speaker annotations across 753 movies.
  • TV-Series: A smaller, high-quality dataset featuring transcripts from Friends and The Big Bang Theory, used primarily for fine-tuning.
  • SubTle: A massive corpus of 5.5M turn pairs. While it lacks speaker metadata, its scale makes it ideal for the initial pretraining phase.

Results and Discussion

The experimental results demonstrate that the combination of personalization and context provides a synergistic effect, consistently outperforming baseline models that utilize only one of these features.

Generative and Retrieval Performance

CoPerHED achieved the lowest perplexity across all test scenarios. Notably, on the TV-Series dataset, it showed an 8% improvement over standard encoder-decoder architectures. In retrieval tasks, where the model must select the correct response from a set of candidates, CoPerHED reached a Recall@5 of 88.06%, setting a new benchmark against the evaluated baselines.

Impact of Training Techniques

Ablation studies revealed that pretraining on the SubTle dataset was the most significant factor in performance, reducing perplexity by at least 7 points. Furthermore, the use of word2vec for word embedding initialization provided a consistent 1-point improvement in perplexity. The authors also noted that MI-based reranking had a "drastic" positive effect on ranking metrics, confirming its utility in reducing the prevalence of generic responses.

Conclusion

CoPerHED successfully demonstrates the value of integrating persona and context in neural conversational models. However, limitations remain, particularly the "cold start" problem for new speakers without established embeddings. Future research will focus on handling unseen speakers and developing evaluation metrics that better align with human satisfaction beyond standard automated measures like perplexity.

Summary updated

BibTeX
@inproceedings{kottur2017exploring,
  author = {Satwik Kottur and Xiaoyu Wang and Vítor Carvalho},
  title = {{Exploring Personalized Neural Conversational Models}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2017},
  doi = {10.24963/ijcai.2017/521},
}
Figure