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

潜在释义:层间扰动提升语言模型的知识注入效果

Latent Paraphrasing: Perturbation on Layers Improves Knowledge Injection in Language Models

KRAFTON(克拉夫顿);KAIST(韩国科学技术院)

Minki Kang, Sung Ju Hwang, Gibbeum Lee, Jaewoong Cho

AI总结:

针对大语言模型知识注入中释义微调成本高、样本多样性不足的问题,提出潜在层级释义方法LaPael,通过向模型早期层加输入相关噪声实现内部样本增强,实验证明其效果优于现有方法,结合数据级释义可进一步提升性能。

摘要:

随着大语言模型(LLMs)越来越多地被部署在知识持续迭代的专业领域,及时且精准的知识注入需求变得至关重要。使用释义数据进行微调是增强知识注入的常用方法,但该方法面临两大显著挑战:重复调用外部模型导致的高计算成本,以及样本多样性有限。为此,我们提出LaPael——一种潜在层级的释义方法,该方法向LLM的早期层施加与输入相关的噪声。这种方法可直接在模型内部生成多样且语义一致的增强样本,此外还省去了每次知识更新时生成释义的重复成本。我们在多个问答基准上开展的大量实验表明,相较于标准微调和现有的基于噪声的方法,LaPael能提升知识注入效果;将LaPael与数据级释义相结合还能进一步提升性能。

英文摘要:

As Large Language Models (LLMs) are increasingly deployed in specialized domains with continuously evolving knowledge, the need for timely and precise knowledge injection has become essential. Fine-tuning with paraphrased data is a common approach to enhance knowledge injection, yet it faces two significant challenges: high computational costs due to repetitive external model usage and limited sample diversity. To this end, we introduce LaPael, a latent-level paraphrasing method that applies input-dependent noise to early LLM layers. This approach enables diverse and semantically consistent augmentations directly within the model. Furthermore, it eliminates the recurring costs of paraphrase generation for each knowledge update. Our extensive experiments on question-answering benchmarks demonstrate that LaPael improves knowledge injection over standard fine-tuning and existing noise-based approaches. Additionally, combining LaPael with data-level paraphrasing further enhances performance.

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

↑