One Chatbot Per Person: Creating Personalized Chatbots based on Implicit User Profiles

Zhengyi Ma, Zhicheng Dou, Yutao Zhu, Hanxun Zhong, Ji-Rong Wen · DOI

Introduction

Personalizing chatbots is a key challenge in conversational AI. While users appreciate agents that understand their unique preferences and speaking styles, current methods often fall short. This paper, presented at SIGIR '21, introduces DHAP (Dialogue History Automatically for Personalized chatbots), a model that learns a user's unique "implicit profile" directly from their past conversations.

Figure 1: Conceptual overview of DHAP learning from dialogue history to act as a personalized digital assistant.

The Problem: Limitations of Explicit Profiles

Most personalized chatbots rely on explicit profiles—predefined sentences like "I am a student" or "I like technology." However, this approach faces significant real-world hurdles:

  • Data Scarcity: Users rarely take the time to provide detailed biographical information.
  • Static Nature: Fixed profiles cannot adapt as a user's interests evolve over time.
  • Linguistic Nuance: A few sentences cannot capture a user's specific vocabulary, slang, or unique way of expressing knowledge.

The authors argue that a user’s dialogue history is a rich, "free" source of information that captures both what they know and how they say it.

The DHAP Framework

The DHAP framework utilizes four main components to generate personalized responses without requiring explicit personas:

Figure 6: Detailed architecture of the DHAP framework, illustrating the interaction between history encoding, memory networks, and the personalized decoder.
  1. History Encoder (General Profile): A Transformer-based encoder processes a user's past responses to build a "General User Profile," capturing overall style and background knowledge.
  2. Personalized Post Encoder: This component encodes incoming messages through the lens of the specific user, initialized by the General User Profile.
  3. User History Memory (Dynamic Profile): Using a Key-Value memory network, the model stores historical post-response pairs. When a new post arrives, it retrieves relevant past interactions to create a "Dynamic Post-aware Profile," allowing the agent to respond based on specific past experiences (e.g., previous mentions of a "MacBook").
  4. Personalized Decoder: A "switching" mechanism allows the model to choose between a general vocabulary and the user's own historical vocabulary, ensuring the chatbot mimics the user's preferred terminology.

Evaluation and Results

The model was tested on two massive datasets: Weibo (8.6 million utterances) and Reddit (24 million utterances). DHAP consistently outperformed baselines across several key metrics:

  • Diversity: On Weibo, DHAP achieved a Dist-2 score of 58.8, vastly outperforming the strongest baseline (4.4). This indicates a significant reduction in repetitive, "safe" responses like "I don't know."
  • Personalization: DHAP scored 7.01 on "Persona F1" (word overlap with history), nearly doubling the performance of models using explicit profiles (~3.8–5.7).
  • Human Evaluation: Blind tests confirmed that human judges found DHAP's responses more readable, informative, and personalized than those of competing models.

Key Insights

  • Implicit vs. Explicit: Mining dialogue history is more effective than using predefined personas because it captures the nuances of human interaction.
  • Dynamic Profiling: By using a memory network, the model can adapt its "personality" based on the topic, acting more knowledgeable or talkative when the context aligns with the user's history.
  • Vocabulary Bias: The "copy" mechanism in the decoder is a simple yet powerful tool for mimicking individual word preferences.

Limitations and Future Work

The researchers noted that performance peaks at approximately 25 historical conversation pairs; too little data leads to thin profiles, while too much can introduce noise. Future challenges include reducing the computational overhead of querying large memory networks and addressing the "cold start" problem for new users with no history.

Summary updated

BibTeX
@inproceedings{ma2021one,
  author = {Zhengyi Ma and Zhicheng Dou and Yutao Zhu and Hanxun Zhong and Ji-Rong Wen},
  title = {{One Chatbot Per Person: Creating Personalized Chatbots based on Implicit User Profiles}},
  booktitle = {International ACM SIGIR Conference on Research and Development in Information Retrieval},
  year = {2021},
  doi = {10.1145/3404835.3462828},
}
Figure