Sparse attention is a common way to reduce the cost of long-context models, but the kernels that implement it tend to treat each query in isolation. That means the same key-value (KV) entries get loaded and dequantized repeatedly, even when many queries need them. A new arXiv paper, QUILT, argues this is wasteful and proposes a different strategy: share the execution across queries that touch the same KV data.
The paper observes that in sparse attention, the set of KV entries accessed by different queries overlaps substantially. Rather than processing queries one by one, QUILT reorganizes the computation so that shared KV entries are handled once and reused. This changes the prefill phase from a query-centric loop to a shared-data-centric one, cutting redundant memory traffic and arithmetic.
Because the source is a single arXiv abstract, the reported gains are not yet detailed here, and the paper's full evaluation is not covered. Still, the core idea is a useful rethinking of sparse-attention prefill: instead of optimizing each query's path, exploit the overlap that already exists across queries. The result could be faster long-context inference with the same sparse-attention accuracy, though that remains to be confirmed by the full paper.