{"id":5663,"date":"2025-02-19T17:57:46","date_gmt":"2025-02-19T09:57:46","guid":{"rendered":"https:\/\/nullthought.net\/?p=5663"},"modified":"2025-02-24T21:38:02","modified_gmt":"2025-02-24T13:38:02","slug":"nsa%ef%bc%88native-sparse-attention%ef%bc%89%e6%9c%ba%e5%88%b6%ef%bc%9a%e5%8e%9f%e7%94%9f%e5%8f%af%e8%ae%ad%e7%bb%83%e7%9a%84%e7%a8%80%e7%96%8f%e6%b3%a8%e6%84%8f%e5%8a%9b%e6%9e%b6%e6%9e%84%ef%bc%8c","status":"publish","type":"post","link":"https:\/\/nullthought.net\/?p=5663","title":{"rendered":"NSA\uff08Native Sparse Attention\uff09\u673a\u5236\uff1a\u539f\u751f\u53ef\u8bad\u7ec3\u7684\u7a00\u758f\u6ce8\u610f\u529b\u67b6\u6784\uff0c\u901a\u8fc7\u786c\u4ef6\u5bf9\u9f50\u4f18\u5316\u548c\u7b97\u6cd5\u521b\u65b0\u5b9e\u73b0\u9ad8\u6548\u957f\u5e8f\u5217\u5efa\u6a21"},"content":{"rendered":"\n<p>\u8bba\u6587<strong><a href=\"https:\/\/arxiv.org\/abs\/2502.11089\" target=\"_blank\" rel=\"noreferrer noopener\">Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention<\/a><\/strong>\u63d0\u51fa\u4e86NSA\uff08Native Sparse Attention\uff09\u673a\u5236\u3002NSA\u4e3a\u4e00\u79cd\u786c\u4ef6\u5bf9\u9f50\u7684\u7a00\u758f\u6ce8\u610f\u529b\u67b6\u6784\uff0c\u80fd\u591f\u6709\u6548\u5730\u63d0\u5347\u957f\u5e8f\u5217\u5efa\u6a21\u7684\u6548\u7387\u3002\u5728\u591a\u4e2a\u57fa\u51c6\u6d4b\u8bd5\u4e2d\uff0cNSA\u5c55\u793a\u4e86\u5176\u8d85\u8d8a\u5168\u6ce8\u610f\u529b\u6a21\u578b\u7684\u6027\u80fd\uff0c\u5c24\u5176\u5728\u957f\u5e8f\u5217\u5904\u7406\u548c\u63a8\u7406\u4efb\u52a1\u4e2d\uff0cNSA\u80fd\u591f\u63d0\u4f9b\u663e\u8457\u7684\u52a0\u901f\u6548\u679c\u3002\u5b9e\u9a8c\u7ed3\u679c\u8868\u660e\uff0cNSA\u4e0d\u4ec5\u5728\u63a8\u7406\u9636\u6bb5\u5177\u6709\u4f18\u8d8a\u7684\u6027\u80fd\uff0c\u5728\u8bad\u7ec3\u9636\u6bb5\u4e5f\u80fd\u591f\u9ad8\u6548\u5730\u8fdb\u884c\u5927\u89c4\u6a21\u957f\u5e8f\u5217\u7684\u5b66\u4e60\u3002<\/p>\n\n\n\n<p>\u8bba\u6587\u4f5c\u8005\u4e3aJingyang Yuan, Huazuo Gao, Damai Dai, Junyu Luo, Liang Zhao, Zhengyan Zhang, Zhenda Xie, Y. X. Wei, Lean Wang, Zhiping Xiao, Yuqing Wang, Chong Ruan, Ming Zhang, Wenfeng Liang\uff08\u6881\u6587\u950b\uff09, Wangding Zeng\uff0c\u6765\u81eaDeepSeek\uff0cPeking University\u548cUniversity of Washington\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"996\" height=\"562\" src=\"https:\/\/nullthought.net\/wp-content\/uploads\/2025\/02\/image-13.png\" alt=\"\" class=\"wp-image-5664\" srcset=\"https:\/\/nullthought.net\/wp-content\/uploads\/2025\/02\/image-13.png 996w, https:\/\/nullthought.net\/wp-content\/uploads\/2025\/02\/image-13-300x169.png 300w, https:\/\/nullthought.net\/wp-content\/uploads\/2025\/02\/image-13-768x433.png 768w\" sizes=\"auto, (max-width: 996px) 100vw, 996px\" \/><figcaption class=\"wp-element-caption\"><strong><a href=\"https:\/\/arxiv.org\/abs\/2502.11089\" target=\"_blank\" rel=\"noreferrer noopener\">Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention<\/a><\/strong><\/figcaption><\/figure>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e00\u3001\u5f15\u8a00<\/h5>\n\n\n\n<p>\u968f\u7740\u81ea\u7136\u8bed\u8a00\u5904\u7406\u4efb\u52a1\u4e2d\u5bf9\u957f\u5e8f\u5217\u5efa\u6a21\u9700\u6c42\u7684\u65e5\u76ca\u589e\u52a0\uff0c\u4f20\u7edf\u7684\u5168\u6ce8\u610f\u529b\u673a\u5236\u7531\u4e8e\u5176\u8ba1\u7b97\u590d\u6742\u5ea6\u8f83\u9ad8\uff0c\u5c24\u5176\u5728\u5904\u7406\u957f\u5e8f\u5217\u65f6\uff0c\u6210\u4e3a\u4e86\u8ba1\u7b97\u74f6\u9888\u3002\u5177\u4f53\u6765\u8bf4\uff0c\u968f\u7740\u5e8f\u5217\u957f\u5ea6\u7684\u589e\u52a0\uff0c\u6807\u51c6\u7684\u81ea\u6ce8\u610f\u529b\u673a\u5236\uff08\u5982Transformer\uff09\u6240\u9700\u7684\u8ba1\u7b97\u91cf\u5448\u4e8c\u6b21\u589e\u957f\uff0c\u5c24\u5176\u662f\u5728\u89e3\u7801\u9636\u6bb5\uff0c\u8ba1\u7b97\u6210\u672c\u6781\u9ad8\u3002\u4e3a\u4e86\u89e3\u51b3\u8fd9\u4e00\u95ee\u9898\uff0c\u7a00\u758f\u6ce8\u610f\u529b\u673a\u5236\u5e94\u8fd0\u800c\u751f\uff0c\u65e8\u5728\u901a\u8fc7\u9009\u62e9\u6027\u5730\u8ba1\u7b97\u91cd\u8981\u7684\u67e5\u8be2-\u952e\u5bf9\uff0c\u964d\u4f4e\u8ba1\u7b97\u91cf\uff0c\u4ece\u800c\u63d0\u5347\u5904\u7406\u6548\u7387\uff0c\u540c\u65f6\u4fdd\u6301\u8f83\u9ad8\u7684\u6a21\u578b\u80fd\u529b\u3002<\/p>\n\n\n\n<p>\u5728\u6b64\u80cc\u666f\u4e0b\uff0c\u672c\u6587\u63d0\u51fa\u4e86NSA\uff08Native Sparse Attention\uff09\u673a\u5236\uff0c\u5373\u4e00\u79cd\u539f\u751f\u53ef\u8bad\u7ec3\u7684\u7a00\u758f\u6ce8\u610f\u529b\u67b6\u6784\u3002NSA\u53ef\u901a\u8fc7\u786c\u4ef6\u5bf9\u9f50\u4f18\u5316\u548c\u7b97\u6cd5\u521b\u65b0\uff0c\u5b9e\u73b0\u5728\u957f\u5e8f\u5217\u5efa\u6a21\u4e2d\u7684\u9ad8\u6548\u6027\u3002NSA\u7684\u521b\u65b0\u4e4b\u5904\u5728\u4e8e\u5176\u80fd\u591f\u901a\u8fc7\u7cbe\u786e\u7684\u52a8\u6001\u7a00\u758f\u7b56\u7565\uff0c\u4e0d\u4ec5\u6709\u6548\u51cf\u5c0f\u8ba1\u7b97\u91cf\uff0c\u8fd8\u80fd\u591f\u51cf\u5c11\u8bad\u7ec3\u65f6\u7684\u8ba1\u7b97\u8d1f\u62c5\uff0c\u540c\u65f6\u4fdd\u6301\u4e0e\u5168\u6ce8\u610f\u529b\u6a21\u578b\u76f8\u5f53\u751a\u81f3\u66f4\u4f18\u7684\u6027\u80fd\u3002\u901a\u8fc7\u8fd9\u9879\u6280\u672f\uff0cNSA\u6a21\u578b\u5728\u591a\u4e2a\u57fa\u51c6\u6d4b\u8bd5\u4e0a\u90fd\u8d85\u8d8a\u4e86\u4f20\u7edf\u7684\u5168\u6ce8\u610f\u529b\u6a21\u578b\uff0c\u5c24\u5176\u5728\u5904\u7406\u957f\u5e8f\u5217\u65f6\u5c55\u793a\u4e86\u663e\u8457\u7684\u52a0\u901f\u6548\u679c\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e8c\u3001\u7a00\u758f\u6ce8\u610f\u529b\u65b9\u6cd5\u7684\u91cd\u65b0\u601d\u8003<\/h5>\n\n\n\n<p>\u73b0\u4ee3\u7a00\u758f\u6ce8\u610f\u529b\u65b9\u6cd5\u7684\u6838\u5fc3\u76ee\u6807\u662f\u901a\u8fc7\u964d\u4f4e\u8ba1\u7b97\u91cf\uff0c\u6765\u63d0\u5347\u6a21\u578b\u7684\u6548\u7387\uff0c\u7279\u522b\u662f\u5728\u5904\u7406\u957f\u5e8f\u5217\u65f6\uff0c\u7a00\u758f\u6027\u80fd\u591f\u6709\u6548\u51cf\u8f7b\u8ba1\u7b97\u8d1f\u62c5\u3002\u7136\u800c\uff0c\u5f53\u524d\u5927\u591a\u6570\u7a00\u758f\u6ce8\u610f\u529b\u65b9\u6cd5\u5728\u5b9e\u9645\u5e94\u7528\u4e2d\u5b58\u5728\u4e00\u4e9b\u5c40\u9650\u6027\u3002\u4e3b\u8981\u95ee\u9898\u5305\u62ec\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u9636\u6bb5\u6027\u7a00\u758f\u6027<\/strong>\uff1a\u8bb8\u591a\u7a00\u758f\u6ce8\u610f\u529b\u65b9\u6cd5\u4ec5\u5728\u63a8\u7406\u9636\u6bb5\uff08\u5373\u89e3\u7801\u9636\u6bb5\uff09\u5e94\u7528\u7a00\u758f\u6027\uff0c\u8fd9\u79cd\u505a\u6cd5\u867d\u7136\u5728\u63a8\u7406\u65f6\u80fd\u51cf\u5c11\u8ba1\u7b97\u91cf\uff0c\u4f46\u4ecd\u7136\u4f1a\u53d7\u5230\u524d\u671f\u9884\u5904\u7406\u9636\u6bb5\u9ad8\u8ba1\u7b97\u5f00\u9500\u7684\u5236\u7ea6\u3002\u4f8b\u5982\uff0c\u67d0\u4e9b\u65b9\u6cd5\u5728\u63a8\u7406\u9636\u6bb5\u9700\u8981\u8fdb\u884c\u590d\u6742\u7684\u8ba1\u7b97\u6765\u6784\u5efa\u6ce8\u610f\u529b\u56fe\u6216\u7d22\u5f15\uff0c\u4ece\u800c\u65e0\u6cd5\u5b9e\u73b0\u5168\u5c40\u52a0\u901f\u3002<\/li>\n\n\n\n<li><strong>\u4e0e\u5148\u8fdb\u6ce8\u610f\u529b\u67b6\u6784\u7684\u4e0d\u517c\u5bb9\u6027<\/strong>\uff1a\u4e00\u4e9b\u7a00\u758f\u6ce8\u610f\u529b\u65b9\u6cd5\u672a\u80fd\u6709\u6548\u9002\u5e94\u73b0\u4ee3\u7684\u591a\u67e5\u8be2\u6ce8\u610f\u529b\uff08MQA\uff09\u548c\u7ec4\u67e5\u8be2\u6ce8\u610f\u529b\uff08GQA\uff09\u7b49\u67b6\u6784\uff0c\u8fd9\u4e9b\u67b6\u6784\u901a\u8fc7\u5171\u4eab\u952e-\u503c\uff08KV\uff09\u5bf9\u6765\u663e\u8457\u51cf\u5c11\u89e3\u7801\u9636\u6bb5\u7684\u5185\u5b58\u8bbf\u95ee\u74f6\u9888\u3002\u7136\u800c\uff0c\u8bb8\u591a\u7a00\u758f\u6ce8\u610f\u529b\u65b9\u6cd5\u4f9d\u7136\u91c7\u7528\u72ec\u7acb\u7684\u67e5\u8be2\u5934\u548cKV\u7f13\u5b58\uff0c\u8fd9\u4f7f\u5f97\u5b83\u4eec\u65e0\u6cd5\u5145\u5206\u5229\u7528\u8fd9\u4e9b\u5148\u8fdb\u67b6\u6784\u7684\u5185\u5b58\u4f18\u5316\u7279\u6027\uff0c\u4ece\u800c\u9650\u5236\u4e86\u5b83\u4eec\u7684\u5b9e\u9645\u52a0\u901f\u6548\u679c\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u56e0\u6b64\uff0cNSA\u7684\u8bbe\u8ba1\u91cd\u70b9\u5728\u4e8e\u89e3\u51b3\u8fd9\u4e24\u4e2a\u95ee\u9898\u3002\u9996\u5148\uff0cNSA\u901a\u8fc7\u786c\u4ef6\u5bf9\u9f50\u7684\u4f18\u5316\u65b9\u6848\uff0c\u4f7f\u5f97\u7a00\u758f\u6027\u80fd\u591f\u6709\u6548\u5e94\u7528\u5230\u9884\u5904\u7406\u3001\u89e3\u7801\u548c\u8bad\u7ec3\u7684\u6bcf\u4e2a\u9636\u6bb5\u3002\u5176\u6b21\uff0cNSA\u91c7\u7528\u539f\u751f\u53ef\u8bad\u7ec3\u7684\u7b56\u7565\uff0c\u4f7f\u5f97\u7a00\u758f\u6027\u4e0d\u4ec5\u4ec5\u662f\u63a8\u7406\u65f6\u7684\u4f18\u5316\uff0c\u800c\u662f\u80fd\u591f\u5728\u6574\u4e2a\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\uff0c\u5b66\u4e60\u5230\u6700\u4f18\u7684\u7a00\u758f\u6a21\u5f0f\uff0c\u4ece\u800c\u5728\u63d0\u9ad8\u8ba1\u7b97\u6548\u7387\u7684\u540c\u65f6\uff0c\u4fdd\u6301\u8f83\u597d\u7684\u6a21\u578b\u6027\u80fd\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e09\u3001\u65b9\u6cd5\u8bba<\/h5>\n\n\n\n<p>NSA\u7684\u8bbe\u8ba1\u5305\u542b\u4e09\u4e2a\u4e3b\u8981\u7684\u6ce8\u610f\u529b\u8def\u5f84\uff0c\u8fd9\u4e9b\u8def\u5f84\u76f8\u4e92\u534f\u4f5c\uff0c\u4ee5\u5b9e\u73b0\u9ad8\u6548\u7684\u7a00\u758f\u6ce8\u610f\u529b\u673a\u5236\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>\u538b\u7f29\u7c97\u7c92\u5ea6\u6807\u8bb0\uff08Token Compression\uff09<\/strong>\uff1a\u4e3a\u4e86\u51cf\u5c0f\u8ba1\u7b97\u91cf\uff0cNSA\u9996\u5148\u5c06\u6807\u8bb0\u5e8f\u5217\u5206\u5272\u6210\u591a\u4e2a\u5757\uff0c\u5e76\u5bf9\u6bcf\u4e2a\u5757\u8fdb\u884c\u538b\u7f29\u5904\u7406\u3002\u5177\u4f53\u6765\u8bf4\uff0cNSA\u901a\u8fc7\u805a\u5408\u8fde\u7eed\u7684\u952e-\u503c\u5bf9\u6765\u751f\u6210\u538b\u7f29\u540e\u7684\u8868\u793a\uff0c\u8fd9\u6837\u505a\u53ef\u4ee5\u4fdd\u7559\u5927\u90e8\u5206\u4e0a\u4e0b\u6587\u4fe1\u606f\uff0c\u540c\u65f6\u51cf\u5c11\u8ba1\u7b97\u5f00\u9500\u3002<\/li>\n\n\n\n<li><strong>\u9009\u62e9\u6027\u4fdd\u7559\u91cd\u8981\u6807\u8bb0\uff08Token Selection\uff09<\/strong>\uff1a\u867d\u7136\u538b\u7f29\u540e\u7684\u6807\u8bb0\u80fd\u591f\u6709\u6548\u51cf\u5c11\u8ba1\u7b97\u91cf\uff0c\u4f46\u5b83\u4eec\u53ef\u80fd\u4f1a\u4e22\u5931\u4e00\u4e9b\u7ec6\u7c92\u5ea6\u7684\u4fe1\u606f\uff0c\u56e0\u6b64\uff0cNSA\u8fd8\u901a\u8fc7\u9009\u62e9\u6027\u4fdd\u7559\u4e00\u4e9b\u6700\u91cd\u8981\u7684\u6807\u8bb0\u6765\u786e\u4fdd\u5c40\u90e8\u4e0a\u4e0b\u6587\u4fe1\u606f\u7684\u5b8c\u6574\u6027\u3002\u8be5\u9009\u62e9\u8fc7\u7a0b\u901a\u8fc7\u8ba1\u7b97\u5757\u7684\u91cd\u8981\u6027\u5206\u6570\u6765\u5b8c\u6210\uff0c\u5e76\u53ea\u4fdd\u7559\u6700\u91cd\u8981\u7684\u6807\u8bb0\uff0c\u4ece\u800c\u786e\u4fdd\u4e86\u9ad8\u6548\u8ba1\u7b97\u548c\u4e0a\u4e0b\u6587\u7cbe\u5ea6\u7684\u5e73\u8861\u3002<\/li>\n\n\n\n<li><strong>\u6ed1\u52a8\u7a97\u53e3\uff08Sliding Window\uff09<\/strong>\uff1a\u4e3a\u4e86\u8fdb\u4e00\u6b65\u6355\u6349\u5c40\u90e8\u4e0a\u4e0b\u6587\u4fe1\u606f\uff0cNSA\u8bbe\u8ba1\u4e86\u4e00\u4e2a\u6ed1\u52a8\u7a97\u53e3\u673a\u5236\u3002\u8fd9\u4e2a\u673a\u5236\u5141\u8bb8\u6a21\u578b\u5728\u5904\u7406\u8f93\u5165\u5e8f\u5217\u65f6\uff0c\u80fd\u591f\u52a8\u6001\u5730\u5173\u6ce8\u90bb\u8fd1\u7684\u6807\u8bb0\uff0c\u4ece\u800c\u63d0\u9ad8\u5c40\u90e8\u4e0a\u4e0b\u6587\u7684\u7cbe\u5ea6\uff0c\u5c24\u5176\u5728\u5904\u7406\u957f\u6587\u672c\u65f6\uff0c\u80fd\u591f\u907f\u514d\u56e0\u4e0a\u4e0b\u6587\u8de8\u5ea6\u8fc7\u957f\u800c\u5bfc\u81f4\u7684\u4fe1\u606f\u635f\u5931\u3002<\/li>\n<\/ol>\n\n\n\n<p>\u8fd9\u4e09\u79cd\u673a\u5236\u7ed3\u5408\u8d77\u6765\uff0c\u5f62\u6210\u4e86NSA\u7684\u5b8c\u6574\u67b6\u6784\u3002\u538b\u7f29\u8def\u5f84\u8d1f\u8d23\u5168\u5c40\u4e0a\u4e0b\u6587\u7684\u626b\u63cf\uff0c\u9009\u62e9\u8def\u5f84\u8d1f\u8d23\u5c40\u90e8\u7cbe\u5ea6\u7684\u4fdd\u7559\uff0c\u800c\u6ed1\u52a8\u7a97\u53e3\u5219\u4e13\u6ce8\u4e8e\u6355\u6349\u5c40\u90e8\u4fe1\u606f\u3002\u8fd9\u4e9b\u8def\u5f84\u7684\u534f\u540c\u5de5\u4f5c\u4f7f\u5f97NSA\u80fd\u591f\u5728\u4fdd\u8bc1\u5168\u5c40\u4fe1\u606f\u548c\u5c40\u90e8\u4fe1\u606f\u90fd\u5f97\u4ee5\u6709\u6548\u6355\u6349\u7684\u524d\u63d0\u4e0b\uff0c\u5927\u5e45\u5ea6\u51cf\u5c11\u8ba1\u7b97\u91cf\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u56db\u3001\u5b9e\u9a8c<\/h5>\n\n\n\n<p>\u4e3a\u9a8c\u8bc1NSA\u7684\u6709\u6548\u6027\uff0c\u672c\u6587\u8fdb\u884c\u4e86\u591a\u8f6e\u5b9e\u9a8c\uff0c\u6db5\u76d6\u4e86\u4e0d\u540c\u7684\u8bed\u8a00\u8bc4\u4f30\u3001\u957f\u5e8f\u5217\u8bc4\u4f30\u548c\u63a8\u7406\u8bc4\u4f30\u3002\u5b9e\u9a8c\u7ed3\u679c\u8868\u660e\uff0cNSA\u5728\u8fd9\u4e9b\u4efb\u52a1\u4e2d\u5747\u8d85\u8d8a\u4e86\u4f20\u7edf\u7684\u5168\u6ce8\u610f\u529b\u6a21\u578b\uff0c\u5e76\u4e14\u5728\u5904\u740664k\u957f\u5ea6\u7684\u5e8f\u5217\u65f6\uff0cNSA\u76f8\u6bd4\u5168\u6ce8\u610f\u529b\u6a21\u578b\u5c55\u73b0\u4e86\u663e\u8457\u7684\u52a0\u901f\u6548\u679c\u3002\u5177\u4f53\u6765\u8bf4\uff0cNSA\u5728\u89e3\u7801\u3001\u524d\u5411\u4f20\u64ad\u548c\u53cd\u5411\u4f20\u64ad\u4e09\u4e2a\u9636\u6bb5\u7684\u8ba1\u7b97\u901f\u5ea6\u5747\u5f97\u5230\u4e86\u663e\u8457\u63d0\u5347\uff0c\u5c24\u5176\u662f\u5728\u957f\u5e8f\u5217\u7684\u5904\u7406\u4e0a\uff0cNSA\u80fd\u591f\u63d0\u4f9b\u9ad8\u8fbe11.6\u500d\u7684\u52a0\u901f\u3002<\/p>\n\n\n\n<p>NSA\u7684\u8bad\u7ec3\u65f6\u95f4\u4e5f\u5f97\u5230\u4e86\u6709\u6548\u7f29\u77ed\u3002\u901a\u8fc7\u5f15\u5165\u786c\u4ef6\u4f18\u5316\u7b56\u7565\uff0cNSA\u80fd\u591f\u5728\u73b0\u4ee3\u786c\u4ef6\u4e0a\u9ad8\u6548\u8fd0\u884c\uff0c\u5c24\u5176\u5728GPU\u4e0a\uff0c\u901a\u8fc7\u4f18\u5316\u5185\u5b58\u8bbf\u95ee\u6a21\u5f0f\u548c\u8ba1\u7b97\u56fe\uff0cNSA\u80fd\u591f\u6700\u5927\u5316\u786c\u4ef6\u7684\u8ba1\u7b97\u80fd\u529b\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e94\u3001\u6548\u7387\u5206\u6790<\/h5>\n\n\n\n<p>NSA\u7684\u786c\u4ef6\u5bf9\u9f50\u4f18\u5316\u8bbe\u8ba1\u4f7f\u5f97\u5b83\u80fd\u591f\u5728GPU\u4e0a\u5b9e\u73b0\u663e\u8457\u7684\u6548\u7387\u63d0\u5347\u3002\u4e0e\u4f20\u7edf\u7684\u5168\u6ce8\u610f\u529b\u673a\u5236\u76f8\u6bd4\uff0cNSA\u5728\u89e3\u7801\u9636\u6bb5\u7684\u5185\u5b58\u8bbf\u95ee\u91cf\u5927\u5927\u51cf\u5c11\uff0c\u4ece\u800c\u964d\u4f4e\u4e86\u5185\u5b58\u5e26\u5bbd\u7684\u538b\u529b\uff0c\u663e\u8457\u63d0\u9ad8\u4e86\u89e3\u7801\u901f\u5ea6\u3002\u5177\u4f53\u6765\u8bf4\uff0cNSA\u572864k\u957f\u5ea6\u7684\u5e8f\u5217\u5904\u7406\u4e2d\uff0c\u76f8\u6bd4\u5168\u6ce8\u610f\u529b\u6a21\u578b\uff0c\u89e3\u7801\u548c\u53cd\u5411\u4f20\u64ad\u7684\u901f\u5ea6\u5206\u522b\u63d0\u9ad8\u4e869\u500d\u548c6\u500d\u3002\u6b64\u5916\uff0cNSA\u5728\u8bad\u7ec3\u9636\u6bb5\u4e5f\u8868\u73b0\u51fa\u4e86\u8f83\u5f3a\u7684\u6548\u7387\uff0c\u7279\u522b\u662f\u5728\u957f\u5e8f\u5217\u7684\u5904\u7406\u4e0a\uff0cNSA\u7684\u8ba1\u7b97\u6548\u7387\u968f\u7740\u4e0a\u4e0b\u6587\u957f\u5ea6\u7684\u589e\u52a0\u800c\u9010\u6e10\u63d0\u9ad8\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u516d\u3001\u8ba8\u8bba<\/h5>\n\n\n\n<p>NSA\u5728\u5b9e\u73b0\u9ad8\u6548\u7a00\u758f\u6ce8\u610f\u529b\u7684\u8fc7\u7a0b\u4e2d\uff0c\u9762\u4e34\u4e86\u591a\u4e2a\u6311\u6218\u3002\u9996\u5148\uff0c\u5728\u6807\u8bb0\u9009\u62e9\u7b56\u7565\u65b9\u9762\uff0cNSA\u91c7\u7528\u4e86\u5757\u72b6\u9009\u62e9\u7b56\u7565\uff0c\u8fd9\u79cd\u7b56\u7565\u80fd\u591f\u6709\u6548\u5730\u51cf\u5c11\u8ba1\u7b97\u548c\u5185\u5b58\u5f00\u9500\uff0c\u5e76\u6700\u5927\u5316\u786c\u4ef6\u7684\u5229\u7528\u6548\u7387\u3002\u5176\u6b21\uff0cNSA\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u91c7\u7528\u4e86\u53ef\u8bad\u7ec3\u7684\u7a00\u758f\u6027\u7b56\u7565\uff0c\u8fd9\u4e00\u8bbe\u8ba1\u80fd\u591f\u786e\u4fdd\u6a21\u578b\u5728\u8bad\u7ec3\u8fc7\u7a0b\u4e2d\u5b66\u4e60\u5230\u6700\u4f18\u7684\u7a00\u758f\u6a21\u5f0f\uff0c\u4ece\u800c\u63d0\u9ad8\u4e86\u6a21\u578b\u7684\u6027\u80fd\u3002<\/p>\n\n\n\n<p>\u901a\u8fc7\u5bf9\u73b0\u6709\u65b9\u6cd5\u7684\u5206\u6790\u548c\u5bf9\u6bd4\uff0cNSA\u7684\u8bbe\u8ba1\u7406\u5ff5\u5728\u89e3\u51b3\u73b0\u6709\u7a00\u758f\u6ce8\u610f\u529b\u65b9\u6cd5\u7684\u5c40\u9650\u6027\u65b9\u9762\u8d77\u5230\u4e86\u79ef\u6781\u4f5c\u7528\u3002\u7279\u522b\u662f\u5728\u7a00\u758f\u6027\u5e94\u7528\u7684\u5168\u5c40\u4f18\u5316\u548c\u5c40\u90e8\u7cbe\u5ea6\u4fdd\u7559\u65b9\u9762\uff0cNSA\u5c55\u793a\u4e86\u5176\u72ec\u7279\u7684\u4f18\u52bf\u3002<\/p>\n\n\n\n<h5 class=\"wp-block-heading\">\u4e03\u3001\u76f8\u5173\u5de5\u4f5c<\/h5>\n\n\n\n<p>\u672c\u6587\u56de\u987e\u4e86\u73b0\u6709\u7684\u51e0\u79cd\u7a00\u758f\u6ce8\u610f\u529b\u65b9\u6cd5\uff0c\u5305\u62ec\u57fa\u4e8e\u56fa\u5b9a\u7a00\u758f\u6a21\u5f0f\u7684\u65b9\u6cd5\u3001\u52a8\u6001\u6807\u8bb0\u4fee\u526a\u65b9\u6cd5\u548c\u67e5\u8be2\u611f\u77e5\u9009\u62e9\u65b9\u6cd5\u3002\u4e0e\u8fd9\u4e9b\u65b9\u6cd5\u76f8\u6bd4\uff0cNSA\u901a\u8fc7\u7ed3\u5408\u786c\u4ef6\u4f18\u5316\u548c\u8bad\u7ec3\u4f18\u5316\uff0c\u89e3\u51b3\u4e86\u73b0\u6709\u65b9\u6cd5\u4e2d\u7684\u591a\u4e2a\u74f6\u9888\uff0c\u5c24\u5176\u5728\u957f\u5e8f\u5217\u7684\u5efa\u6a21\u548c\u63a8\u7406\u4efb\u52a1\u4e2d\uff0cNSA\u8868\u73b0\u51fa\u4e86\u660e\u663e\u7684\u6027\u80fd\u4f18\u52bf\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u8bba\u6587Native Sparse Attention: Hardware-Aligned and Nativel [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"set","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[8],"tags":[39,96,95,86],"class_list":["post-5663","post","type-post","status-publish","format-standard","hentry","category-tech","tag-ai","tag-deepseek","tag-transformer","tag-llm"],"rttpg_featured_image_url":null,"rttpg_author":{"display_name":"NullThought","author_link":"https:\/\/nullthought.net\/?author=1"},"rttpg_comment":0,"rttpg_category":"<a href=\"https:\/\/nullthought.net\/?cat=8\" rel=\"category\">Tech<\/a>","rttpg_excerpt":"\u8bba\u6587Native Sparse Attention: Hardware-Aligned and Nativel&hellip;","_links":{"self":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/5663","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=5663"}],"version-history":[{"count":1,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/5663\/revisions"}],"predecessor-version":[{"id":5665,"href":"https:\/\/nullthought.net\/index.php?rest_route=\/wp\/v2\/posts\/5663\/revisions\/5665"}],"wp:attachment":[{"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=5663"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=5663"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/nullthought.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=5663"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}