paper-with-me

홈 › Papers

HySparse: A Hybrid Sparse Attention Architecture with Oracle Token Selection and KV Cache Sharing

2026-02-03 · Yizhao Gao, Jianyu Wei, Qihao Zhang, Yu Cheng, Shimao Chen, Zhengju Tang, Zihan Jiang, Yifan Song, Hailin Zhang, Liang Zhao, Bo Yang, Gang Wang, Shijie Cao, Fuli Luo arxiv

This work introduces Hybrid Sparse Attention (HySparse), a new architecture that interleaves each full attention layer with several sparse attention layers. While conceptually simple, HySparse strategically derives each sparse layer's token selection and KV caches directly from the preceding full attention layer. This architecture resolves two fundamental limitations of prior sparse attention methods. First, conventional approaches typically rely on additional proxies to predict token importance, introducing extra complexity and potentially suboptimal performance. In contrast, HySparse uses the full attention layer as a precise oracle to identify important tokens. Second, existing sparse attention designs often reduce computation without saving KV cache. HySparse enables sparse attention layers to reuse the full attention KV cache, thereby reducing both computation and memory. We evaluate HySparse on both 7B dense and 80B MoE models. Across all settings, HySparse consistently outperforms both full attention and hybrid SWA baselines. Notably, in the 80B MoE model with 49 total layers, only 5 layers employ full attention, yet HySparse achieves substantial performance gains while reducing KV cache storage by nearly 10x.

📄 PDF Abstract BibTeX arXiv:2602.03560

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

How Much Dense Attention is Necessary? Oracle-Guided Sparse Prefill for Full/GQA Layers in Hybrid Long-Context Models

2026-06-05 · Hongxing Wang, Harenome Razanajato, Zhen Zhang, Yujie Yuan 외 arxiv

Long-context prefill remains expensive because full/GQA layers still score the historical sequence, even in hybrid models with local, sparse, linear, or recurrent components. We study how much dense attention is needed t…

LT2: Linear-Time Looped Transformers

2026-05-20 · Chunyuan Deng, Yizhe Zhang, Rui-Jie Zhu, Yuanyuan Xu 외 arxiv

Looped Transformers (LT) have emerged as a powerful architecture by iterating their layers multiple times before decoding the final token. However, pairing them with full attention retains quadratic complexity, making th…

MiniCPM-SALA: Hybridizing Sparse and Linear Attention for Efficient Long-Context Modeling

2026-02-12 · MiniCPM Team, Wenhao An, Yingfa Chen, Yewei Fang 외 arxiv

The evolution of large language models (LLMs) towards applications with ultra-long contexts faces challenges posed by the high computational and memory costs of the Transformer architecture. While existing sparse and lin…

Sparse, Dense, and Attentional Representations for Text Retrieval

2020-05-01 · Yi Luan, Jacob Eisenstein, Kristina Toutanova, Michael Collins

Dual encoders perform retrieval by encoding documents and queries into dense lowdimensional vectors, scoring each document by its inner product with the query. We investigate the capacity of this architecture relative to…

Open-Domain Question AnsweringRetrievalText Retrieval

H-SGANet: Hybrid Sparse Graph Attention Network for Deformable Medical Image Registration

2024-08-29 · Yufeng Zhou, Wenming Cao

The integration of Convolutional Neural Network (ConvNet) and Transformer has emerged as a strong candidate for image registration, leveraging the strengths of both models and a large parameter space. However, this hybri…

Deformable Medical Image RegistrationGPUGraph AttentionGraph Neural Network+2