Quantized Transformer Language Model Implementations on Edge Devices
Not on the map. Why?
Abstract (arXiv)
Large-scale transformer-based models like the Bidirectional Encoder Representations from Transformers (BERT) are widely used for Natural Language Processing (NLP) applications, wherein these models are initially pre-trained with a large corpus with millions of parameters and then fine-tuned for a downstream NLP task. One of the major limitations of these large-scale models is that they cannot be deployed on resource-constrained devices due to their large model size and increased inference latency. In order to overcome these limitations, such large-scale models can be converted to an optimized FlatBuffer format, tailored for deployment on resource-constrained edge devices. Herein, we evaluate the performance of such FlatBuffer transformed MobileBERT models on three different edge devices, fine-tuned for Reputation analysis of English language tweets in the RepLab 2013 dataset. In addition, this study encompassed an evaluation of the deployed models, wherein their latency, performance, and resource efficiency were meticulously assessed. Our experiment results show that, compared to the original BERT large model, the converted and quantized MobileBERT models have 160× smaller footprints for a 4.1% drop in accuracy while analyzing at least one tweet per second on edge devices. Furthermore, our study highlights the privacy-preserving aspect of TinyML systems as all data is processed locally within a serverless environment.
Key facts. Cited by 9 papers in the map (data through 13 Oct 2026). Builds on 19 of its 29 references that are in the map. First posted on arXiv 6 Oct 2023.
Builds on
19 of 29 references.
References · 19
- 2017Attention Is All You Needcited by 60,106
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,213
- 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,810
- 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,315
- 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,585
- 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,157
- 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,058
- 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 480
- 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 439
- 2018AMC: AutoML for Model Compression and Acceleration on Mobile Devicescited by 377
7 more
- 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
- 2020Lite Transformer with Long-Short Range Attentioncited by 127
- 2021TinyML for Ubiquitous Edge AIcited by 13
- 2020MicroNet for Efficient Language Modelingcited by 4
- 2021Serverless Computing: A Security Perspectivecited by 3
- 2022A BERT-based Deep Learning Approach for Reputation Analysis in Social Mediacited by 3
- 2021A Compression-Compilation Framework for On-mobile Real-time BERT Applicationscited by 2
Built on by
Citing papers per year: 2024: 4; 2025: 4; 2026: 1.
9 papers.
- 2024Model Compression and Efficient Inference for Large Language Models: A Surveycited by 64
- 2025Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latencycited by 33
- 2025From Tiny Machine Learning to Tiny Deep Learning: A Surveycited by 5
- 2024Deploying Foundation Model Powered Agent Services: A Surveycited by 4
- 2025SilentStriker:Toward Stealthy Bit-Flip Attacks on Large Language Modelscited by 1
- 2024InsightPulse: An IoT-based System for User Experience Interview Analysiscited by 0
- 2024BEExformer: A Fast Inferencing Binarized Transformer with Early Exitscited by 0
- 2025SDEC: Semantic Deep Embedded Clusteringcited by 0
- 2026Attention-Based Offline Reinforcement Learning and Clustering for Interpretable Sepsis Treatmentcited by 0
- 2026Attention-Based Offline Reinforcement Learning and Clustering for Interpretable Sepsis Treatment20 Jan 2026
- 2025SilentStriker:Toward Stealthy Bit-Flip Attacks on Large Language Models22 Sep 2025
- 2025SDEC: Semantic Deep Embedded Clustering18 Aug 2025
- 2025From Tiny Machine Learning to Tiny Deep Learning: A Survey21 Jun 2025
- 2025Sustainable LLM Inference for Edge AI: Evaluating Quantized LLMs for Energy Efficiency, Output Accuracy, and Inference Latency4 Apr 2025
- 2024Deploying Foundation Model Powered Agent Services: A Survey18 Dec 2024
- 2024BEExformer: A Fast Inferencing Binarized Transformer with Early Exits6 Dec 2024
- 2024InsightPulse: An IoT-based System for User Experience Interview Analysis23 Sep 2024
- 2024Model Compression and Efficient Inference for Large Language Models: A Survey15 Feb 2024
Similar, not cited
Close in wording, no citation either way
- 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantization
- 2021I-BERT: Integer-only BERT Quantization
- 2025NeoBERT: A Next-Generation BERT
- 2023BitNet: Scaling 1-bit Transformers for Large Language Models
- 2022MKQ-BERT: Quantized BERT with 4-bits Weights and Activations
- 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformers
- 2023OliVe: Accelerating Large Language Models via Hardware-friendly Outlier-Victim Pair Quantization
- 2024MELTing point: Mobile Evaluation of Language Transformers