mlsanityData to 14 Oct 2026

BabyBear: Cheap inference triage for expensive language models

arXiv 2205.11747 ↗First posted 24 May 2022cs.CL cs.LG cs.PFcited by 10

Not on the map. Why?

Abstract (arXiv)

Transformer language models provide superior accuracy over previous models but they are computationally and environmentally expensive. Borrowing the concept of model cascading from computer vision, we introduce BabyBear, a framework for cascading models for natural language processing (NLP) tasks to minimize cost. The core strategy is inference triage, exiting early when the least expensive model in the cascade achieves a sufficiently high-confidence prediction. We test BabyBear on several open source data sets related to document classification and entity recognition. We find that for common NLP tasks a high proportion of the inference load can be accomplished with cheap, fast models that have learned by observing a deep learning model. This allows us to reduce the compute cost of large-scale classification jobs by more than 50% while retaining overall accuracy. For named entity recognition, we save 33% of the deep learning compute while maintaining an F1 score higher than 95% on the CoNLL benchmark.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 14 of its 20 references that are in the map. First posted on arXiv 24 May 2022.

Builds on

14 of 20 references.

References · 14

  1. 2017Attention Is All You Needcited by 60,361
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  5. 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 834
  6. 2018Universal Sentence Encodercited by 489
  7. 2016Deep Biaffine Attention for Neural Dependency Parsingcited by 334
  8. 2019SemEval-2017 Task 4: Sentiment Analysis in Twittercited by 210
  9. 2021Scaling Laws for Neural Machine Translationcited by 111
  10. 2020CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models Cascadecited by 47
  11. 2020Wisdom of Committees: An Overlooked Approach To Faster and More Accurate Modelscited by 39
  12. 2022TangoBERT: Reducing Inference Cost by using Cascaded Architecturecited by 13
2 more
  1. 2018Approximation Algorithms for Cascading Prediction Modelscited by 9
  2. 2020Turkish Text Classification: From Lexicon Analysis to Bidirectional Transformercited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 6; 2025: 2; 2026: 1.

10 papers.