Exploring the Performance and Efficiency of Transformer Models for NLP on Mobile Devices

Ioannis Panopoulos, Sokratis Nikolaidis, Stylianos I. Venieris, Iakovos S. Venieris
6/20/2023
cs.LGcs.CL

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Deep learning (DL) is characterised by its dynamic nature, with new deep neural network (DNN) architectures and approaches emerging every few years, driving the field's advancement. At the same time, the ever-increasing use of mobile devices (MDs) has resulted in a surge of DNN-based mobile applications. Although traditional architectures, like CNNs and RNNs, have been successfully integrated into MDs, this is not the case for Transformers, a relatively new model family that has achieved new levels of accuracy across AI tasks, but poses significant computational challenges. In this work, we aim to make steps towards bridging this gap by examining the current state of Transformers' on-device execution. To this end, we construct a benchmark of representative models and thoroughly evaluate their performance across MDs with different computational capabilities. Our experimental results show that Transformers are not accelerator-friendly and indicate the need for software and hardware optimisations to achieve efficient deployment.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{panopoulos2023exploring,
  title  = {Exploring the Performance and Efficiency of Transformer Models for NLP on Mobile Devices},
  author = {Ioannis Panopoulos and Sokratis Nikolaidis and Stylianos I. Venieris and Iakovos S. Venieris},
  year   = {2023},
  eprint = {2306.11426},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.11426v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.11426.svg)](https://codeofpaper.com/paper/2306.11426)

Discussion