BEExformer: A Fast Inferencing Binarized Transformer with Early Exits
On the map: Efficient LLM inference and serving → Early exit and edge inference
Abstract (arXiv)
Large Language Models (LLMs) based on transformers achieve cutting-edge results on a variety of applications. However, their enormous size and processing requirements hinder deployment on constrained resources. To enhance efficiency, binarization and Early Exit (EE) have proved to be effective solutions. However, binarization may lead to performance loss as reduced precision affects gradient estimation and parameter updates. Besides, research on EE mechanisms is still in its early stages. To address these challenges, we introduce Binarized Early Exit Transformer (BEExformer), a first-of-its-kind selective learning-based transformer integrating Binarization-Aware Training (BAT) with EE for efficient and fast textual inference. Each transformer block has an integrated Selective-Learn Forget Network (SLFN) to enhance contextual retention while eliminating irrelevant information. The BAT employs a differentiable second-order approximation to the sign function, enabling gradient computation that captures both the sign and magnitude of the weights. This aids in 21.30 times reduction in model size. The EE mechanism hinges on fractional reduction in entropy among intermediate transformer blocks with soft-routing loss estimation. This accelerates inference by reducing FLOPs by 52.27% and even improves accuracy by 3.22% by resolving the "overthinking" problem inherent in deep networks. Extensive evaluation through comparison with the SOTA methods and various ablations across nine datasets covering multiple NLP tasks demonstrates its Pareto-optimal performance-efficiency trade-off.
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 35 of its 52 references that are in the map. First posted on arXiv 6 Dec 2024.
Builds on
35 of 52 references.
References · 35
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2020Scaling Laws for Neural Language Modelscited by 6,586
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
- 2020Linformer: Self-Attention with Linear Complexitycited by 1,474
- 2018Neural Network Acceptability Judgmentscited by 958
- 2019Are Sixteen Heads Really Better than One?cited by 816
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformerscited by 526
23 more
- 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 439
- 2021Dynamic Neural Networks: A Surveycited by 408
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
- 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
- 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 273
- 2021Does Knowledge Distillation Really Work?cited by 190
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 178
- 2021Block Pruning For Faster Transformerscited by 177
- 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 148
- 2024EfficientQAT: Efficient Quantization-Aware Training for Large Language Modelscited by 127
- 2020A Survey on Text Classification: From Shallow to Deep Learningcited by 80
- 2022BiBERT: Accurate Fully Binarized BERTcited by 73
- 2022A Comprehensive Survey on Model Quantization for Deep Neural Networks in Image Classificationcited by 65
- 2022BiT: Robustly Binarized Multi-distilled Transformercited by 52
- 2021Towards Efficient NLP: A Standard Evaluation and A Strong Baselinecited by 44
- 2018Bi-Real Net: Binarizing Deep Network Towards Real-Network Performancecited by 42
- 2023Efficient Post-training Quantization with FP8 Formatscited by 29
- 2023BiBench: Benchmarking and Analyzing Network Binarizationcited by 22
- 2021Post-Training Sparsity-Aware Quantizationcited by 17
- 2023Quantized Transformer Language Model Implementations on Edge Devicescited by 9
- 2024A Survey of Transformer-based Language Models with Focus on Efficiencycited by 6
- 2024Training Green AI Models Using Elite Samplescited by 4
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2023BiPFT: Binary Pre-trained Foundation Transformer with Low-rank Estimation of Binarization Residual Polynomials
- 2024Normalized Narrow Jump To Conclusions: Normalized Narrow Shortcuts for Parameter Efficient Early Exit Transformer Prediction
- 2024Early Exit Is a Natural Capability in Transformer-based Models: An Empirical Study on Early Exit without Joint Optimization
- 2024Mechanistic Interpretability of Binary and Ternary Transformers
- 2023BitNet: Scaling 1-bit Transformers for Large Language Models
- 2026LEAP: Layer-wise Exit-Aware Pretraining for Efficient Transformer Inference
- 2025One Jump Is All You Need: Short-Cutting Transformers for Early Exit Prediction with One Jump to Fit All Exit Levels
- 2026Trust, but Verify: Peeling Low-Bit Transformer Networks for Training Monitoring