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 A/B testing on Huawei industrial systems. 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 hit a wall during a system cold-start: a situation where a new system or category has zero historical training data. While LLMs are excellent zero-shot reasoners, they face two major hurdles: a content gap regarding domain-specific items and a scalability issue known as the "Token Wall." Feeding an LLM a list of thousands of items exceeds context windows and is cost-prohibitive. LLMTreeRec aims to bridge this gap by making LLM-based retrieval efficient enough for real-world industrial deployment.
Methodology: The LLMTreeRec Framework
The core innovation is LLMTreeRec, which replaces flat item ranking with a hierarchical search process across a semantic tree.
Item Tree Construction
Items are organized into a tree based on semantic attributes (e.g., Category $\rightarrow$ Subcategory $\rightarrow$ Keywords). Each leaf node contains a manageable subset of items, typically capped at 50 in this study.
Chain-of-Recommendation Strategy
The recommendation process follows a three-stage pipeline:
- User Profile Modeling: The LLM summarizes the user’s historical clicks into a natural language "interest profile."
- Item Tree Search: Instead of looking at all items, the LLM performs a Depth-First Search (DFS) down the tree. At each node, it decides which child categories best match the user's profile.
- Recall from Leaf Node: Once the LLM reaches a leaf node, it selects the top $k$ items from that specific small subset.
Key Insights and Efficiency
A critical finding was that Interest-based prompts (summarizing what the user likes) significantly outperformed Relevance-based prompts. This suggests that LLMs are better at internalizing a user's persona than performing direct matching.
Furthermore, the tree-based approach addresses the "Token Wall." By only processing relevant branches of the tree, the system bypasses the need to "see" the entire corpus for every request. This hierarchical approach is what enables the system to scale to industrial-sized catalogs.
Experimental Results
The authors evaluated LLMTreeRec on the MIND news dataset, Amazon Review (Movies and TV), and a real-world Huawei industrial system.
- Zero-Shot Superiority: LLMTreeRec (using GPT-4) outperformed conventional supervised models like FM and DeepFM on the MIND dataset, even when those models were trained on 20% of the available data.
- Efficiency Gains: The tree-based approach reduced input tokens by 85% compared to sequential ranking methods.
- Industrial Deployment: In an online A/B test at Huawei, LLMTreeRec achieved a 25.64% improvement in NDCG@10 over the existing baseline and has been successfully deployed online.
Conclusion and Future Work
LLMTreeRec demonstrates that LLMs can be effective and efficient recommenders in cold-start scenarios. While challenges remain regarding hallucinations and latency due to multi-step traversal, the framework provides a scalable, industry-friendly solution for leveraging LLM reasoning in recommendation systems.
Summary updated