Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
【HackSick vol.10 LT会】複数軸から見るSelf Attention改善手法の...
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Rikka Botan
October 31, 2026
Research
13
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
【HackSick vol.10 LT会】複数軸から見るSelf Attention改善手法の体系的整理
近年、性能改善と事前学習安定化、スーパーウェイトの発生抑制を目的としてさまざまな手法が提案されています。
Self Attentionの改善手法を複数軸で体系的に解説します。
Rikka Botan
October 31, 2026
More Decks by Rikka Botan
See All by Rikka Botan
ICAITD 2026 Oral Presentation
rikkabotan7
0
120
生成AIなんでも展示会vol6 LT登壇資料 NexteraBERT
rikkabotan7
0
210
HackSick vol.7 LT資料【LLMアーキテクチャ入門・事前学習時の躓き所解説】 スパースなAttention・状態空間モデル
rikkabotan7
0
230
SSE: Stable Static Embedding
rikkabotan7
0
54
【ローカルAI LT大会】SSE: Stable Static Embedding ー速度低下を伴わず 静的埋め込みモデルの潜在能力を引き出す Dynamic Tanh手法の提案
rikkabotan7
0
120
Other Decks in Research
See All in Research
Karkada さんの論文 × 2 の紹介: (1) Closed-Form Training Dynamics Reveal Learned Features and Linear Structure in Word2Vec-like Models, (2) Symmetry in language statistics shapes the geometry of model representations
eumesy
PRO
1
890
GeoAgent勉強会 論文紹介と強い推論モデルが与えるインパクト
satai
5
440
Prithvi-EO-2.0
satai
3
110
2025年度秋葉原ウォーカブルプロジェクト調査報告 「アキバらしいウォーカブル」とは何か
izumiyama_lab
1
270
Top 4セキュリティ会議に一通り論文が採択されるまでの道のりと展望 / Top 4 Security Grand Slam
takaomurakami
0
1k
Empreinte carbone des ovins : une approche globale (technique, économique, environnementale) – 4 années de résultats avec LIFE GREEN SHEEP
institutdelelevage
PRO
0
130
MIRU2026 チュートリアル講演2:三次元データ処理の動向
nnchiba
8
5.4k
JPA2026_NetworkTutorial_JunKashihara
junkashihara
0
240
Local Development Companies Network - National Conference 2026
ldcn
0
140
GLIM とMegaParticles:正規分布近似の限界とタイトカップリング&パーティクルフィルタの進展 / GLIM and MegaParticles : Progress of the distribution representation in SLAM
koide3
0
1k
Evaluation génomique des femelles laitières croisées : comprendre la méthode pour accompagner les éleveurs à son utilisation
institutdelelevage
PRO
0
190
山中市政が招いた組織崩壊:よこはま安心ボックスを例に
sishi
0
360
Featured
See All Featured
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
610
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
740
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
280
Speed Design
sergeychernyshev
33
2.2k
What does AI have to do with Human Rights?
axbom
PRO
1
2.5k
Lightning Talk: Beautiful Slides for Beginners
inesmontani
PRO
2
740
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.6k
JAMstack: Web Apps at Ludicrous Speed - All Things Open 2022
reverentgeek
1
650
Conquering PDFs: document understanding beyond plain text
inesmontani
PRO
4
3.2k
[Rails World 2026] Durable orchestration on Rails: from continuation to workflow
palkan
2
950
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.2k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
10
1.4k
Transcript
複数軸から見るSelf Attention改善手法の体系的整理 GSXA: Gated Scalable Exclusive Self Attentionの提案
Vol.10
自己紹介 / About us り っ か ぼ た ん
六花 牡丹 Rikka Botan 独立研究者(機械学習 / 代数学 / 数理論理学) Independent researcher (machine learning / algebra / mathematical logic) ◆趣味 お菓子作り・紅茶・クラシック鑑賞・お洋服 ◆最近の活動 Silver Award: Liquid AI Hackathon Series | Tokyo 記事執筆(Mamba, LFM2 (LTCs) 関連) SSE Model / NexteraBERT Modelシリーズの公開 X(Twitter) Portfolio
目次 1 代表的なSelf Attention改善手法の体系的分類 2 性能向上以外の側面 3 各工程ごとの分類 4 GSXA:
Gated Scalable Exclusive Self Attention 5 まとめ
代表的なSelf Attention改善手法の体系的分類 Attention Sink 抑制 学習安定化 QK-Clip Learnable Bias 性能・表現力
XSA: Exclusive Self Attention Logit soft-capping NSA: Native Sparse Attention 量子化耐性 QK-Norm NoPE Gated Attention Differential Transformer KDA: Kimi Delta Attention TPA: Tensor Product Attention ResFormer Scalable Softmax DSA: Deepseek Sparse Attention CSA: Compressed Sparse Attention 外挿性向上 MLA: Multi-head Latent Attention GQA: Grouped Query Attention MSA: Minimax Sparse Attention SWA: Sliding Window Attention MoBA: Mixture of Block Attention Sigmoid Attention 推論・計算効率
性能向上以外の側面 ▪複数軸から見るべき改善 Self Attentionの改善手法は単純にPPLを低下させるだけにとどまらない。 追加する演算量に対して、PPL低下量はそこまで大きくない場合もあるが、 それ以外の面の改善が大きく、採用されるケースが増えている。 例えば、Gated Attentionでは、Attention Sinkの抑制・事前学習安定化(Loss spike発生抑制)・外挿性向上
が報告されており、追加される演算量に対して得られる効果は大きい。
各工程ごとの分類 ①射影: Query, Key, Value = Wx ②行列積: QKT /
√d ③Softmax QK-Clip Logit soft-capping Scalable Softmax QK-Norm NSA: Native Sparse Attention Differential Transformer ResFormer MLA: Multi-head Latent Attention TPA: Tensor Product Attention KDA: Kimi Delta Attention Sigmoid Attention ④集約・出力 XSA: Exclusive Self Attention Gated Attention Learnable Bias DSA: Deepseek Sparse Attention NoPE MSA: Minimax Sparse Attention GQA: Grouped Query Attention MoBA: Mixture of Block Attention CSA: Compressed Sparse Attention SWA: Sliding Window Attention 実装においては、 手法ごとにSelf Attentionのどの工程に 変更を加えるかが異なる。 同値な式変形などによって 変更する工程を変えることもできる。 ②行列積部分はTritonカーネルなどへの影響が大きく、 比較的変更の難易度が高い。
GSXA: Gated Scalable Exclusive Self Attention ①射影: Query, Key, Value
= Wx QK-Clip ②行列積: QKT / √d なし QK-Norm ResFormer GQA: Grouped Query Attention ▪GSXAの目的 ・外挿性向上 (Scalable Softmax, Gated Attention) ・事前学習安定化 (QK Norm, QK-Clip, Gated Attention) ・Attention Sink低減 (Scalable Softmax, Gated Attention) ・性能向上 (XSA, Scalable Softmax, Gated Attention) ・演算の軽量化 (GQA) ・量子化耐性向上 (Gated Attention, QK Norm) ③Softmax Scalable Softmax ④集約・出力 XSA: Exclusive Self Attention Gated Attention
GSXA: Gated Scalable Exclusive Self Attention ▪GSXAの評価結果 性能向上・外挿性向上が確認された。 事前学習の安定性・Attention Sink低減
・量子化耐性向上の効果は さらなる検証が必要。
まとめ Self Attentionの改善手法はPPL低下だけが目的ではありません。 そのモデルにおいて、 何を改善したいのか、 そのタスクでどの性質が必要となるのか、 使用条件で何がボトルネックとなるのか を見極め、俯瞰的な視点で採用を決める必要があります。
11