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

相同任务,更多Token:输入长度对大语言模型推理性能的影响

Same Task, More Tokens: the Impact of Input Length on the Reasoning Performance of Large Language Models

Bar-Ilan University(巴伊兰大学);Allen Institute for AI(艾伦人工智能研究所)

Mosh Levy, Alon Jacoby, Yoav Goldberg

AI总结:

该研究提出新型QA推理框架探究输入长度对大语言模型推理性能的影响,发现远短于最大输入长度时性能就显著下降,且下一词预测指标与推理性能负相关,识别的失效模式可为后续研究提供参考。

摘要:

本文探讨了扩展输入长度对大语言模型(Large Language Models, LLMs)能力的影响。尽管近年来LLMs取得了诸多进展,但人们对其在不同输入长度下性能的一致性仍缺乏充分了解。我们通过提出一种专为评估输入长度影响而设计的新型QA推理框架来研究这一问题。我们使用同一样本的多个版本来隔离输入长度的影响,每个版本都通过不同长度、类型和位置的填充进行扩展。研究结果表明,在远短于其技术最大输入长度的情况下,LLMs的推理性能就出现了显著下降。我们发现这种下降趋势在我们数据集的每个版本中都存在,只是强度有所不同。此外,本研究还揭示,传统的下一词预测指标与LLMs在我们推理数据集上的性能呈负相关。我们对结果进行了分析,并识别出了失效模式,这些模式可作为未来研究的有用参考,有望为解决LLMs中观察到的局限性提供策略参考。

英文摘要:

This paper explores the impact of extending input lengths on the capabilities of Large Language Models (LLMs). Despite LLMs advancements in recent times, their performance consistency across different input lengths is not well understood. We investigate this aspect by introducing a novel QA reasoning framework, specifically designed to assess the impact of input length. We isolate the effect of input length using multiple versions of the same sample, each being extended with padding of different lengths, types and locations. Our findings show a notable degradation in LLMs' reasoning performance at much shorter input lengths than their technical maximum. We show that the degradation trend appears in every version of our dataset, although at different intensities. Additionally, our study reveals that the traditional metric of next word prediction correlates negatively with performance of LLMs' on our reasoning dataset. We analyse our results and identify failure modes that can serve as useful guides for future research, potentially informing strategies to address the limitations observed in LLMs.

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

↑