I built ALHR: A tree based sparse attention system that achieves sub-quadratic inference while retaining accuracy. [P]
Summary
作者介绍 ALHR(Adaptive Learnable Hierarchical Routing),一种基于静态二叉树与可学习函数的稀疏注意力系统,在 MQAR 测试中每查询仅读取约 30 个键(相比稠密注意力的 512 个),实现约 35.3 倍 KV 压缩,同时保持接近的准确率,并将推理复杂度降至 NlogN、显存线性扩展。
Similar Articles
I Built a O(NlogN) attention system that retains 97% accuracy over long context (MQAR)[P]
ALHR是一种基于静态二叉树和可学习预算预测器的注意力机制,将推理复杂度降至O(NlogN),在MQAR长上下文任务上保持约97%的密集基线精度,同时显著提升KV压缩和显存扩展效率。
Learning to Skip Blocks: Self-Discovered Ultrametric Routing for Hardware-Accelerated Sparse Attention
This paper introduces Dynamic Ultrametric Attention, a framework where Transformers learn per-head block-sparse routing topologies during training, which are then offloaded to a custom Triton block-sparse kernel at inference time, achieving up to 28x speedup and 98.4% memory reduction over dense attention.
Subquadratic AI introduces SubQ-1.1-Small, a new model using Smart Sparse Attention
Subquadratic AI introduces SubQ-1.1-Small, a model leveraging Smart Sparse Attention to achieve near-perfect long-context retrieval up to 12M tokens with up to 1,000x attention compute reduction. It balances long-context optimization with strong general reasoning, outperforming baselines on benchmarks like NIAH and RULER.
Queryable LoRA: Instruction-Regularized Routing Over Shared Low-Rank Update Atoms
Introduces Queryable LoRA, a data-adaptive method for efficient fine-tuning that uses a shared memory of low-rank update atoms with attention-based routing and instruction regularization to enable dynamic, context-sensitive parameter updates while maintaining scalability.
RoLaQ: Joint Rotation and Range Calibration for 2-Bit KV Caches in Multi-Head Latent Attention
RoLaQ提出了针对多头潜注意力(MLA)模型的2位KV缓存联合旋转与范围校准的离线量化方法,在DeepSeek-V2-Lite上实现3.96倍BF16 KV容量和2.51倍解码吞吐提升。