重要なトークンの見落としを抑え長文の入力処理を高速化
RBS-Attention: Radius-Bounded Sparse Prefill for Long-Context Large Language Models
この論文をやさしく読む
ひとことで言うと
長い入力の中で計算を省く部分を選ぶ際、平均すると埋もれる重要なトークンを別の判定で救い出す方法です。
何に役立つ?
長文を入力したときに最初の応答が出るまでの待ち時間を短縮する用途が考えられます。追加訓練を必要としない点も特徴です。
この研究の面白いところ
ブロックの平均的な関連性を見る経路と、外れた重要情報を拾う経路を分け、既存の高速な疎注意計算を保っています。
どこまで分かった?
20.65倍は注意計算単独、5.97倍は最初のトークンまでの全体時間です。全生成時間の高速化ではありません。RULERの正解率は密な注意よりわずかに低い結果も示しています。
v1のアブストラクトに基づくAI解説。日本語訳とは別に、用途の解釈を含みます。
アブストラクトの日本語訳
長い文脈を扱う大規模言語モデルの推論では、生成開始前に密な自己注意がプロンプト全体を処理するプリフィルが、ますます制約となっている。疎なブロック選択はこの費用を減らせるが、ブロックの重心は、多数の無関係なトークンに混じった非常に関連性の高いトークンを隠してしまうことがある。この失敗を「平均による希薄化」と呼び、相補的な二つの選択分岐を持つ、追加訓練不要の疎なプリフィル手法RBS-Attentionを提案する。 重心を用いる基本分岐は平均的な関連性を捉える。一方、救済分岐はキーブロックの最大半径と、プロンプト・層・ヘッドに依存するその分布を用い、過小評価される危険のあるブロックを特定する。二つの分岐に独立したしきい値を設定し、マスクを組み合わせることで、通常のブロック疎なFlashAttentionの実行を保ちつつ、救済ブロックの寄与を制御する。 H100 GPU上のQwen3-30B-A3B-Instruct-2507-FP8を用いた128Kの条件で、RBS-Attentionは、単独のプリフィル注意計算を20.65倍、vLLM内のプリフィル注意計算を11.92倍、処理全体の最初のトークンが出るまでの時間を5.97倍高速化した。密なQwen3-32Bモデルでは、RULERの総合正解率が88.65で、密な注意の場合の89.52に対する値となった。さらにLongBench-v2、InfiniteBench、Video-MMEで品質を評価した。補助実験では、実際の保持率を測定し、密度をそろえて選択器を比較し、ブロックサイズ、しきい値、メモリーの挙動を調べた。これらの結果は、半径に適応した二分岐の選択が、長文脈のプリフィルに有効な方法であることを支持する。
v1の要旨から自動生成。本文の精読・人による確認は未実施。
- 初稿
- 2026-09-17(UTC)
- 最新改訂
- 2026-09-17 · v1
- 査読・掲載
- 査読状況未確認
更新履歴
- v1 2026-09-17 この版を読む
取得できた版を表示。版の更新は査読済みを意味しません。過去版の本文差分は未解析です。
原文の要旨
Long-context large language model inference is increasingly limited by prefill, where dense self-attention processes the entire prompt before generation begins. Sparse block selection can reduce this cost, but a block centroid may hide a highly relevant token among many irrelevant ones. We call this failure mode mean dilution and propose RBS-Attention, a training-free sparse-prefill method with two complementary selection branches. A centroid base branch captures average relevance, while a rescue branch uses the maximum key-block radius and its prompt-, layer-, and head-dependent distribution to identify blocks at risk of underestimation. Independently thresholding the two branches and combining their masks controls the contribution of rescue blocks while preserving regular block-sparse FlashAttention execution. On H100 GPUs, RBS-Attention achieves 20.65$\times$ standalone prefill-attention speedup, 11.92$\times$ vLLM prefill-attention speedup, and 5.97$\times$ end-to-end time-to-first-token speedup at 128K on Qwen3-30B-A3B-Instruct-2507-FP8. On the dense Qwen3-32B model, it obtains 88.65 overall RULER accuracy versus 89.52 for dense attention; LongBench-v2, InfiniteBench, and Video-MME provide additional quality evaluation. Supporting experiments measure actual retention, compare selectors at matched density, and characterize block-size, threshold, and memory behavior. Together, these results support radius-adaptive dual-branch selection as an effective approach to long-context prefill.
arXiv ID: 2609.20971 / 要約の誤りについて