Evaluating and accelerating vision transformers on GPU-based embedded edge AI systems
Abstract Many current embedded systems comprise heterogeneous computing components including quite powerful GPUs, which enables their application across diverse sectors. This study demonstrates the efficient execution of a medium-sized self-supervised audio spectrogram transformer (SSAST) model on a low-power system-on-chip (SoC). Through comprehensive evaluation, including real time inference scenarios, we show that GPUs outperform multi-core CPUs in inference processes. Optimization techniques such as adjusting batch size, model compilation with TensorRT, and reducing data precision significantly enhance inference time, energy consumption, and memory usage. In particular, negligible accuracy degradation is observed, with post-training quantization to 8-bit integers showing less than 1% loss. This research underscores the feasibility of deploying transformer neural networks on low-power embedded devices, ensuring efficiency in time, energy, and memory, while maintaining the accuracy of the results.
Authors
- José M. Badía (ORCID: https://orcid.org/0000-0002-5927-0449)
- Adrián Amor-Martín (ORCID: https://orcid.org/0000-0002-6123-4324)
- Germán León (ORCID: https://orcid.org/0000-0002-7687-2126)
- Valery Naranjo (ORCID: https://orcid.org/0000-0002-0181-3412)
- Jose A. Belloch (ORCID: https://orcid.org/0000-0002-2595-1828)
- Rocío del Amor (ORCID: https://orcid.org/0000-0002-5342-2093)
- Óscar Valls
- Ignacio Martin-Salinas (ORCID: https://orcid.org/0009-0008-6213-1950)
Institutions
- Universitat Jaume I (ES)
- Universidad Carlos III de Madrid (ES)
- Universitat Politècnica de València (ES)
Publication Details
- Journal
- The Journal of Supercomputing
- Published
- 2024-12-27
- DOI
- https://doi.org/10.1007/s11227-024-06807-1
- Citations
- 6
- Primary Topic
- Advanced Neural Network Applications
- Type
- article
- Field-Weighted Citation Impact
- 1.50
Funders
- Ministerio de Ciencia, Innovación y Universidades
- Universitat Jaume I
- Ministerio de Ciencia e Innovación
- European Regional Development Fund
- Agencia Estatal de Investigación