arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.08202cs.CL
收藏

挖掘未见:内在知识在长上下文语言模型中的隐性影响

Harnessing the Unseen: The Hidden Influence of Intrinsic Knowledge in Long-Context Language Models

Yu Fu, Haz Sameen Shahgir, Hui Liu, Xianfeng Tang, Qi He, Yue Dong

AI总结:

本文研究了长上下文语言模型中参数知识的影响,提出混合针在 haystack 测试以评估模型的双重能力,发现 Qwen-2.5 模型在结合多种能力方面表现更优。

摘要:

近期长上下文语言模型(LCLMs)的发展主要集中在利用外部上下文信息,往往忽视了语言模型参数知识的影响。在本工作中,我们首先研究了这种参数知识如何影响内容生成,并证明其影响随着上下文长度的增加而变得更加显著。此外,我们展示了模型利用参数知识的能力(我们称之为参数回忆能力)并不同时提高,而其通过外部检索利用上下文知识的能力(外部检索能力)则有所不同。此外,更好的外部检索能力可能会干扰模型的参数回忆能力,限制其全部潜力。为弥合这一差距,我们设计了一个简单而有效的混合针在 haystack 测试,该测试根据模型在两种能力上的能力进行评估,而不是仅强调外部检索能力。我们的实验结果表明,Qwen-2.5 模型显著优于 Llama-3.1 模型,展示了结合各种能力的优越潜力。此外,即使更强大的 Llama-3.1-70B-Instruct 模型也无法表现出更好的性能,突显了从双能力视角评估模型的重要性。

英文摘要:

Recent advances in long-context language models (LCLMs), designed to handle extremely long contexts, primarily focus on utilizing external contextual information, often leaving the influence of language models' parametric knowledge underexplored. In this work, we firstly investigate how this parametric knowledge affects content generation and demonstrate that its impact becomes increasingly pronounced as context length extends. Furthermore, we show that the model's ability to utilize parametric knowledge, which we call parametric recall ability, does not improve simultaneously with its ability to leverage contextual knowledge through extrinsic retrieval ability. Moreover, better extrinsic retrieval ability can interfere with the model's parametric recall ability, limiting its full potential. To bridge this gap, we design a simple yet effective Hybrid Needle-in-a-Haystack test that evaluates models based on their capabilities across both abilities, rather than solely emphasizing extrinsic retrieval ability. Our experimental results reveal that Qwen-2.5 models significantly outperform Llama-3.1 models, demonstrating superior potential to combine various abilities. Moreover, even the more powerful Llama-3.1-70B-Instruct model fails to exhibit better performance, highlighting the importance of evaluating models from a dual-ability perspective.

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

↑