ALHR sparse attention reads 30 keys per query, achieves 35x KV compression
Alarming-Emotion-894 · reddit · 2026-10-09
A developer released ALHR (Adaptive Learnable Hierarchical Routing), a tree-based sparse attention system achieving sub-quadratic inference while retaining accuracy.
Method
- Static binary trees plus learnable routing functions minimize keys read per query; a dense teacher is used in training phase 1.
MQAR test at 1024 tokens
- Keys read per query: dense 512 vs ALHR 30.
- Top-1 accuracy: 94.9% dense vs 92.1% ALHR.
- KV compression: 35.3x (2.83% read); 100% cache compression.
- Peak VRAM: dense 57MB (quadratic) vs ALHR 422MB (linear).
Limitations: training remains quadratic, inference is N log N; full-scale tests not yet done. Code and logs are open source on GitHub.
Related event: ALHR: Binary-Tree Sparse Attention Achieves O(NlogN) Long-Context Inference(2 posts)→
More from Research
- AfterMath Turns Pretrained Video Models into 3D Motion Predictors for Robots — mangahomanga · 2026-12-02
- Hugging Face releases INTIMA: a 368-prompt benchmark for AI companionship risk — evijit · 2026-12-02
- SLA aligns robot policies with a frozen 3D teacher, hitting 78.7% in real-world grasping — jiqizhixin · 2026-12-02
- NVIDIA's BioNeMo RFD4-Proteina shows potential in protein design for HIV prevention and cancer treatment — nvidia · 2026-12-02
- Preslav Nakov talks LLM factuality beyond hallucinations at the Alan Turing Institute — preslav_nakov · 2026-12-02
- Study links LLM scientific discovery ability to monofact rate in training data — MFarajtabar · 2026-12-02