TileWeave: Heterogeneous Tiling for Sparse Prefill on Mobile SoCs
Wentao Ni, Hong Cai, Mingu Lee, Chihao Yu, Zhongming Yu, Hejia Zhang, Kangqi Zhang, Fatih Porikli,
Key points
From the paper's conclusion- On Snapdragon SM8750 and SM8850 phones, it achieves 1.35--3.23$\times$ faster full-model prefill than XAttention over 1k--16k tokens and up to 1.58$\times$ faster than dense attention.
Abstract
Smartphone applications increasingly require large language models to process long contexts, whereas high prefill latency and memory demands constrain local inference. Block-sparse attention reduces computation and memory traffic, but its irregular selections conflict with mobile NPUs' preference for large, regular tiles. Efficient execution must exploit cross-query reuse while avoiding redundant computation and preserving selections needed for accuracy. In this paper, we present TileWeave, which partitions sparse attention by this cross-query reuse: highly shared key blocks run in coarse NPU tiles, while low-reuse blocks run on the GPU only for the query blocks that selected them. In addition, we design an NPU-native pooled-key selector that keeps selection inexpensive, and a runtime that publishes GPU partials in the order the NPU consumes them and merges them in its existing output store. On RULER, HeteroSparse matches XAttention's accuracy with Qwen3-1.7B and improves it with Llama-3.2-3B-Instruct; its mean LongBench scores match XAttention as well. On Snapdragon SM8750 and SM8850 phones, it achieves 1.35--3.23$\times$ faster full-model prefill than XAttention over 1k--16k tokens and up to 1.58$\times$ faster than dense attention.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- TileMix: Tile-Centric Mixed-Precision Attention for LLM Inference AccelerationarXiv · 2026
- XM-Sparse: High-Throughput Sparse-Attention LLM Serving over Scale-up Memory PoolsarXiv · 2026
- QUILT: Rethinking Sparse-Attention Prefill through Shared Query ExecutionarXiv · 2026
- NeuroPrefetcher: Storage-Aware Sparse LLM Inference via Delta PrefetchingarXiv · 2026
- QASparse: Query-Adaptive Sparse Attention with Tailored Budgets and TokensarXiv · 2026
- AVSG: Accelerated Vectorized Sparse Gather for Efficient KV Cache Offload in Sparse-Attention LLM ServingarXiv · 2026