Radar: Fast Long-Context Decoding for Any Transformer
Not on the map. Why?
Abstract (arXiv)
Transformer models have demonstrated exceptional performance across a wide range of applications. Though forming the foundation of Transformer models, the dot-product attention does not scale well to long-context data since its time requirement grows quadratically with context length. In this work, we propose Radar, a training-free approach that accelerates inference by dynamically searching for the most important context tokens. For any pre-trained Transformer, Radar can reduce the decoding time complexity without training or heuristically evicting tokens. Moreover, we provide theoretical justification for our approach, demonstrating that Radar can reliably identify the most important tokens with high probability. We conduct extensive comparisons with the previous methods on a wide range of tasks. The results demonstrate that Radar achieves the state-of-the-art performance across different architectures with reduced time complexity, offering a practical solution for efficient long-context processing of Transformers.
Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 48 of its 56 references that are in the map. First posted on arXiv 13 Mar 2025.
Builds on
48 of 56 references.
References · 48
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2024The Llama 3 Herd of Modelscited by 14,192
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2020End-to-End Object Detection with Transformerscited by 7,384
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
36 more
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2023Mistral 7Bcited by 3,065
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 1,979
- 2020Big Bird: Transformers for Longer Sequencescited by 1,673
- 2020Reformer: The Efficient Transformercited by 1,658
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,462
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
- 2023RWKV: Reinventing RNNs for the Transformer Eracited by 814
- 2020Long Range Arena: A Benchmark for Efficient Transformerscited by 696
- 2023Muse: Text-To-Image Generation via Masked Generative Transformerscited by 640
- 2020Efficient Content-Based Sparse Attention with Routing Transformerscited by 469
- 2022The Stack: 3 TB of permissively licensed source codecited by 354
- 2021Random Feature Attentioncited by 350
- 2022CogView2: Faster and Better Text-to-Image Generation via Hierarchical Transformerscited by 305
- 2020Multilingual Translation with Extensible Multilingual Pretraining and Finetuningcited by 287
- 2019Transformer Dissection: A Unified Understanding of Transformer's Attention via the Lens of Kernelcited by 211
- 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 206
- 2021Self-attention Does Not Need O(n2) Memorycited by 152
- 2023BiFormer: Vision Transformer with Bi-Level Routing Attentioncited by 150
- 2023Representational Strengths and Limitations of Transformerscited by 132
- 2021CDTrans: Cross-domain Transformer for Unsupervised Domain Adaptationcited by 129
- 2021Scatterbrain: Unifying Sparse and Low-rank Attention Approximationcited by 128
- 2023Unlimiformer: Long-Range Transformers with Unlimited Length Inputcited by 127
- 2021RegionViT: Regional-to-Local Attention for Vision Transformerscited by 126
- 2020Fast Transformers with Clustered Attentioncited by 123
- 2021Do Long-Range Language Models Actually Use Long-Range Context?cited by 92
- 2023HyperAttention: Long-context Attention in Near-Linear Timecited by 85
- 2021What Context Features Can Transformer Language Models Use?cited by 49
- 2024SubGen: Token Generation in Sublinear Time and Memorycited by 21
- 2023DASpeech: Directed Acyclic Transformer for Fast and High-quality Speech-to-Speech Translationcited by 9
- 2024Reducing Distraction in Long-Context Language Models by Focused Learningcited by 8
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.