arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.10779cs.IRcs.AI
收藏

知识插件:增强大型语言模型以用于特定领域推荐

Knowledge Plugins: Enhancing Large Language Models for Domain-Specific Recommendations

Microsoft Research Asia(微软亚洲研究院);Gaoling School of Artificial Intelligence, Renmin University of China(中国人民大学高瓴人工智能学院)

Jing Yao, Wei Xu, Jianxun Lian, Xiting Wang, Xiaoyuan Yi, Xing Xie

AI总结:

提出DOKE范式,通过领域知识提取器为LLM准备、选择并表达特定领域知识,以提示方式增强推荐系统性能,无需微调。

摘要:

大型语言模型(LLMs)的显著进展为各种实际应用构建类人系统提供了有前景的机会。然而,当应用于特定任务领域时,在通用语料库上预训练的LLM可能在两类特定领域知识上表现出缺陷或不足。一类是通常大规模且持续演进的全面领域数据。另一类是数据中反映的该领域特定工作模式。此类知识的缺失或不足会影响LLM的性能。在本文中,我们提出了一种通用范式,用特定领域知识增强LLMs以提升其在实际应用中的性能,即DOKE。该范式依赖一个领域知识提取器,分三步工作:1)为任务准备有效知识;2)为每个特定样本选择知识;3)以LLM可理解的方式表达知识。然后,提取的知识通过提示融入,无需任何模型微调的计算成本。我们在一个广泛应用(即推荐系统)上实例化了该通用范式,其中纳入了关键物品属性和协同过滤信号。实验结果表明,DOKE能显著提升LLMs在特定领域的性能。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑