Crimson AI NewsA CrimsonLingua Network service
EN ع
← Back to news
Research paper Hugging Face

DoSA Cuts Sparse Attention Cost While Keeping Exact Top-K Selection

AI By Crimson AI Hugging Face Papers 14 October 2026 · 00:00 56 views
Share: X Telegram

A new Hugging Face paper introduces DoSA (Dots Sparse Attention), a lossless method that avoids scoring every key by using bounds to reject ineligible candidates early, reporting up to 2.74x Indexer speedup and 1.94x time-to-first-token gains.

DoSA Cuts Sparse Attention Cost While Keeping Exact Top-K Selection

Key points

Sparse attention only visits a small number of keys, but locating those keys can still demand scoring every key against every indexer head. A new research paper, DoSA (Dots Sparse Attention), proposes a lossless way to make that computation conditional while preserving exact token selection.

The method rests on a simple observation: Top-K selection needs enough evidence to reject a candidate, not necessarily its full score. DoSA builds a seed set that supplies a lower bound on the winning threshold, then uses nonnegative head projections and joint residual bounds to upper-bound positive contributions. Activation-informed aggregation bounds the magnitude subtracted by negative heads.

Together these form a certificate that directs full scoring only toward candidates still eligible, while exact-score filtering further reduces writeback and selection work. The authors establish the certificate and its exact-selection conditions, and analyze how geometry and selection margins govern its effectiveness.

On GPU, the implementation accelerates the complete Indexer by up to 2.74x over SGLang and 1.69x over LiteTopK across English, Chinese, and code workloads. End-to-end evaluation on GLM-5.2 and DeepSeek-V3.2 reports up to 1.94x and 1.50x time-to-first-token speedups over the two baselines, respectively.

MetricBaselineDoSA Speedup
Complete Indexer (GPU)SGLangup to 2.74x
Complete Indexer (GPU)LiteTopKup to 1.69x
Time-to-first-token (GLM-5.2)Baselineup to 1.94x
Time-to-first-token (DeepSeek-V3.2)Baselineup to 1.50x
Source
Hugging Face · Hugging Face Papers
Related news
Research paper
Hugging Face 15 Oct 2026

New Survey Maps How Multimodal AI Agents Remember and Evolve

A Hugging Face survey proposes a two-axis framework for multimodal agent memory, separating how information is formed and represen...

112
Research paper
Hugging Face 15 Oct 2026

CriticOPD Fixes On-Policy Distillation by Letting Teachers Critique Student Errors

Hugging Face researchers introduce CriticOPD, a method that restores the teacher's ability to recover from student mistakes during...

96
Research paper
Hugging Face 15 Oct 2026

ActionOPD: Distilling Agent Decisions, Not Tokens

A new Hugging Face paper proposes ActionOPD, an action-level on-policy distillation method that aligns a student agent's decisions...

100