Efficient and Deployable Knowledge Infusion for Open-World Recommendations via Large Language Models

Yunjia Xi, Weiwen Liu, Jianghao Lin, Muyan Weng, Xiaoling Cai, Hong Zhu, Jieming Zhu, Bo Chen, Ruiming Tang, Yong Yu, Weinan Zhang

TL;DR

REKI (Open-World Recommendation Framework with Efficient and Deployable Knowledge Infusion) is a new framework that bridges the gap between traditional "closed-loop" recommender systems and the vast "open-world" knowledge of Large Language Models (LLMs). By using a clever "extract-then-integrate" pipeline that pre-processes LLM insights into compact vectors, REKI achieves state-of-the-art performance and real-world industrial deployment without the crippling latency of real-time LLM inference.

What Problem Does This Paper Address?

Traditional recommender systems (RS) are typically "closed-loop": they only know what is contained within their specific training dataset. They lack "open-world" knowledge—the common-sense understanding of why a user might like a specific movie theme or how a real-world event (like a pandemic) might shift consumer interests.

While Large Language Models (LLMs) possess this world knowledge and reasoning capability, they face two massive hurdles in industrial settings:

  1. Online Inference Latency: Industrial systems require responses in under 100ms. LLMs, with billions of parameters, are far too slow for real-time ranking.
  2. Offline Resource Consumption: Fine-tuning or prompting an LLM for every single user-item interaction in a system with billions of users is computationally and financially ruinous.

Methods

The authors propose REKI, which decouples the LLM's knowledge generation from the recommendation model's real-time execution. The framework consists of three main stages:

  • Factorization Prompting: Instead of asking an LLM to "recommend a movie," which often leads to a "compositional gap" (failing at complex tasks despite knowing sub-components), the authors break the problem down. They prompt the LLM to reason about specific scenario-specific factors like genre, theme, mood, and director for both users and items.
  • Knowledge Extraction (Individual vs. Collective): To handle scale, REKI uses two modes. Individual extraction works for smaller datasets. For industrial scales, they introduce Collective Knowledge Extraction, where users and items are clustered (using the StreaKHC algorithm), and the LLM generates knowledge for the cluster rather than the individual, drastically reducing API calls.
  • Hybridized Expert-Integrated Network (HEIN): LLM outputs are high-dimensional text embeddings (e.g., 4096-dim). HEIN uses a Mixture-of-Experts (MoE) architecture to compress these into compact, task-specific "augmented vectors" (e.g., 32-dim) that are easily digestible by conventional recommendation models (CRMs) like DIN or DeepFM.

Crucially, these augmented vectors are pre-stored in a database. During live inference, the system simply fetches a vector instead of calling an LLM.

Datasets

The framework was evaluated on two widely recognized public benchmarks:

  • MovieLens-1M: A classic movie recommendation dataset.
  • Amazon-Books: A large-scale product review dataset.

Beyond these, the paper details successful real-world deployment on Huawei’s news and music recommendation platforms, providing rare "in-the-wild" validation for LLM-based recommendation frameworks.

Key Insights and Ideas

  • User Knowledge > Item Knowledge: The ablation studies reveal that LLM-generated insights about user preferences provide a larger performance boost than factual item knowledge. This suggests LLMs are particularly good at "reading between the lines" of a user's behavior history to infer underlying tastes.
  • The Power of Clustering: The "Collective" approach (clustering) achieves nearly the same accuracy as the "Individual" approach while being orders of magnitude more efficient. This proves that "open-world" reasoning can be generalized across similar groups of users.
  • LLMs vs. Knowledge Graphs (KG): The authors found that LLM knowledge outperformed traditional KGs. While KGs are great for static facts about items, they struggle with the dynamic, reasoning-heavy nature of user preferences—a gap LLMs fill naturally.

Key Results

  • Performance Gains: REKI consistently outperformed state-of-the-art baselines (like TALLRec and P5) across 9 different backbone models. It achieved an AUC improvement of roughly 1-1.5% on public datasets—a significant margin in the world of Click-Through Rate (CTR) prediction.
  • Industrial Impact: In online A/B tests at Huawei, REKI delivered a 7% improvement in Recall for news recommendations and a 1.99% increase in song play counts for music.
  • Efficiency: By pre-storing vectors, REKI’s inference latency is nearly identical to the original backbone model (approx. 6-10ms), compared to the 4-5 seconds required for a direct LLM API call.

Limitations and Future Work

  • The Cold Start Problem: While REKI uses "default vectors" for new users/items, it still relies on offline updates to generate new knowledge. Real-time "open-world" infusion for brand-new entities remains a challenge.
  • Temporal Alignment: User interests evolve. If the LLM-generated knowledge is not updated frequently enough, the "pre-stored" vectors might become stale, leading to a "temporal misalignment."
  • Future Directions: The authors suggest exploring speculative decoding and quantization to further speed up the offline knowledge generation process, making the system even more responsive to data shifts.

Summary updated

BibTeX
@article{xi2026efficient,
  author = {Yunjia Xi and Weiwen Liu and Jianghao Lin and Muyan Weng and Xiaoling Cai and Hong Zhu and Jieming Zhu and Bo Chen and Ruiming Tang and Yong Yu and Weinan Zhang},
  title = {{Efficient and Deployable Knowledge Infusion for Open-World Recommendations via Large Language Models}},
  journal = {Trans. Recomm. Syst.},
  year = {2026},
  doi = {10.1145/3725894},
}
Figure