Modern Architecture

Facial Emotion Recognition through Fine-Tuning of Pre-Trained Deep Learning Models

Master Research

Received : October 2026

Accepted : October 2026

Program: MSc Computer Science

Category: 7MG001 The Master Research Project

Authors

Su Mon Hlaing

University of Wolverhampton

0 Views0 Downloads

Abstract

Facial Emotion Recognition (FER) in real-world, uncontrolled environments is a difficult task due to changes in pose, blockage, and lighting. This often forces a hard choice between the broad context understanding of Vision Transformers and the speed of Convolutional Neural Networks (CNNs). To solve this, this dissertation proposes ResEmoteNet-CBAM, a hybrid deep learning model that adds Convolutional Block Attention Modules (CBAM) to a residual network backbone to help the model better distinguish between features without slowing it down significantly. A detailed comparison was done on the Real-world Affective Faces Database (RAF-DB), testing the proposed model against three top existing models: the original ResEmoteNet, an improved VGG16 (VGG16-NFB), and the Vision Transformer APViT. Experiments show that ResEmoteNet-CBAM achieves a top-tier test accuracy of 97.43%, performing better than both the original ResEmoteNet (94.76%) and the APViT transformer (91.98%). Most importantly, adding spatial attention made the model much better at telling apart similar emotions, correctly identifying 90.14% of the difficult 'Fear' cases. Also, efficiency tests on an NVIDIA RTX 3090 showed the model is fast enough for real-time use, processing images in just 0.79ms (1269 FPS). The study concludes that hybrid models, which combine the structure of CNNs with lightweight attention tools, are a better choice than pure Transformers for medium-sized FER tasks, offering high accuracy without sacrificing speed.

Keywords

7MG001 The Master Research Project

Introduction

Facial expressions are a pivotal component of non-verbal communication, conveying complex emotional states that are essential for human interaction. The field of Facial Emotion Recognition (FER) aims to automate the interpretation of these expressions, enabling applications in Human-Computer Interaction (HCI), mental health assessment, and driver fatigue monitoring. While early research focused on laboratory-controlled environments, the current frontier of FER research lies in "in-the wild" recognition, where images contain significant variations in pose, illumination, and occlusion.
To address these challenges, the field has transitioned from traditional Convolutional Neural Networks (CNNs) to more sophisticated architectures. Recent literature highlights three distinct approaches: improving standard CNNs with attention mechanisms (Luo et al., 2023), utilizing Vision Transformers (ViTs) to capture global dependencies (Xue et al., 2023), and developing hybrid residual architectures like ResEmoteNet that integrate Squeeze-and-Excitation (SE) blocks to reduce loss and enhance feature focus (Roy et al., 2024). This research focuses on evaluating the efficacy of these modern architectures on the Real-world Affective Faces Database (RAF-DB) (Li et al., 2017).

Related Papers