# TileWeave: Heterogeneous Tiling for Sparse Prefill on Mobile SoCs

DevFeed: [TileWeave: Heterogeneous Tiling for Sparse Prefill on Mobile SoCs](<https://devfeed.tech/articles/tileweave-heterogeneous-tiling-for-sparse-prefill-on-mobile-socs-114376.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.00408>)

Author: Wentao Ni, Hong Cai, Mingu Lee, Chihao Yu, Zhongming Yu, Hejia Zhang, Kangqi Zhang, Fatih Porikli, Zhijian Liu, Jishen Zhao

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Machine Learning](<https://devfeed.tech/sources/arxiv-machine-learning.md>)

Topics: [ai-on-mobile](<https://devfeed.tech/topics/ai-on-mobile.md>), [Local AI](<https://devfeed.tech/topics/local-ai.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [long-context](<https://devfeed.tech/topics/long-context.md>)

Tags: [attention](<https://devfeed.tech/tags/attention.md>), [cs-lg](<https://devfeed.tech/tags/cs-lg.md>), [faster](<https://devfeed.tech/tags/faster.md>), [gpu](<https://devfeed.tech/tags/gpu.md>), [language-models](<https://devfeed.tech/tags/language-models.md>), [local-inference](<https://devfeed.tech/tags/local-inference.md>), [mobile](<https://devfeed.tech/tags/mobile.md>), [npu](<https://devfeed.tech/tags/npu.md>), [prefill](<https://devfeed.tech/tags/prefill.md>), [reuse](<https://devfeed.tech/tags/reuse.md>), [ruler](<https://devfeed.tech/tags/ruler.md>), [runtime](<https://devfeed.tech/tags/runtime.md>), [selection](<https://devfeed.tech/tags/selection.md>), [snapdragon](<https://devfeed.tech/tags/snapdragon.md>), [tiling](<https://devfeed.tech/tags/tiling.md>), [tokens](<https://devfeed.tech/tags/tokens.md>)

## AI overview

TileWeave accelerates sparse LLM prefill on mobile SoCs by routing highly reused key blocks to coarse NPU tiles and low-reuse blocks to the GPU only for queries that selected them. It also uses an NPU-native pooled-key selector and schedules GPU partials for merging in the NPU's output store. On RULER, HeteroSparse matches XAttention's accuracy with Qwen3-1.7B and improves it with Llama-3.2-3B-Instruct; mean LongBench scores match XAttention. On Snapdragon SM8750 and SM8850 phones, full-model prefill is reported 1.35-3.23x faster than XAttention across 1k-16k tokens, and up to 1.58x faster than dense attention.

## Source excerpt

arXiv:2611.00408v1 Announce Type: new 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.