A Compression-Compilation Framework for On-mobile Real-time BERT Applications
Not on the map. Why?
Abstract (arXiv)
Transformer-based deep learning models have increasingly demonstrated high accuracy on many natural language processing (NLP) tasks. In this paper, we propose a compression-compilation co-design framework that can guarantee the identified model to meet both resource and real-time specifications of mobile devices. Our framework applies a compiler-aware neural architecture optimization method (CANAO), which can generate the optimal compressed model that balances both accuracy and latency. We are able to achieve up to 7.8x speedup compared with TensorFlow-Lite with only minor accuracy loss. We present two types of BERT applications on mobile devices: Question Answering (QA) and Text Generation. Both can be executed in real-time with latency as low as 45ms. Videos for demonstrating the framework can be found on https://www.youtube.com/watch?v=_WIRvK_2PZI
Key facts. Cited by 2 papers in the map (data through 13 Oct 2026). Builds on 11 of its 18 references that are in the map. First posted on arXiv 30 May 2021.
Builds on
11 of 18 references.
References · 11
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,880
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,281
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,810
- 2017A Broad-Coverage Challenge Corpus for Sentence Understanding through Inferencecited by 2,676
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,042
- 2017SemEval-2017 Task 1: Semantic Textual Similarity - Multilingual and Cross-lingual Focused Evaluationcited by 998
- 2018Neural Network Acceptability Judgmentscited by 957
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 480
- 2018On Optimizing Operator Fusion Plans for Large-Scale Machine Learning in SystemMLcited by 13
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 1.
2 papers.