Skip to content

Attention · 论文 ​

论文总览 · 基础笔记

注意力机制、稀疏 Attention、高效内核、线性 Attention 与记忆。

共 42 个清单条目;已读 14,待读 28。保留原有跨分类重复条目与阅读状态。

本地笔记 ​

稀疏注意力部分包含架构、选择算法与训练方法,MSA 和 DSA 是其中的具体案例。

LLM Inference / Long Context Inference ​

StatusPaperVenueWhy It MattersLinks
✅Quest: Query-Aware Sparsity for Efficient Long-Context LLM InferenceICML'24根据当前 query 和 KV 页元数据选择重要页面,减少长上下文解码中的 KV 读取Paper / 归档标签
✅ 📝DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming HeadsICLR'25区分 retrieval heads 与 streaming heads,为不同 head 分配不同 KV 保留策略Paper / Note
✅MiniMax Sparse AttentionarXiv'26按 GQA group 选择 KV 块并协同设计稀疏 kernel,将块级稀疏转化为长上下文加速Paper / Note / 归档标签
✅ 📝IndexCache: Accelerating Sparse Attention via Cross-Layer Index ReusearXiv'26跨层复用 Top-k 位置,用 LM-loss 搜索或多层 KL 蒸馏减少 indexer 计算,并区分索引缓存与主 KV 缓存Paper / Note / 归档标签
⬜Efficient Context Scaling with LongCat ZigZag AttentionarXiv · 2026标签:Attention / 稀疏 AttentionPaper / PDF / Zotero / 归档标签

Deep Learning / Attention Mechanisms & Variants ​

StatusPaperVenueWhy It MattersLinks
✅ 📝Attention Is All You NeedNeurIPS'17用多头自注意力替代循环与卷积,建立可并行训练的 Transformer 架构Paper / Note
✅Big Bird: Transformers for Longer SequencesNeurIPS'20结合局部、随机与全局连接实现线性稀疏注意力,并分析其表达能力Paper / Note / 归档标签
✅ 📝FlashAttention: Fast and Memory-Efficient Exact Attention with IO-AwarenessNeurIPS'22通过分块、算子融合与重计算减少 HBM 读写,实现不近似的高效 attentionPaper / Note / 历史笔记 / 归档标签
✅FlashAttention-2: Faster Attention with Better Parallelism and Work PartitioningICLR'24优化线程块与 warp 间工作划分,减少非矩阵计算和共享内存通信,提高 attention 吞吐Paper / Note / 归档标签
✅Flash-Decoding for Long-Context InferenceBlog'23沿 KV 序列切分并合并部分 attention 结果,提高小 batch 长上下文 decode 的 GPU 利用率Paper / Note
✅A Survey of Efficient Attention Methods: Hardware-efficient, Sparse, Compact, and Linear AttentionTech report'25统一梳理硬件优化、稀疏、KV 压缩与线性 attention,区分计算和缓存优化的作用范围Paper / 归档标签

Deep Learning / Sparse Attention Algorithms & Training / Architecture and Modern Sparse Attention ​

StatusPaperVenueWhy It MattersLinks
✅ 📝Fast Transformer Decoding: One Write-Head is All You NeedarXiv'19MQA 原始论文;理解所有 Query heads 共享 KV 与 decode 带宽瓶颈Paper / Note
⬜GQA: Training Generalized Multi-Query Transformer Models from Multi-Head CheckpointsEMNLP'23建立 MHA–GQA–MQA 的连续关系;理解 MSA 为什么按 GQA group 独立选择Paper
⬜DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language ModelarXiv'24MLA、latent KV compression、decoupled RoPE,以及 uk_proj / uo_proj 的矩阵吸收Paper
⬜SeerAttention: Learning Intrinsic Sparse Attention in Your LLMsNeurIPS'25可学习的 block gate、自蒸馏与 block-sparse kernel;最接近 MSA Indexer 的对照之一Paper
⬜Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse AttentionACL'25同时研究压缩、选择、局部窗口与硬件对齐;理解 DSA 的算法–kernel 协同背景Paper / 归档标签
⬜MoBA: Mixture of Block Attention for Long-Context LLMsNeurIPS'25MoE 风格的 block routing;适合对比 MSA 的 block max-pooling 与 group-specific selectionPaper / 归档标签
⬜MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse AttentionNeurIPS'24无需重新训练的动态稀疏 prefill;对比学习式 Indexer 与预设 attention patternPaper
⬜SpargeAttn: Accurate Sparse Attention Accelerating Any Model InferenceICML'25两阶段在线过滤与 softmax-aware pruning;理解推理期稀疏化的另一条路线Paper / 归档标签
⬜BLASST: Dynamic BLocked Attention Sparsity via Softmax ThresholdingMLSys'26复用 online softmax 统计量跳过低贡献 blocks;无需训练并覆盖 MHA/GQA/MQA/MLAPaper
⬜Block Sparse Attention with Log-Linear ComplexityarXiv · 2026标签:Attention / 稀疏 AttentionPaper / PDF / Zotero / 归档标签
⬜ 📝DoSA: Dots Sparse AttentionarXiv · 2026阅读中;标签:Attention / 稀疏 AttentionPaper / PDF / Zotero / Note / Annotations / 归档标签
⬜FSA: An Alternative Efficient Implementation of Native Sparse Attention KernelarXiv · 2026标签:Attention / 稀疏 AttentionPaper / PDF / Zotero / 归档标签
✅ 📝PageWeaver: KV-Guided Query Unions for Sparse AttentionarXiv · 2026根据 KV page 重叠在线重组 Query,以双 CTA Union8 共享搬运,并计入分组开销Paper / PDF / Zotero / Note / Annotations / 归档标签

Deep Learning / Sparse Attention Algorithms & Training / Algorithm and Training Foundations ​

StatusPaperVenueWhy It MattersLinks
⬜Generating Long Sequences with Sparse TransformersarXiv'19固定 factorized sparse pattern 与早期 block-sparse kernel;理解“规则但不自适应”的稀疏性Paper
⬜Longformer: The Long-Document TransformerarXiv'20local window + global token;理解局部先验和全局信息通路Paper
⬜Reformer: The Efficient TransformerICLR'20LSH attention、bucket、排序和 reversible layers;理解动态候选集带来的数据重排成本Paper
⬜Efficient Content-Based Sparse Attention with Routing TransformersTACL'21online k-means 内容路由;连接固定 sparse pattern 与 learned IndexerPaper
⬜Sparser is Faster and Less is More: Efficient Sparse Attention for Long-Range TransformersarXiv'24SparseK scoring network + differentiable Top-k;直接对比 MSA/DSA 的 hard Top-k + KL 路线Paper
⬜Differentiable Top-k Operator with Optimal TransportNeurIPS'20用熵正则 Optimal Transport 平滑 Top-k,理解连续松弛及其梯度Paper
⬜Fast, Differentiable and Sparse Top-k: A Convex Analysis PerspectiveICML'23从凸优化构造可微且真正稀疏的 Top-k,并讨论 GPU/TPU-friendly 算法Paper
⬜Categorical Reparameterization with Gumbel-SoftmaxICLR'17离散采样的经典连续松弛;理解 temperature、annealing 与 soft-train/hard-inference 差异Paper
⬜From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label ClassificationICML'16在概率 simplex 上产生精确零值并保留可计算 JacobianPaper
⬜Adaptively Sparse TransformersEMNLP-IJCNLP'19使用可学习的 α-entmax 让不同 attention heads 自适应选择稠密或稀疏分布Paper

Deep Learning / New Architectures ​

StatusPaperVenueWhy It MattersLinks
✅Gated Linear Attention Transformers with Hardware-Efficient TrainingICML'24用数据依赖门控增强线性 attention,并以 IO 感知实现兼顾表达能力和训练吞吐Paper / Note / 归档标签
✅ 📝Kimi Linear: An Expressive, Efficient Attention ArchitecturearXiv'25用 Kimi Delta Attention 与混合架构改善线性 attention 的表达能力、长上下文效率和缓存成本Paper / 归档标签 / Note
⬜Conditional Memory via Scalable Lookup: A New Axis of Sparsity for Large Language Models来源待补全标签:Attention / 线性 Attention 与记忆PDF / Zotero / 归档标签
⬜Fast Weight Attention for Continual LearningarXiv · 2026标签:Attention / 线性 Attention 与记忆Paper / PDF / Zotero / 归档标签
⬜Memory AttentionarXiv · 2026标签:Attention / 线性 Attention 与记忆;推理服务与 KV CachePaper / PDF / Zotero / 归档标签

Attention / 高效 Attention 内核 ​

StatusPaperVenueWhy It MattersLinks
⬜FlashAttention-3: Fast and Accurate Attention with Asynchrony and Low-precisionarXiv · 2024标签:Attention / 高效 Attention 内核Paper / PDF / Zotero / 归档标签
⬜FlashAttention-4: Algorithm and Kernel Pipelining Co-Design for Asymmetric Hardware ScalingarXiv · 2026阅读中;标签:Attention / 高效 Attention 内核Paper / PDF / Zotero / Annotations / 归档标签
⬜FlashDecoding++: Faster Large Language Model Inference on GPUsarXiv · 2024标签:Attention / 高效 Attention 内核Paper / PDF / Zotero / 归档标签

Zotero 阅读材料 ​

记录原理、连接知识、积累实践。