PaperLens
紙
Home
Close reading
Textbook
Learn
More
My Page
All-access
Sign in with Google
Mode
Students
Professional
Language
JA
EN
Theme
◐
Sign out
New
Lab
Landscape
Contributors
Glossary
Home
Close reading
Textbook
Learn
More
#triton
1 articles
01
2026-09-15
·
How Transformers Work
·
★ MEMBER
·
PAPER
·
15 min read
Paper Walkthrough: SAS — Training a Sparse-Attention Block Selector End-to-End With the Language Modeling Loss
The selector that decides which context blocks a query reads has traditionally been trained by imitating the dense model's attention distribution. SAS injects the selector's scores into the softmax as log-space gates, so the gradient that Top-K used to block flows straight from next-token prediction into the selector. We follow the paper through its four-axis ablation, the gradient formulas behind each choice, and the 10.6–15.5 point GPQA-Diamond gain at a 1024-token budget.