scimeatlas

Research map / Architectures and efficiency / Attention and transformers

HATA: Trainable and Hardware-Efficient Hash-Aware Top-k Attention for Scalable Large Model Inference

ACL 2025Architectures and efficiency › Attention and transformersapproach: Sparse attention for long-context LLMsopen problems in this approach11 citations (OpenAlex)

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
10improved
2no clear effect
1hurt

AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Measured effects reported in the paper

What was changedWhereMeasuredEffect
replace hash-code top-k selection with Loki's low-rank score estimateHATA · RULER avg (Llama-2, 32K)accuracy: 7.16 vs 63.91Improved
use HATA instead of Quest block-level selectionLlama-3.1-8B-Instruct · RULER avgaccuracy: 72.55 -> 80.57Improved
use HATA sparse attention instead of denseLlama-3.1-8B-Instruct · LongBench-e avgaccuracy: 54.10 -> 53.94No clear effect
use HATA sparse attention instead of denseLlama-3.1-8B-Instruct · RULER avgaccuracy: 82.68 -> 80.57Hurt
use HATA instead of exact top-k attentionLlama-3.1-8B-Instruct · LongBench-v2 totalaccuracy: 28.63 -> 29.62Improved
use HATA offloading variant instead of MagicPIGLlama-2-7B-32K-Instruct · total time (prefill 36K, decode 500)seconds: 88.10 -> 23.30Improved
increase hash bits from 32 to 128 (ablation)HATA · LongBench-e (four datasets, two models)accuracyImproved
lower token budget down to 0.4% ratio (ablation)HATA · token budget ablationaccuracyNo clear effect
add high-performance Hamming score operator (ablation)HATA · attention latency, Llama2 128K inputlatency reduction: -53.2%Improved
add fused gather with FlashAttention (ablation)HATA · attention latency, Llama2 128K inputlatency reduction: -23.8%Improved
add kernel fusion for hash encoding (ablation)HATA · attention latency, Llama2 128K inputlatency reduction: -7.6%Improved
apply all three kernel optimizations versus simple PyTorch (ablation)HATA · attention latency, Llama2 128K inputspeedup: 6.53xImproved

Earlier methods this paper compares with

Named baselines from earlier accepted papers in this paper's results tables: better than 3 of 3 on most shared results.

Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.

Open problems in sparse attention for long-context LLMs

Which attention can a long-context model drop without losing the answer?

All 4 open problems and what was already tried →

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy