ImageNet classification with deep convolutional neural networks
Alex Krizhevsky, Ilya Sutskever et al.
0
Citations
0
Influential Citations
—
Venue
2020
Year
A speed-tunable encoder with adaptive inference time having branches at each transformer output to enable early outputs.
FastBERT addresses a critical challenge in deploying large transformer models: the fixed computational cost per input. In many real-world applications, inputs vary in complexity, yet standard transformers spend the same amount of computation on every example. FastBERT's adaptive inference mechanism allows the model to allocate less computation to simpler inputs, thereby reducing average latency without sacrificing accuracy on hard cases. This is particularly relevant for edge devices, real-time systems, and large-scale serving where throughput is paramount.
The paper's focus on speed tunability—rather than a fixed early-exit policy—gives practitioners direct control over the speed-accuracy trade-off at inference time. This flexibility is a practical advantage over prior early-exit methods that require retraining for different operating points.
The abstract does not include quantitative results. To assess FastBERT's effectiveness, one would need to see experiments on standard NLP benchmarks (e.g., GLUE, SQuAD) comparing accuracy and speed against baselines like BERT-base and other early-exit methods (e.g., DeeBERT, PABEE). Key metrics would include average inference time, speedup factor, and accuracy retention at various thresholds.
FastBERT contributes to the growing body of work on dynamic computation in neural networks. By making inference time a tunable hyperparameter, it empowers engineers to optimize for their specific latency budgets. This approach could be extended to other transformer variants (e.g., GPT, T5) and combined with pruning or quantization for further efficiency gains. However, without empirical validation, its practical impact remains uncertain.
Alex Krizhevsky, Ilya Sutskever et al.
Ashish Vaswani, Noam Shazeer et al.
Douglas M. Bates, Martin Mächler et al.
Diederik P. Kingma, Jimmy Ba