論文の概要: Multi-layer Indexer: Overlapping Selection and Attention in DeepSeek Sparse Attention
- arxiv url: http://arxiv.org/abs/2611.03768v1
- Date: Mon, 02 Nov 2026 15:46:01 GMT
- ステータス: 翻訳完了
- システム内更新日: 2026-11-11 11:08:34.948303
- Title: Multi-layer Indexer: Overlapping Selection and Attention in DeepSeek Sparse Attention
- Title(参考訳): 多層インデクサ:DeepSeekスパース注意における重なり合う選択と注意
- Abstract要約: DeepSeek Sparse Attention (DSA) では、DeepSeek-V3.2 と GLM-5 ファミリーの注意が、キャッシュ全体を評価する雷インデクサに先行している。
隣のレイヤは、ほぼ同じトークンを選択するので、レイヤはそれ自身ではなく、前のインデクサ層を選択することができます。
結果、Multi-layer Indexer (MLI) は再トレーニングを必要とせず、新たな重み付けも不要である。
- 参考スコア(独自算出の注目度): 3.4273730781505147
- License: http://creativecommons.org/licenses/by/4.0/
- Abstract: Sparse attention cuts the cost of long-context inference by making the attention matrix sparse: each query attends only a subset of the sequence, chosen by a fixed pattern or, in recent production LLMs, learned per query. In DeepSeek Sparse Attention (DSA), the attention of DeepSeek-V3.2 and the GLM-5 family, every layer is preceded by a lightning indexer that scores the whole cache and keeps the k=2048 highest-scoring tokens for the layer to attend. At long context this indexer scan, not the sparse attention it feeds, is where the decode time goes. But adjacent layers select nearly the same tokens, so a layer can attend the selection of the previous indexer layer instead of its own. This removes the dependency: each indexer then runs concurrently with the attention of its layer. The resulting Multi-layer Indexer (MLI) needs no retraining and no new weights. Its default realization changes no kernel, running inside SGLang's production decode graph; an optional fused decode kernel accelerates it further on DeepSeek-V3.2. MLI composes with IndexCache (the cross-layer reuse GLM-5.2 ships as IndexShare): IndexCache drops the indexer from some layers, and MLI hides the scan on the rest. We serve DeepSeek-V3.2 and GLM-5 under IndexCache's protocol at retentions 1/2 to 1/32 (the fraction of layers that keep an indexer) and contexts 10K to 195K. At equal retention the composition decodes faster than IndexCache: up to 14.5% faster on DeepSeek-V3.2 and 9.8% on GLM-5 at 1/2, and 7.9% and 5.1% at 1/4, largest where IndexCache keeps the most indexers and growing with context. At retention 1/r it is faster still than IndexCache at 1/(2r) while keeping twice the fresh selections: at 128K it reaches 1.32x the unmodified model's decode throughput at 1/4, above IndexCache's 1.28x at 1/8. Its LongBench, RULER and LongBench v2 accuracy stays within a few percentage points of IndexCache's.
- Abstract(参考訳): スパースアテンションは、アテンションマトリックスをスパースにすることで、長文推論のコストを削減します。各クエリは、固定パターンによって選択されたシーケンスのサブセットにのみ、あるいは最近のプロダクションLLMで、クエリ毎に学習されたシーケンスにのみ対応します。
DeepSeek Sparse Attention (DSA) では、DeepSeek-V3.2 と GLM-5 ファミリの注意が、すべてのレイヤに先立って、キャッシュ全体をスコアし、レイヤが参加するための k=2048 の最高スコアのトークンを保持する雷インデクサが設定されている。
長いコンテキストでこのインデクサスキャンは、それが供給するスパースアテンションではなく、デコード時間が進む場所です。
しかし、隣のレイヤは、ほぼ同じトークンを選択するので、レイヤはそれ自身ではなく、前のインデクサ層を選択することができます。
各インデクサは、そのレイヤの注意と並行して実行される。
結果、Multi-layer Indexer (MLI) は再トレーニングを必要とせず、新たな重み付けも不要である。
SGLangのプロダクションデコードグラフ内で動作するカーネルは変更されず、オプションで融合したデコードカーネルはDeepSeek-V3.2でさらに高速化する。
MLIはIndexCache(IndexShareとしてクロスレイヤの再利用GLM-5.2が出荷される)で構成される: IndexCacheはインデクサをいくつかのレイヤから落とし、MLIはスキャンを残りのレイヤに隠します。
我々はIndexCacheのプロトコルの下でDeepSeek-V3.2とGLM-5を1/2から1/32(インデクサを保持する層の割合)で提供し、コンテキストは10Kから195Kです。
コンポジションはIndexCacheよりも高速で、DeepSeek-V3.2では最大14.5%、GLM-5では1/2で9.8%、IndexCacheでは1/4で7.9%と5.1%である。
保持1/rでは、IndexCacheの1.28倍の1/8で、修正されていないモデルのデコードスループットが1/4で1.32倍に達する。
そのLongBench、RULER、LongBench v2の精度はIndexCacheのいくつかのポイントに留まる。
関連論文リスト
- AttentionIndex: Accelerating Learned Sparse Attention with a Causal Inverted-File Index [5.990320318986133]
AttentionIndexは、インデクサキーを類似度でグループ化する逆ファイルインデックスに、各クエリをルーティングする。
AttentionIndexはプリフィル中にインデックスを構築し、新しいキーを即座に検索できる。
GLM-5.3とDeepSeek-V4-Flashを100万のトークンで使用すると、AttentionIndexは完全な選択のプリフィルスループットの1.3-1.8倍のスループットを提供する。
論文 参考訳(メタデータ) (2026-11-02T04:29:41Z) - LatentIndex: Cross-Layer Sharing with Layer-Specific Selection for Sparse Attention [37.039490933483286]
インデクサ層にまたがるマルチヘッド遅延注意の潜在共有原則を拡張したLatentIndexを紹介する。
四層共有により、LaintIndexはDeepSeek-V3.2で論理的なインデクサキャッシュを61.1%削減する。
DeepSeek-V3.2 と GLM-5 全体で、トレーニングなしの LatentIndex は、IndexCache を最大3.28 ポイント改善している。
論文 参考訳(メタデータ) (2026-10-03T16:26:00Z) - You Only Index Once: Cross-Layer Sparse Attention with Shared Routing [61.29627714699688]
層間スパースアテンション(A)はYOCOなどのKV共有アーキテクチャ上に構築されている。
シングルインデクサはトークンレベルのトップk選択を一度計算し、その結果のインデックスをレイヤ間で再利用する。
その結果、CLSAは正確かつ効率的であり、最大7.6倍のデコードスピードアップと17.1倍のスループット向上を実現している。
論文 参考訳(メタデータ) (2026-06-04T17:54:04Z) - MISA: Mixture of Indexer Sparse Attention for Long-Context LLM Inference [75.41426145782751]
本稿では,DSAインデクサのリプレースとして,インデクサヘッドをエキスパートの混合プールとして扱うDSAインデクサを提案する。
MISAはロングベンチの密度の高いDSAインデクサとDeepSeek-V3.2とGLM-5で一致し、それぞれ8倍と4倍のインデクサヘッドで動作している。
私たちのTileLangカーネルは、単一のNVIDIA H200 GPU上で、DSAのオリジナルのインデクサカーネルの約3.82倍のスピードアップを実現しています。
論文 参考訳(メタデータ) (2026-05-08T07:19:34Z) - HISA: Efficient Hierarchical Indexing for Fine-Grained Sparse Attention [62.79085204939384]
HISA (Hierarchical Indexed Sparse Attention) は、平らなトークンスキャンから2段階の階層的な手順に検索パスを書き換える。
カーネルレベルのベンチマークでは、HISAは64Kコンテキストでの高速化を実現している。
論文 参考訳(メタデータ) (2026-03-30T13:59:51Z) - IndexCache: Accelerating Sparse Attention via Cross-Layer Index Reuse [68.18308357205586]
Longcontext Agenticは、大規模言語モデルの定義ユースケースとして登場した。
Sparseは、この課題を効果的に解決し、DeepSeek Sparse Attention(DSA)は、代表的なプロダクショングレードソリューションである。
我々は、レイヤを独自のインデクサを実行するフルレイヤの小さなセットと、最も近いフルレイヤのトップkインデックスを単純に再利用する共有レイヤの大多数に分割することで、層間の冗長性を利用するIndexCacheを紹介します。
論文 参考訳(メタデータ) (2026-03-12T17:27:21Z)
関連論文リストは本サイト内にある論文のタイトル・アブストラクトから自動的に作成しています。
指定された論文の情報です。
本サイトの運営者は本サイト(すべての情報・翻訳含む)の品質を保証せず、本サイト(すべての情報・翻訳含む)を使用して発生したあらゆる結果について一切の責任を負いません。