Personalized Response Generation via Generative Split Memory Network

Yuwei Wu, Xuezhe Ma, Diyi Yang

Introduction

Open-domain conversational agents often suffer from a "personality crisis." Because they are typically trained on massive datasets containing millions of different speakers, they frequently produce generic, inconsistent, or contradictory responses—such as claiming to be from New York in one sentence and London in the next. While existing solutions like PERSONA-CHAT use human-annotated personas, they often lack the natural nuance of real-world dialogue. This paper introduces the Generative Split Memory Network (GSMN) and a massive new dataset, PER-CHAT, to bridge the gap between structured identity and natural conversation history.

Methods: The Generative Split Memory Network

The core innovation of this work is the GSMN architecture. Rather than attempting to compress all user information into a single vector, GSMN utilizes two distinct "memory" components to handle different types of personal data:

Architecture of the Generative Split Memory Network (GSMN).
  1. Profile Memory: This component manages structured "meta-attributes" (e.g., Gender: Male, Residence: Canada) extracted from user data. These are treated as key-value pairs that define who a user is.
  2. History Memory: This handles unstructured text. To manage the computational complexity of a user's entire posting history, the model employs an Information Retrieval (IR) system powered by BERT. When a query is received, the IR system retrieves the most semantically relevant past comments from that specific user to inform the response.

By splitting these memories, the model can independently attend to interpersonal meta-attributes and specific past comment patterns, combining them during the decoding stage to generate contextually relevant and personally consistent responses.

The PER-CHAT Dataset

To train and evaluate the GSMN, the authors introduced PER-CHAT, a large-scale dataset sourced from Reddit (r/AskReddit). It contains 1.5 million conversation pairs across 300,000 unique users. Unlike previous datasets, PER-CHAT includes both raw comment histories and inferred "User Profiles" across eight attribute types (such as pets, favorites, and possessions) extracted via rule-based NLP.

Comparison of PER-CHAT with existing personalized dialogue datasets.

As illustrated in the table above, PER-CHAT is 5–10 times larger than prior publicly available personalized datasets and offers a unique combination of both comment history and structured profile information.

Key Results and Evaluation

The GSMN model was compared against several baselines, including standard Seq2Seq models and the powerful DialoGPT.

  • Quantitative Performance: When integrated with DialoGPT, the Split Memory approach achieved a Perplexity of 33.519 and a BLEU score of 7.047, significantly outperforming the base DialoGPT (Perplexity 58.7).
  • Consistency: The authors introduced the PC-Score (Profile Consistency Score) to measure how well a model sticks to its assigned persona. GSMN scored 0.0337, nearly triple the score of standard memory networks.
  • Human Evaluation: In blind tests, human raters found GSMN responses to be significantly more consistent (scoring 2.29/3) and personalized (0.43 on a scale of -1 to 1) compared to the Attention-Seq2Seq baseline (1.40 and 0.29, respectively).

Discussion and Future Work

The study demonstrates that relevance-based retrieval of past comments is more effective than simply looking at the most recent history. However, the authors note several areas for future research, including extending the model to multi-turn dialogues and improving the accuracy of attribute extraction, which currently relies on potentially noisy rule-based methods. Additionally, while the model follows best practices for decoding, the inherent risks of toxicity in Reddit-trained data remain a challenge for open-domain agents.

Summary updated

BibTeX
@inproceedings{wu2021personalized,
  author = {Yuwei Wu and Xuezhe Ma and Diyi Yang},
  title = {{Personalized Response Generation via Generative Split Memory Network}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-main.157},
}
Figure