paper-with-me

홈 › Papers

ConSA: Controllable Sparsity in Hybrid Attention via Learnable Allocation

2026-06-16 · Yao Chen, Yinqi Yang, Junyuan Shang, Xiangzhao Hao, Simeng Zhang, Yilong Chen, Tingwen Liu, Shuohuan Wang, Dianhai Yu arxiv

Hybrid architectures combining full attention (FA) and sliding-window attention (SWA) are a promising paradigm for efficient LLM inference. However, existing methods typically rely on hand-crafted rules or simple post-hoc heuristics for FA/SWA allocation and offer limited analysis of the attention behaviors underlying these designs. We propose Controllable Sparsity in Hybrid Attention (ConSA), a framework that learns optimal FA/SWA assignment under a user-specified sparsity target. ConSA employs L0 regularization to learn binary masks selecting between FA and SWA for each attention unit, while an augmented Lagrangian constraint enforces the target sparsity at either layer or KV-head granularity. We evaluate ConSA on two LLMs at the 0.6B and 1.7B scales. Learned allocations consistently outperform rule-based baselines, with KV-head-wise allocation yielding clear gains over layer-wise allocation. The learned patterns place SWA in the bottom layers and concentrate FA into contiguous middle-layer blocks, diverging from evenly interleaved patterns in rule-based methods. This structure persists across model scales, sparsity levels, and allocation granularities, revealing a fine-grained spectrum of intrinsic attention behaviors that underlies the learned allocation.

📄 PDF Abstract BibTeX arXiv:2606.18056

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

Combining Neural Networks and Symbolic Regression for Analytical Lyapunov Function Discovery

2024-06-21 · Jie Feng, Haohan Zou, Yuanyuan Shi

We propose CoNSAL (Combining Neural networks and Symbolic regression for Analytical Lyapunov function) to construct analytical Lyapunov functions for nonlinear dynamic systems. This framework contains a neural Lyapunov f…

regressionSymbolic Regressionvalid

PATCH: Learnable Tile-level Hybrid Sparsity for LLMs

2025-09-27 · Younes Hourri, Mohammad Mozaffari, Maryam Mehri Dehnavi arxiv

Large language models (LLMs) deliver impressive performance but incur prohibitive memory and compute costs at deployment. Model pruning is an effective way to reduce these overheads, yet existing approaches face challeng…

RoPeSLR: 3D RoPE-driven Sparse-LowRank Attention for Efficient Diffusion Transformers

2026-05-20 · Yuxi Liu, Zekun Zhang, Yixiang Cai, Renjia Deng 외 arxiv

Diffusion Transformers (DiTs) have revolutionized high-fidelity video generation, yet their $\mathcal{O}(L^2)$ attention complexity poses a formidable bottleneck for long-sequence synthesis. While recent sparse-linear at…

Video Generation

A lower prevalence for recessive disorders in a random mating population is a transient phenomenon during and after a growth phase

2020-12-09 · Luis A. La Rocca, Julia Frank, Heidi Beate Bentzen, Jean-Tori Pantel 외

Despite increasing data from population-wide sequencing studies, the risk for recessive disorders in consanguineous partnerships is still heavily debated. An important aspect that has not sufficiently been investigated t…

SpargeAttention2: Trainable Sparse Attention via Hybrid Top-k+Top-p Masking and Distillation Fine-Tuning

2026-02-13 · Jintao Zhang, Kai Jiang, Chendong Xiang, Weiqi Feng 외 arxiv

Many training-free sparse attention methods are effective for accelerating diffusion models. Recently, several works suggest that making sparse attention trainable can further increase sparsity while preserving generatio…