寻找神经金块:从参数化视角看大语言模型中的知识迁移
Seeking Neural Nuggets: Knowledge Transfer in Large Language Models from a Parametric Perspective
AI总结:
本文从参数化视角研究大语言模型间的知识迁移,利用基于敏感度的参数提取与对齐,并通过LoRA将大模型知识注入小模型,在四个基准上验证了有效性。
摘要:
大语言模型(LLM)通过在海量语料库上进行预训练,天然地在其参数中编码了丰富的知识。尽管先前研究已深入探讨对这些参数进行操作以操控底层隐式知识(包括检测、编辑和合并),但对于这些知识在不同规模模型之间的可迁移性,仍缺乏清晰认识。本文旨在从参数化视角,实证研究从较大模型到较小模型的知识迁移。为此,作者采用基于敏感度的技术,在不同LLM之间提取并对齐知识特定参数。此外,使用LoRA模块作为中介机制,将提取出的知识注入较小模型。在四个基准上的评估验证了所提方法的有效性。研究结果揭示了促成参数化知识迁移过程的关键因素,强调了模型参数在不同规模LLM之间的可迁移性。项目网站:https://maszhongming.github.io/ParaKnowTransfer。
英文摘要:
Large Language Models (LLMs) inherently encode a wealth of knowledge within their parameters through pre-training on extensive corpora. While prior research has delved into operations on these parameters to manipulate the underlying implicit knowledge (encompassing detection, editing, and merging), there remains an ambiguous understanding regarding their transferability across models with varying scales. In this paper, we seek to empirically investigate knowledge transfer from larger to smaller models through a parametric perspective. To achieve this, we employ sensitivity-based techniques to extract and align knowledge-specific parameters between different LLMs. Moreover, the LoRA module is used as the intermediary mechanism for injecting the extracted knowledge into smaller models. Evaluations across four benchmarks validate the efficacy of our proposed method. Our findings highlight the critical factors contributing to the process of parametric knowledge transfer, underscoring the transferability of model parameters across LLMs of different scales. Project website: https://maszhongming.github.io/ParaKnowTransfer.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。