arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.19360cs.CLcs.AIcs.LG
收藏

DENIAHL:上下文特征影响大语言模型的“大海捞针”能力

DENIAHL: In-Context Features Influence LLM Needle-In-A-Haystack Abilities

New York University(纽约大学);Databricks(Databricks公司)

Hui Dai, Dan Pechi, Xinyi Yang, Garvit Banga, Raghav Mantri

AI总结:

针对“大海捞针”测试无法分析上下文长度外影响语言模型回忆特定信息的因素问题,本文开发DENIAHL合成基准,消融数据类型等特征,发现模型性能差异及项目大小、数据类型对回忆性能的影响,为大上下文模型提供启示。

摘要:

“大海捞针”(NIAH)测试是评估语言模型(LMs)从长输入上下文中回忆特定信息的通用任务。然而,该框架未提供分析上下文长度之外哪些因素导致LMs能够或无法从“干草堆”中分离并回忆“针”的方法。为系统评估哪些特征影响LMs的NIAH能力,我们开发了名为DENIAHL(面向数据的大语言模型NIAH评估)的合成基准。我们的工作扩展了此前的NIAH研究,通过消融典型上下文长度之外的NIAH特征(包括数据类型、大小和模式)。我们发现GPT-3.5和LLaMA 2-7B在DENIAHL上的性能存在显著差异:当项目大小增加时,回忆性能下降;当数据类型从数字改为字母时,回忆性能在一定程度上也会下降。这对日益增长的大上下文模型具有启示意义,表明项目数量之外的因素会影响NIAH能力。

英文摘要:

The Needle-in-a-haystack (NIAH) test is a general task used to assess language models' (LMs') abilities to recall particular information from long input context. This framework however does not provide a means of analyzing what factors, beyond context length, contribute to LMs' abilities or inabilities to separate and recall needles from their haystacks. To provide a systematic means of assessing what features contribute to LMs' NIAH capabilities, we developed a synthetic benchmark called DENIAHL (Data-oriented Evaluation of NIAH for LLM's). Our work expands on previous NIAH studies by ablating NIAH features beyond typical context length including data type, size, and patterns. We find stark differences between GPT-3.5 and LLaMA 2-7B's performance on DENIAHL, and drops in recall performance when features like item size are increased, and to some degree when data type is changed from numbers to letters. This has implications for increasingly large context models, demonstrating factors beyond item-number impact NIAH capabilities.

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

↑