Abstract
The lack of training data gives rise to the system cold-start problem in recommendation systems, making them struggle to provide effective recommendations. To address this problem, Large Language Models (LLMs) can model recommendation tasks as language analysis tasks and provide zero-shot results based on their vast open-world knowledge. However, the large scale of the item corpus poses a challenge to LLMs, leading to substantial token consumption that makes it impractical to deploy in real-world recommendation systems. To tackle this challenge, we introduce a tree-based LLM recommendation framework, LLMTreeRec, which structures all items into an item tree to improve the efficiency of LLM’s item retrieval. LLMTreeRec achieves state-of-the-art performance under the system cold-start setting in two widely used datasets, which is even competitive with conventional deep recommendation systems that use substantial training data. Furthermore, LLMTreeRec outperforms the baseline model in the A/B test on Huawei industrial system. Consequently, LLMTreeRec demonstrates its effectiveness as an industry-friendly solution that has been successfully deployed online.
Introduction
Recommendation systems typically rely on massive amounts of user-item interaction data to learn preferences. However, they often stumble during "cold-start" scenarios. While most research focuses on new users or new items, this paper tackles the most difficult version: system cold-start, where the entire system must provide recommendations without any prior training set.
Large Language Models (LLMs) are natural candidates for this because of their vast open-world knowledge. However, two major challenges prevent their direct use:
- Domain Gap: LLMs have a general understanding of items but lack the domain-specific nuances of a particular recommendation catalog.
- Scalability: Feeding a list of 10,000 items into an LLM prompt exceeds context windows, costs too much in tokens, and degrades the model's ability to rank effectively.
Methodology: The LLMTreeRec Framework
The authors introduce LLMTreeRec, which centers on an innovative tree-based recall strategy. Instead of asking an LLM to rank a flat list, the system guides the LLM through a hierarchy.
Item Tree Construction
All items in the corpus are structured into a tree based on semantic attributes like categories, subcategories, and keywords. This turns a massive search space into a manageable hierarchy.
Chain-of-Recommendation
The retrieval process happens in three distinct stages, as shown in the framework overview:
- User Profile Modeling: The LLM summarizes a user's past interactions into a natural language "interest profile."
- Item Tree Search: The LLM traverses the tree from the root, selecting the most relevant subcategories based on the user profile.
- Recall from Leaf Node: Once a leaf node (a small, manageable subset of items) is reached, the LLM performs the final selection of specific items.
The system uses a Depth-First Search (DFS) approach, ensuring that only the most promising branches are explored, which keeps the process fast and cost-effective.
Experimental Evaluation
The framework was evaluated on two widely used benchmarks: MIND (news recommendation) and Amazon Review (Movies and TV). The authors also conducted a real-world A/B test on Huawei’s industrial recommendation system involving over 600 sessions.
Key Results
- Zero-Shot Superiority: LLMTreeRec (using GPT-4) achieved state-of-the-art performance in system cold-start settings.
- Beating Trained Models: Remarkably, the zero-shot LLMTreeRec outperformed traditional models like DeepFM and FM even when those models were trained on 20% of the available data.
- Industrial Success: In the Huawei A/B test, LLMTreeRec achieved a 25.64% improvement in NDCG@10 compared to the existing baseline, leading to its successful online deployment.
Insights and Discussion
Prompt Engineering Perspectives
The authors found that prompt design significantly impacts performance. Prompts focused on "User Interest" (summarizing what the user likes) performed significantly better than those focused on "Relevance," "Action," or "Recommendation." This suggests that LLMs are better at reasoning about user preferences than directly predicting interactions in a zero-shot setting.
Efficiency and Scalability
By only feeding the LLM relevant branches of the tree, LLMTreeRec reduces input tokens by 85%. This dramatic reduction in token consumption makes LLM-based recommendation economically viable for industry deployment.
The Diversity-Relevance Lever
The parameter $k$ (number of items recalled per leaf node) acts as a lever. Smaller $k$ values increase diversity by forcing the model to visit more leaf nodes, while larger $k$ values focus on relevance within a specific niche.
Conclusion and Future Work
While LLMTreeRec shows great promise, it faces challenges common to LLMs, such as potential hallucinations and occasional failures to follow strict output formatting. Furthermore, the system's effectiveness is highly dependent on the quality of the initial semantic tree. Future work could explore automated or dynamic tree construction methods that adapt to changing catalogs. Overall, LLMTreeRec demonstrates its effectiveness as an industry-friendly solution for the challenging system cold-start problem.
Summary updated