跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2611.40623 · v1

Explaining Length Extrapolation Across Attention Architectures

首次提交 2026-11-30 15:50
版本更新 2026-11-30 15:50
雷达观测 2026-12-01 14:28
arXiv ↗PDF ↗

摘要

Long-context modeling supports document understanding and long-horizon interaction. Selective access to the key-value cache offers one way to process very long contexts, with recent methods enabling retrieval far beyond the training window. However, poor length generalization in attention limits the context length over which models can reliably retrieve information. Although prior work has improved extrapolation through positional encoding, attention scaling, and sparse retrieval, some methods remain limited in range. What enables some attention architectures to retrieve evidence reliably far beyond the training window remains unclear. Through controlled comparisons of positional encodings and attention architectures, we jointly analyze positional generalization, attention entropy stability, and evidence retrieval accuracy to explain the observed extrapolation gaps. First, our probes suggest that a model without explicit positional encoding can still overfit to absolute-position patterns learned within the training window. Second, we find that architectures using the same positional encoding can maintain similarly stable attention entropy yet differ sharply in how highly they rank the required evidence. Third, our comparisons within a single architecture show that changing the positional encoding affects both entropy drift and evidence ranking at longer lengths. These findings explain how positional generalization, attention stability, and evidence selection jointly support reliable retrieval far beyond the training window.

AI 论文解读

基于摘要 · 非全文审阅

此版本尚未生成 AI 解读。解读由后台任务生成并按论文版本保存,登录后共享已有结果。

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-11-30 15:50 · 最新观测版本

Explaining Length Extrapolation Across Attention Architectures

Long-context modeling supports document understanding and long-horizon interaction. Selective access to the key-value cache offers one way to process very long contexts, with recent methods enabling retrieval far beyond the training window. However, poor length generalization in attention limits the context length over which models can reliably retrieve information. Although prior work has improved extrapolation through positional encoding, attention scaling, and sparse retrieval, some methods remain limited in range. What enables some attention architectures to retrieve evidence reliably far beyond the training window remains unclear. Through controlled comparisons of positional encodings and attention architectures, we jointly analyze positional generalization, attention entropy stability, and evidence retrieval accuracy to explain the observed extrapolation gaps. First, our probes suggest that a model without explicit positional encoding can still overfit to absolute-position patterns learned within the training window. Second, we find that architectures using the same positional encoding can maintain similarly stable attention entropy yet differ sharply in how highly they rank the required evidence. Third, our comparisons within a single architecture show that changing the positional encoding affects both entropy drift and evidence ranking at longer lengths. These findings explain how positional generalization, attention stability, and evidence selection jointly support reliable retrieval far beyond the training window.

查看此版本解读 →查看此版本原文 ↗