A Persona-Based Neural Conversation Model

Jiwei Li, Michel Galley, Chris Brockett, Georgios P. Spithourakis, Jianfeng Gao, William B. Dolan

Abstract: We present persona-based models for handling the issue of speaker consistency in neural response generation. A speaker model encodes personas in distributed embeddings that capture individual characteristics such as background information and speaking style. A dyadic speaker-addressee model captures properties of interactions between two interlocutors. Our models yield qualitative performance improvements in both perplexity and BLEU scores over baseline sequence-to-sequence models, with similar gains in speaker consistency as measured by human judges.

Introduction: The Identity Crisis in Neural Conversation

In the mid-2010s, the state-of-the-art for chatbots was the Sequence-to-Sequence (Seq2Seq) model. While these models could generate fluent text, they suffered from a distinct "identity crisis." Because they were trained on millions of conversations from thousands of different people, they tended to mimic a "consensus" population rather than a single coherent identity.

This led to notorious inconsistency: a model might claim to live in Los Angeles in one turn and Madrid in the next. The authors of this paper sought to solve this by endowing models with a Persona: a composite of identity (background facts), language behavior, and interaction style.

Comparison of responses from a standard model vs. a persona-based model showing improved consistency.

Methods: Architecture for Identity

The researchers proposed two main architectures built on top of Long Short-Term Memory (LSTM) networks to inject personality into the generation process:

  1. The Speaker Model: Each speaker in the training set is assigned a unique "speaker embedding" (a high-dimensional vector). During response generation, this vector is injected into the LSTM decoder at every time step. This acts as a constant "style and content" filter, influencing the model to choose words consistent with that specific speaker's history.
  2. The Speaker-Addressee Model: Recognizing that people change how they speak depending on their audience (lexical entrainment), this model creates an "interaction representation." It combines the embeddings of both the speaker and the addressee to predict a response tailored to their specific relationship.
Architecture of the Speaker Model and t-SNE visualizations of speaker and word embeddings.

To further improve quality, the team utilized Maximum Mutual Information (MMI) during decoding. This technique penalizes generic, high-probability responses like "I don't know," forcing the model to select more diverse and persona-specific options.

Datasets and Implicit Learning

The models were trained on three primary sources: a Twitter Persona Dataset (25 million turns from 74,000 users), a standard Twitter Sordoni Dataset for benchmarking, and TV Series Transcripts from Friends and The Big Bang Theory. The TV scripts were particularly valuable for the Speaker-Addressee model, as they contain rich examples of specific dyadic interactions (e.g., how Ross speaks to Monica vs. Rachel).

A key insight of this approach is Implicit Attribute Learning. The model does not require explicit labels like "Age" or "Location." By training on raw text, speaker embeddings naturally cluster similar people together in vector space. If two speakers "sound" British, their embeddings will be close to each other, allowing the model to infer characteristics and maintain consistency even when specific facts weren't explicitly provided in the training data.

Key Results

The persona-based approach yielded significant improvements across both quantitative and qualitative metrics:

  • Quantitative Gains: The Speaker Model achieved a 10-12% decrease in perplexity and a 20% increase in BLEU scores over standard Seq2Seq baselines.
  • Human Evaluation: In side-by-side comparisons, human judges found the persona-based models to be "more consistent" in 56.7% of cases.
  • Identity Anchoring: As shown in the qualitative examples, the model successfully moved away from "average human" responses toward specific, stable identities, significantly reducing self-contradiction.

Limitations and Future Work

Despite its success, the model faced challenges with data sparsity, particularly for the Speaker-Addressee model which requires many examples of the same two people interacting. Additionally, the personas are treated as static vectors, failing to account for how a person's style might change based on mood or the passage of time.

This work laid the critical groundwork for the "system prompts" and "custom instructions" used in modern Large Language Models, proving that a stable identity is essential for natural, human-like conversation.

Summary updated

BibTeX
@inproceedings{li2016persona,
  author = {Jiwei Li and Michel Galley and Chris Brockett and Georgios P. Spithourakis and Jianfeng Gao and William B. Dolan},
  title = {{A Persona-Based Neural Conversation Model}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  url = {https://openreview.net/forum?id=HJWMvsldWS},
}
Figure