paper-with-me

홈 › Papers

FlashBlock: Attention Caching for Efficient Long-Context Block Diffusion

2026-02-05 · Zhuokun Chen, Jianfei Cai, Bohan Zhuang arxiv

Generating long-form content, such as minute-long videos and extended texts, is increasingly important for modern generative models. Block diffusion improves inference efficiency via KV caching and block-wise causal inference and has been widely adopted in diffusion language models and video generation. However, in long-context settings, block diffusion still incurs substantial overhead from repeatedly computing attention over a growing KV cache. We identify an underexplored property of block diffusion: cross-step redundancy of attention within a block. Our analysis shows that attention outputs from tokens outside the current block remain largely stable across diffusion steps, while block-internal attention varies significantly. Based on this observation, we propose FlashBlock, a cached block-external attention mechanism that reuses stable attention output, reducing attention computation and KV cache access without modifying the diffusion process. Moreover, FlashBlock is orthogonal to sparse attention and can be combined as a complementary residual reuse strategy, substantially improving model accuracy under aggressive sparsification. Experiments on diffusion language models and video generation demonstrate up to 1.44$\times$ higher token throughput and up to 1.6$\times$ reduction in attention time, with negligible impact on generation quality. Project page: https://caesarhhh.github.io/FlashBlock/.

📄 PDF Abstract BibTeX arXiv:2602.05305

Code (0)

등록된 구현이 없습니다.

Tasks

Causal InferenceVideo Generation

Similar Papers 제목 키워드 기반

MAGE: All-[MASK] Block Already Knows Where to Look in Block Diffusion LLM

2026-02-15 · Omin Kwon, Yeonjae Kim, Doyeon Kim, Minseo Kim 외 arxiv

Block diffusion LLMs are an emerging paradigm for parallel language generation, but their KV caching makes memory access the dominant bottleneck in long-context inference. Sparse attention, which attends only to a small …

Training Hybrid Block Diffusion Language Models with Partial Bidirectionality

2026-07-02 · Pranshu Chaturvedi, Parth Shroff, Tarun Suresh, Hangoo Kang 외 arxiv

High-throughput long-context generation is one of the central challenges for large language models. Generation is typically memory-bandwidth-bound rather than compute-bound: each decoding step must stream the accumulated…

UltraQuant: 4-bit KV Caching for Context-Heavy Agents

2026-06-18 · Inesh Chakrabarti, David Limpus, Aditi Ghai Rana, Bowen Bao 외 arxiv

Context-heavy agents place unusual pressure on the key-value (KV) cache: long prefixes are reused across many short turns, while concurrency determines whether the serving system can keep GPUs utilized. We study 4-bit KV…

Token Caching for Diffusion Transformer Acceleration

2024-09-27 · Jinming Lou, Wenyang Luo, Yufan Liu, Bing Li 외

Diffusion transformers have gained substantial interest in diffusion generative modeling due to their outstanding performance. However, their high computational cost, arising from the quadratic computational complexity o…

DenoisingScheduling

LazyAttention: Efficient Retrieval-Augmented Generation with Deferred Positional Encoding

2026-06-03 · Haocheng Xia, Mihir Pamnani, Hanxi Fang, Supawit Chockchowwat 외 arxiv

Key-value (KV) caching accelerates inference of large language models (LLMs) by reusing past computations for generated tokens. Its importance becomes even greater in long-context applications such as retrieval-augmented…