Skip to main content
QUICK REVIEW

[Paper Review] Recommender AI Agent: Integrating Large Language Models for Interactive Recommendations

Xu Huang, Jianxun Lian|arXiv (Cornell University)|Aug 31, 2023
Topic ModelingComputer Science10 citations
TL;DR

The paper presents InteRecAgent, a compact LLM-based framework that uses large language models as the brain and traditional recommender tools as the engine to enable interactive, conversational recommendations with memory, planning, and reflection.)

ABSTRACT

Recommender models excel at providing domain-specific item recommendations by leveraging extensive user behavior data. Despite their ability to act as lightweight domain experts, they struggle to perform versatile tasks such as providing explanations and engaging in conversations. On the other hand, large language models (LLMs) represent a significant step towards artificial general intelligence, showcasing remarkable capabilities in instruction comprehension, commonsense reasoning, and human interaction. However, LLMs lack the knowledge of domain-specific item catalogs and behavioral patterns, particularly in areas that diverge from general world knowledge, such as online e-commerce. Finetuning LLMs for each domain is neither economic nor efficient. In this paper, we bridge the gap between recommender models and LLMs, combining their respective strengths to create a versatile and interactive recommender system. We introduce an efficient framework called extbf{InteRecAgent}, which employs LLMs as the brain and recommender models as tools. We first outline a minimal set of essential tools required to transform LLMs into InteRecAgent. We then propose an efficient workflow within InteRecAgent for task execution, incorporating key components such as memory components, dynamic demonstration-augmented task planning, and reflection. InteRecAgent enables traditional recommender systems, such as those ID-based matrix factorization models, to become interactive systems with a natural language interface through the integration of LLMs. Experimental results on several public datasets show that InteRecAgent achieves satisfying performance as a conversational recommender system, outperforming general-purpose LLMs. The source code of InteRecAgent is released at https://aka.ms/recagent.

Motivation & Objective

  • Bridge the gap between LLMs’ general capabilities and domain-specific recommender needs.
  • Make recommender systems interactive through natural language interfaces.
  • Propose memory, planning, and reflection modules to improve tool usage and robustness.
  • Enable small language models to emulate the brain for recommendation tasks.
  • Demonstrate effectiveness on public datasets and release RecLlama for small models.

Proposed method

  • Define a minimal toolset for LLM-driven interactive recommendations (information query, item retrieval, ranking).
  • Introduce Candidate Bus memory to stream item candidates between tools.
  • Maintain long-term and short-term user profiles to personalize recommendations across dialogues.
  • Adopt a plan-first execution with dynamic demonstrations to reduce prompts and API calls.
  • Incorporate an actor-critic reflection mechanism to identify and correct errors during tool use.
  • Train RecLlama (7B) by fine-tuning on GPT-4-generated tool-planning data using an imitation dataset.

Experimental results

Research questions

  • RQ1How can LLMs be integrated with traditional recommender tools to enable interactive, natural-language recommendations?
  • RQ2Do memory, planning, and reflection modules improve tool usage accuracy and final recommendations?
  • RQ3Can small language models, when trained with GPT-4-generated data, reach competitive performance as the brain of a recommender agent?

Key findings

  • InteRecAgent achieves competitive conversational recommendation performance across multiple public datasets.
  • The plan-first execution strategy reduces API calls and latency compared to step-by-step approaches.
  • Dynamic demonstrations improve planning quality by selecting demonstrations most similar to the current user intent.
  • The memory modules (Candidate Bus and user profiles) enable scalable communication and personalization over long dialogues.
  • RecLlama, a 7B model fine-tuned on GPT-4 derived data, outperforms some larger models in the role of a recommender agent.
  • Experiments show strong advantages in domains with less world-knowledge coverage (e.g., Beauty dataset).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.