O(NlogN) tree-based attention retains 97% accuracy on long-context MQAR benchmark

Alarming-Emotion-894 · reddit · 2026-10-11

A Reddit post introduces ALHR (Adaptive Learnable Hierarchical Routing), a static binary-tree attention system using learnable functions to reduce the number of keys involved. It achieves O(NlogN) complexity, retains 97% accuracy on the long-context MQAR benchmark, and scales far better in VRAM as tokens grow.

Related event: ALHR: Binary-Tree Sparse Attention Achieves O(NlogN) Long-Context Inference(2 posts)→

Original post →

More from Research

Research channel →