# HySparse2: Hybrid Sparse Attention with Two-Level KV Sharing

- **ID:** 1031
- **Kind:** paper
- **URL:** https://arxiv.org/abs/2609.26368
- **Authors:** Jianyu Wei*, Yizhao Gao*, Qihao Zhang, Shimao Chen, Zhengju Tang, Yu Cheng, Shengjie Zhou, Zihan Jiang, Yifan Song, Hailin Zhang, Liang Zhao, Bo Yang, Gang Wang, Shijie Cao⋄, Fuli Luo⋄† (*equal, ⋄corresponding, †team lead)
- **Venue:** LLM-Core Xiaomi / arXiv
- **Publisher:** LLM-Core Xiaomi / arXiv
- **Published:** 2026
- **Source:** arxiv
- **Language:** en
- **Access:** PDF https://arxiv.org/pdf/2609.26368 ; abs https://arxiv.org/abs/2609.26368 ; HTML https://arxiv.org/html/2609.26368 ; AlphaXiv https://alphaxiv.org/abs/2609.26368 ; local dump /workspace/curator/research/arxiv-2609.26368/
- **License:** arXiv preprint (standard arXiv terms); no separate code license found
- **License family:** Other (auto-classified)
- **Tags:** hysparse2, hysparse, xiaomi, sparse-attention, kv-bridging, kv-reuse, yoco, swa, token-level-sparsity, long-context, agentic, moe, 80b-a3b, ruler-v2, mrcr-v2
- **Topics:** sparse attention; KV cache; long-context; agentic inference; YOCO; MoE; prefill efficiency
- **Added:** 2026-09-24
- **Verified:** 2026-09-24
- **Research status:** done
- **Needs deep evaluation:** no
- **Page:** https://papers.projxon.ai/entries/1031

## Summary

Xiaomi LLM-Core paper (arXiv 2609.26368v1, 2026-09-22, cs.CL). HySparse2 extends HySparse with YOCO-style self-decoder (hybrid SWA) + cross-decoder (hybrid sparse attention) and two-level KV sharing: outer KV Bridging (full-attention layers only; cross-decoder K/V from self-decoder full-attn hidden states) and inner KV Reuse (HySparse-style shared KV + selection within hybrid blocks). Refinements vs HySparse: token-level sparsity (replacing block-level) and Forced SWA (recent tokens forced into sparse selection, no separate SWA branch). All cross-decoder KV can be built from self-decoder states, so prefill can exit after the self-decoder (~half the model). On matched 80B-A3B MoE training: after light post-training (~100B tokens), mean MRCR-v2 / RULER-v2 +11.30 / +19.81 vs HySparse; at 256k RULER-v2 58.45 vs HySparse 32.61 / Hybrid SWA 35.74; lower AgentPPL and LongPPL to 256k; at 1M tokens analysis claims 2.92× / 5.02× less prefill FLOPs vs HySparse / Hybrid SWA plus smaller KV cache. No public code link in paper; AlphaXiv abs live; HF papers page 404 at catalog time.

## Attributes

- **Purpose:** Hybrid sparse-attention architecture with two-level KV sharing for efficient long-horizon multi-turn agent prefill and retrieval
- **Scale:** 80B-A3B MoE experiments; contexts evaluated to 256k (quality) / analysis to 1M tokens; ~100B post-train tokens
- **Domain:** sparse attention; KV cache; long-context; agentic inference; YOCO; MoE; prefill efficiency
- **Used for:** Long-context sparse attention design; agent prefill optimization; compare to HySparse / YOCO / Hybrid SWA
- **Time period:** arXiv submitted/announced 2026-09-22 (v1)
- **Author type:** industry (Xiaomi LLM-Core)

## From the source (fetched 2026-10-03)

- **Published:** Sep 22, 2026 (arXiv)
- **arXiv categories:** cs.CL (arXiv)
- **Citations:** 0 (Semantic Scholar)
- **References:** 47 (Semantic Scholar)

## Abstract

Long-horizon and multi-turn agents typically generate short actions and process long observations from tools and environments. This growing context demands efficient prefill, compact KV-cache storage, and accurate long-context retrieval. To meet these demands, we introduce HySparse2, a hybrid sparse attention architecture with two-level KV sharing. At the outer level, KV Bridging adopts a YOCO-style self-decoder and cross-decoder structure, but bridges only full-attention layers. The self-decoder uses hybrid sliding-window attention (SWA), while the cross-decoder uses hybrid sparse attention. The KV caches for full-attention layers in the cross-decoder are generated from the hidden states of full-attention layers in the self-decoder. At the inner level, HySparse2 retains HySparse's core KV Reuse design with two refinements. First, it replaces block-level sparsity with token-level sparsity for finer long-context retrieval. Second, it removes the separate SWA branch from sparse layers and instead forces a sliding window of recent tokens into the sparse selection. This two-level KV sharing allows all cross-decoder KV caches to be constructed from self-decoder hidden states. Prefill can therefore exit after the self-decoder, skipping all cross-decoder layers. On an 80B-A3B MoE model, HySparse2 outperforms HySparse and Hybrid SWA on long-context retrieval and multi-turn agentic tasks, while substantially reducing prefill computation and KV-cache storage.

## Research notes

- Cataloged 2026-09-23T22:02:08-04:00 from user PDF link https://arxiv.org/pdf/2609.26368. Parsed abs meta + pdftotext of paper.pdf. Prior HySparse cited as Gao et al. 2026 (not separately linked as code). No github/hf model release found in paper body. Cross-ref RRSI/agent harness papers only thematically. Local: paper.pdf, paper.txt, abs.html, html.html.

## Cites, within this collection

- [Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Free](https://papers.projxon.ai/entries/535) (paper 2025, #535)

## Related entries

- Discussed in: [Mixture-of-experts language models: where the work is (overview)](https://papers.projxon.ai/entries/1206) (note, #1206)
- Discussed in: [Long context: three bets and a weak spot in evaluation (overview)](https://papers.projxon.ai/entries/1208) (note, #1208)

## Similar entries

- [Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilities](https://papers.projxon.ai/entries/1110) (paper, #1110)
- [LongCat Sparse Attention: Taming the Lightning via Streaming-aware Hierarchical Cross-Layer Indexing](https://papers.projxon.ai/entries/452) (paper, #452)
- [K2 Horizon: six fully open models from 0.9B to 375B (IFM)](https://papers.projxon.ai/entries/761) (model, #761)
- [Kolibri-1: 78B Open-Weight MoE with 3.46B Active Parameters and Hybrid SWA](https://papers.projxon.ai/entries/1223) (model, #1223)
- [Full-Pipeline Inference Optimization for MiMo-V2.5 Series: Pushing Hybrid SWA Efficiency to the Limit](https://papers.projxon.ai/entries/468) (paper, #468)
- [Pokee-Isaac 28B: A 10M-Token Context Efficient Agentic Model Technical Report](https://papers.projxon.ai/entries/1090) (paper, #1090)
