QUOKA: Query-Oriented KV Selection For Efficient LLM Prefill
Dalton Jones, Junyoung Park, Matthew Morse, Mingu Lee, Chris Lott, Harper Langston

TL;DR
QUOKA is a training-free, hardware-agnostic sparse attention method that accelerates transformer inference by selectively focusing on low similarity queries and their aligned keys, significantly reducing computation while maintaining accuracy.
Contribution
It introduces a novel query-oriented key-value selection technique that approximates full attention efficiently without training, applicable across hardware platforms.
Findings
3x reduction in time-to-first-token
5x speedup on Nvidia GPUs
up to 7x speedup on Intel CPUs
Abstract
We present QUOKA: Query-oriented KV selection for efficient attention, a training-free and hardware agnostic sparse attention algorithm for accelerating transformer inference under chunked prefill. While many queries focus on a smaller group of keys in the attention operator, we observe that queries with low cosine similarity with respect to the mean query interact more strongly with more keys and have the greatest contribution to final attention logits. By prioritizing these low cosine similarity queries, the behavior of full attention during the prefill stage can be closely approximated. QUOKA leverages this observation, accelerating attention by (1) first retaining a small set of representative queries and (2) then subselectin the keys most aligned with those queries. Through experiments on Needle-In-A-Haystack, LongBench, RULER, and Math500, we show that, while realizing a 3x…
Peer Reviews
Decision·ICLR 2026 Poster
- The proposed method is well-motivated with insight experiments - The pseudo-code is extremely helpful in understanding the method - The experiment is solid
- Some explanations of the claims are confusing
Strengths 1. Great experimental breadth and strong performance compared to baselines. The experiments cover multiple benchmarks and baselines. 2. Easy to understand algorithm.
1. The approach is not very principled. While it is true that queries with high similarity with K will have low similarity with Mean(Q) due to OOD nature of query and key distributions (this is what theorem says), the converse is not true (this is what you want for efficiency) . It is especially not true in high dimensions -- where it is highly likely that queries with low similarity with Mean(Q) would also have low similarity with K. So this being a critical component of algorithm is unsettli
- The evaluation is comprehensive and the reported results are impressive. - The proposed method is clearly described, and the paper is easy to follow.
- Hardware efficiency may degrade due to the small chunk size and discontinuous KV selection.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsBig Data and Digital Economy · Advanced Neural Network Applications · Data Quality and Management
