paper-with-me

Papers

QUOKA: Query-Oriented KV Selection For Efficient LLM Prefill

2026-02-09 · Dalton Jones, Junyoung Park, Matthew Morse, Mingu Lee, Chris Lott, Harper Langston arxiv

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 reduction in time-to-first-token, 5x speedup in attention on Nvidia GPUs and up to nearly a 7x speedup on Intel Xeon CPUs, QUOKA achieves near-baseline accuracy, utilizing 88% fewer key-value pairs per attention evaluation.

📄 PDF Abstract BibTeX arXiv:2602.08722

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

CompactAttention: Accelerating Chunked Prefill with Block-Union KV Selection

2026-05-16 · Jiwon Song, Dongwon Jo, Beomseok Kang, Jae-Joon Kim arxiv

Chunked prefill has become a widely adopted serving strategy for long-context large language models, but efficient attention computation in this regime remains challenging. Existing sparse attention methods are primarily…

Quoka Atlas of Scholarly Knowledge Production: An Interactive Sensemaking Tool for Exploring the Outputs of Research Institutions

2021-09-16 · Benjamin Adams, Richard Hosking

The vast amount of research produced at institutions world-wide is extremely diverse, and coarse-grained quantitative measures of impact often obscure the individual contributions of these institutions to specific resear…

ArticlesInformation RetrievalRetrieval

LLM Router: Rethinking Routing with Prefill Activations

2026-03-21 · Tanay Varshney, Annie Surla, Michelle Xu, Gomathy Venkata Krishnan 외 arxiv

LLMs often achieve similar average benchmark accuracies while exhibiting complementary strengths on different subsets of queries, suggesting that a router with query-specific model selection can outperform any single mod…

CritiPrefill: A Segment-wise Criticality-based Approach for Prefilling Acceleration in LLMs

2024-09-19 · Junlin Lv, Yuan Feng, Xike Xie, Xin Jia 외

Large language models have achieved notable success across various domains, yet efficient inference is still limited by the quadratic computation complexity of the attention mechanism. The inference consists of prefillin…

GPU

What Happens Before Decoding? Prefill Determines GUI Grounding in VLMs

2026-05-10 · Jiaping Lin, Fei Shen, Junzhe Li, Ping Nie 외 arxiv

Existing training-free approaches for GUI grounding often rely on multiple inference runs, such as iterative cropping or candidate aggregation, to identify target elements. Despite this additional computation, each forwa…