mlsanityData to 14 Oct 2026

DPBERT: Efficient Inference for BERT based on Dynamic Planning

arXiv 2308.00108 ↗First posted 26 Jul 2023cs.CL cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

Large-scale pre-trained language models such as BERT have contributed significantly to the development of NLP. However, those models require large computational resources, making it difficult to be applied to mobile devices where computing power is limited. In this paper we aim to address the weakness of existing input-adaptive inference methods which fail to take full advantage of the structure of BERT. We propose Dynamic Planning in BERT, a novel fine-tuning strategy that can accelerate the inference process of BERT through selecting a subsequence of transformer layers list of backbone as a computational path for an input sample. To do this, our approach adds a planning module to the original BERT model to determine whether a layer is included or bypassed during inference. Experimental results on the GLUE benchmark exhibit that our method reduces latency to 75% while maintaining 98% accuracy, yielding a better accuracy-speed trade-off compared to state-of-the-art input-adaptive methods.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 30 of its 39 references that are in the map. First posted on arXiv 26 Jul 2023.

Builds on

30 of 39 references.

References · 30

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  6. 2015Distilling the Knowledge in a Neural Networkcited by 10,324
  7. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,899
  8. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  9. 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
  10. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,811
  11. 2019ALBERT: A Lite BERT for Self-supervised Learning of Language Representationscited by 2,790
  12. 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,682
18 more
  1. 2015Learning both Weights and Connections for Efficient Neural Networkscited by 2,031
  2. 2014FitNets: Hints for Thin Deep Netscited by 1,653
  3. 2019BERT Rediscovers the Classical NLP Pipelinecited by 1,059
  4. 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,043
  5. 2019Are Sixteen Heads Really Better than One?cited by 816
  6. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
  7. 2019Reducing Transformer Depth on Demand with Structured Dropoutcited by 439
  8. 2019Q-BERT: Hessian Based Ultra Low Precision Quantization of BERTcited by 359
  9. 2017SkipNet: Learning Dynamic Routing in Convolutional Networkscited by 332
  10. 2020DeeBERT: Dynamic Early Exiting for Accelerating BERT Inferencecited by 332
  11. 2018SentEval: An Evaluation Toolkit for Universal Sentence Representationscited by 294
  12. 2020BERT Loses Patience: Fast and Robust Inference with Early Exitcited by 273
  13. 2020FastBERT: a Self-distilling BERT with Adaptive Inference Timecited by 226
  14. 2015Quantized Convolutional Neural Networks for Mobile Devicescited by 215
  15. 2017BlockDrop: Dynamic Inference Paths in Residual Networkscited by 189
  16. 2020Compressing BERT: Studying the Effects of Weight Pruning on Transfer Learningcited by 185
  17. 2020The Right Tool for the Job: Matching Model and Instance Complexitiescited by 126
  18. 2020CascadeBERT: Accelerating Inference of Pre-trained Language Models via Calibrated Complete Models Cascadecited by 47

Built on by

Not cited yet.