Current browse context:
cs.CL
Change to browse by:
References & Citations
Computer Science > Computation and Language
Title: Processing Natural Language on Embedded Devices: How Well Do Transformer Models Perform?
(Submitted on 23 Apr 2023 (v1), last revised 7 Mar 2024 (this version, v4))
Abstract: This paper presents a performance study of transformer language models under different hardware configurations and accuracy requirements and derives empirical observations about these resource/accuracy trade-offs. In particular, we study how the most commonly used BERT-based language models (viz., BERT, RoBERTa, DistilBERT, and TinyBERT) perform on embedded systems. We tested them on four off-the-shelf embedded platforms (Raspberry Pi, Jetson, UP2, and UDOO) with 2 GB and 4 GB memory (i.e., a total of eight hardware configurations) and four datasets (i.e., HuRIC, GoEmotion, CoNLL, WNUT17) running various NLP tasks. Our study finds that executing complex NLP tasks (such as "sentiment" classification) on embedded systems is feasible even without any GPUs (e.g., Raspberry Pi with 2 GB of RAM). Our findings can help designers understand the deployability and performance of transformer language models, especially those based on BERT architectures.
Submission history
From: Monowar Hasan [view email][v1] Sun, 23 Apr 2023 03:01:39 GMT (10289kb,D)
[v2] Wed, 31 May 2023 20:14:24 GMT (10289kb,D)
[v3] Tue, 12 Sep 2023 21:15:12 GMT (3993kb,D)
[v4] Thu, 7 Mar 2024 00:42:17 GMT (5689kb,D)
Link back to: arXiv, form interface, contact.