An Automatic and Efficient BERT Pruning for Edge AI Systems
Shaoyi Huang, Ning Liu, Yueying Liang, Hongwu Peng, Hongjia Li,, Dongkuan Xu, Mimi Xie, Caiwen Ding

TL;DR
AE-BERT introduces an automatic, efficient pruning framework for BERT models that enhances NLP task performance on resource-limited devices without requiring expert tuning.
Contribution
It presents a novel automatic pruning method that outperforms hand-crafted approaches, enabling better accuracy and higher pruning ratios on NLP benchmarks.
Findings
Outperforms state-of-the-art pruning methods on GLUE tasks.
Achieves higher pruning ratios with minimal accuracy loss.
Provides significant inference speedup on FPGA hardware.
Abstract
With the yearning for deep learning democratization, there are increasing demands to implement Transformer-based natural language processing (NLP) models on resource-constrained devices for low-latency and high accuracy. Existing BERT pruning methods require domain experts to heuristically handcraft hyperparameters to strike a balance among model size, latency, and accuracy. In this work, we propose AE-BERT, an automatic and efficient BERT pruning framework with efficient evaluation to select a "good" sub-network candidate (with high accuracy) given the overall pruning ratio constraints. Our proposed method requires no human experts experience and achieves a better accuracy performance on many NLP tasks. Our experimental results on General Language Understanding Evaluation (GLUE) benchmark show that AE-BERT outperforms the state-of-the-art (SOTA) hand-crafted pruning methods on…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Machine Learning and Data Classification · Advanced Neural Network Applications
MethodsAttention Is All You Need · Pruning · Linear Layer · Softmax · Attention Dropout · Dropout · Linear Warmup With Linear Decay · Dense Connections · Multi-Head Attention · Weight Decay
