[Paper Review] Towards Open-World Recommendation with Knowledge Augmentation from Large Language Models
This paper proposes KAR, a framework that enhances recommender systems with open-world knowledge by leveraging large language models (LLMs) to extract reasoning knowledge on user preferences and factual knowledge on items. Using factorization prompting and a hybrid-expert adaptor, KAR transforms LLM outputs into compact, task-compatible vectors, enabling significant performance gains—7% and 1.7% improvement in online A/B tests—while maintaining low inference latency through pre-stored knowledge.
Recommender systems play a vital role in various online services. However, the insulated nature of training and deploying separately within a specific domain limits their access to open-world knowledge. Recently, the emergence of large language models (LLMs) has shown promise in bridging this gap by encoding extensive world knowledge and demonstrating reasoning capability. Nevertheless, previous attempts to directly use LLMs as recommenders have not achieved satisfactory results. In this work, we propose an Open-World Knowledge Augmented Recommendation Framework with Large Language Models, dubbed KAR, to acquire two types of external knowledge from LLMs -- the reasoning knowledge on user preferences and the factual knowledge on items. We introduce factorization prompting to elicit accurate reasoning on user preferences. The generated reasoning and factual knowledge are effectively transformed and condensed into augmented vectors by a hybrid-expert adaptor in order to be compatible with the recommendation task. The obtained vectors can then be directly used to enhance the performance of any recommendation model. We also ensure efficient inference by preprocessing and prestoring the knowledge from the LLM. Extensive experiments show that KAR significantly outperforms the state-of-the-art baselines and is compatible with a wide range of recommendation algorithms. We deploy KAR to Huawei's news and music recommendation platforms and gain a 7\% and 1.7\% improvement in the online A/B test, respectively.
Motivation & Objective
- Address the limitation of closed-world recommender systems that lack access to external world knowledge beyond their training domains.
- Overcome the poor performance of direct LLM fine-tuning or prompting in recommendation tasks due to misalignment with recommendation objectives.
- Enable open-world recommendation by proactively acquiring two types of external knowledge: reasoning on user preferences and factual knowledge on items.
- Ensure efficient, low-latency inference in industrial settings by preprocessing and pre-storing LLM-generated knowledge vectors.
- Maintain privacy and reduce hallucination risks by avoiding direct exposure of LLM-generated text and instead using robust vector representations.
Proposed method
- Introduce factorization prompting to elicit accurate, structured reasoning from LLMs on user behavior history and profiles, decomposing complex preferences into interpretable components.
- Extract factual knowledge about items from LLMs using prompt engineering that queries external world knowledge, such as item attributes, plots, or reviews.
- Design a hybrid-expert adaptor to transform the LLM-generated textual knowledge into dense, compact, and task-specific embedding vectors compatible with downstream recommendation models.
- Decouple the adaptor from inference by precomputing and storing the augmented vectors, enabling inference speeds comparable to base recommendation models.
- Integrate the pre-stored knowledge vectors into any existing recommendation model (e.g., DIN) without architectural changes, ensuring broad compatibility.
- Use in-house LLMs (e.g., PanGu) in production to avoid privacy leakage via third-party APIs, enhancing data security.
Experimental results
Research questions
- RQ1Can large language models be effectively leveraged to extract meaningful reasoning about user preferences beyond simple behavior patterns?
- RQ2Can factual knowledge about items from LLMs improve recommendation accuracy when not present in the original dataset?
- RQ3How can LLM-generated knowledge be transformed into a form compatible with existing recommendation models without retraining?
- RQ4What strategies can ensure low-latency inference when integrating LLMs into real-time recommendation systems?
- RQ5How can privacy and safety risks—such as hallucination or data leakage—be mitigated when using LLMs in production recommendation systems?
Key findings
- KAR achieves a 7% relative improvement in online A/B testing on Huawei’s news recommendation platform, significantly outperforming state-of-the-art baselines.
- KAR achieves a 1.7% improvement on Huawei’s music recommendation platform, demonstrating consistent gains across diverse domains.
- The inference latency of KAR with pre-stored knowledge (KAR$_{w/o ext{ }apt}$) is reduced to 6.64×10⁻³ seconds per sample on MovieLens-1M, comparable to the base DIN model (6.42×10⁻³ s).
- Direct LLM API inference is infeasible for real-time systems, with an average latency of 5.54 seconds on MovieLens-1M, exceeding the 100ms threshold for industrial use.
- Even with fine-tuned LLMs like TALLRec, inference latency remains around 0.7 seconds, which is too high for real-time deployment.
- The hybrid-expert adaptor effectively condenses LLM outputs into compact, informative vectors that enhance recommendation performance across multiple models and datasets.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.