TangoBERT: Reducing Inference Cost by using Cascaded Architecture
Not on the map. Why?
Abstract (arXiv)
The remarkable success of large transformer-based models such as BERT, RoBERTa and XLNet in many NLP tasks comes with a large increase in monetary and environmental cost due to their high computational load and energy consumption. In order to reduce this computational load in inference time, we present TangoBERT, a cascaded model architecture in which instances are first processed by an efficient but less accurate first tier model, and only part of those instances are additionally processed by a less efficient but more accurate second tier model. The decision of whether to apply the second tier model is based on a confidence score produced by the first tier model. Our simple method has several appealing practical advantages compared to standard cascading approaches based on multi-layered transformer models. First, it enables higher speedup gains (average lower latency). Second, it takes advantage of batch size optimization for cascading, which increases the relative inference cost reductions. We report TangoBERT inference CPU speedup on four text classification GLUE tasks and on one reading comprehension task. Experimental results show that TangoBERT outperforms efficient early exit baseline models; on the the SST-2 task, it achieves an accuracy of 93.9% with a CPU speedup of 8.2x.
Key facts. Cited by 13 papers in the map (data through 7 Oct 2026). Builds on 21 of its 33 references that are in the map. First posted on arXiv 13 Apr 2022.
Builds on
21 of 33 references.
References · 21
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 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
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,115
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,801
- 2015Learning both Weights and Connections for Efficient Neural Networkscited by 1,998
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,548
- 2019Energy and Policy Considerations for Deep Learning in NLPcited by 1,242
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,153
- 2018Neural Network Acceptability Judgmentscited by 952
- 2019Green AIcited by 620
9 more
- 2017To prune, or not to prune: exploring the efficacy of pruning for model compressioncited by 596
- 2013Do Deep Nets Really Need to be Deep?cited by 466
- 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 322
- 2019Q8BERT: Quantized 8Bit BERTcited by 296
- 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 224
- 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 125
- 2020CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models Cascadecited by 47
- 2020Orthogonalized SGD and Nested Architectures for Anytime Neural Networkscited by 5
- 2021Dynamic-TinyBERT: Boost TinyBERT's Inference Efficiency by Dynamic Sequence Lengthcited by 4
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 5; 2025: 4; 2026: 1.
13 papers.
Sort:
By area:
- 2024Language Model Cascades: Token-level uncertainty and beyondcited by 115
- 2023When Does Confidence-Based Cascade Deferral Suffice?cited by 58
- 2024Faster Cascades via Speculative Decodingcited by 38
- 2024Towards Optimizing the Costs of LLM Usagecited by 33
- 2024Agreement-Based Cascading for Efficient Inferencecited by 16
- 2024Cascade-Aware Training of Language Modelscited by 15
- 2022BabyBear: Cheap inference triage for expensive language modelscited by 10
- 2025Gatekeeper: Improving Model Cascades Through Confidence Tuningcited by 10
- 2023Finding the SWEET Spot: Analysis and Improvement of Adaptive Inference in Low Resource Settingscited by 5
- 2025Translate Smart, not Hard: Cascaded Translation Systems with Quality-Aware Deferralcited by 4
- 2025MythTriage: Scalable Detection of Opioid Use Disorder Myths on a Video-Sharing Platformcited by 3
- 2025Inference-Time Distillation: Cost-Efficient Agents Without Fine-Tuning or Manual Prompt Engineeringcited by 2
1 more
- 2026Density-Ratio Losses for Post-Hoc Learning to Defercited by 1
- 2026Density-Ratio Losses for Post-Hoc Learning to Defer19 May 2026
- 2025Inference-Time Distillation: Cost-Efficient Agents Without Fine-Tuning or Manual Prompt Engineering2 Dec 2025
- 2025MythTriage: Scalable Detection of Opioid Use Disorder Myths on a Video-Sharing Platform30 May 2025
- 2025Gatekeeper: Improving Model Cascades Through Confidence Tuning26 Feb 2025
- 2025Translate Smart, not Hard: Cascaded Translation Systems with Quality-Aware Deferral18 Feb 2025
- 2024Agreement-Based Cascading for Efficient Inference2 Jul 2024
- 2024Cascade-Aware Training of Language Models29 May 2024
- 2024Faster Cascades via Speculative Decoding29 May 2024
- 2024Language Model Cascades: Token-level uncertainty and beyond15 Apr 2024
- 2024Towards Optimizing the Costs of LLM Usage29 Jan 2024
- 2023When Does Confidence-Based Cascade Deferral Suffice?6 Jul 2023
- 2023Finding the SWEET Spot: Analysis and Improvement of Adaptive Inference in Low Resource Settings4 Jun 2023
1 more
- 2024Language Model Cascades: Token-level uncertainty and beyondcited by 115
- 2023When Does Confidence-Based Cascade Deferral Suffice?cited by 58
- 2024Towards Optimizing the Costs of LLM Usagecited by 33
- 2024Agreement-Based Cascading for Efficient Inferencecited by 16
- 2024Cascade-Aware Training of Language Modelscited by 15
- 2022BabyBear: Cheap inference triage for expensive language modelscited by 10
- 2025Gatekeeper: Improving Model Cascades Through Confidence Tuningcited by 10
- 2025Translate Smart, not Hard: Cascaded Translation Systems with Quality-Aware Deferralcited by 4
- 2025MythTriage: Scalable Detection of Opioid Use Disorder Myths on a Video-Sharing Platformcited by 3
- 2026Density-Ratio Losses for Post-Hoc Learning to Defercited by 1
- 2026Density-Ratio Losses for Post-Hoc Learning to Defer19 May 2026
- 2025MythTriage: Scalable Detection of Opioid Use Disorder Myths on a Video-Sharing Platform30 May 2025
- 2025Gatekeeper: Improving Model Cascades Through Confidence Tuning26 Feb 2025
- 2025Translate Smart, not Hard: Cascaded Translation Systems with Quality-Aware Deferral18 Feb 2025
- 2024Agreement-Based Cascading for Efficient Inference2 Jul 2024
- 2024Cascade-Aware Training of Language Models29 May 2024
- 2024Language Model Cascades: Token-level uncertainty and beyond15 Apr 2024
- 2024Towards Optimizing the Costs of LLM Usage29 Jan 2024
- 2023When Does Confidence-Based Cascade Deferral Suffice?6 Jul 2023
- 2022BabyBear: Cheap inference triage for expensive language models24 May 2022
Similar, not cited
Close in wording, no citation either way
- 2021Magic Pyramid: Accelerating Inference with Early Exiting and Token Pruning
- 2021Elbert: Fast Albert with Confidence-Window Based Early Exit
- 2024RAEE: A Robust Retrieval-Augmented Early Exit Framework for Efficient Inference
- 2023Sorted LLaMA: Unlocking the Potential of Intermediate Layers of Large Language Models for Dynamic Inference
- 2025Towards Efficient Multi-LLM Inference: Characterization and Analysis of LLM Routing and Hierarchical Techniques
- 2024A Survey on Efficient Inference for Large Language Models
- 2021Towards Efficient NLP: A Standard Evaluation and A Strong Baseline
- 2024Large Language Model Inference Acceleration: A Comprehensive Hardware Perspective