mlsanityData to 7 Oct 2026

A Simple Hash-Based Early Exiting Approach For Language Understanding and Generation

arXiv 2203.01670 ↗First posted 3 Mar 2022cs.CLcited by 32

On the map: Efficient LLM inference and serving → Early exit and edge inference

Abstract (arXiv)

Early exiting allows instances to exit at different layers according to the estimation of difficulty. Previous works usually adopt heuristic metrics such as the entropy of internal outputs to measure instance difficulty, which suffers from generalization and threshold-tuning. In contrast, learning to exit, or learning to predict instance difficulty is a more appealing way. Though some effort has been devoted to employing such "learn-to-exit" modules, it is still unknown whether and how well the instance difficulty can be learned. As a response, we first conduct experiments on the learnability of instance difficulty, which demonstrates that modern neural models perform poorly on predicting instance difficulty. Based on this observation, we propose a simple-yet-effective Hash-based Early Exiting approach (HashEE) that replaces the learn-to-exit modules with hash functions to assign each token to a fixed exiting layer. Different from previous methods, HashEE requires no internal classifiers nor extra parameters, and therefore is more efficient. Experimental results on classification, regression, and generation tasks demonstrate that HashEE can achieve higher performance with fewer FLOPs and inference time compared with previous state-of-the-art early exiting methods.

Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 38 of its 59 references that are in the map. First posted on arXiv 3 Mar 2022.

Builds on

38 of 59 references.

Closest ancestors · 1

Same direction, newest first

  1. 2021Accelerating BERT Inference for Sequence Labeling via Early-Exit28 May

Other references · 37

  1. 2017Attention Is All You Needcited by 59,932
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  5. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  6. 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
  7. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
  8. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
  9. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
  10. 2015A large annotated corpus for learning natural language inferencecited by 1,837
  11. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
  12. 2015Teaching Machines to Read and Comprehendcited by 1,039
25 more
  1. 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
  2. 2019Are Sixteen Heads Really Better than One?cited by 803
  3. 2018Universal Transformerscited by 613
  4. 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
  5. 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
  6. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
  7. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
  8. 2020CLUE: A Chinese Language Understanding Evaluation Benchmarkcited by 277
  9. 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 267
  10. 2021Hash Layers For Large Sparse Modelscited by 236
  11. 2019Depth-Adaptive Transformercited by 227
  12. 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 224
  13. 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
  14. 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 125
  15. 2020BERT-of-Theseus: Compressing BERT by Progressive Module Replacingcited by 112
  16. 2018Abstractive Summarization of Reddit Posts with Multi-level Memory Networkscited by 102
  17. 2021Rethinking Architecture Selection in Differentiable NAScited by 92
  18. 2020CoLAKE: Contextualized Language and Knowledge Embeddingcited by 86
  19. 2021CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generationcited by 81
  20. 2020Norm-Based Curriculum Learning for Neural Machine Translationcited by 60
  21. 2020CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models Cascadecited by 47
  22. 2021Towards Efficient NLP: A Standard Evaluation and A Strong Baselinecited by 44
  23. 2021Paradigm Shift in Natural Language Processingcited by 39
  24. 2015Measuring Word Significance using Distributed Representations of Wordscited by 21
  25. 2021Early Exiting with Ensemble Internal Classifierscited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 2; 2023: 8; 2024: 13; 2025: 6; 2026: 3.

32 papers.

Sort:

By area:

  1. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 466
  2. 2022Confident Adaptive Language Modelingcited by 297
  3. 2024A Survey on Efficient Inference for Large Language Modelscited by 197
  4. 2023SkipDecode: Autoregressive Skip Decoding with Batching and Caching for Efficient LLM Inferencecited by 89
  5. 2024LoRC: Low-Rank Compression for LLMs KV Cache with a Progressive Compression Strategycited by 50
  6. 2023Predictive Pipelined Decoding: A Compute-Latency Trade-off for Exact LLM Decodingcited by 40
  7. 2024ALoRA: Allocating Low-Rank Adaptation for Fine-tuning Large Language Modelscited by 36
  8. 2023LGViT: Dynamic Early Exiting for Accelerating Vision Transformercited by 30
  9. 2023The Benefits of Bad Advice: Autocontrastive Decoding across Model Layerscited by 28
  10. 2024FFN-SkipLLM: A Hidden Gem for Autoregressive Decoding with Adaptive Feed Forward Skippingcited by 23
  11. 2023Candidate Soups: Fusing Candidate Results Improves Translation Quality for Non-Autoregressive Translationcited by 13
  12. 2023ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inferencecited by 13
20 more
  1. 2022Continuous Detection, Rapidly React: Unseen Rumors Detection based on Continual Prompt-Tuningcited by 12
  2. 2024CEEBERT: Cross-Domain Inference in Early Exit BERTcited by 12
  3. 2025PARA: Parameter-Efficient Fine-tuning with Prompt Aware Representation Adjustmentcited by 9
  4. 2024Hierarchical Skip Decoding for Efficient Autoregressive Text Generationcited by 7
  5. 2023SHARCS: Efficient Transformers through Routing with Dynamic Width Sub-networkscited by 6
  6. 2025BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as Expertscited by 6
  7. 2024A Comprehensive Survey of Accelerated Generation Techniques in Large Language Modelscited by 5
  8. 2024An Efficient Inference Framework for Early-exit Large Language Modelscited by 5
  9. 2026AgentStop: Terminating Local AI Agents Early to Save Energy in Consumer Devicescited by 5
  10. 2024RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient Inferencecited by 4
  11. 2024DE3-BERT: Distance-Enhanced Early Exiting for BERT based on Prototypical Networkscited by 3
  12. 2025GREEN-CODE: Learning to Optimize Energy Efficiency in LLM-based Code Generationcited by 3
  13. 2025Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and Reliabilitycited by 3
  14. 2025Improving Prediction Certainty Estimation for Reliable Early Exiting via Null Space Projectioncited by 2
  15. 2024IAPT: Instruction-Aware Prompt Tuning for Large Language Modelscited by 1
  16. 2024COSEE: Consistency-Oriented Signal-Based Early Exiting via Calibrated Sample Weighting Mechanismcited by 1
  17. 2026Evaluating ChatGPT on Medical Information Extraction Tasks: Performance, Explainability and Beyondcited by 1
  18. 2024FiRST: Finetuning Router-Selective Transformers for Input-Adaptive Latency Reductioncited by 0
  19. 2025Nav-EE: Navigation-Guided Early Exiting for Efficient Vision-Language Models in Autonomous Drivingcited by 0
  20. 2026t-gems: text-guided exit modules for decreasing clip image encodercited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026The Diminishing Returns of Early-Exit Decoding in Modern LLMs
  2. 2026ADEPT: Adaptive Dynamic Early-Exit Process for Transformers
  3. 2025A Survey of Early Exit Deep Neural Networks in NLP
  4. 2024Dynamic Vocabulary Pruning in Early-Exit LLMs
  5. 2022Avoid Overthinking in Self-Supervised Models for Speech Recognition
  6. 2023Learning to Skip for Language Modeling
  7. 2025SimLens for Early Exit in Large Language Models: Eliciting Accurate Latent Predictions with One More Token
  8. 2026Two-dimensional early exit optimisation of LLM inference