How Far Can Sliding Window Attention See?
Keep the title, authors and abstract in paper.json
potentialpaper · 2026-11-23 19:10 UTC · 971cd3429221 ·
.potentialpaper/metadata.json modified
+++ b/.potentialpaper/metadata.json@@ -1,19 +1,5 @@{- "layout": 5,- "identifiers": [- {- "scheme": "openreview",- "value": "5MKfXl078n"- }- ],- "title": "How Far Can Sliding Window Attention See?",- "authors": [],- "abstract": "Sliding window attention (SWA) reduces the inference cost of Transformers by restricting each token to attend only to a fixed-size local window.\nAlthough the resulting efficiency gains are well understood, it remains unclear how information propagates beyond this window and, consequently, the maximal sentence length a SWA model can effectively manipulate.\nWe provide an intuitive account of information propagation through successive SWA layers and use it to derive a theoretical prediction for the maximal effective length.\nFor a model with window size $W$ and $\\ell$ layers, our analysis predicts a context length of $W H_{\\ell}$, where $H_{\\ell} =\\sum_{k=1}^\\ell 1/k$ is the $\\ell$-th harmonic number.\nExperiments on the cramming task across several model families, scales, depths, and window sizes confirm this prediction, with predicted lengths within $20\\%$ of the measured limits in all tested configurations.\nFinally, we give an explicit construction that approximates full attention with SWA.",- "year": 2027,- "venue": "ICLR 2027 (under review)",- "source": "openreview",- "license": {- "metadata": "CC0-1.0",- "abstract": "CC0-1.0"- }+ "layout": 6,+ "kind": "paper",+ "key": "9be1d148-8e6a-4018-aca1-58746e8a48a2"}
paper.json added
+++ b/paper.json@@ -0,0 +1,9 @@+{+ "title": "How Far Can Sliding Window Attention See?",+ "authors": [],+ "abstract": "Sliding window attention (SWA) reduces the inference cost of Transformers by restricting each token to attend only to a fixed-size local window.\nAlthough the resulting efficiency gains are well understood, it remains unclear how information propagates beyond this window and, consequently, the maximal sentence length a SWA model can effectively manipulate.\nWe provide an intuitive account of information propagation through successive SWA layers and use it to derive a theoretical prediction for the maximal effective length.\nFor a model with window size $W$ and $\\ell$ layers, our analysis predicts a context length of $W H_{\\ell}$, where $H_{\\ell} =\\sum_{k=1}^\\ell 1/k$ is the $\\ell$-th harmonic number.\nExperiments on the cramming task across several model families, scales, depths, and window sizes confirm this prediction, with predicted lengths within $20\\%$ of the measured limits in all tested configurations.\nFinally, we give an explicit construction that approximates full attention with SWA.",+ "license": {+ "metadata": "CC0-1.0",+ "abstract": "CC0-1.0"+ }+}