Sketch-Fill-A-R: A Persona-Grounded Chit-Chat Generation Framework

Michael Shum, Stephan Zheng, Wojciech Kryscinski, Caiming Xiong, Richard Socher

TL;DR

This paper introduces Sketch-Fill-A-R, a novel framework for generating more human-like chit-chat responses by grounding them in a persona and a memory of past interactions. By decomposing generation into sketching, filling, and ranking, Sketch-Fill-A-R significantly improves response consistency and engagingness, outperforming strong baselines on the Persona-Chat dataset.

What Problem Does This Paper Address?

Creating truly engaging and consistent chit-chat agents is a significant challenge in natural language processing. Unlike goal-oriented dialogue systems, chit-chat agents need to maintain fluency, coherence, and personality over extended conversations without a specific task to guide them. Existing models often struggle with:

  • Vast Response Space: The sheer number of possible valid responses makes it difficult for models to learn comprehensive patterns.
  • Maintaining Consistency: As conversations progress, models tend to contradict themselves or forget previous statements.
  • Engagingness: Simply being fluent isn't enough; responses need to be interesting and encourage further interaction, a quality not well captured by standard metrics like perplexity.
  • Persona Grounding: Effectively incorporating a defined persona into responses to make them feel more authentic and consistent.

Methods

Sketch-Fill-A-R tackles these challenges with a three-phase generation process:

  1. Sketching: The model first generates a "sketch" of a response, which is essentially a template with placeholder slots (e.g., @persona). This allows the model to capture common conversational patterns without committing to specific words, making it more flexible.
  2. Filling: Candidate words or phrases are then selected from a "persona-memory" – a curated list of rare words extracted from the agent's persona traits. These candidates are used to fill the @persona slots in the sketch, ensuring persona relevance.
  3. Ranking: Finally, a pre-trained language model (like GPT) is used to score the generated candidate responses based on their fluency and likelihood. The response with the lowest perplexity (highest LM score) is selected as the final output.

This approach leverages a memory module to store persona traits and an attention mechanism to integrate context from both the conversation history and the persona.

Datasets

  • Persona-Chat Dataset: This dataset, containing 10,907 dialogues, was used for training and evaluation. The authors processed it to create training examples consisting of conversation history, persona traits, and ground truth responses. They also constructed "sketch" responses by replacing rare words in the ground truth with @persona tags.

Key Insights and Ideas

  • Decomposition is Key: Breaking down response generation into sketching, filling, and ranking allows the model to balance capturing conversational structure with persona adherence and fluency.
  • Persona-Memory for Consistency: Storing persona traits in a dedicated memory and using them to fill response templates is highly effective for maintaining consistency.
  • Perplexity Isn't Everything: The study strongly suggests that low perplexity doesn't necessarily equate to high-quality, engaging, or consistent responses. The ranking step, using a language model, is crucial for selecting the best candidate.
  • Questions Drive Engagement: Responses that include questions are more likely to be rated as engaging by human users, and Sketch-Fill-A-R naturally generates more questions.

Key Results

  • Quantitative Improvements: Sketch-Fill-A-R achieved a significant improvement in out-of-sample perplexity, lowering it by approximately 10 points compared to state-of-the-art baselines on the Persona-Chat dataset.
  • Qualitative Superiority:
    • In head-to-head single-turn studies, Sketch-Fill-A-R was preferred by 55% of users.
  • In multi-turn studies, it showed a 20% higher consistency score.
  • Human ratings indicated that Sketch-Fill-A-R was more engaging and consistent, particularly in longer conversations, while maintaining comparable fluency.
  • Vocabulary Analysis: While Sketch-Fill-A-R generated fewer unique n-grams and full responses than a strong baseline (KVMemNet), the authors hypothesize this reduced diversity might contribute to its improved consistency and engagingness by focusing on more relevant persona-based content.

Limitations and Future Work

  • Fluency: While improved, the model's fluency in multi-turn settings still hasn't reached human-like levels.
  • Automated Metrics: The paper highlights the ongoing need for automated metrics that better correlate with human judgment of response quality, as human evaluation is costly and time-consuming.
  • Complex Traits: Achieving higher-level conversational abilities like empathy requires mastering lower-level skills first.
  • Out-of-Vocabulary Words: Handling rare words and proper nouns gracefully remains a challenge.
  • Commonsense Reasoning: Incorporating commonsense reasoning, potentially through external knowledge bases, could further enhance model capabilities.

Summary updated

BibTeX
@inproceedings{shum2020sketch,
  author = {Michael Shum and Stephan Zheng and Wojciech Kryscinski and Caiming Xiong and Richard Socher},
  title = {{Sketch-Fill-A-R: A Persona-Grounded Chit-Chat Generation Framework}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2020},
}
Figure