cs.LGOct 30, 2026

TileWeave: Heterogeneous Tiling for Sparse Prefill on Mobile SoCs

Authors: Wentao Ni, Hong Cai, Mingu Lee, Chihao Yu, Zhongming Yu, Hejia Zhang, Kangqi Zhang, Fatih Porikli, 

Organizations: University of California, San Diego · Qualcomm AI Research · Purdue University · Inco AI

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.

Figures & tables

Appendix figures & tables6 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. QUILT: Rethinking Sparse-Attention Prefill through Shared Query Execution

    Oct 8, 2026Zhenduo Zhao, Qihui Zhou, Mingcong Song +7LLM Inference AccelerationSparse Attention

  2. TileMix: Tile-Centric Mixed-Precision Attention for LLM Inference Acceleration

    Aug 18, 2026Hanzhi Zhang, Qiao Zhang, Qinglei Cao +4LLM Inference AccelerationLong-Context Language Model Inference

  3. STEEL: Sparsity-Aware Fused Attention for Energy-Efficient Long-Sequence Inference on AMD's XDNA NPU

    Jul 10, 2026Victor J. B. Jung, Gagandeep Singh, Joseph Melber +3Efficient Transformer InferenceEnergy-Efficient ML