Finding the SWEET Spot: Analysis and Improvement of Adaptive Inference in Low Resource Settings
On the map: Efficient LLM inference and serving → Early exit and edge inference
Abstract (arXiv)
Adaptive inference is a simple method for reducing inference costs. The method works by maintaining multiple classifiers of different capacities, and allocating resources to each test instance according to its difficulty. In this work, we compare the two main approaches for adaptive inference, Early-Exit and Multi-Model, when training data is limited. First, we observe that for models with the same architecture and size, individual Multi-Model classifiers outperform their Early-Exit counterparts by an average of 2.3%. We show that this gap is caused by Early-Exit classifiers sharing model parameters during training, resulting in conflicting gradient updates of model weights. We find that despite this gap, Early-Exit still provides a better speed-accuracy trade-off due to the overhead of the Multi-Model approach. To address these issues, we propose SWEET (Separating Weights in Early Exit Transformers), an Early-Exit fine-tuning method that assigns each classifier its own set of unique model weights, not updated by other classifiers. We compare SWEET's speed-accuracy curve to standard Early-Exit and Multi-Model baselines and find that it outperforms both methods at fast speeds while maintaining comparable scores to Early-Exit at slow speeds. Moreover, SWEET individual classifiers outperform Early-Exit ones by 1.1% on average. SWEET enjoys the benefits of both methods, paving the way for further reduction of inference costs in NLP.
Key facts. Cited by 5 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 31 of its 45 references that are in the map. First posted on arXiv 4 Jun 2023.
Builds on
31 of 45 references.
Closest ancestors · 1
Same direction, newest first
- 2022Confident Adaptive Language Modeling14 Jul
Other references · 30
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2017On Calibration of Modern Neural Networkscited by 4,860
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,665
- 2018The Lottery Ticket Hypothesis: Finding Sparse, Trainable Neural Networkscited by 2,250
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2020Gradient Surgery for Multi-Task Learningcited by 1,210
- 2018Neural Network Acceptability Judgmentscited by 952
18 more
- 2019Green AIcited by 620
- 2017BranchyNet: Fast Inference via Early Exiting from Deep Neural Networkscited by 591
- 2016Adaptive Computation Time for Recurrent Neural Networkscited by 479
- 2013Do Deep Nets Really Need to be Deep?cited by 466
- 2021Conflict-Averse Gradient Descent for Multi-task Learningcited by 441
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
- 2019Q8BERT: Quantized 8Bit BERTcited by 296
- 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 267
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 224
- 2020The Computational Limits of Deep Learningcited by 188
- 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 125
- 2022Efficient Methods for Natural Language Processing: A Surveycited by 78
- 2021Consistent Accelerated Inference via Confident Adaptive Transformerscited by 73
- 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
- 2022Model Cascading: Towards Jointly Improving Efficiency and Accuracy of NLP Systemscited by 43
- 2021Learning to Cascade: Confidence Calibration for Improving the Accuracy and Computational Cost of Cascade Inference Systemscited by 14
- 2022TangoBERT: Reducing Inference Cost by using Cascaded Architecturecited by 13
Built on by
Citing papers per year: 2024: 4; 2025: 1.
5 papers.
- 2024LLM Inference Unveiled: Survey and Roofline Model Insightscited by 147
- 2024AIM: Adaptive Inference of Multi-Modal LLMs via Token Merging and Pruningcited by 43
- 2025Learning to Inference Adaptively for Multimodal Large Language Modelscited by 12
- 2024Understanding the Training Speedup from Sampling with Approximate Lossescited by 2
- 2024Adaptive Inference: Theoretical Limits and Unexplored Opportunitiescited by 0
- 2025Learning to Inference Adaptively for Multimodal Large Language Models13 Mar 2025
- 2024AIM: Adaptive Inference of Multi-Modal LLMs via Token Merging and Pruning4 Dec 2024
- 2024LLM Inference Unveiled: Survey and Roofline Model Insights26 Feb 2024
- 2024Understanding the Training Speedup from Sampling with Approximate Losses10 Feb 2024
- 2024Adaptive Inference: Theoretical Limits and Unexplored Opportunities6 Feb 2024
Similar, not cited
Close in wording, no citation either way
- 2021Adaptive Inference through Early-Exit Networks: Design, Challenges and Directions
- 2022Learning to Weight Samples for Dynamic Early-exiting Networks
- 2024Performance Control in Early Exiting to Deploy Large Models at the Same Cost of Smaller Ones
- 2026Balancing Stability and Plasticity in Sequentially Trained Early-Exiting Neural Networks
- 2025Rethinking Calibration for Early-Exit Neural Networks
- 2024RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient Inference
- 2023Adaptive Deep Neural Network Inference Optimization with EENet
- 2025Accelerating Large Language Model Inference via Early-Exiting Algorithms