mlsanityData to 13 Oct 2026

Quantized Transformer Language Model Implementations on Edge Devices

arXiv 2310.03971 ↗First posted 6 Oct 2023cs.CL cs.ARcited by 9

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

  1. 2017Attention Is All You Needcited by 60,106
  2. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,304
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,322
  4. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,213
  5. 2019XLNet: Generalized Autoregressive Pretraining for Language Understandingcited by 2,810
  6. 2015Deep Compression: Compressing Deep Neural Networks with Pruning, Trained Quantization and Huffman Codingcited by 2,315
  7. 2017Quantization and Training of Neural Networks for Efficient Integer-Arithmetic-Only Inferencecited by 1,585
  8. 2019TinyBERT: Distilling BERT for Natural Language Understandingcited by 1,157
  9. 2016SqueezeNet: AlexNet-level accuracy with 50x fewer parameters and <0.5MB model sizecited by 1,058
  10. 2020MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited Devicescited by 480
  11. 2018HAQ: Hardware-Aware Automated Quantization with Mixed Precisioncited by 439
  12. 2018AMC: AutoML for Model Compression and Acceleration on Mobile Devicescited by 377
7 more
  1. 2020HAT: Hardware-Aware Transformers for Efficient Natural Language Processingcited by 136
  2. 2020Lite Transformer with Long-Short Range Attentioncited by 127
  3. 2021TinyML for Ubiquitous Edge AIcited by 13
  4. 2020MicroNet for Efficient Language Modelingcited by 4
  5. 2021Serverless Computing: A Security Perspectivecited by 3
  6. 2022A BERT-based Deep Learning Approach for Reputation Analysis in Social Mediacited by 3
  7. 2021A Compression-Compilation Framework for On-mobile Real-time BERT Applicationscited by 2

Built on by

Cited by year (2026 to 13 Oct)

Citing papers per year: 2024: 4; 2025: 4; 2026: 1.

9 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2021Understanding and Overcoming the Challenges of Efficient Transformer Quantization
  2. 2021I-BERT: Integer-only BERT Quantization
  3. 2025NeoBERT: A Next-Generation BERT
  4. 2023BitNet: Scaling 1-bit Transformers for Large Language Models
  5. 2022MKQ-BERT: Quantized BERT with 4-bits Weights and Activations
  6. 2022ZeroQuant: Efficient and Affordable Post-Training Quantization for Large-Scale Transformers
  7. 2023OliVe: Accelerating Large Language Models via Hardware-friendly Outlier-Victim Pair Quantization
  8. 2024MELTing point: Mobile Evaluation of Language Transformers