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

重新审视并行上下文窗口:一种令人沮丧的简单替代方案与思维链退化

Revisiting Parallel Context Windows: A Frustratingly Simple Alternative and Chain-of-Thought Deterioration

Tsinghua University(清华大学)

Kejuan Yang, Xiao Liu, Kaiwen Men, Aohan Zeng, Yuxiao Dong, Jie Tang

AI总结:

本文重新评估并行上下文窗口方法 PCW,发现其评估缺少加权和集成这一简单强基线,且在 HotpotQA 等思维链推理任务中出现问题误解和错误推理的退化现象,表明现有 PCW 设计在长文档处理中的改进和实用性不足。

摘要:

我们指出了近期并行集成方法 Parallel Context Windows (PCW) 评估中的两个关键局限。PCW 通过利用窗口式注意力和位置嵌入技术来扩展语言模型的最大上下文长度,例如将 LLaMA 的 2048 扩展到更长。我们首先表明,在上下文少样本分类中,缺少一个简单但强大的基线,即加权和集成。此外,在更具挑战性的 Chain-of-Thought (CoT) 推理(例如 HotpotQA)上,PCW 会表现出意想不到的退化,涉及问题误解和错误推理。基于我们的发现,我们认为现有的 PCW 设计可能无法保证在处理真实世界应用中的长文档时带来足够的改进和实用性。社区应在增强语言模型长上下文理解能力方面投入更多努力。

英文摘要:

We identify two crucial limitations in the evaluation of recent parallel-integrated method Parallel Context Windows (PCW), which extends the maximum context lengths of language models, e.g., 2048 for LLaMA, by harnessing window-wise attention and positional embedding techniques. We first show that a simple yet strong baseline, weighted sum ensemble, is missing for the in-context few-shot classification. Moreover, on more challenging Chain-of-Thought (CoT) reasoning (e.g., HotpotQA), PCW would present unexpected deterioration regarding question miscomprehension and false inference. Based on our findings, we suggest that the existing PCW design may not guarantee sufficient improvement and practicality in handling lengthy documents in real-world applications. More community efforts on enabling language models' long context understanding ability should be paid.

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

↑