paper-with-me

Papers

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, and fine-tuning costs. We propose VSPrefill, a mechanism requiring lightweight training that uses the vertical-slash structural pattern in attention distributions. Our compact VSIndexer module predicts context-aware importance scores for vertical columns and slash diagonals from key-value representations augmented with RoPE. This approach constructs sparse masks with linear complexity without modifying the backbone parameters. During inference, an adaptive cumulative-threshold strategy allocates sparsity budgets per layer, while a fused kernel executes attention with on-the-fly index merging. Evaluated on Qwen3-4B-Instruct and LLaMA-3.1-8B-Instruct across the LongBench and RULER benchmarks, VSPrefill preserves 98.35% of the full attention accuracy while delivering a 4.95x average speedup at a context length of 128k. These results establish a new Pareto frontier in the trade-off between accuracy and efficiency.

📄 PDF Abstract BibTeX arXiv:2603.04460

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

VecAttention: Vector-wise Sparse Attention for Accelerating Long Context Inference

2026-03-31 · Anmin Liu, Ruixuan Yang, Huiqiang Jiang, Bin Lin 외 arxiv

Long-context video understanding and generation pose a significant computational challenge for Transformer-based video models due to the quadratic complexity of self-attention. While existing sparse attention methods emp…

FlashPrefill: Instantaneous Pattern Discovery and Thresholding for Ultra-Fast Long-Context Prefilling

2026-03-06 · Qihang Fan, Huaibo Huang, Zhiying Wu, Juqiu Wang 외 arxiv

Long-context modeling is a pivotal capability for Large Language Models, yet the quadratic complexity of attention remains a critical bottleneck, particularly during the compute-intensive prefilling phase. While various …

MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attention

2024-07-02 · Huiqiang Jiang, Yucheng Li, Chengruidong Zhang, Qianhui Wu 외

The computational challenges of Large Language Model (LLM) inference remain a significant barrier to their widespread deployment, especially as prompt lengths continue to increase. Due to the quadratic complexity of the …

GPULanguage ModellingLarge Language Model

CRISP: Cliff-awaRe Input-adaptive Sparse Prefilling with Structural-Mass-Motivated Routing

2026-09-01 · Huu Huy Nguyen, Chien Van Nguyen, Franck Dernoncourt, Ryan A. Rossi 외 hf

The attention prefilling phase of long-context LLM inference scales quadratically, making self-attention a severe computational bottleneck. Traditional sparse attention methods mitigate this through fixed patterns or off…

SLASH the Sink: Sharpening Structural Attention Inside LLMs

2026-05-11 · Yiming Liu, Bin Lu, Xinbing Wang, Chenghu Zhou 외 arxiv

Large Language Models (LLMs) show remarkable semantic understanding but often struggle with structural understanding when processing graph topologies in a serialized format. Existing solutions rely on training external g…