[Paper Review] Knowledge Plugins: Enhancing Large Language Models for Domain-Specific Recommendations
This paper proposes DOKE, a framework that enhances large language models (LLMs) with domain-specific knowledge through a three-step process: knowledge preparation, customization, and natural language expression via prompts—without fine-tuning. Experiments show that incorporating collaborative filtering signals and item attributes significantly improves LLM performance in recommender systems, especially for sparse or long-user-history cases.
The significant progress of large language models (LLMs) provides a promising opportunity to build human-like systems for various practical applications. However, when applied to specific task domains, an LLM pre-trained on a general-purpose corpus may exhibit a deficit or inadequacy in two types of domain-specific knowledge. One is a comprehensive set of domain data that is typically large-scale and continuously evolving. The other is specific working patterns of this domain reflected in the data. The absence or inadequacy of such knowledge impacts the performance of the LLM. In this paper, we propose a general paradigm that augments LLMs with DOmain-specific KnowledgE to enhance their performance on practical applications, namely DOKE. This paradigm relies on a domain knowledge extractor, working in three steps: 1) preparing effective knowledge for the task; 2) selecting the knowledge for each specific sample; and 3) expressing the knowledge in an LLM-understandable way. Then, the extracted knowledge is incorporated through prompts, without any computational cost of model fine-tuning. We instantiate the general paradigm on a widespread application, i.e. recommender systems, where critical item attributes and collaborative filtering signals are incorporated. Experimental results demonstrate that DOKE can substantially improve the performance of LLMs in specific domains.
Motivation & Objective
- To address the lack of domain-specific knowledge in LLMs when applied to practical tasks like recommendation systems.
- To overcome the limitations of fine-tuning LLMs, which is computationally expensive and risks overfitting or losing generalization.
- To develop a general-purpose paradigm that injects relevant, up-to-date, and task-specific knowledge into LLMs through prompt engineering.
- To evaluate the effectiveness of different types of domain knowledge—such as item attributes and collaborative filtering signals—on LLM performance in recommendation tasks.
- To investigate how customized, sample-specific knowledge improves LLM reasoning compared to global or generic knowledge.
Proposed method
- A domain knowledge extractor is used to prepare comprehensive domain knowledge from large-scale, evolving datasets.
- Knowledge customization selects only the most relevant knowledge for each input sample, based on user history and candidate items.
- Knowledge is expressed in natural language prompts that are interpretable and compatible with any LLM.
- The framework integrates both item attributes and collaborative filtering (CF) signals—such as co-click probabilities—into the prompt without modifying LLM parameters.
- The method relies on lightweight external models for knowledge extraction, making it efficient and scalable across domains.
- The approach is evaluated on three benchmark datasets (ML-1M, Beauty, Online Retail) using LLMs like ChatGPT.
Experimental results
Research questions
- RQ1How does injecting domain-specific knowledge affect LLM performance in recommendation tasks?
- RQ2Which types of domain knowledge—item attributes or collaborative filtering signals—yield the greatest performance gains?
- RQ3How does customizing knowledge per sample compare to using global or static knowledge?
- RQ4How does the expression format of knowledge (e.g., templates vs. reasoning paths) influence LLM understanding and performance?
- RQ5In which user or item groups (e.g., long vs. short history, popular vs. rare items) is knowledge injection most effective?
Key findings
- Incorporating collaborative filtering (CF) signals, especially user-to-item (U2I) and history-candidate-based I2I signals, leads to significant performance improvements across all three datasets.
- The U2I signal yields the largest gains, demonstrating that user-item interaction patterns are highly beneficial and underutilized by LLMs.
- Customized knowledge—specifically, CF signals relevant to the current user and candidate items—improves performance more than global or non-customized knowledge.
- Global CF information sometimes harms performance, indicating that irrelevant or overly general knowledge can mislead LLMs.
- Knowledge expression using reasoning paths on knowledge graphs slightly outperforms simple text templates, though the gains are modest due to low-quality KGs and strong LLM in-context knowledge.
- The method is most effective for users with long interaction histories and for popular items, where domain patterns are more confidently learned and injected.
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.