paper-with-me

Papers

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

2026-06-09 · Jing Xiong, Qi Han, Shansan Gong, Yunta Hsieh, Chengyue Wu, Chaofan Tao, Chenyang Zhao, Ngai Wong 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 propose Prefilling-dLLM, a training-free prefill-decode disaggregation framework for dLLMs that partitions the prefix into N chunks, caches their KV representations once, and selects the top-K most relevant chunks with intra-chunk token sparsity for decoding, showing that sparse prefilling can outperform dense attention while reducing per-step complexity from quadratic in the full sequence length to quadratic only in the decode length. On LongBench and InfiniteBench, Prefilling-dLLM achieves state-of-the-art quality among dLLM acceleration methods, and an attention kernel that parallelizes decoding over the non-contiguously cached chunk KV yields 9.1--28.0x speedup at 8K--32K contexts. We further show that beginning-of-sequence tokens prepended to each chunk act as periodic attention anchors that eliminate the lost-in-the-middle phenomenon. Code is available at https://github.com/menik1126/Prefilling-dLLM.

📄 PDF Abstract BibTeX arXiv:2606.10537

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

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

A2D: Any-Order, Any-Step Safety Alignment for Diffusion Language Models

2025-09-27 · Wonje Jeung, Sangyeon Yoon, Yoonjun Cho, Dongjae Jeon 외 arxiv

Diffusion large language models (dLLMs) enable any-order generation, but this flexibility enlarges the attack surface: harmful spans may appear at arbitrary positions, and template-based prefilling attacks such as DIJA b…

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…

Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models

2024-04-15 · Siyan Zhao, Daniel Israel, Guy Van Den Broeck, Aditya Grover

During inference for transformer-based large language models (LLM), prefilling is the computation of the key-value (KV) cache for input tokens in the prompt prior to autoregressive generation. For longer input prompt len…

LazyLLM: Dynamic Token Pruning for Efficient Long Context LLM Inference

2024-07-19 · Qichen Fu, Minsik Cho, Thomas Merth, Sachin Mehta 외

The inference of transformer-based large language models consists of two sequential stages: 1) a prefilling stage to compute the KV cache of prompts and generate the first token, and 2) a decoding stage to generate subse…

Question Answering