Explore the research collection
4 entries · Follow this search
- Paper
HySparse2: Hybrid Sparse Attention with Two-Level KV Sharing
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.
- Paper
Emergent Capabilities Arise Randomly from Learning Sparse Attention Patterns
NYU (18 pp / 13 figs). On Pythia 14M–410M × 10 seeds, copy, in-context repetition, pattern completion, and IOI appear at random training steps; larger models find them earlier and more often. Patching the top-K post-emergence attention maps into the previous checkpoint elicits the skill, so attention-pattern search is the bottleneck rather than a metric illusion. Synthetic linear-map (sparse Ax mod 2) and cellular-automata tasks: difficulty is governed by context length and medium sparsity; biasing attention logits to the ground-truth pattern removes the loss plateau. More heads help; MLP-Mixer beats a transformer by ~10× on linear maps but loses on automata. Dyck/NCA pre-pretraining has mixed effects on emergence timing. No official code on the abs.
- Other
Flash-MSA: Accelerating Million-Token Training With Sparse Attention Kernels
Flash-MSA implements MSA training (proxy block-sparse attention + fused proxy/main backward with an atomic KL trick so proxy grad = p_proxy − p_main) in CuTeDSL for H100/B200, CUDA 13. Tweet claims 400%+ speedup vs dense flash at long context. Warmup kernels run dense flash then train the proxy in the backward. Correctness vs eager PyTorch cosine sim typically ≥0.998. Requires adding kernel KL loss to CE. Inference kernels remain MiniMax-AI/MSA.
- Paper
LongCat Sparse Attention: Taming the Lightning via Streaming-aware Hierarchical Cross-Layer Indexing
LongCat Sparse Attention (LSA) composes three indexer changes on DSA: Streaming-Aware Indexing (sink+sliding-window contiguous budget plus dynamic sparse tokens for coalesced HBM), Cross-Layer Indexing (N=2 owner/reuse with distillation; halves indexer passes), and training-free Hierarchical Indexing (coarse page recall then token refine; net win at >=256K). Matches full MLA on general/long-context benches at 69B-A3B and 560B-A27B, enables 1M-token native training, and underpins LongCat-2.0 (1.6T-A48B). Releases LongCat-Flash-Lite-Sparse (69B-A3B).