Two-dimensional early exit optimisation of LLM inference
On the map: Efficient LLM inference and serving → Early exit and edge inference
Abstract (arXiv)
We introduce a two-dimensional (2D) early exit strategy that coordinates layer-wise and sentence-wise exiting for classification tasks in large language models. By processing input incrementally sentence-by-sentence while progressively activating deeper layers, our method achieves multiplicative computational savings that exceed those from optimizing either dimension independently. Experimental evaluation across four state-of-the-art LLMs (Llama 3.1, Llama 3.2, Gemma, Qwen; 3B-8B parameters) on three sentiment classification datasets demonstrates additional speed-ups of 1.4--2.3× over optimal layer-wise early exit for simpler tasks with vanilla models, with graceful degradation on complex multi-class problems. Fine-tuning reduces but does not eliminate this advantage. The approach is model-agnostic, requires only lightweight classification adapters, and is orthogonal to complementary efficiency methods such as quantization and pruning. Our findings indicate that 2D early exit strategies excel when semantic information accumulates predictably across input structure, suggesting possible applicability to sequence-processing tasks beyond sentiment classification.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Early exit and edge inference, one of 12 directions in Efficient LLM inference and serving. Builds on 26 of its 29 references that are in the map. First posted on arXiv 27 Mar 2026.
Builds on
26 of 29 references.
Closest ancestors · 7
Same direction, newest first
- 2025QuickSilver -- Speeding up LLM Inference through Dynamic Token Halting, KV Skipping, Contextual Token Fusion, and Adaptive Matryoshka Quantization27 Jun
- 2024LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding25 Apr
- 2023ConsistentEE: A Consistent and Hardness-Guided Early Exiting Method for Accelerating Language Models Inference19 Dec
- 2023EE-LLM: Large-Scale Training and Inference of Early-Exit Large Language Models with 3D Parallelism8 Dec
- 2022Confident Adaptive Language Modeling14 Jul
- 2022Predictive Exit: Prediction of Fine-Grained Early Exits for Computation- and Energy-Efficient Inference9 Jun
- 2021Adaptive Inference through Early-Exit Networks: Design, Challenges and Directions9 Jun
Other references · 19
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,509
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,167
- 2023FrugalGPT: How to Use Large Language Models While Reducing Cost and Improving Performancecited by 853
- 2023LLM-Pruner: On the Structural Pruning of Large Language Modelscited by 650
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 596
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
- 2022Matryoshka Representation Learningcited by 282
- 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 273
- 2019Depth-Adaptive Transformercited by 236
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
- 2025Dynamic Early Exit in Reasoning Modelscited by 219
7 more
- 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 126
- 2024Not All Layers of LLMs Are Necessary During Inferencecited by 96
- 2023MatFormer: Nested Transformer for Elastic Inferencecited by 85
- 2021Consistent Accelerated Inference via Confident Adaptive Transformerscited by 74
- 2024Kangaroo: Lossless Self-Speculative Decoding via Double Early Exitingcited by 58
- 2026Global Evolutionary Steering: Refining Activation Steering Control via Cross-Layer Consistencycited by 5
- 2026NEAT: Neuron-Based Early Exit for Large Reasoning Modelscited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026The Diminishing Returns of Early-Exit Decoding in Modern LLMs
- 2024An Efficient Inference Framework for Early-exit Large Language Models
- 2024Dynamic Vocabulary Pruning in Early-Exit LLMs
- 2026A BERTology View of LLM Orchestrations: Token- and Layer-Selective Probes for Efficient Single-Pass Classification
- 2024RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient Inference
- 2024Outlier-weighed Layerwise Sampling for LLM Fine-tuning
- 2025SimLens for Early Exit in Large Language Models: Eliciting Accurate Latent Predictions with One More Token
- 2025END: Early Noise Dropping for Efficient and Effective Context Denoising