Block-Level Positional Reconstruction for Sparse Long-context Prefilling
Anonymous authors
ICLR 2027
Abstract. Long-context inference has become a defining capability of large language models, but exact dense attention remains costly due to its quadratic scaling with sequence length. Block-sparse attention offers a hardware-friendly alternative by selecting a small set of relevant key blocks for each query block, yet estimating block importance accurately without model retraining or costly token-level search remains challenging. Existing block estimators often pool RoPE-rotated token representations, causing within-block phase variation to induce frequency-dependent cancellation and distort position-sensitive block affinities. We empirically find that, although unrotated block summaries cannot exactly recover the omitted phase-aware interaction, its predictable component follows a frequency- and distance-conditioned response that transfers across input sequences. Based on this observation, we propose \textbf{RePhase}, which combines current unrotated block interactions with a reusable positional-response profile and the exact relative RoPE phase. The profile is fitted once from unlabeled forward-pass statistics without backpropagation or model-parameter updates, and enables direct block-level scoring at inference without token-level search. Experiments on long-context text and video tasks show that RePhase approaches full-attention performance across 4K--128K contexts, keeps block-estimation overhead below 3.4 ms, and achieves a 5.03$\times$ speedup over FlashAttention at 128K.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
ICLR 2027
Desk rejected · OpenReview
Updated 24 Nov 2026, 16:44 UTC.
The venue hasn't published any reviews yet.
Loading the discussion…