paper-with-me

Papers

UniPrefill: Universal Long-Context Prefill Acceleration via Block-wise Dynamic Sparsification

2026-05-07 · Qihang Fan, Huaibo Huang, Zhiying Wu, Bingning Wang, Ran He arxiv

As large language models (LLMs) continue to advance rapidly, they are becoming increasingly capable while simultaneously demanding ever-longer context lengths. To improve the inference efficiency of long-context processing, several novel low-complexity hybrid architectures have recently been proposed, effectively alleviating the computational burden of long-context inference. However, existing research on long-context prefill acceleration remains predominantly focused on sparse attention mechanisms, which achieve their maximum speedup only on full-attention models. When transferred to emerging architectures--such as linear/full attention hybrids or sliding window/full attention hybrids--these prefill acceleration approaches suffer significant performance degradation. Furthermore, such methods are generally incompatible with continuous batching, making them difficult to integrate into modern inference engines such as vLLM. To this end, we propose UniPrefill, a prefill acceleration framework applicable to virtually any model architecture, which directly accelerates the model's computation at the token level. We further implement UniPrefill as a continuous batching operator and extend vLLM's scheduling strategy to natively support prefill-decode co-processing and tensor parallel for UniPrefill, enabling its seamless integration into vLLM. UniPrefill achieves up to 2.1x speedup in Time-To-First-Token (TTFT), with the acceleration becoming increasingly pronounced as the number of concurrent requests grows.

📄 PDF Abstract BibTeX arXiv:2605.06221

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Prefilling-dLLM: Predictive Prefilling for Long-Context Inference in Diffusion Language Models

2026-06-09 · Jing Xiong, Qi Han, Shansan Gong, Yunta Hsieh 외 arxiv

Diffusion large language models (dLLMs) re-encode the entire prefix at every denoising step, causing recomputation that scales quadratically with context length and becomes prohibitive for long-context scenarios. We prop…

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

ContextPilot: Fast Long-Context Inference via Context Reuse

2025-11-05 · Yinsicheng Jiang, Yeqi Huang, Liang Cheng, Cheng Deng 외 arxiv

AI applications increasingly depend on long-context inference, where LLMs consume substantial context to support stronger reasoning. Common examples include retrieval-augmented generation, agent memory layers, and multi-…

Mix-Quant: Quantized Prefilling, Precise Decoding for Agentic LLMs

2026-05-19 · Haiquan Lu, Zigeng Chen, Gongfan Fang, Xinyin Ma 외 arxiv

LLM agents have recently emerged as a powerful paradigm for solving complex tasks through planning, tool use, memory retrieval, and multi-step interaction. However, these agentic workflows often introduce substantial inp…

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

2026-08-18 · Hanzhi Zhang, Qiao Zhang, Qinglei Cao, Heng Fan 외 arxiv

Long-context prefill in large language models (LLMs) incurs substantial computation and memory traffic because dense self-attention computes quadratic query-key scores. Existing methods either use a uniform low-precision…