NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Tired of Plugins? Large Language Models Can Be End-To-End Recommenders

Wenlin Zhang, Chuhan Wu, Xiangyang Li, Yuhao Wang, Kuicai Dong, Yichao Wang, Xinyi Dai, Xiangyu Zhao, Huifeng Guo, Ruiming Tang · OpenReview

Abstract

Recommender systems aim to predict user interest based on historical behavioral data. They are mainly designed in sequential pipelines, requiring lots of data to train different sub-systems, and are hard to scale to new domains. Recently, Large Language Models (LLMs) have demonstrated remarkable generalized capabilities, enabling a singular model to tackle diverse recommendation tasks across various scenarios. Nonetheless, existing LLM-based recommendation systems utilize LLM purely for a single task of the recommendation pipeline. Besides, these systems face challenges in presenting large-scale item sets to LLMs in natural language format, due to the constraint of input length. To address these challenges, we introduce an LLM-based end-to-end recommendation framework: UniLLMRec. Specifically, UniLLMRec integrates multi-stage tasks (e.g. recall, ranking, re-ranking) via chain-of-recommendations. To deal with large-scale items, we propose a novel strategy to structure all items into an item tree, which can be dynamically updated and effectively retrieved. UniLLMRec shows promising zero-shot results in comparison with conventional supervised models. Additionally, it boasts high efficiency, reducing the input token need by 86% compared to existing LLM-based models. Such efficiency not only accelerates task completion but also optimizes resource utilization. To facilitate model understanding and to ensure reproducibility, we have made our code publicly available.

Introduction

Traditional recommendation systems are heavily dependent on massive user-item interaction datasets. While effective, these systems struggle in "system cold-start" scenarios where no historical training data is available. Large Language Models (LLMs) offer a potential solution due to their extensive open-world knowledge and zero-shot reasoning capabilities. However, two primary obstacles hinder their direct application: the domain gap between general knowledge and specific product catalogs, and the "scaling wall"—the inability to process thousands of item descriptions within a limited context window.

Methodology: The UniLLMRec Framework

UniLLMRec (also referred to as LLMTreeRec) addresses these challenges by reframing recommendation as a hierarchical retrieval task rather than a flat ranking problem.

Item Tree Construction

Instead of presenting a flat list of items, UniLLMRec organizes the entire catalog into a semantic hierarchy. Items are structured into a tree based on semantic attributes such as Category, Subcategory, and Keywords. This tree structure ensures that each leaf node contains a manageable subset of items, making it suitable for LLM processing without exceeding context limits.

Chain-of-Recommendation Strategy

The framework employs a "Chain-of-Recommendation" strategy to navigate this tree, as illustrated in Figure 1.

The UniLLMRec framework utilizes a Chain-of-Recommendation strategy, traversing an item tree through user profile modeling, tree search, and leaf node recall.

The process consists of three distinct stages:

  1. User Profile Modeling: The LLM analyzes the user's click history to summarize their interests into a "Ranked Topic List."
  2. Item Tree Search: Using the user profile, the LLM performs a search on the item tree, selecting the most relevant child nodes at each level (e.g., choosing "Animation" over "History Channel").
  3. Recall from Leaf Node: Upon reaching a leaf node, the LLM performs a final selection to identify the top $k$ items from that specific subset.

Experimental Evaluation

The framework was evaluated on the MIND (news) and Amazon Review (Movies and TV) datasets, as well as through industrial A/B testing on live commercial systems.

Performance and Efficiency

UniLLMRec demonstrated impressive zero-shot performance. On the MIND dataset, using GPT-4, it achieved a Recall@20 of 0.0509, nearly matching the performance of specialized models trained on 20% of the dataset. In industrial tests, the system improved NDCG@10 by 25.64% over existing baselines.

A key advantage of the tree-based approach is its efficiency. By pruning irrelevant branches of the catalog, UniLLMRec reduces input token consumption by approximately 86% compared to sequential ranking methods, as shown in Figure 5.

Token consumption analysis across different stages for the MIND and Amazon datasets, demonstrating the significant efficiency gains of the proposed framework.

Prompting Insights

The study found that "Interest-based" prompts—asking the LLM to summarize user preferences—were significantly more effective than "Action-based" prompts that directly asked for click predictions. This suggests that LLMs excel as semantic navigators rather than simple pattern matchers.

Discussion and Limitations

While UniLLMRec marks a significant step toward end-to-end LLM recommenders, several challenges remain:

  • Hallucinations: LLMs sometimes generate non-existent items during the profile modeling stage.
  • Instruction Following: Maintaining strict output formats (like JSON) is occasionally difficult for the models, requiring robust parsing logic.
  • Latency: Despite token reductions, the per-request cost and latency of high-end LLMs remain higher than traditional embedding-based systems.

Conclusion

UniLLMRec demonstrates that LLMs can serve as effective, efficient, and end-to-end recommenders without the need for domain-specific training. By organizing items into a semantic tree and utilizing a chain-of-recommendation strategy, the framework overcomes the scaling limitations of current LLM-based systems while maintaining high accuracy in cold-start environments.

Summary updated

BibTeX
@inproceedings{zhang2025tired,
  author = {Wenlin Zhang and Chuhan Wu and Xiangyang Li and Yuhao Wang and Kuicai Dong and Yichao Wang and Xinyi Dai and Xiangyu Zhao and Huifeng Guo and Ruiming Tang},
  title = {{Tired of Plugins? Large Language Models Can Be End-To-End Recommenders}},
  booktitle = {International Conference on Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=QCTZjsyT6D},
}
Figure