Related Experiment Video
Updated: Jun 16, 2026

Artificial Intelligence-Based System for Detecting Attention Levels in Students
Published on: December 15, 2023
Automated emotion recognition via video-based semantic embeddings
Hannes Diemerling1,2,3, Patricia Kulla4, Joachim Kruse4
1Faculty of Health, Health and Medical University, Erfurt, Germany.
Introduction:
Automated emotion recognition systems often rely on acted datasets and categorical models that miss the nuance of spontaneous affect.
Methods:
This work assembled a large corpus of authentic facial emotion expressions from naturalistic outpatient psychotherapy sessions, annotated with free-text descriptions by human labelers. These descriptions were embedded in a 768-dimensional semantic space using a fine-tuned German Sentence-BERT model. Transformer, BILSTM, and deep neural network architectures were trained to map facial landmark features to continuous emotion embeddings.
Results:
Leave-one-out cross-validation showed model predictions closely matched human annotations with a mean z-score of 1.97. External evaluation against acted datasets (RAVDESS) confirmed strong recognition of joy, sadness, and fear.
Discussion:
To enhance interpretability, a back-translation mechanism using cosine similarity was implemented and visualized with radar charts. All components were integrated into AFFECT, an open-source pipeline for analyzing emotional expressions in everyday video recordings.
Related Concept Videos
Labeling Emotion
Automatic Processing and Automatic Social Behavior