Towards Deep Conversational Recommendations

Raymond Li, Samira Ebrahimi Kahou, Hannes Schulz, Vincent Michalski, Laurent Charlin, Chris Pal

Dialogue systems traditionally fall into two distinct categories: open-ended "chit-chat" bots that lack specific objectives, and goal-oriented systems designed for rigid tasks like booking flights. However, recommending a movie to a friend bridges these two worlds. It is not merely a database query; it is a nuanced dance of sentiment, shared context, and social interaction.

In their NeurIPS 2018 paper, Raymond Li and colleagues at Mila and Microsoft Research introduce REDIAL, a novel dataset and a modular framework designed to advance the field of "Deep Conversational Recommendations."

The Challenge of Conversational Recommendations

Building a conversational recommender is inherently difficult because it requires solving two distinct problems simultaneously: understanding natural language (Natural Language Processing) and predicting user preferences (Collaborative Filtering).

Prior to this research, the community lacked high-quality, real-world data for this specific intersection. Most existing datasets were either synthetically generated or consisted of unstructured Reddit threads where the primary goal wasn't necessarily to find a good recommendation. Furthermore, training a deep learning model from scratch on a specific dialogue task often leads to overfitting. Dialogue datasets are typically small (thousands of examples), whereas robust "end-to-end" training usually requires millions.

A Modular Neural Architecture

To overcome the limitations of small dataset sizes and the risk of overfitting, the authors propose a modular approach rather than a monolithic one. This design allows specific components to be pre-trained on larger, external datasets before being fine-tuned together.

The modular architecture of the conversational recommendation system, featuring a Hierarchical Encoder, Sentiment Analysis, Autoencoder Recommender, and Switching Decoder.

The system consists of four main interconnected components:

  1. Hierarchical Recurrent Encoder (HRED): This module captures the context of the conversation. To boost performance on their relatively small dataset, the authors utilized GenSen—pre-trained sentence embeddings that provide a strong foundational understanding of English syntax and semantics.
  2. Sentiment Analysis RNNs: Every time a movie is mentioned in the dialogue, the system instantiates a small Recurrent Neural Network (RNN) to determine the user's stance: whether they liked it, disliked it, or haven't seen it.
  3. Autoencoder Recommender: Serving as the "brain" of the recommendation engine, this component uses a Denoising Autoencoder (U-Autorec) pre-trained on the massive MovieLens dataset. It takes the sentiment labels generated by the RNN and predicts what other movies the user might like, effectively addressing the "cold-start" problem even early in a conversation.
  4. Switching Decoder: When generating a response, the model uses a learned "switch" mechanism to decide whether the next word should be a standard vocabulary word (e.g., "Have you seen...") or a specific movie title suggested by the Autoencoder Recommender.

The REDIAL Dataset

The cornerstone of the paper is REDIAL (REcommendations through DIALog). It is the first large-scale, real-world dataset of human-to-human conversations centered entirely on movie recommendations.

Collected via Amazon Mechanical Turk, it contains over 10,000 conversations comprising more than 160,000 utterances. In each session, one worker acted as a "seeker" and the other as a "recommender." Crucially, the dataset includes structured "movie dialogue forms" where workers explicitly labeled their sentiments for every movie mentioned, providing high-quality supervised labels for the model.

Key Insights and Results

  • Modularity Prevents Overfitting: The authors demonstrated that training an end-to-end model on 10,000 dialogues easily leads to overfitting. By breaking the system into sub-components (sentiment, recommendation, dialogue), they successfully leveraged massive external datasets (like MovieLens) to fill the data gap.
  • Sentiment as a Bridge: The sentiment analysis module acts as the critical interface between the "chatty" NLP components and the "mathy" recommendation engine. It converts fuzzy human language into a structured vector that the autoencoder can process.
  • Joint Training Regularizes: Training the model to predict multiple labels simultaneously (e.g., whether a movie was suggested, seen, or liked) improved overall performance compared to training for just a single objective.
Confusion matrices demonstrating the performance of the sentiment analysis module for 'seen' and 'liked' labels.

Empirically, the Denoising Autoencoder achieved an RMSE of 0.072 on the REDIAL validation set when pre-trained on MovieLens, significantly outperforming baselines. Furthermore, the jointly trained sentiment model achieved high Cohen’s kappa scores, proving it could reliably infer user tastes directly from dialogue. In human evaluations, users ranked the model's responses as "the best" significantly more often than a standard HRED baseline, though true human responses still maintained an edge.

Limitations and Future Directions

The current framework relies on a few structural constraints. Most notably, it requires users to tag movies with an @ symbol to identify them, and recommendations are strictly conditioned on the specific movies explicitly mentioned in the chat. If a user says, "I want a good sci-fi movie," without naming a prior favorite, the model struggles because it hasn't linked the abstract concept of "sci-fi" directly to the recommendation engine's latent space.

Future work will aim to remove the @ requirement by integrating robust Entity Recognition and exploring ways to allow the model to learn recommendations directly from abstract natural language descriptions, pushing conversational AI even closer to natural human interaction.

Summary updated

BibTeX
@inproceedings{li2018towards,
  author = {Raymond Li and Samira Ebrahimi Kahou and Hannes Schulz and Vincent Michalski and Laurent Charlin and Chris Pal},
  title = {{Towards Deep Conversational Recommendations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2018},
  url = {https://openreview.net/forum?id=S14ZmYbO-B},
}
Figure