Kwai Summary Attention Technical Report
On the map: LLM reasoning → Test-time compute and efficient thinking
also in 2 more
Abstract (arXiv)
Long-context ability, has become one of the most important iteration direction of next-generation Large Language Models, particularly in semantic understanding/reasoning, code agentic intelligence and recommendation system. However, the standard softmax attention exhibits quadratic time complexity with respect to sequence length. As the sequence length increases, this incurs substantial overhead in long-context settings, leading the training and inference costs of extremely long sequences deteriorate rapidly. Existing solutions mitigate this issue through two technique routings: i) Reducing the KV cache per layer, such as from the head-level compression GQA, and the embedding dimension-level compression MLA, but the KV cache remains linearly dependent on the sequence length at a 1:1 ratio. ii) Interleaving with KV Cache friendly architecture, such as local attention SWA, linear kernel GDN, but often involve trade-offs among KV Cache and long-context modeling effectiveness. Besides the two technique routings, we argue that there exists an intermediate path not well explored: Maintaining a linear relationship between the KV cache and sequence length, but performing semantic-level compression through a specific ratio k. This O(n/k) path does not pursue a ``minimum KV cache'', but rather trades acceptable memory costs for complete, referential, and interpretable retention of long distant dependency. Motivated by this, we propose Kwai Summary Attention (KSA), a novel attention mechanism that reduces sequence modeling cost by compressing historical contexts into learnable summary tokens.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in Test-time compute and efficient thinking, one of 17 directions in LLM reasoning. Builds on 56 of its 64 references that are in the map. First posted on arXiv 27 Apr 2026.
Builds on
56 of 64 references.
Closest ancestors · 1
Same direction, newest first
Other references · 55
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2025Qwen3 Technical Reportcited by 8,195
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2020Measuring Massive Multitask Language Understandingcited by 7,768
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2022Scalable Diffusion Models with Transformerscited by 5,931
- 2021Measuring Mathematical Problem Solving With the MATH Datasetcited by 5,203
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2021Zero-Shot Text-to-Image Generationcited by 4,276
38 more
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023Mistral 7Bcited by 3,065
- 2024Qwen2 Technical Reportcited by 2,076
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2024MMLU-Pro: A More Robust and Challenging Multi-Task Language Understanding Benchmarkcited by 1,758
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
- 2026DeepSeek-V4: Towards Highly Efficient Million-Token Context Intelligencecited by 877
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 700
- 2023C-Eval: A Multi-Level Multi-Discipline Chinese Evaluation Suite for Foundation Modelscited by 694
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2025Kimi K2: Open Agentic Intelligencecited by 523
- 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 502
- 2022Hungry Hungry Hippos: Towards Language Modeling with State Space Modelscited by 495
- 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 483
- 2023CMMLU: Measuring massive multitask language understanding in Chinesecited by 436
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
- 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 390
- 2023Learning to Compress Prompts with Gist Tokenscited by 379
- 2023Adapting Language Models to Compress Contextscited by 350
- 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challengescited by 278
- 2025LongLive: Real-time Interactive Long Video Generationcited by 237
- 2024An Empirical Study of Mamba-based Language Modelscited by 177
- 2025MiniCPM-V 4.5: Cooking Efficient MLLMs via Architecture, Data, and Training Recipecited by 174
- 2026MiMo-V2-Flash Technical Reportcited by 163
- 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 155
- 2024Nemotron-CC: Transforming Common Crawl into a Refined Long-Horizon Pretraining Datasetcited by 153
- 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 135
- 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 118
- 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 95
- 2023CMATH: Can Your Language Model Pass Chinese Elementary School Math Test?cited by 89
- 2024RecurrentGemma: Moving Past Transformers for Efficient Open Language Modelscited by 61
- 2024Jamba-1.5: Hybrid Transformer-Mamba Models at Scalecited by 48
50 most cited of 55 All 55 (JSON)
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026GoLongRL: Capability-Oriented Long Context Reinforcement Learning with Multitask Alignmentcited by 4
- 2026KARA: Efficient Reasoning LLM Serving via Sliding-Window KV Cache Compressioncited by 2
- 2026The Optimization Landscape of Learning Compacted Context Modelscited by 0
- 2026Mechanics of Long-Context Hybrid Models Part 1.1: From Hybrid Attention to Hybrid Positioncited by 0
- 2026Mechanics of Long-Context Hybrid Models Part 1.1: From Hybrid Attention to Hybrid Position7 Oct 2026
- 2026The Optimization Landscape of Learning Compacted Context Models5 Oct 2026
- 2026GoLongRL: Capability-Oriented Long Context Reinforcement Learning with Multitask Alignment19 May 2026
- 2026KARA: Efficient Reasoning LLM Serving via Sliding-Window KV Cache Compression1 May 2026
Similar, not cited
Close in wording, no citation either way
- 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compression
- 2024KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark of Long Context Capable Approaches
- 2024Eigen Attention: Attention in Low-Rank Space for KV Cache Compression
- 2025Hold Onto That Thought: Assessing KV Cache Compression On Reasoning
- 2026Distance-KV: Exploiting Relative Distance for Efficient Long-Context Inference
- 2025KV Pareto: Systems-Level Optimization of KV Cache and Model Compression for Long Context Inference
- 2024KV-Compress: Paged KV-Cache Compression with Variable Compression Rates per Attention Head
- 2024TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selection