4.2 Window size
We vary the attention window from 256 to 2,048 tokens while keeping the model and training data fixed. Table 3 reports accuracy on long inputs against full attention.
With a 512-token sliding window, accuracy on long inputs matched full attention (84.1 vs. 84.3) while peak memory fell by two thirds. Smaller windows lose references across sections; larger ones add memory without improving accuracy.
| Window | Accuracy | Peak memory |
|---|---|---|
| 256 | 79.8 | 0.21× |
| 512 | 84.1 | 0.33× |
| 1,024 | 84.2 | 0.58× |
| Full | 84.3 | 1.00× |
Table 3. Accuracy and peak memory by window size.
The 512-token setting is used for every remaining experiment. Section 5 asks why so short a window holds up on documents forty times its length.


