arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2305.04757cs.CLcs.AIcs.LG
收藏

具有参数化知识引导的增强大型语言模型

Augmented Large Language Models with Parametric Knowledge Guiding

Hong Kong Baptist University(香港浸会大学);Microsoft Corporation(微软公司)

Ziyang Luo, Can Xu, Pu Zhao, Xiubo Geng, Chongyang Tao, Jing Ma, Qingwei Lin, Daxin Jiang

AI总结:

提出参数化知识引导(PKG)框架,通过基于白盒模型的知识引导模块在不修改参数的前提下增强黑盒LLMs的领域能力,在事实、表格、医疗和多模态任务上分别提升7.9%、11.9%、3.0%和8.1%。

摘要:

大型语言模型(LLMs)凭借其令人印象深刻的语言理解和生成能力,显著推动了自然语言处理(NLP)的发展。然而,由于对相关数据的接触有限,它们在需要专业知识的特定领域任务上的表现可能不是最优的。此外,大多数最先进的(SOTA)LLMs缺乏透明度,只能通过API访问,这阻碍了使用领域定制数据进行进一步微调。而且,向LLMs的所有者提供私有数据会导致数据隐私问题。为了应对这些挑战,我们提出了新颖的参数化知识引导(PKG)框架,该框架为LLMs配备了一个知识引导模块,以便在不改变LLMs参数的情况下访问相关知识。我们的PKG基于开源的“白盒”语言模型,允许离线记忆LLMs所需的任何知识。我们证明,我们的PKG框架能够提升“黑盒”LLMs在一系列需要事实(+7.9%)、表格(+11.9%)、医疗(+3.0%)和多模态(+8.1%)知识的领域知识密集型任务上的性能。

英文摘要:

Large Language Models (LLMs) have significantly advanced natural language processing (NLP) with their impressive language understanding and generation capabilities. However, their performance may be suboptimal for domain-specific tasks that require specialized knowledge due to limited exposure to the related data. Additionally, the lack of transparency of most state-of-the-art (SOTA) LLMs, which can only be accessed via APIs, impedes further fine-tuning with domain custom data. Moreover, providing private data to the LLMs' owner leads to data privacy problems. To address these challenges, we propose the novel Parametric Knowledge Guiding (PKG) framework, which equips LLMs with a knowledge-guiding module to access relevant knowledge without altering the LLMs' parameters. Our PKG is based on open-source "white-box" language models, allowing offline memory of any knowledge that LLMs require. We demonstrate that our PKG framework can enhance the performance of "black-box" LLMs on a range of domain knowledge-intensive tasks that require factual (+7.9%), tabular (+11.9%), medical (+3.0%), and multimodal (+8.1%) knowledge.

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

↑