Deepseek:2025原生稀疏注意力:硬件对齐且可原生训练的稀疏注意力机制技术报告(英文版)(24页).pdf

编号:613863 PDF  中文版  DOCX 24页 1.37MB 下载积分:VIP专享
下载报告请您先登录!

1、Native Sparse Attention:Hardware-Aligned and NativelyTrainable Sparse AttentionJingyang Yuan1,2,Huazuo Gao1,Damai Dai1,Junyu Luo2,Liang Zhao1,Zhengyan Zhang1,Zhenda Xie1,Y.X.Wei1,Lean Wang1,Zhiping Xiao3,Yuqing Wang1,Chong Ruan1,Ming Zhang2,Wenfeng Liang1,Wangding Zeng11DeepSeek-AI2Key Laboratory fo

2、r Multimedia Information Processing,Peking University,PKU-Anker LLM Lab3University of Washingtonyuanjy,mzhang_,zengwangding,AbstractLong-context modeling is crucial for next-generation language models,yet the high compu-tational cost of standard attention mechanisms poses significant computational c

3、hallenges.Sparse attention offers a promising direction for improving efficiency while maintaining modelcapabilities.We present NSA,aNatively trainableSparseAttention mechanism that integratesalgorithmic innovations with hardware-aligned optimizations to achieve efficient long-contextmodeling.NSA em

4、ploys a dynamic hierarchical sparse strategy,combining coarse-grainedtoken compression with fine-grained token selection to preserve both global context awarenessand local precision.Our approach advances sparse attention design with two key innovations:(1)We achieve substantial speedups through arit

5、hmetic intensity-balanced algorithm design,with implementation optimizations for modern hardware.(2)We enable end-to-end training,reducing pretraining computation without sacrificing model performance.As shown in Figure 1,experiments show the model pretrained with NSA maintains or exceeds Full Atten

6、tion modelsacross general benchmarks,long-context tasks,and instruction-based reasoning.Meanwhile,NSA achieves substantial speedups over Full Attention on 64k-length sequences across decod-ing,forward propagation,and backward propagation,validating its efficiency throughout themodel lifecycle.1.Intr

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(Deepseek:2025原生稀疏注意力:硬件对齐且可原生训练的稀疏注意力机制技术报告(英文版)(24页).pdf)为本站 (Kelly Street) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠