Reproduce “PageWeaver: KV-Guided Query Unions for Sparse Attention” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Zhiyuan Li, Zihan Li, Zefang Yuan, Lei Wang, Hao Wang
PageWeaver groups queries with overlapping selected key/value pages for sparse-attention prefill, preserving each query’s selected pages and output row. It greedily forms bounded groups from current selections and accounts for online grouping cost. Across six H200 MiniMax-M3 captures, Union8 is 1.701× faster than measured FlashInfer; this base-kernel result does not measure regrouping’s gain alone.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.