[This article belongs to Volume - 58, Issue - 07]
Gongcheng Kexue Yu Jishu/Advanced Engineering Science
Journal ID : AES-27-10-2026-1107

Title : Training-Coupled Swarm-Based Hyperparameter Search for Hybrid CNN–BiLSTM–Attention Facial Expression Recognition: An Evaluation on RAF-DB and FER2013
Shweta Sharma, Ashok Kumar,

Abstract : Facial expression recognition (FER) in unconstrained environments remains challenging because of variations in facial appearance, class imbalance, and limited cross-dataset generalization. This study investigates a hybrid ResNet-50–BiLSTM–attention network supported by a training-coupled, swarm-based hyperparameter search framework. The framework sequentially integrates Grey Wolf Optimization (GWO), Particle Swarm Optimization (PSO), and a Quantum-Improved Firefly–Artificial Bee Colony (QIFABC) algorithm. Candidate configurations are evaluated using validation error obtained from reduced-budget network training. To address class imbalance, the final training configuration combines partial backbone fine-tuning, class-weighted focal loss, and minority-class oversampling. Evaluation on the RAF-DB test set yields an accuracy of 70.96%, a macro F1-score of 0.644, and a weighted F1-score of 0.718. The accuracy is 16.46 percentage points higher than that of an earlier training configuration. Class-wise analysis shows stronger recognition of Happiness and Surprise, whereas Fear and Disgust remain challenging. An exploratory evaluation of the earlier configuration on FER2013 achieves 27.21% accuracy without fine-tuning, indicating sensitivity to cross-dataset differences. Because the optimization stages and training modifications were not evaluated separately, their individual contributions cannot be determined from the available experiments. The findings demonstrate the implementation of training-coupled hyperparameter selection under computational constraints and highlight the need for controlled comparisons and more robust evaluation across facial expression datasets.

Training-Coupled Swarm-Based Hyperparameter Search for Hybrid CNN–BiLSTM–Attention Facial Expression Recognition: An Evaluation on RAF-DB and FER2013

Facial expression recognition (FER) in unconstrained environments remains challenging because of variations in facial appearance, class imbalance, and limited cross-dataset generalization. This study investigates a hybrid ResNet-50–BiLSTM–attention network supported by a training-coupled, swarm-based hyperparameter search framework. The framework sequentially integrates Grey Wolf Optimization (GWO), Particle Swarm Optimization (PSO), and a Quantum-Improved Firefly–Artificial Bee Colony (QIFABC) algorithm. Candidate configurations are evaluated using validation error obtained from reduced-budget network training. To address class imbalance, the final training configuration combines partial backbone fine-tuning, class-weighted focal loss, and minority-class oversampling. Evaluation on the RAF-DB test set yields an accuracy of 70.96%, a macro F1-score of 0.644, and a weighted F1-score of 0.718. The accuracy is 16.46 percentage points higher than that of an earlier training configuration. Class-wise analysis shows stronger recognition of Happiness and Surprise, whereas Fear and Disgust remain challenging. An exploratory evaluation of the earlier configuration on FER2013 achieves 27.21% accuracy without fine-tuning, indicating sensitivity to cross-dataset differences. Because the optimization stages and training modifications were not evaluated separately, their individual contributions cannot be determined from the available experiments. The findings demonstrate the implementation of training-coupled hyperparameter selection under computational constraints and highlight the need for controlled comparisons and more robust evaluation across facial expression datasets.