paper-with-me

홈 › Papers

Long-Context Attention Benchmark: From Kernel Efficiency to Distributed Context Parallelism

2025-10-19 · Tao Bu, Qiangang Wang, Bowen Zeng, Hanwen Sun, Yunpeng Huang, Chun Cao, Jingwei Xu arxiv

Transformer-based large language models (LLMs) have achieved remarkable success, yet their standard attention mechanism incurs quadratic computation and memory costs with respect to sequence length, posing a major bottleneck for long-context training. Prior work tackles this challenge along two directions: (1) kernel-level optimizations, which accelerate dense and sparse attention operators; and (2) module-level strategies, often referred to as distributed attention or context parallel training, which scale attention across multiple devices. However, systematic evaluation still remains limited: operator-level comparisons are often incomplete, while context parallel strategies are typically framework-specific, with unclear performance analysis across contexts. To address these gaps, we propose a unified benchmark that integrates representative attention kernels and context parallel mechanisms with a modular and extensible interface for evaluation. The benchmark evaluates methods along two critical dimensions: (1) attention mask patterns, which strongly affect efficiency, scalability, and usability, and (2) sequence length and distributed scale, which determine performance under extreme long-context training. Through comprehensive experiments on the cluster of up to 96 GPUs, our benchmark enables reproducible comparisons, highlights method-specific trade-offs, and provides practical guidance for designing and deploying attention mechanisms in long-context LLM training.

📄 PDF Abstract BibTeX arXiv:2510.17896

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SALE : Low-bit Estimation for Efficient Sparse Attention in Long-context LLM Prefilling

2025-05-30 · Xiaodong Ji, Hailin Zhang, Fangcheng Fu, Bin Cui

Many advanced Large Language Model (LLM) applications require long-context processing, but the self-attention module becomes a bottleneck during the prefilling stage of inference due to its quadratic time complexity with…

Large Language Model

CoSA: Accelerating Long-Context Inference via Proxy-Kernel Co-Designed Sparse Attention

2026-07-28 · Yufei Xue, Lin Niu, Hong Liu, Siran Liu 외 arxiv

The quadratic cost of self-attention makes long-context inference prohibitively expensive, and proxy-based block-sparse attention has become a practical remedy. Existing methods typically rely on a proxy to predict a bin…

VSPrefill: Vertical-Slash Sparse Attention with Lightweight Indexing for Long-Context Prefilling

2026-03-03 · Chen Guanzhong arxiv

The quadratic complexity of self-attention during the prefill phase impedes long-context inference in large language models. Existing sparse attention methods face a trade-off among context adaptivity, sampling overhead,…

Attention-aware Inference Optimizations for Large Vision-Language Models with Memory-efficient Decoding

2026-03-25 · Fatih Ilhan, Gaowen Liu, Ramana Rao Kompella, Selim Furkan Tekin 외 arxiv

Large Vision-Language Models (VLMs) have achieved remarkable success in multi-modal reasoning, but their inference time efficiency remains a significant challenge due to the memory overhead during decoding, especially wh…

Efficient Long-context Language Model Training by Core Attention Disaggregation

2025-10-20 · Yonghao Zhuang, Junda Chen, Bo Pang, Yi Gu 외 arxiv

We present core attention disaggregation (CAD), a technique that improves long-context large language model training by decoupling the core attention computation, softmax(QK^T)V, from the rest of the model and executing …