Abstract
Traditional recommendation systems are typically evaluated on utility metrics like accuracy. However, Large Language Models (LLMs) introduce unique capabilities and challenges that necessitate a broader evaluation framework. This paper proposes a multidimensional approach to evaluate LLMs as recommenders, covering utility, novelty, history length sensitivity, position bias, generation-involved performance, and hallucinations. Through extensive experiments comparing seven LLMs against six traditional models across four datasets, the study reveals that LLMs excel in re-ranking and cold-start scenarios but suffer from significant position bias and occasional hallucinations.
Introduction
The integration of Large Language Models (LLMs) into recommendation systems marks a shift from purely collaborative filtering to knowledge-enhanced recommendation. While traditional models like Matrix Factorization or Graph Neural Networks rely heavily on user-item interaction data, LLMs leverage vast world knowledge and natural language understanding. Despite their potential, evaluating LLMs solely on traditional utility metrics—predicting the next item—overlooks their unique behaviors, such as sensitivity to prompt structure and the tendency to hallucinate. This paper addresses this gap by introducing a comprehensive evaluation framework tailored for LLM-based recommenders.
A Multidimensional Evaluation Framework
The authors propose evaluating LLMs across six dimensions to capture their unique characteristics:
- Utility: Standard accuracy metrics like Hit Rate (HR) and Normalized Discounted Cumulative Gain (NDCG).
- Novelty: The ability to recommend non-popular or serendipitous items, leveraging the LLM's broader knowledge base.
- History Length Sensitivity: Analyzing how performance scales with the amount of user interaction history provided in the prompt.
- Candidate Position Bias: Measuring how the ordering of items within a prompt influences the model's selection.
- Generation-Involved Performance: Assessing the impact of intermediate reasoning steps, such as generating a textual user profile, on recommendation quality.
- Hallucinations: Quantifying the frequency of the model recommending non-existent items.
Experimental Setup
The study evaluates seven LLMs (including GPT-4o, Claude 3, and Llama 3) and six traditional models (e.g., LightGCN, SASRec) on four real-world datasets: Amazon Beauty, Amazon Sports & Outdoors, MovieLens 1M, and LastFM. These datasets vary in sparsity and history length, providing a robust testing ground for different recommendation scenarios. Two main tasks are explored: Ranking (selecting one positive item from 20 candidates) and Re-ranking (refining the top-20 list from a traditional model).
Key Insights
- Cold-Start Proficiency: One of the most significant findings is the LLMs' efficiency with limited data. Unlike traditional models that require extensive history to build accurate user profiles, LLMs achieve high performance with fewer than 10 historical interactions. This makes them particularly valuable for "cold-start" users.
- World Knowledge Advantage: In datasets like LastFM, where item names (artists) are likely present in the LLM's training data, LLMs can outperform state-of-the-art collaborative filtering models. This suggests that internal knowledge can compensate for a lack of specific interaction data.
- Position Bias and Hallucinations: LLMs demonstrate a strong "first-item bias," where items listed earlier in the prompt are more likely to be selected. Additionally, while most models have low hallucination rates, some (like Mistral-7b) can hallucinate up to 23% of the time.
- Niche Item Discovery: LLMs are less prone to popularity bias than traditional models, excelling at identifying relevant "long-tail" items that users might prefer over trending products.
Results and Practical Implications
In the re-ranking task, LLMs like GPT-3.5 significantly outperformed traditional models in both accuracy and novelty, suggesting their immediate utility as a "refiner" stage in recommendation pipelines. While GPT-4o led among LLMs in the ranking task, it generally trailed behind specialized models like LightGCN, except in knowledge-rich domains. Furthermore, incorporating "user profiling"—where the LLM first describes the user's interests—consistently improved recommendation quality across multiple dimensions.
Conclusion
LLMs offer a promising new frontier for recommendation systems, particularly for cold-start scenarios and niche item discovery. However, challenges such as inference cost, position bias, and hallucinations remain significant hurdles for production deployment. Future research should focus on mitigating these biases and developing more robust mapping strategies to link LLM-generated text back to concrete product identifiers.
Summary updated