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

逻辑干草堆:探究LLMs的长上下文逻辑推理(无易识别的不相关填充)

Logic Haystacks: Probing LLMs Long-Context Logical Reasoning (Without Easily Identifiable Unrelated Padding)

Univ. Lille(里尔大学);Inria(法国国家信息与自动化研究所);CNRS(法国国家科学研究中心);Centrale Lille(里尔中央理工学院)

Damien Sileo

AI总结:

本研究通过生成带干扰项的长逻辑文本,评估LLMs长上下文推理能力,发现现实干扰下有效上下文窗口远小于宣称值。

摘要:

大型语言模型展示了有前景的长上下文处理能力,近期模型宣称其上下文窗口接近一百万tokens。然而,支持这些声称的评估往往涉及简单的检索任务或填充了无关文本的合成任务,模型可能轻易检测并丢弃这些无关文本。在本工作中,我们生成了冗长的简化英文文本,其带有一阶逻辑表示,最多包含2048个子句(约25k个GPT-4 tokens)。我们设计了一个带有证据检索的评估任务,用于矛盾检测。长且同质的文本中充满了干扰项,这些干扰项既难以与相关证据区分,又可证明不会干扰它们。我们的证据检索评估显示,在现实干扰项下,有效上下文窗口要小得多,在128个子句时已开始崩溃。

英文摘要:

Large language models demonstrate promising long context processing capabilities, with recent models touting context windows close to one million tokens. However, the evaluations supporting these claims often involve simple retrieval tasks or synthetic tasks padded with irrelevant text, which the models may easily detect and discard. In this work, we generate lengthy simplified English text with first-order logic representations spanning up to 2048 clauses (around 25k GPT-4 tokens). We formulate an evaluation task with evidence retrieval for contradiction detection. The long, homogeneous text is filled with distractors that are both hard to distinguish from relevant evidences and provably not interfering with them. Our evaluation of evidence retrieval shows that the effective context window is much smaller with realistic distractors, already crumbling at 128 clauses.

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

↑