BARCOR: Towards A Unified Framework for Conversational Recommendation Systems

Ting-Chun Wang, Shang-Yu Su, Yun-Nung ChenarXiv 2022

TL;DR

This paper introduces BARCOR, a unified framework for conversational recommendation systems (CRS) that tackles both item recommendation and response generation within a single BART-based model. By integrating these tasks and leveraging a novel lightweight knowledge graph (CORG), BARCOR achieves state-of-the-art performance, offering more accurate and informative recommendations within natural conversations.

What Problem Does This Paper Address?

Traditional recommendation systems often operate in a one-shot, reactive manner, assuming users have clear, immediate requests. However, in real-world scenarios, user preferences can evolve, and users may be indecisive, requiring proactive guidance. Conversational Recommendation Systems (CRS) aim to address this by understanding user preferences through natural language interactions in multi-turn dialogues. A key challenge in CRS is the seamless integration of two core components: a recommender that identifies suitable items and a dialogue manager that generates fluent and relevant responses. Previous approaches often treated these as separate modules, leading to complex, unintuitive connections and inefficient learning. This paper tackles the problem of creating a more unified and effective CRS by proposing a single model that handles both recommendation and response generation, while also introducing a specialized knowledge graph to enhance the system's understanding.

Methods

The core of BARCOR is built upon the BART (Bidirectional and Auto-Regressive Transformer) model. The authors leverage BART's architecture in a novel way:

  • Bidirectional Encoder for Recommendation: The encoder part of BART is used to process the conversation context and generate a representation that acts as a "search key" for retrieving potential recommendations. This representation is then used to compute similarity with item representations.
  • Auto-Regressive Decoder for Response Generation: The decoder part of BART is employed to generate natural language responses, conditioned on the conversation context and the recommended items.

This unified approach eliminates the need for designing explicit connections between separate recommender and generator modules, simplifying the architecture and improving learning efficiency.

To further enhance the system, BARCOR incorporates a lightweight knowledge graph (KG) called CORG (COnversational Recommender Graphs). CORG is specifically designed for CRS in the movie domain and contains movie items and descriptive entities (like genres, directors, cast members). A Relational Graph Convolutional Network (R-GCN) is used to encode this KG, generating entity representations that enrich the recommendation process.

Key methodological innovations include:

  • Unified Framework: Treating recommendation and response generation as a single, end-to-end task within BART.
  • CORG Knowledge Graph: A domain-specific KG tailored for conversational recommendations, addressing limitations of general-purpose KGs.
  • Data Augmentation and Initialization: Strategies to improve the fusion of semantics between the text encoder and the graph encoder, including using descriptive entity names as training data and initializing entity embeddings from BART.

Datasets

The primary dataset used for training and evaluation is ReDial. This dataset consists of multi-turn conversations centered around movie recommendations between seekers and recommenders. It contains approximately 10,000 conversations and over 180,000 utterances related to over 50,000 movies. The authors also designed and collected a new lightweight knowledge graph, CORG, specifically for the movie domain, which is used to augment the ReDial dataset.

Key Insights and Ideas

  • Unified Models Outperform Modular Ones: The paper strongly suggests that a single, unified model (like BARCOR) can achieve better performance and more intuitive integration than separate recommender and generator modules. This is attributed to shared representations and a more holistic learning process.
  • Domain-Specific KGs Matter: General-purpose knowledge graphs can be noisy and introduce irrelevant information. A carefully constructed, lightweight KG like CORG, tailored to the specific domain (movies in this case), can be more effective for CRS.
  • Leveraging Pretrained Models is Crucial: Using a powerful pretrained model like BART provides a strong foundation for understanding sentence semantics and generating fluent text, significantly boosting CRS performance.
  • Bridging Text and Graph Semantics is Key: Effectively fusing the semantic understanding from natural language conversation (text encoder) with structured knowledge (graph encoder) is critical for accurate recommendations and informative responses. Techniques like data augmentation and strategic initialization play a vital role here.

Key Results

BARCOR achieved state-of-the-art performance on the ReDial dataset across various metrics:

  • Item Recommendation: BARCOR significantly outperformed baselines like KBRD and KGSF, showing improvements of up to 79% in Recall@1 and 30% in Recall@5.
  • Response Generation: In automatic evaluation, BARCOR showed substantial gains in diversity metrics (Dist-n) and achieved high scores in Item-F1 (71.71%) and Average Item Number (AIN) (53%), indicating accurate and informative recommendations within responses.
  • Human Evaluation: BARCOR received the highest scores from human annotators for Fluency, Relevancy, and Informativeness, demonstrating its ability to generate natural, accurate, and rich responses.
  • Training Stability: BARCOR exhibited more stable training compared to baselines, avoiding overfitting issues observed in other models.

Limitations and Future Work

  • Overfitting with Random Initialization: The paper notes that randomly initializing node embeddings for the graph encoder led to overfitting and decreased performance, highlighting the importance of proper initialization and the complexity of integrating graph encoders.
  • Implicit Relations: The ablation study showed that even without the CORG knowledge graph, BARCOR (w/o CORG) performed competitively, suggesting that implicit relations within the dialogue history itself are highly valuable and could be further exploited.
  • Trade-off between KG and Complexity: The authors acknowledge a trade-off between KG enrichment and the optimization difficulty introduced by graph encoders. Future work could explore more efficient graph encoding methods or alternative ways to integrate external knowledge.
  • Generalizability: While CORG is domain-specific (movies), future research could explore creating similar specialized KGs for other domains or developing more generalizable KG integration strategies.

Summary updated

Abstract

Recommendation systems focus on helping users find items of interest in the situations of information overload, where users' preferences are typically estimated by the past observed behaviors. In contrast, conversational recommendation systems (CRS) aim to understand users' preferences via interactions in conversation flows. CRS is a complex problem that consists of two main tasks: (1) recommendation and (2) response generation. Previous work often tried to solve the problem in a modular manner, where recommenders and response generators are separate neural models. Such modular architectures often come with a complicated and unintuitive connection between the modules, leading to inefficient learning and other issues. In this work, we propose a unified framework based on BART for conversational recommendation, which tackles two tasks in a single model. Furthermore, we also design and collect a lightweight knowledge graph for CRS in the movie domain. The experimental results show that the proposed methods achieve the state-of-the-art performance in terms of both automatic and human evaluation.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
ReDialKGSFR@11.41%Conversational Recommendation
Source quote
L281: (b) │ KGSF │ 1.41 │ 7.66 │ 13.47 │ 32.17 │ 19.49 │ 35.36 │ 49.19 │ 62.61 │ 41.00 │ 1.56 │ 0.98 │ 0.66
BibTeX
@misc{wang2022barcor,
  author = {Ting-Chun Wang and Shang-Yu Su and Yun-Nung Chen},
  title = {{BARCOR: Towards A Unified Framework for Conversational Recommendation Systems}},
  year = {2022},
  eprint = {2203.14257},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2203.14257},
}
Figure