QUILT sparse attention mechanism
QUILT: Rethinking Sparse-Attention Prefill through Shared Query Execution
QUILT addresses a fundamental inefficiency in sparse attention kernels by eliminating redundant memory operations through cross-query reuse. This approach significantly improves performance for long-context models without compromising accuracy, making it particularly valuable for developers working with large language models like GLM-5.3 and DeepSeek-3.2 that process extensive sequences.
QUILT is a sparse-attention execution mechanism that jointly processes neighboring queries and reuses shared KV entries.
It introduces Shift-and-Compare Set Decomposition (SCSD) to transform irregular set operations into regular data-parallel primitives.
Evaluated on LongBench using GLM-5.3 and DeepSeek-3.
2, QUILT reduces average kernel latency by up to 55.1% and processed KV data by up to 55.
9%, while reducing TTFT latency by up to 36.8% with negligible accuracy degradation.
QUILT: Rethinking Sparse-Attention Prefill through Shared Query Execution
Sparse attention reduces the cost of long-context attention, but existing kernels typically process queries independently, repeatedly loading and dequantizing KV entries shared across queries. We observe substantial overlap in the KV entries selected by neighboring queries, creating opportunities for cross-query reuse. We present QUILT, a workload-aware sparse-attention execution mechanism that jointly processes neighboring queries and reuses shared KV entries to reduce redundant memory traffic and computation. QUILT introduces Shift-and-Compare Set Decomposition (SCSD), which transforms irregular set operations into regular data-parallel primitives suitable for modern accelerators, and pipelines SCSD with attention computation to hide its overhead. Cascaded sharing captures reuse hierarchically at multiple granularities. A tile-aware execution strategy balances sharing granularity with hardware tile utilization and selectively removes low-importance query-specific tails to eliminate underutilized tiles. We evaluate QUILT on LongBench using GLM-5.3 and DeepSeek-3.2 under both tensor and sequence parallelism. Compared with the state-of-the-art sparse-attention kernel, QUILT reduces average kernel latency by up to 55.1% and processed KV data by up to 55.9%, while reducing time-to-first-token (TTFT) latency by up to 36.8% with negligible accuracy degradation.
This report is categorized under AITOP's "Papers" desk, focusing on China's AI industry and domestic foundation model ecosystem. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include QUILT, sparse attention, GLM-5.3, DeepSeek-3.2.
Primary source verification: published directly by arXiv: DeepSeek with first-party authority.