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

Knowledge Adaptation from Large Language Model to Recommendation for Practical Industrial Application

Jian Jia, Yipei Wang, Yan Li, Honggang Chen, Xuehan Bai, Zhaocheng Liu, Jian Liang, Quan Chen, Han Li, Peng Jiang, Kun Gai · DOI

Introduction

Traditional recommendation systems (RS) have long relied on ID embeddings to represent users and items based on historical interaction patterns. While effective in capturing collaborative signals, these systems are often "content-blind," leading to significant performance degradation for "cold-start" items (new items with no history) and "long-tail" users.

Recent research has turned to Large Language Models (LLMs) to bridge this semantic gap. However, most existing approaches adopt a "Rec-to-LLM" paradigm, where recommendation data is converted into text prompts for LLM inference. This approach faces three major hurdles in industrial settings: extreme computational complexity, the risk of "catastrophic forgetting" of general knowledge during fine-tuning, and a fundamental domain gap between next-token prediction and next-item recommendation.

This paper introduces LEARN (Llm-driven knowlEdge Adaptive RecomeNdation), a framework that shifts the paradigm to "LLM-to-Rec." By treating a frozen LLM as a sophisticated feature extractor and employing a dedicated alignment module, LEARN achieves state-of-the-art performance and significant real-world industrial impact.

The LEARN Framework

LEARN utilizes a twin-tower architecture designed to adapt the vast internal knowledge of an LLM for the specific needs of a recommendation engine. The framework consists of two primary components:

Content EXtraction (CEX) Module

The CEX module utilizes a frozen pre-trained LLM (specifically Baichuan2-7B) to process item metadata, such as titles, categories, and brands. By keeping the LLM parameters frozen, the system preserves the model's "open-world" common sense and avoids the prohibitive costs associated with fine-tuning billion-parameter models. The output of this module is a high-dimensional "content embedding" that captures the semantic essence of the item.

Preference ALignment (PAL) Module

Because LLM embeddings are optimized for linguistic tasks rather than user behavior prediction, a bridge is required. The PAL module is a 12-layer Transformer that projects LLM content embeddings into the collaborative domain of the recommendation system. It employs causal attention to model the chronological nature of user interactions, ensuring that the semantic features are aligned with actual user preferences.

Training Objective

The system is trained using a self-supervised contrastive learning objective known as the "dense all action loss." This objective maximizes the similarity between a user’s representation and the items they interacted with while minimizing similarity with irrelevant items, effectively teaching the model to map semantic content to behavioral intent.

Experimental Evaluation

Datasets

The researchers evaluated LEARN across two distinct environments:

  1. Public Benchmarks: Six categories from the Amazon Review dataset (Scientific, Instruments, Arts, Office, Games, and Pet).
  2. Industrial Dataset: A massive dataset from Kuaishou, a leading short-video platform, encompassing 12 million users, 31 million items, and nearly 2 billion interactions collected over 10 months.

Key Insights

  • The Necessity of Alignment: Experiments showed that using raw LLM embeddings without the PAL module resulted in poor performance. While an LLM understands what an item is, it does not inherently know which users will prefer it until that knowledge is aligned with behavioral data.
  • Optimized Sampling: In industrial contexts, user histories are often too long for standard Transformers. The authors implemented a sample weighting strategy that prioritizes recent interactions, reflecting the dynamic nature of user interests and improving performance by over 7%.
  • Replacing ID Embeddings: The results suggest that LLM-driven content embeddings are becoming powerful enough to potentially replace traditional ID embeddings, paving the way for universal recommendation models that can generalize across different platforms and scenarios.

Results and Industrial Impact

LEARN demonstrated superior performance in both offline benchmarks and online production environments:

  • State-of-the-Art Performance: On the Amazon datasets, LEARN outperformed the previous state-of-the-art (RecFormer) by an average of 13.95% in Recall@10.
  • Cold-Start and Long-Tail Success: In the Kuaishou dataset, LEARN provided massive gains for cold-start items (+8.77% revenue) and long-tail users (+5.79% revenue), areas where traditional ID-based systems typically struggle.
  • Real-World A/B Testing: In a live test on a platform with over 400 million daily active users, LEARN achieved a 2% increase in both Conversion Rate (CVR) and Revenue. In high-scale industrial applications, a 2% lift represents a major breakthrough in efficiency and monetization.

Conclusion and Future Work

LEARN proves that adapting LLM knowledge for recommendation tasks is more efficient and effective than forcing recommendation data into a natural language format. While the current framework focuses on textual metadata, the authors acknowledge the potential for multi-modal expansion. Future iterations of LEARN may integrate video frames and audio data into the CEX module, providing an even richer understanding of content for short-video and multimedia platforms.

Summary updated

BibTeX
@misc{jia2024knowledge,
  author = {Jian Jia and Yipei Wang and Yan Li and Honggang Chen and Xuehan Bai and Zhaocheng Liu and Jian Liang and Quan Chen and Han Li and Peng Jiang and Kun Gai},
  title = {{Knowledge Adaptation from Large Language Model to Recommendation for Practical Industrial Application}},
  year = {2024},
  eprint = {2405.03988},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.03988},
}
Figure