E-LANG: Energy-Based Joint Inferencing of Super and Swift Language Models
Not on the map. Why?
Abstract (arXiv)
Building huge and highly capable language models has been a trend in the past years. Despite their great performance, they incur high computational cost. A common solution is to apply model compression or choose light-weight architectures, which often need a separate fixed-size model for each desirable computational budget, and may lose performance in case of heavy compression. This paper proposes an effective dynamic inference approach, called E-LANG, which distributes the inference between large accurate Super-models and light-weight Swift models. To this end, a decision making module routes the inputs to Super or Swift models based on the energy characteristics of the representations in the latent space. This method is easily adoptable and architecture agnostic. As such, it can be applied to black-box pre-trained models without a need for architectural manipulations, reassembling of modules, or re-training. Unlike existing methods that are only applicable to encoder-only backbones and classification tasks, our method also works for encoder-decoder structures and sequence-to-sequence tasks such as translation. The E-LANG performance is verified through a set of experiments with T5 and BERT backbones on GLUE, SuperGLUE, and WMT. In particular, we outperform T5-11B with an average computations speed-up of 3.3× on GLUE and 2.9× on SuperGLUE. We also achieve BERT-based SOTA on GLUE with 3.2× less computations. Code and demo are available in the supplementary materials.
Key facts. Cited by 8 papers in the map (data through 7 Oct 2026). Builds on 32 of its 40 references that are in the map. First posted on arXiv 1 Mar 2022.
Builds on
32 of 40 references.
References · 32
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 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
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,243
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,718
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
20 more
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 476
- 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 355
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
- 2017A Survey of Model Compression and Acceleration for Deep Neural Networkscited by 298
- 2018Model compression via distillation and quantizationcited by 287
- 2020The Lottery Ticket Hypothesis for Pre-trained BERT Networkscited by 275
- 2021I-BERT: Integer-only BERT Quantizationcited by 250
- 2020DynaBERT: Dynamic BERT with Adaptive Width and Depthcited by 246
- 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 184
- 2020BinaryBERT: Pushing the Limit of BERT Quantizationcited by 175
- 2019An Energy and GPU-Computation Efficient Backbone Network for Real-Time Object Detectioncited by 163
- 2020TernaryBERT: Distillation-aware Ultra-low Bit BERTcited by 145
- 2020Length-Adaptive Transformer: Train Once with Length Drop, Use Anytime with Searchcited by 76
- 2020Compression of Deep Learning Models for Text: A Surveycited by 64
- 2020SqueezeBERT: What can computer vision teach NLP about efficient neural networks?cited by 50
- 2021Auto-Split: A General Framework of Collaborative Edge-Cloud AIcited by 29
- 2016ReasoNet: Learning to Stop Reading in Machine Comprehensioncited by 21
- 2021KDLSQ-BERT: A Quantized Bert Combining Knowledge Distillation with Learned Step Size Quantizationcited by 14
- 2020Improving Task-Agnostic BERT Distillation with Layer Mapping Searchcited by 8
- 2021EBJR: Energy-Based Joint Reasoning for Adaptive Inferencecited by 4
Built on by
Citing papers per year: 2022: 2; 2023: 3; 2024: 2; 2025: 1.
8 papers.
- 2023ETran: Energy-Based Transferability Estimationcited by 18
- 2023DEED: Dynamic Early Exit on Decoder for Accelerating Encoder-Decoder Transformer Modelscited by 7
- 2024GOLD: Generalized Knowledge Distillation via Out-of-Distribution-Guided Language Data Generationcited by 6
- 2024LEVI: Generalizable Fine-tuning via Layer-wise Ensemble of Different Viewscited by 4
- 2022Extending Momentum Contrast with Cross Similarity Consistency Regularizationcited by 3
- 2025Improving Prediction Certainty Estimation for Reliable Early Exiting via Null Space Projectioncited by 2
- 2023ArchBERT: Bi-Modal Understanding of Neural Architectures and Natural Languagescited by 1
- 2022Spatial Cross-Attention Improves Self-Supervised Visual Representation Learningcited by 0
- 2025Improving Prediction Certainty Estimation for Reliable Early Exiting via Null Space Projection8 Jun 2025
- 2024GOLD: Generalized Knowledge Distillation via Out-of-Distribution-Guided Language Data Generation28 Mar 2024
- 2024LEVI: Generalizable Fine-tuning via Layer-wise Ensemble of Different Views7 Feb 2024
- 2023DEED: Dynamic Early Exit on Decoder for Accelerating Encoder-Decoder Transformer Models15 Nov 2023
- 2023ArchBERT: Bi-Modal Understanding of Neural Architectures and Natural Languages26 Oct 2023
- 2023ETran: Energy-Based Transferability Estimation3 Aug 2023
- 2022Spatial Cross-Attention Improves Self-Supervised Visual Representation Learning7 Jun 2022
- 2022Extending Momentum Contrast with Cross Similarity Consistency Regularization7 Jun 2022