Adamas: Hadamard Sparse Attention for Efficient Long-Context Inference
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) now support context windows of hundreds of thousands to millions of tokens, enabling applications such as long-document summarization, large-scale code synthesis, multi-document question answering and persistent multi-turn dialogue. However, such extended contexts exacerbate the quadratic cost of self-attention, leading to severe latency in autoregressive decoding. Existing sparse attention methods alleviate these costs but rely on heuristic patterns that struggle to recall critical key-value (KV) pairs for each query, resulting in accuracy degradation. We introduce Adamas, a lightweight yet highly accurate sparse attention mechanism designed for long-context inference. Adamas applies the Hadamard transform, bucketization and 2-bit compression to produce compact representations, and leverages Manhattan-distance estimation for efficient top-k selections. Experiments show that Adamas matches the accuracy of full attention with only a 64-token budget, achieves near-lossless performance at 128, and supports up to 8x higher sparsity than prior state-of-the-art (SOTA) methods while delivering up to 4.4x self-attention and 1.5x end-to-end speedups on 32K-length sequences. Remarkably, Adamas attains comparable or even lower perplexity than full attention, underscoring its effectiveness in maintaining accuracy under aggressive sparsity.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 30 of its 36 references that are in the map. First posted on arXiv 21 Oct 2025.
Builds on
30 of 36 references.
References · 30
- 2017Attention Is All You Needcited by 59,932
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,413
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 805
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
- 2024QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMscited by 598
18 more
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 584
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 487
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 475
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 391
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 375
- 2021Efficient Attentions for Long Document Summarizationcited by 342
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 283
- 2025FlashInfer: Efficient and Customizable Attention Engine for LLM Inference Servingcited by 248
- 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 192
- 2025MoBA: Mixture of Block Attention for Long-Context LLMscited by 188
- 2023BooookScore: A systematic exploration of book-length summarization in the era of LLMscited by 137
- 2024Leave No Document Behind: Benchmarking Long-Context LLMs with Extended Multi-Doc QAcited by 121
- 2024SeerAttention: Learning Intrinsic Sparse Attention in Your LLMscited by 121
- 2025FlexPrefill: A Context-Aware Sparse Attention Mechanism for Efficient Long-Sequence Inferencecited by 121
- 2025CollabLLM: From Passive Responders to Active Collaboratorscited by 117
- 2024MoA: Mixture-of-Attention for Subject-Context Disentanglement in Personalized Image Generationcited by 51
- 2024Generating Code World Models with Large Language Models Guided by Monte Carlo Tree Searchcited by 38
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Scout Before You Attend: Sketch-and-Walk Sparse Attention for Efficient LLM Inferencecited by 4
- 2026SOCKET: SOft Collision Kernel EsTimator for Sparse Attentioncited by 3
- 2026SALT: Salience-Aware Lexical Trie for Long-Context Compressioncited by 0
- 2026Self-Indexing Attention for Compression-Compatible Sparse Long-Context LLM Inferencecited by 0
- 2026Self-Indexing Attention for Compression-Compatible Sparse Long-Context LLM Inference16 Aug 2026
- 2026SALT: Salience-Aware Lexical Trie for Long-Context Compression20 Jul 2026
- 2026Scout Before You Attend: Sketch-and-Walk Sparse Attention for Efficient LLM Inference7 Feb 2026
- 2026SOCKET: SOft Collision Kernel EsTimator for Sparse Attention6 Feb 2026