A Multi-Agent Conversational Recommender System

Jiabao Fang, Shen Gao, Pengjie Ren, Xiuying Chen, Suzan Verberne, Zhaochun RenarXiv 2024

Abstract

Conversational Recommender Systems (CRS) leverage natural language dialogue to assist users in discovering items. However, Large Language Models (LLMs) often struggle with the goal-oriented nature of these tasks, leading to premature recommendations or aimless interactions. This paper introduces MACRS, a multi-agent framework that decomposes the CRS task into specialized roles—Asking, Recommending, and Chit-chatting—coordinated by a Planner Agent. By incorporating a two-level reflection mechanism that learns from user feedback, MACRS significantly enhances recommendation accuracy and dialogue quality. Experimental results on the MovieLens dataset demonstrate that MACRS-C achieves a 61% success rate, substantially outperforming vanilla LLM baselines.

Introduction

The primary challenge in CRS is balancing natural conversation with goal-directed recommendation. While LLMs excel at open-domain dialogue, they frequently fail to capture subtle user preferences or adapt their strategy based on negative feedback. Existing systems often rely on rigid templates or treat the LLM as a "black box," ignoring the strategic insights embedded in user interactions. MACRS addresses these limitations by employing a multi-agent architecture and a dynamic reflection loop to bridge the gap between dialogue and recommendation.

The MACRS Framework

The Multi-Agent Conversational Recommender System (MACRS) is built upon two primary innovations: Multi-Agent Act Planning and User Feedback-aware Reflection.

Multi-Agent Act Planning

Instead of a monolithic model, MACRS utilizes four specialized agents to handle different aspects of the interaction:

  • Asking Responder: Elicits specific user preferences through targeted questions.
  • Recommending Responder: Presents items with relevant descriptions and justifications.
  • Chit-chatting Responder: Maintains user engagement and builds rapport.
  • Planner Agent: Acts as a manager, evaluating candidate responses from the responders and selecting the optimal action based on the current dialogue state.
Overview of the MACRS architecture and conversational flow.

User Feedback-aware Reflection

To improve performance over the course of a conversation, MACRS implements a "post-mortem" loop at two granularities:

  • Information-level Reflection: Extracts specific attributes (e.g., genres, actors) from user feedback to maintain a persistent User Profile.
  • Strategy-level Reflection: Analyzes failed recommendations to deduce underlying causes (e.g., "user prefers older films"). These "corrective experiences" are stored in agent memories to refine future planning logic and prevent repetitive errors.

Experimental Evaluation

The system was evaluated using the MovieLens dataset and an LLM-based User Simulator designed with "fuzzy" preferences to better mimic real-world human behavior, where users may not have perfectly defined criteria at the start of a session.

Key Results

MACRS was compared against traditional baselines and vanilla LLMs, including ChatGPT and Llama 2.

  • Success Rate: MACRS-C (using ChatGPT as a backbone) achieved a 61% success rate, a significant improvement over vanilla ChatGPT's 39%.
  • Recommendation Quality: At Hit@10, MACRS-C reached 0.80, compared to 0.51 for ChatGPT.
  • Efficiency and Adaptability: While MACRS-C required slightly more turns on average (4.19 vs 4.24), it demonstrated superior performance in recommending "low-popularity" items, which are traditionally difficult for standard systems to identify correctly.
Cumulative number of successful samples across dialogue turns, comparing MACRS variants against vanilla LLMs.

Discussion and Conclusion

A key insight from this work is that diversity in dialogue acts is crucial for effective recommendation. Unlike "impatient" single-agent LLMs that often jump straight to recommendations, MACRS follows a more human-like trajectory: asking clarifying questions before making informed suggestions. However, the system's performance is sensitive to the underlying LLM's instruction-following capabilities, as seen in the performance gap between MACRS-C and the Llama 2-based MACRS-L. Future work will focus on reducing the computational overhead of the multi-agent calls and exploring longer dialogue horizons.

Summary updated

BibTeX
@misc{fang2024multi,
  author = {Jiabao Fang and Shen Gao and Pengjie Ren and Xiuying Chen and Suzan Verberne and Zhaochun Ren},
  title = {{A Multi-Agent Conversational Recommender System}},
  year = {2024},
  eprint = {2402.01135},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.01135},
}
Figure