Unsupervised Enrichment of Persona-grounded Dialog with Background Stories

Bodhisattwa Prasad Majumder, Taylor Berg-Kirkpatrick, Julian J. McAuley, Harsh Jhamtani

Abstract

While persona-grounded dialogue models have improved the consistency of AI chatbots, they often lack the engaging anecdotal quality of human conversation. This paper introduces PABST (Persona enrichment with Background Stories), an unsupervised framework that enhances dialogue by integrating fictional narratives retrieved from external story corpora. By employing a gradient-based inference technique, PABST steers pre-trained language models to produce responses that are fluent, persona-consistent, and rich in narrative detail without the need for specialized supervised training data.

Introduction

Modern AI chatbots frequently feel shallow because they lack the "life experiences" that characterize natural human interaction. While "persona-grounded" models—which are assigned specific traits like "I have two children"—are an improvement over generic systems, they still tend to produce dull, repetitive responses that merely state facts rather than sharing experiences. Humans, by contrast, naturally weave anecdotes into conversation to build rapport and engagement.

The primary challenge in developing more anecdotal bots is the lack of large-scale datasets containing pairs of dialogue history and story-like responses. Creating such supervised data is prohibitively expensive. To address this, the authors propose leveraging existing story corpora, such as fictional short stories, to provide chatbots with a "memory bank" of experiences that can be adapted to their assigned personas.

The PABST Framework

The proposed method, PABST, operates through a three-stage pipeline designed to enrich dialogue at inference time:

  1. Retrieval & Transformation: Given a specific persona attribute, the system retrieves a relevant narrative from an external corpus (ROCStories) using BERT-based ranking. To ensure the story fits the dialogue context, third-person narratives are transformed into the first person using co-reference resolution (e.g., "He walked his dog" becomes "I walked my dog").
  2. Gradient-based Inference: This is the core innovation of PABST. Rather than retraining the underlying model, the system "steers" a pre-trained GPT-2 model during decoding. It uses an iterative process involving a backward pass to apply soft constraints—specifically story similarity and persona consistency via an NLI classifier—and a forward pass to maintain linguistic fluency and relevance to the dialogue history.
  3. Iterative Refinement: By alternating these passes, the model optimizes the response to find a balance between being story-rich and contextually appropriate.
Overview of the PABST pipeline, illustrating how persona attributes and retrieved stories are integrated into a fluent, consistent response.

Experimental Evaluation

The authors evaluated PABST using the PersonaChat dialogue dataset and the ROCStories corpus, which contains approximately 78,000 five-sentence fictional stories. To ensure persona consistency, a Dialogue-NLI classifier was employed during the inference steering process to prevent the bot from contradicting its assigned traits.

Results and Qualitative Analysis

PABST significantly outperforms standard persona models in diversity metrics, such as Dist-1/2 and Entropy, effectively avoiding the generic response loops common in simpler models. Human evaluations further validate these findings: in head-to-head matchups, judges preferred PABST over the standard TRANSFERO model 96.7% of the time for engagement and 83.8% for sensibility.

A key feature of PABST is its controllability. By adjusting the hyperparameter $\lambda_d$, users can determine the degree to which the bot adheres to the retrieved story versus adapting to the immediate conversational context. This allows for a "sweet spot" where the bot is both informative and natural.

Qualitative comparison of dialogue responses generated by PABST and various baseline models, demonstrating the impact of story enrichment and hyperparameter tuning.

Discussion and Future Work

While PABST represents a significant step toward more human-like AI, some limitations remain. Currently, the model attempts to incorporate a story into every conversational turn, which may not always be appropriate. Future iterations could include a "decision step" to determine when a narrative is warranted. Additionally, while the current focus is on single-turn responses, future work could explore maintaining a narrative thread across multiple turns of a conversation.

By treating story incorporation as a constrained optimization problem at inference time, PABST successfully bypasses the need for specialized training data, providing a scalable path toward creating AI companions that can share meaningful, contextually relevant "life experiences."

Summary updated

BibTeX
@inproceedings{majumder2021unsupervised,
  author = {Bodhisattwa Prasad Majumder and Taylor Berg-Kirkpatrick and Julian J. McAuley and Harsh Jhamtani},
  title = {{Unsupervised Enrichment of Persona-grounded Dialog with Background Stories}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.acl-short.74},
}
Figure