Snippet-based Conversational Recommender System

Haibo Sun, Naoki Otani, Hannah Kim, Dan Zhang, Nikita BhutaniarXiv 2024 · DOI

Abstract

Conversational Recommender Systems (CRS) aim to provide personalized suggestions through natural language dialogue. However, traditional approaches are often limited by predefined attribute schemas and the high cost of domain-specific data annotation. We present SNIPREC, a novel CRS framework that utilizes Large Language Models (LLMs) to mine "snippets"—fine-grained, atomic units of information—from customer reviews. By decomposing both reviews and user queries into these snippets, SNIPREC captures nuanced preferences and achieves superior recommendation accuracy across multiple domains without requiring extensive manual labeling.

Introduction

The effectiveness of a Conversational Recommender System (CRS) is often bottlenecked by its underlying knowledge representation. Most systems rely on structured item attributes (e.g., "cuisine: Italian", "price: $$"). While these are useful for broad filtering, they fail to capture the rich, subjective details found in user-generated content (UGC), such as "a cozy vibe" or "books with talking animals." Furthermore, mapping natural language user utterances to these rigid categories often requires large, manually annotated datasets, making it difficult to scale across different product domains.

SNIPREC addresses these challenges by leveraging the descriptive power of customer reviews. Instead of relying on fixed schemas, it treats reviews as a source of "snippets"—short, factual, or subjective statements that represent specific item characteristics. This approach allows the system to bridge the "lexical gap" between how users describe their needs and how items are represented in the database.

The SNIPREC Framework

The SNIPREC architecture is designed to process information at the "snippet" level, which the authors identify as the optimal granularity for retrieval—more precise than full documents and more focused than raw sentences.

The SNIPREC architecture overview, illustrating the flow from user query to recommendation.

Snippet Extraction and Query Parsing

The process begins with Snippet Extraction, where LLMs (such as GPT-4o-mini) are used in a few-shot setting to decompose verbose reviews into atomic snippets. For example, a review stating "The hummus was classic and the atmosphere was very quiet" would be split into "serves classic hummus" and "the atmosphere is quiet."

When a user interacts with the system, their utterance is similarly parsed into query snippets. Each query snippet is assigned a sentiment label (e.g., "prefer" or "dislike") to handle negative constraints effectively.

Snippet Expansion and Retrieval

To handle variations in language, SNIPREC employs Snippet Expansion. An LLM generates paraphrases, supporting statements, and opposites for each query snippet. This ensures that if a user asks for a "friendly" environment, the system can match it with reviews mentioning "warm service."

The retrieval process involves two main steps:

  1. Dense Retrieval: Vector embeddings are used to find the top-$k$ most similar item snippets from a preprocessed database.
  2. NLI Reranking: To ensure high precision, a Natural Language Inference (NLI) model verifies that the retrieved item snippet actually entails the user's query. This acts as a "truth filter," reducing false positives that might arise from fuzzy vector matches.

Scoring and Conversation Management

Item scores are aggregated using Reciprocal Rank Fusion (RRF), which combines the ranks of various retrieved snippets to determine the best overall matches. Finally, a Clarification Question Generation module uses the dialogue history to ask targeted questions, helping to narrow down the search space in subsequent turns.

Experimental Evaluation

The researchers evaluated SNIPREC across three diverse datasets: Yelp (Restaurants), Amazon Books, and Amazon Clothing. To simulate realistic interactions at scale, they developed an LLM-based user simulator that behaves according to a "ground truth" target item and its associated reviews.

Results

SNIPREC consistently outperformed baselines that used full documents or individual sentences for retrieval. As shown in the results table below, the snippet-based approach, especially when combined with expansion, achieved the highest Hits@10 and Mean Reciprocal Rank (MRR) across all tested domains and LLM backbones.

Performance comparison of SNIPREC against document and sentence-level baselines.

Key findings include:

  • Accuracy: On the Yelp dataset, SNIPREC reached a Hits@10 of 0.464, a significant improvement over the 0.283 achieved by document-level retrieval.
  • Multi-turn Success: The system's performance improved as the conversation progressed, demonstrating its ability to effectively integrate new information from user feedback.
  • Robustness: The framework proved effective using both proprietary (GPT-4o-mini) and open-source (LLaMA-3.3 70B) models.

Discussion and Conclusion

The success of SNIPREC highlights that granularity is a critical factor in conversational recommendation. Atomic snippets provide a "Goldilocks" level of representation—detailed enough to be informative but concise enough to avoid the noise of full reviews. The use of NLI for reranking further ensures that recommendations are grounded in actual review evidence.

While the system shows great promise for zero-shot domain adaptation, future work could address the computational latency associated with LLM calls and explore "data-aware" question generation strategies to further optimize the path to a successful recommendation. By moving beyond rigid attributes to fluid, review-mined snippets, SNIPREC represents a significant step toward more natural and effective conversational AI.

Summary updated

BibTeX
@misc{sun2024snippet,
  author = {Haibo Sun and Naoki Otani and Hannah Kim and Dan Zhang and Nikita Bhutani},
  title = {{Snippet-based Conversational Recommender System}},
  year = {2024},
  eprint = {2411.06064},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2411.06064},
}
Figure