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

重新审视知识注入框架

Revisiting the Knowledge Injection Frameworks

Zhejiang University(浙江大学);Yale University(耶鲁大学)

Peng Fu, Yiming Zhang, Haobo Wang, Weikang Qiu, Junbo Zhao

AI总结:

本文发现向大语言模型注入未对齐知识元组可取得与对齐知识相当甚至更好的效果,通过调查该现象并提出基于外部知识库剪枝与净化的补救技术,提升了领域自适应LLMs的性能。

摘要:

近年来,诸如GPTs等大语言模型(LLMs)在全球范围内产生了巨大影响。然而,如何通过利用外部知识来调整这些LLMs以更好地适应垂直领域特定任务,仍未完全解决。事实上,在这一方向上已经出现了一些工作,其中大多数依赖一种对齐启发式方法,该方法旨在将相应的知识元组注入到关联的文本样本中。然而,尽管前景可期,我们发现这类工作中普遍存在一个关键问题。简言之,我们发现向LLMs注入未对齐(即随机)的知识元组,能够取得与注入对齐知识相当(有时甚至更好)的结果。因此,我们对这一令人沮丧的发现进行了深入调查,涉及多种相关的先前工作,并进一步为该现象提供了一系列可能的解释。基于此,我们提出了一种简单的补救技术。简言之,该技术的核心在于一种理念上的强调,即对将要注入LLMs的外部知识库进行剪枝和净化。最后,我们表明,通过将该技术集成到大多数(如果不是全部)知识注入框架和近期LLMs中,它能够克服上述合理性问题,并进一步推动领域自适应LLMs的性能边界。

英文摘要:

In recent years, large language models (LLMs), such as GPTs, have attained great impact worldwide. However, how to adapt these LLMs to better suit the vertical domain-specific tasks by utilizing external knowledge remains not completely solved. Indeed, there have emerged a few works on this line where most of them rely on an alignment heuristic that is built to inject the corresponding knowledge tuple into the associated text sample. However, despite the promise, we identify a pivotal problem in this work ubiquitously. Simply put, we find that injecting unaligned (i.e., random) knowledge tuple into the LLMs achieves comparable (and sometimes better) results than the aligned knowledge being injected. We therefore take a thorough investigation of this frustrating finding on a variety of related prior work and further provide a chain of potential interpretations for the phenomenon. Based on all that, we offer a simple remediated technique. Briefly, the core of this technique is rooted in an ideological emphasis on the pruning and purification of the external knowledge base to be injected into LLMs. At last, we show that by integrating this technique into most (if not all) knowledge injection frameworks and recent LLMs, it manages to overcome the aforementioned sanity problem and further pushes the boundary of the performance of the domain-adaptive LLMs.

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

↑