Emotion Recognition on Edge Devices: Training and Deployment

Sensors (Basel). 2021 Jun 30;21(13):4496. doi: 10.3390/s21134496.

Abstract

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.

Keywords: deep learning; embedded systems; emotion recognition.

MeSH terms

  • Emotions
  • Natural Language Processing*
  • Neural Networks, Computer*