Learning Implicit User Profile for Personalized Retrieval-Based Chatbot

Hongjin Qian, Zhicheng Dou, Yutao Zhu, Yueyuan Ma, Ji-Rong Wen

TL;DR

This paper introduces IMPChat, a novel retrieval-based chatbot that learns an implicit user profile directly from dialogue history. By modeling a user's unique language style and context-aware preferences, IMPChat achieves more personalized and consistent chatbot interactions than methods relying on explicit, manually-defined profiles.

What Problem Does This Paper Address?

Creating truly personalized chatbots is a significant challenge. While many chatbots aim for a consistent personality, current approaches often rely on explicit user profiles (e.g., detailed descriptions or key-value pairs). However, obtaining these explicit profiles is labor-intensive for users and developers alike. Users may be hesitant to share such personal details, and manually curating large datasets of explicit profiles is impractical. This paper addresses this gap by proposing a method to automatically learn an implicit user profile from a user's existing dialogue history, making personalization more accessible and flexible.

Methods

The core of IMPChat lies in its ability to learn an implicit user profile from dialogue history. This profile is decomposed into two key components:

  • Personalized Language Style: This component captures a user's unique way of speaking, including vocabulary and phrasing, independent of the immediate conversation context. IMPChat uses a multi-layer attentive module to model these language characteristics from shallow to deep, considering both self-attention within historical responses and cross-attention with corresponding historical posts.
  • Post-Aware Personalized Preferences: This component models a user's preferences based on the relationship between a post and their response. It's dynamic and context-aware, giving more weight to historical interactions that are topically relevant to the current query. A multi-hop method is employed to enhance query understanding and mitigate word ambiguity when identifying topical relevance.

IMPChat then matches response candidates against both the language style and preference components, fusing these signals to determine the final ranking score.

Datasets

The authors evaluated IMPChat on two large, publicly available datasets:

  • Weibo: A dataset of one-year Weibo logs, containing user IDs, posts, and responses.
  • Reddit: A dataset extracted from the Reddit online forum, where discussions are structured as reply chains.

For baseline models that require explicit user profiles, the authors heuristically collected explicit persona sentences from these datasets.

Key Insights and Ideas

  • Implicit Profiles are Superior: The paper strongly argues that implicit user profiles, learned from dialogue history, are more accessible and flexible than explicit ones. This is a crucial shift from relying on user-provided information to leveraging existing conversational data.
  • Decomposing Personality: Breaking down personality into "language style" and "preferences" provides a structured way to model user behavior. This allows for more targeted learning and matching.
  • Context-Aware Preferences: Recognizing that user preferences are not static but influenced by the current topic is key. The "post-aware" aspect ensures that preferences are relevant to the ongoing conversation.
  • Multi-Hop for Ambiguity: The multi-hop method for query relevance is an interesting approach to handle word ambiguity, which is a common challenge in natural language understanding. By iteratively refining the query's context, it aims for more robust topical matching.

Key Results

IMPChat demonstrated superior performance across most evaluation metrics on both the Weibo and Reddit datasets. Specifically:

  • IMPChat achieved statistically significant improvements over all baseline models in metrics like R10@1, R10@2, and MRR (p < 0.01), indicating a strong ability to identify personalized responses.
  • The model also showed strong performance in nDCG and Rp@1, reflecting its capability to distinguish personalized responses from other relevant ones.
  • Ablation studies confirmed the effectiveness of each component: removing the multi-hop method or the personalized preference module led to significant performance drops, highlighting their importance.

Limitations and Future Work

  • History Length Trade-off: The paper notes a trade-off between dialogue history length and performance. While longer histories generally improve personalized response retrieval, they can also introduce noise that degrades the ability to retrieve non-personalized but relevant responses. Furthermore, longer histories increase computational resources for training and inference.
  • Resource Usage: The study acknowledges that increased history length leads to higher memory usage and slower inference speeds, suggesting a need for efficient methods in practical applications.
  • Future Work: The authors suggest exploring more sophisticated methods for handling the trade-off between personalized and non-personalized response retrieval, as well as investigating more efficient ways to incorporate longer dialogue histories.

Summary updated

BibTeX
@inproceedings{qian2021learning,
  author = {Hongjin Qian and Zhicheng Dou and Yutao Zhu and Yueyuan Ma and Ji-Rong Wen},
  title = {{Learning Implicit User Profile for Personalized Retrieval-Based Chatbot}},
  booktitle = {ACM International Conference on Information and Knowledge Management},
  year = {2021},
  url = {https://openreview.net/forum?id=xKAoM9pyBa},
}
Figure