mlsanityData to 14 Oct 2026

RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient Inference

arXiv 2405.15198 ↗First posted 24 May 2024cs.CLcited by 4

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

  1. 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks22 May
  2. 2020REALM: Retrieval-Augmented Language Model Pre-Training10 Feb

Other references · 45

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  6. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  7. 2016Pointer Sentinel Mixture Modelscited by 3,096
  8. 2017Billion-scale similarity search with GPUscited by 2,497
  9. 2022BLOOM: A 176B-Parameter Open-Access Multilingual Language Modelcited by 1,984
  10. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  11. 2018Don't Give Me the Details, Just the Summary! Topic-Aware Convolutional Neural Networks for Extreme Summarizationcited by 1,317
  12. 2021Improving language models by retrieving from trillions of tokenscited by 1,293
33 more
  1. 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,292
  2. 2020Making Pre-trained Language Models Better Few-shot Learnerscited by 1,256
  3. 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
  4. 2020Leveraging Passage Retrieval with Generative Models for Open Domain Question Answeringcited by 1,210
  5. 2019Generalization through Memorization: Nearest Neighbor Language Modelscited by 800
  6. 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 650
  7. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
  8. 2022Confident Adaptive Language Modelingcited by 310
  9. 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 273
  10. 2023Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Timecited by 252
  11. 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
  12. 2020Nearest Neighbor Machine Translationcited by 209
  13. 2023Augmenting Language Models with Long-Term Memorycited by 189
  14. 2023Lift Yourself Up: Retrieval-augmented Text Generation with Self Memorycited by 103
  15. 2024SLEB: Streamlining LLMs through Redundancy Verification and Elimination of Transformer Blockscited by 97
  16. 2024Not All Layers of LLMs Are Necessary During Inferencecited by 96
  17. 2023Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decodingcited by 80
  18. 2022Training Data is More Valuable than You Think: A Simple and Effective Method by Retrieving from Training Datacited by 61
  19. 2023SPEED: Speculative Pipelined Execution for Efficient Decodingcited by 47
  20. 2021Towards Efficient NLP: A Standard Evaluation and A Strong Baselinecited by 44
  21. 2023SEENN: Towards Temporal Spiking Early-Exit Neural Networkscited by 41
  22. 2021Zero Time Waste: Recycling Predictions in Early Exit Neural Networkscited by 39
  23. 2022A Simple Hash-Based Early Exiting Approach For Language Understanding and Generationcited by 32
  24. 2021Accelerating BERT Inference for Sequence Labeling via Early-Exitcited by 29
  25. 2022Decoupled Context Processing for Context Augmented Language Modelingcited by 24
  26. 2023Fixing Overconfidence in Dynamic Neural Networkscited by 19
  27. 2021Magic Pyramid: Accelerating Inference with Early Exiting and Token Pruningcited by 16
  28. 2023Towards Anytime Classification in Early-Exit Architectures by Enforcing Conditional Monotonicitycited by 16
  29. 2023Jointly-Learned Exit and Inference for a Dynamic Neural Network : JEI-DNNcited by 15
  30. 2023ReDi: Efficient Learning-Free Diffusion Inference via Trajectory Retrievalcited by 12
  31. 2024CEEBERT: Cross-Domain Inference in Early Exit BERTcited by 12
  32. 2023Mini-GPTs: Efficient Large Language Models through Contextual Pruningcited by 6
  33. 2024ReFusion: Improving Natural Language Understanding with Computation-Efficient Retrieval Representation Fusioncited by 5

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 1; 2026: 3.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2024An Efficient Inference Framework for Early-exit Large Language Models
  2. 2025SimLens for Early Exit in Large Language Models: Eliciting Accurate Latent Predictions with One More Token
  3. 2023ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference
  4. 2026The Diminishing Returns of Early-Exit Decoding in Modern LLMs
  5. 2024Accelerating Large Language Model Inference with Self-Supervised Early Exits
  6. 2024Dynamic Vocabulary Pruning in Early-Exit LLMs
  7. 2025Accelerating Large Language Model Inference via Early-Exiting Algorithms
  8. 2024A Survey on Efficient Inference for Large Language Models