RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient Inference
On the map: Retrieval-augmented generation → Generation and context integration
also in 1 more
Abstract (arXiv)
Deploying large language model inference remains challenging due to their high computational overhead. Early exit optimizes model inference by adaptively reducing the number of inference layers. Current methods typically train internal classifiers or use heuristic methods to determine the exit layer. However, those methods either introduce significant training overheads or lead to performance degradation. To address these limitations, this paper proposes RAEE, a robust Retrieval-Augmented Early Exit framework that not only enables early exit but also enhances model performance through corrective exit information at intermediate layers. This paper first demonstrates that the early exit problem can be effectively modeled as a distribution prediction problem, in which the distribution can be further approximated through the exit information of similar data. Subsequently, this paper introduces the process of collecting exit information of correct predictions and the steps to construct the retrieval database. Finally, leveraging the pre-constructed retrieval database, RAEE utilizes the exit information from retrieved similar data to guide the backbone model's exit. Experimental results demonstrate that RAEE can not only accelerate inference while achieving robust zero-shot performance across eight downstream tasks.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in Generation and context integration, one of 15 directions in Retrieval-augmented generation. Builds on 47 of its 64 references that are in the map. First posted on arXiv 24 May 2024.
Builds on
47 of 64 references.
Closest ancestors · 2
Same direction, newest first
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May
- 2020REALM: Retrieval-Augmented Language Model Pre-Training10 Feb
Other references · 45
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2017Billion-scale similarity search with GPUscited by 2,497
- 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
- 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
33 more
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
- 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
- 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
- 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 650
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
- 2022Confident Adaptive Language Modelingcited by 310
- 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 273
- 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
- 2020Nearest Neighbor Machine Translationcited by 209
- 2023Augmenting Language Models with Long-Term Memorycited by 189
- 2023Lift Yourself Up: Retrieval-augmented Text Generation with Self Memorycited by 103
- 2024SLEB: Streamlining LLMs through Redundancy Verification and Elimination of Transformer Blockscited by 97
- 2024Not All Layers of LLMs Are Necessary During Inferencecited by 96
- 2023Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decodingcited by 80
- 2022Training Data is More Valuable than You Think: A Simple and Effective Method by Retrieving from Training Datacited by 61
- 2023SPEED: Speculative Pipelined Execution for Efficient Decodingcited by 47
- 2021Towards Efficient NLP: A Standard Evaluation and A Strong Baselinecited by 44
- 2023SEENN: Towards Temporal Spiking Early-Exit Neural Networkscited by 41
- 2021Zero Time Waste: Recycling Predictions in Early Exit Neural Networkscited by 39
- 2022A Simple Hash-Based Early Exiting Approach For Language Understanding and Generationcited by 32
- 2021Accelerating BERT Inference for Sequence Labeling via Early-Exitcited by 29
- 2022Decoupled Context Processing for Context Augmented Language Modelingcited by 24
- 2023Fixing Overconfidence in Dynamic Neural Networkscited by 19
- 2021Magic Pyramid: Accelerating Inference with Early Exiting and Token Pruningcited by 16
- 2023Towards Anytime Classification in Early-Exit Architectures by Enforcing Conditional Monotonicitycited by 16
- 2023Jointly-Learned Exit and Inference for a Dynamic Neural Network : JEI-DNNcited by 15
- 2023ReDi: Efficient Learning-Free Diffusion Inference via Trajectory Retrievalcited by 12
- 2024CEEBERT: Cross-Domain Inference in Early Exit BERTcited by 12
- 2023Mini-GPTs: Efficient Large Language Models through Contextual Pruningcited by 6
- 2024ReFusion: Improving Natural Language Understanding with Computation-Efficient Retrieval Representation Fusioncited by 5
Built on by
Citing papers per year: 2025: 1; 2026: 3.
4 papers.
- 2025GM-Skip: Metric-Guided Transformer Block Skipping for Efficient Vision-Language Modelscited by 1
- 2026River-LLM: Large Language Model Seamless Exit Based on KV Sharecited by 1
- 2026GaiaFlow: Semantic-Guided Diffusion Tuning for Carbon-Frugal Searchcited by 0
- 2026Efficient Block-Layer Parallel Inference for Vision-Language-Action on Hybrid Architecturescited by 0
- 2026Efficient Block-Layer Parallel Inference for Vision-Language-Action on Hybrid Architectures19 Jun 2026
- 2026River-LLM: Large Language Model Seamless Exit Based on KV Share20 Apr 2026
- 2026GaiaFlow: Semantic-Guided Diffusion Tuning for Carbon-Frugal Search17 Feb 2026
- 2025GM-Skip: Metric-Guided Transformer Block Skipping for Efficient Vision-Language Models20 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2024An Efficient Inference Framework for Early-exit Large Language Models
- 2025SimLens for Early Exit in Large Language Models: Eliciting Accurate Latent Predictions with One More Token
- 2023ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference
- 2026The Diminishing Returns of Early-Exit Decoding in Modern LLMs
- 2024Accelerating Large Language Model Inference with Self-Supervised Early Exits
- 2024Dynamic Vocabulary Pruning in Early-Exit LLMs
- 2025Accelerating Large Language Model Inference via Early-Exiting Algorithms
- 2024A Survey on Efficient Inference for Large Language Models