mlsanityData to 14 Oct 2026

When in Doubt, Summon the Titans: Efficient Inference with Large Models

arXiv 2110.10305 ↗First posted 19 Oct 2021cs.LGcited by 8

Not on the map. Why?

Abstract (arXiv)

Scaling neural networks to "large" sizes, with billions of parameters, has been shown to yield impressive results on many challenging problems. However, the inference cost incurred by such large models often prevents their application in most real-world settings. In this paper, we propose a two-stage framework based on distillation that realizes the modelling benefits of the large models, while largely preserving the computational benefits of inference with more lightweight models. In a nutshell, we use the large teacher models to guide the lightweight student models to only make correct predictions on a subset of "easy" examples; for the "hard" examples, we fall-back to the teacher. Such an approach allows us to efficiently employ large models in practical scenarios where easy examples are much more frequent than rare hard examples. Our proposed use of distillation to only handle easy instances allows for a more aggressive trade-off in the student size, thereby reducing the amortized cost of inference and achieving better accuracy than standard distillation. Empirically, we demonstrate the benefits of our approach on both image classification and natural language processing benchmarks.

Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 54 of its 77 references that are in the map. First posted on arXiv 19 Oct 2021.

Builds on

54 of 77 references.

References · 54

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020Language Models are Few-Shot Learnerscited by 32,419
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  5. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  6. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  7. 2019EfficientNet: Rethinking Model Scaling for Convolutional Neural Networkscited by 6,442
  8. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,475
  9. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  10. 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,073
  11. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
  12. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,329
38 more
  1. 2019Searching for MobileNetV3cited by 1,994
  2. 2016Identity Mappings in Deep Residual Networkscited by 1,965
  3. 2014FitNets: Hints for Thin Deep Netscited by 1,653
  4. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  5. 2019Self-training with Noisy Student improves ImageNet classificationcited by 1,311
  6. 2019Class-Balanced Loss Based on Effective Number of Samplescited by 1,245
  7. 2019Learning Imbalanced Datasets with Label-Distribution-Aware Margin Losscited by 989
  8. 2019When Does Label Smoothing Help?cited by 988
  9. 2017Revisiting Unreasonable Effectiveness of Data in Deep Learning Eracited by 919
  10. 2019Decoupling Representation and Classifier for Long-Tailed Recognitioncited by 809
  11. 2019Big Transfer (BiT): General Visual Representation Learningcited by 769
  12. 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 618
  13. 2020Long-tail learning via logit adjustmentcited by 618
  14. 2020Simple Copy-Paste is a Strong Data Augmentation Method for Instance Segmentationcited by 596
  15. 2019Improved Knowledge Distillation via Teacher Assistantcited by 573
  16. 2018Born Again Neural Networkscited by 546
  17. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
  18. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 482
  19. 2015Policy Distillationcited by 440
  20. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 439
  21. 2019On the Efficacy of Knowledge Distillationcited by 381
  22. 2017SkipNet: Learning Dynamic Routing in Convolutional Networkscited by 332
  23. 2019Revealing the Dark Secrets of BERTcited by 301
  24. 2021Pruning and Quantization for Deep Neural Network Acceleration: A Surveycited by 263
  25. 2019Depth-Adaptive Transformercited by 236
  26. 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
  27. 2016Clipper: A Low-Latency Online Prediction Serving Systemcited by 191
  28. 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 185
  29. 2017Adaptive Neural Networks for Efficient Inferencecited by 163
  30. 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 126
  31. 2020GOBO: Quantizing Attention-Based NLP Models for Low Latency and Energy Efficient Inferencecited by 106
  32. 2016Hierarchical Multiscale Recurrent Neural Networkscited by 104
  33. 2020Compressing Large-Scale Transformer-Based Models: A Case Study on BERTcited by 96
  34. 2017The Devil is in the Tails: Fine-grained Classification in the Wildcited by 89
  35. 2017IDK Cascades: Fast Deep Learning by Learning not to Overthinkcited by 48
  36. 2020Fixed Encoder Self-Attention Patterns in Transformer-Based Machine Translationcited by 43
  37. 2019On the Calibration of Multiclass Classification with Rejectioncited by 41
  38. 2020Controlling Computation versus Quality for Neural Sequence Modelscited by 27

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year

Citing papers per year: 2022: 1; 2023: 2; 2024: 3; 2025: 2.

8 papers.