Puls Dane publiczne, aktualizowane automatycznie
arXiv – nowe publikacje publikacja

Native Position Reindexing for Sparse Attention

[Sztuczna inteligencja] Autorzy: Lei Zhu, Zexuan Qiu, Zhiwei Li i 8 więcej

Sparse attention typically inherits positional encodings designed for dense attention, despite changing each query's context. Although sparse attention bounds the number of attended keys, these encodings retain large original-sequence distances poorly covered or unseen during training. We argue that positional distances should instead be co-designed with sparse attention, letting long-range interactions share positional representations with short-range ones. To realize this co-design, we make position reindexing native to sparse-attention training: each query's selected tokens receive consecutive positions in their original order during both training and inference, limiting relative distances to the attention budget rather than the full sequence length. Unlike inference-time reindexing in StreamingLLM, native training lets the model adapt to these query-dependent positions rather than m…

Kategoria arxiv
cs.AI
Kategoria
Sztuczna inteligencja
Pdf
https://arxiv.org/pdf/2611.37952v1

Otwórz oryginał w źródle ↗

Więcej z tego źródła

Wszystkie