BabyBear: Cheap inference triage for expensive language models
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
- 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
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 834
- 2018Universal Sentence Encodercited by 489
- 2016Deep Biaffine Attention for Neural Dependency Parsingcited by 334
- 2019SemEval-2017 Task 4: Sentiment Analysis in Twittercited by 210
- 2021Scaling Laws for Neural Machine Translationcited by 111
- 2020CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models Cascadecited by 47
- 2020Wisdom of Committees: An Overlooked Approach To Faster and More Accurate Modelscited by 39
- 2022TangoBERT: Reducing Inference Cost by using Cascaded Architecturecited by 13
2 more
Built on by
Citing papers per year: 2023: 1; 2024: 6; 2025: 2; 2026: 1.
10 papers.
- 2024Language Model Cascades: Token-level uncertainty and beyondcited by 121
- 2024A Unified Approach to Routing and Cascading for LLMscited by 80
- 2023When Does Confidence-Based Cascade Deferral Suffice?cited by 60
- 2024Faster Cascades via Speculative Decodingcited by 38
- 2024Online Cascade Learning for Efficient Inference over Streamscited by 20
- 2024Cascade-Aware Training of Language Modelscited by 15
- 2024Affordable Generative Agentscited by 9
- 2025Honesty over Accuracy: Trustworthy Language Models through Reinforced Hesitationcited by 5
- 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
- 2025Honesty over Accuracy: Trustworthy Language Models through Reinforced Hesitation14 Nov 2025
- 2025MythTriage: Scalable Detection of Opioid Use Disorder Myths on a Video-Sharing Platform30 May 2025
- 2024A Unified Approach to Routing and Cascading for LLMs14 Oct 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
- 2024Online Cascade Learning for Efficient Inference over Streams7 Feb 2024
- 2024Affordable Generative Agents3 Feb 2024
- 2023When Does Confidence-Based Cascade Deferral Suffice?6 Jul 2023