A Simple Hash-Based Early Exiting Approach For Language Understanding and Generation
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
Other references · 37
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
- 2019BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehensioncited by 5,874
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,772
- 2015A large annotated corpus for learning natural language inferencecited by 1,837
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2015Teaching Machines to Read and Comprehendcited by 1,039
25 more
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
- 2019Are Sixteen Heads Really Better than One?cited by 803
- 2018Universal Transformerscited by 613
- 2020Pre-trained Models for Natural Language Processing: A Surveycited by 504
- 2019Patient Knowledge Distillation for BERT Model Compressioncited by 502
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
- 2020CLUE: A Chinese Language Understanding Evaluation Benchmarkcited by 277
- 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 267
- 2021Hash Layers For Large Sparse Modelscited by 236
- 2019Depth-Adaptive Transformercited by 227
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 224
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
- 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 125
- 2020BERT-of-Theseus: Compressing BERT by Progressive Module Replacingcited by 112
- 2018Abstractive Summarization of Reddit Posts with Multi-level Memory Networkscited by 102
- 2021Rethinking Architecture Selection in Differentiable NAScited by 92
- 2020CoLAKE: Contextualized Language and Knowledge Embeddingcited by 86
- 2021CPT: A Pre-Trained Unbalanced Transformer for Both Chinese Language Understanding and Generationcited by 81
- 2020Norm-Based Curriculum Learning for Neural Machine Translationcited by 60
- 2020CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models Cascadecited by 47
- 2021Towards Efficient NLP: A Standard Evaluation and A Strong Baselinecited by 44
- 2021Paradigm Shift in Natural Language Processingcited by 39
- 2015Measuring Word Significance using Distributed Representations of Wordscited by 21
- 2021Early Exiting with Ensemble Internal Classifierscited by 19
Built on by
Citing papers per year: 2022: 2; 2023: 8; 2024: 13; 2025: 6; 2026: 3.
32 papers.
Sort:
By area:
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 466
- 2022Confident Adaptive Language Modelingcited by 297
- 2024A Survey on Efficient Inference for Large Language Modelscited by 197
- 2023SkipDecode: Autoregressive Skip Decoding with Batching and Caching for Efficient LLM Inferencecited by 89
- 2024LoRC: Low-Rank Compression for LLMs KV Cache with a Progressive Compression Strategycited by 50
- 2023Predictive Pipelined Decoding: A Compute-Latency Trade-off for Exact LLM Decodingcited by 40
- 2024ALoRA: Allocating Low-Rank Adaptation for Fine-tuning Large Language Modelscited by 36
- 2023LGViT: Dynamic Early Exiting for Accelerating Vision Transformercited by 30
- 2023The Benefits of Bad Advice: Autocontrastive Decoding across Model Layerscited by 28
- 2024FFN-SkipLLM: A Hidden Gem for Autoregressive Decoding with Adaptive Feed Forward Skippingcited by 23
- 2023Candidate Soups: Fusing Candidate Results Improves Translation Quality for Non-Autoregressive Translationcited by 13
- 2023ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inferencecited by 13
20 more
- 2022Continuous Detection, Rapidly React: Unseen Rumors Detection based on Continual Prompt-Tuningcited by 12
- 2024CEEBERT: Cross-Domain Inference in Early Exit BERTcited by 12
- 2025PARA: Parameter-Efficient Fine-tuning with Prompt Aware Representation Adjustmentcited by 9
- 2024Hierarchical Skip Decoding for Efficient Autoregressive Text Generationcited by 7
- 2023SHARCS: Efficient Transformers through Routing with Dynamic Width Sub-networkscited by 6
- 2025BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as Expertscited by 6
- 2024A Comprehensive Survey of Accelerated Generation Techniques in Large Language Modelscited by 5
- 2024An Efficient Inference Framework for Early-exit Large Language Modelscited by 5
- 2026AgentStop: Terminating Local AI Agents Early to Save Energy in Consumer Devicescited by 5
- 2024RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient Inferencecited by 4
- 2024DE3-BERT: Distance-Enhanced Early Exiting for BERT based on Prototypical Networkscited by 3
- 2025GREEN-CODE: Learning to Optimize Energy Efficiency in LLM-based Code Generationcited by 3
- 2025Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and Reliabilitycited by 3
- 2025Improving Prediction Certainty Estimation for Reliable Early Exiting via Null Space Projectioncited by 2
- 2024IAPT: Instruction-Aware Prompt Tuning for Large Language Modelscited by 1
- 2024COSEE: Consistency-Oriented Signal-Based Early Exiting via Calibrated Sample Weighting Mechanismcited by 1
- 2026Evaluating ChatGPT on Medical Information Extraction Tasks: Performance, Explainability and Beyondcited by 1
- 2024FiRST: Finetuning Router-Selective Transformers for Input-Adaptive Latency Reductioncited by 0
- 2025Nav-EE: Navigation-Guided Early Exiting for Efficient Vision-Language Models in Autonomous Drivingcited by 0
- 2026t-gems: text-guided exit modules for decreasing clip image encodercited by 0
- 2026t-gems: text-guided exit modules for decreasing clip image encoder17 May 2026
- 2026AgentStop: Terminating Local AI Agents Early to Save Energy in Consumer Devices1 May 2026
- 2026Evaluating ChatGPT on Medical Information Extraction Tasks: Performance, Explainability and Beyond29 Jan 2026
- 2025Nav-EE: Navigation-Guided Early Exiting for Efficient Vision-Language Models in Autonomous Driving2 Oct 2025
- 2025Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and Reliability28 Sep 2025
- 2025Improving Prediction Certainty Estimation for Reliable Early Exiting via Null Space Projection8 Jun 2025
- 2025PARA: Parameter-Efficient Fine-tuning with Prompt Aware Representation Adjustment3 Feb 2025
- 2025BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as Experts2 Feb 2025
- 2025GREEN-CODE: Learning to Optimize Energy Efficiency in LLM-based Code Generation19 Jan 2025
- 2024COSEE: Consistency-Oriented Signal-Based Early Exiting via Calibrated Sample Weighting Mechanism17 Dec 2024
- 2024FiRST: Finetuning Router-Selective Transformers for Input-Adaptive Latency Reduction16 Oct 2024
- 2024LoRC: Low-Rank Compression for LLMs KV Cache with a Progressive Compression Strategy4 Oct 2024
20 more
- 2024An Efficient Inference Framework for Early-exit Large Language Models25 Jul 2024
- 2024IAPT: Instruction-Aware Prompt Tuning for Large Language Models28 May 2024
- 2024RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient Inference24 May 2024
- 2024CEEBERT: Cross-Domain Inference in Early Exit BERT23 May 2024
- 2024A Comprehensive Survey of Accelerated Generation Techniques in Large Language Models15 May 2024
- 2024A Survey on Efficient Inference for Large Language Models22 Apr 2024
- 2024FFN-SkipLLM: A Hidden Gem for Autoregressive Decoding with Adaptive Feed Forward Skipping5 Apr 2024
- 2024ALoRA: Allocating Low-Rank Adaptation for Fine-tuning Large Language Models24 Mar 2024
- 2024Hierarchical Skip Decoding for Efficient Autoregressive Text Generation22 Mar 2024
- 2024DE3-BERT: Distance-Enhanced Early Exiting for BERT based on Prototypical Networks3 Feb 2024
- 2023ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference19 Dec 2023
- 2023SHARCS: Efficient Transformers through Routing with Dynamic Width Sub-networks18 Oct 2023
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct 2023
- 2023LGViT: Dynamic Early Exiting for Accelerating Vision Transformer1 Aug 2023
- 2023Predictive Pipelined Decoding: A Compute-Latency Trade-off for Exact LLM Decoding12 Jul 2023
- 2023SkipDecode: Autoregressive Skip Decoding with Batching and Caching for Efficient LLM Inference5 Jul 2023
- 2023The Benefits of Bad Advice: Autocontrastive Decoding across Model Layers2 May 2023
- 2023Candidate Soups: Fusing Candidate Results Improves Translation Quality for Non-Autoregressive Translation27 Jan 2023
- 2022Confident Adaptive Language Modeling14 Jul 2022
- 2022Continuous Detection, Rapidly React: Unseen Rumors Detection based on Continual Prompt-Tuning16 Mar 2022
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 466
- 2022Confident Adaptive Language Modelingcited by 297
- 2024A Survey on Efficient Inference for Large Language Modelscited by 197
- 2023SkipDecode: Autoregressive Skip Decoding with Batching and Caching for Efficient LLM Inferencecited by 89
- 2024LoRC: Low-Rank Compression for LLMs KV Cache with a Progressive Compression Strategycited by 50
- 2023LGViT: Dynamic Early Exiting for Accelerating Vision Transformercited by 30
- 2024FFN-SkipLLM: A Hidden Gem for Autoregressive Decoding with Adaptive Feed Forward Skippingcited by 23
- 2023ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inferencecited by 13
- 2024CEEBERT: Cross-Domain Inference in Early Exit BERTcited by 12
- 2024Hierarchical Skip Decoding for Efficient Autoregressive Text Generationcited by 7
- 2025BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as Expertscited by 6
- 2024A Comprehensive Survey of Accelerated Generation Techniques in Large Language Modelscited by 5
12 most cited of 17 All 17 (JSON)
- 2025Beyond Greedy Exits: Improved Early Exit Decisions for Risk Control and Reliability28 Sep 2025
- 2025Improving Prediction Certainty Estimation for Reliable Early Exiting via Null Space Projection8 Jun 2025
- 2025BEEM: Boosting Performance of Early Exit DNNs using Multi-Exit Classifiers as Experts2 Feb 2025
- 2024COSEE: Consistency-Oriented Signal-Based Early Exiting via Calibrated Sample Weighting Mechanism17 Dec 2024
- 2024LoRC: Low-Rank Compression for LLMs KV Cache with a Progressive Compression Strategy4 Oct 2024
- 2024An Efficient Inference Framework for Early-exit Large Language Models25 Jul 2024
- 2024CEEBERT: Cross-Domain Inference in Early Exit BERT23 May 2024
- 2024A Comprehensive Survey of Accelerated Generation Techniques in Large Language Models15 May 2024
- 2024A Survey on Efficient Inference for Large Language Models22 Apr 2024
- 2024FFN-SkipLLM: A Hidden Gem for Autoregressive Decoding with Adaptive Feed Forward Skipping5 Apr 2024
- 2024Hierarchical Skip Decoding for Efficient Autoregressive Text Generation22 Mar 2024
- 2024DE3-BERT: Distance-Enhanced Early Exiting for BERT based on Prototypical Networks3 Feb 2024
12 newest of 17 All 17 (JSON)
- 2023Predictive Pipelined Decoding: A Compute-Latency Trade-off for Exact LLM Decodingcited by 40
- 2024ALoRA: Allocating Low-Rank Adaptation for Fine-tuning Large Language Modelscited by 36
- 2023The Benefits of Bad Advice: Autocontrastive Decoding across Model Layerscited by 28
- 2023Candidate Soups: Fusing Candidate Results Improves Translation Quality for Non-Autoregressive Translationcited by 13
- 2022Continuous Detection, Rapidly React: Unseen Rumors Detection based on Continual Prompt-Tuningcited by 12
- 2025PARA: Parameter-Efficient Fine-tuning with Prompt Aware Representation Adjustmentcited by 9
- 2023SHARCS: Efficient Transformers through Routing with Dynamic Width Sub-networkscited by 6
- 2025GREEN-CODE: Learning to Optimize Energy Efficiency in LLM-based Code Generationcited by 3
- 2024IAPT: Instruction-Aware Prompt Tuning for Large Language Modelscited by 1
- 2026Evaluating ChatGPT on Medical Information Extraction Tasks: Performance, Explainability and Beyondcited by 1
- 2024FiRST: Finetuning Router-Selective Transformers for Input-Adaptive Latency Reductioncited by 0
- 2026t-gems: text-guided exit modules for decreasing clip image encodercited by 0
- 2026t-gems: text-guided exit modules for decreasing clip image encoder17 May 2026
- 2026Evaluating ChatGPT on Medical Information Extraction Tasks: Performance, Explainability and Beyond29 Jan 2026
- 2025PARA: Parameter-Efficient Fine-tuning with Prompt Aware Representation Adjustment3 Feb 2025
- 2025GREEN-CODE: Learning to Optimize Energy Efficiency in LLM-based Code Generation19 Jan 2025
- 2024FiRST: Finetuning Router-Selective Transformers for Input-Adaptive Latency Reduction16 Oct 2024
- 2024IAPT: Instruction-Aware Prompt Tuning for Large Language Models28 May 2024
- 2024ALoRA: Allocating Low-Rank Adaptation for Fine-tuning Large Language Models24 Mar 2024
- 2023SHARCS: Efficient Transformers through Routing with Dynamic Width Sub-networks18 Oct 2023
- 2023Predictive Pipelined Decoding: A Compute-Latency Trade-off for Exact LLM Decoding12 Jul 2023
- 2023The Benefits of Bad Advice: Autocontrastive Decoding across Model Layers2 May 2023
- 2023Candidate Soups: Fusing Candidate Results Improves Translation Quality for Non-Autoregressive Translation27 Jan 2023
- 2022Continuous Detection, Rapidly React: Unseen Rumors Detection based on Continual Prompt-Tuning16 Mar 2022
Similar, not cited
Close in wording, no citation either way
- 2026The Diminishing Returns of Early-Exit Decoding in Modern LLMs
- 2026ADEPT: Adaptive Dynamic Early-Exit Process for Transformers
- 2025A Survey of Early Exit Deep Neural Networks in NLP
- 2024Dynamic Vocabulary Pruning in Early-Exit LLMs
- 2022Avoid Overthinking in Self-Supervised Models for Speech Recognition
- 2023Learning to Skip for Language Modeling
- 2025SimLens for Early Exit in Large Language Models: Eliciting Accurate Latent Predictions with One More Token
- 2026Two-dimensional early exit optimisation of LLM inference