Sparse attention stays close to full attention at long context
Questa pagina non ha ancora una traduzione verificata. È mostrata la versione inglese. Leggi la versione inglese
In parole semplici
Long-context language models repeatedly look back through earlier text as they produce each new token.
Joint Subspace Sparse Attention (JSSA) is a method that chooses individual earlier positions to read, using a shared, smaller space to score them and then reading selected entries directly from the cache.
In text-prediction tests on three models and contexts from 32K to 128K, JSSA’s results stayed close to full-cache attention. The tests support that conclusion for those models and settings.
La ricerca
Long-context decoding repeatedly reads a growing cache, so selecting fewer positions could reduce the work at each step. But can a method choose individual positions accurately enough to preserve language-modeling performance while also avoiding the overhead of gathering scattered cache entries?
JSSA selects individual context tokens with shared query–key scoring and direct cache reads to preserve attention quality while reducing cache traffic.
The paper asks whether selecting individual context tokens can reduce long-context decoding costs without losing useful attention choices.
Joint Subspace Sparse Attention (JSSA) uses a shared, low-dimensional query–key scoring space to choose positions, then reads their original cache entries directly for attention.
On PG-19, which measures text-prediction quality through perplexity, JSSA was at most 1.11 points from full-cache attention across three models and 32K–128K contexts under the tested cache budgets. This supports near-full-cache language-modeling performance in those conditions.
The results cover specific models, tasks, and hardware setups. The scoring method’s upper bound does not prove that its chosen subspace is globally optimal, and GLM-5.2 has no full-attention checkpoint for comparison.
Analisi
Dettagli
- Autori del paper originale
- Jiwon Song, Yoongon Kim, Jae-Joon Kim
- Inviato ad arXiv
- Licenza
- CC BY 4.0