KnowLA:通过知识化适应增强参数高效微调
KnowLA: Enhancing Parameter-efficient Finetuning with Knowledgeable Adaptation
AI总结:
本文提出知识化适应方法KnowLA,通过在LLM中插入适应层整合知识图谱实体嵌入并与LoRA结合训练,有效提升了参数高效微调效果,无需改变模型参数或输入提示即可激活相关知识回答问题。
摘要:
参数高效微调(PEFT)是使大型语言模型(LLM)适应下游任务的关键技术。本文研究利用知识图谱嵌入来提升PEFT的有效性。我们提出了一种名为KnowLA的知识化适应方法。它在LLM中插入一个适应层,以整合输入文本中出现的实体嵌入。该适应层与LoRA结合在指令数据上进行训练。在六个基准上使用两种流行的LLM和三个知识图谱进行的实验证明了KnowLA的有效性和鲁棒性。我们表明,KnowLA能够帮助激活LLM中相关的参数化知识来回答问题,而无需改变其参数或输入提示。
英文摘要:
Parameter-efficient finetuning (PEFT) is a key technique for adapting large language models (LLMs) to downstream tasks. In this paper, we study leveraging knowledge graph embeddings to improve the effectiveness of PEFT. We propose a knowledgeable adaptation method called KnowLA. It inserts an adaptation layer into an LLM to integrate the embeddings of entities appearing in the input text. The adaptation layer is trained in combination with LoRA on instruction data. Experiments on six benchmarks with two popular LLMs and three knowledge graphs demonstrate the effectiveness and robustness of KnowLA. We show that \modelname can help activate the relevant parameterized knowledge in an LLM to answer a question without changing its parameters or input prompts.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。