Cargando…

Emotion Recognition on Edge Devices: Training and Deployment

Emotion recognition, among other natural language processing tasks, has greatly benefited from the use of large transformer models. Deploying these models on resource-constrained devices, however, is a major challenge due to their computational cost. In this paper, we show that the combination of la...

Descripción completa

Detalles Bibliográficos
Autores principales: Pandelea, Vlad, Ragusa, Edoardo, Apicella, Tommaso, Gastaldo, Paolo, Cambria, Erik
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8271649/
https://www.ncbi.nlm.nih.gov/pubmed/34209251
http://dx.doi.org/10.3390/s21134496
_version_ 1783721047585980416
author Pandelea, Vlad
Ragusa, Edoardo
Apicella, Tommaso
Gastaldo, Paolo
Cambria, Erik
author_facet Pandelea, Vlad
Ragusa, Edoardo
Apicella, Tommaso
Gastaldo, Paolo
Cambria, Erik
author_sort Pandelea, Vlad
collection PubMed
description Emotion recognition, among other natural language processing tasks, has greatly benefited from the use of large transformer models. Deploying these models on resource-constrained devices, however, is a major challenge due to their computational cost. In this paper, we show that the combination of large transformers, as high-quality feature extractors, and simple hardware-friendly classifiers based on linear separators can achieve competitive performance while allowing real-time inference and fast training. Various solutions including batch and Online Sequential Learning are analyzed. Additionally, our experiments show that latency and performance can be further improved via dimensionality reduction and pre-training, respectively. The resulting system is implemented on two types of edge device, namely an edge accelerator and two smartphones.
format Online
Article
Text
id pubmed-8271649
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-82716492021-07-11 Emotion Recognition on Edge Devices: Training and Deployment Pandelea, Vlad Ragusa, Edoardo Apicella, Tommaso Gastaldo, Paolo Cambria, Erik Sensors (Basel) Article Emotion recognition, among other natural language processing tasks, has greatly benefited from the use of large transformer models. Deploying these models on resource-constrained devices, however, is a major challenge due to their computational cost. In this paper, we show that the combination of large transformers, as high-quality feature extractors, and simple hardware-friendly classifiers based on linear separators can achieve competitive performance while allowing real-time inference and fast training. Various solutions including batch and Online Sequential Learning are analyzed. Additionally, our experiments show that latency and performance can be further improved via dimensionality reduction and pre-training, respectively. The resulting system is implemented on two types of edge device, namely an edge accelerator and two smartphones. MDPI 2021-06-30 /pmc/articles/PMC8271649/ /pubmed/34209251 http://dx.doi.org/10.3390/s21134496 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Pandelea, Vlad
Ragusa, Edoardo
Apicella, Tommaso
Gastaldo, Paolo
Cambria, Erik
Emotion Recognition on Edge Devices: Training and Deployment
title Emotion Recognition on Edge Devices: Training and Deployment
title_full Emotion Recognition on Edge Devices: Training and Deployment
title_fullStr Emotion Recognition on Edge Devices: Training and Deployment
title_full_unstemmed Emotion Recognition on Edge Devices: Training and Deployment
title_short Emotion Recognition on Edge Devices: Training and Deployment
title_sort emotion recognition on edge devices: training and deployment
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8271649/
https://www.ncbi.nlm.nih.gov/pubmed/34209251
http://dx.doi.org/10.3390/s21134496
work_keys_str_mv AT pandeleavlad emotionrecognitiononedgedevicestraininganddeployment
AT ragusaedoardo emotionrecognitiononedgedevicestraininganddeployment
AT apicellatommaso emotionrecognitiononedgedevicestraininganddeployment
AT gastaldopaolo emotionrecognitiononedgedevicestraininganddeployment
AT cambriaerik emotionrecognitiononedgedevicestraininganddeployment