Abstract
Facial expression recognition (FER) is a key task in affective computing and human–computer interaction, aiming to decode facial muscle movements into emotional categories. Although deep learning-based FER has achieved remarkable progress, robust recognition under uncontrolled conditions (e.g., illumination change, pose variation, occlusion, and cultural diversity) remains challenging. Traditional Convolutional Neural Networks (CNNs) are effective at local feature extraction but limited in modeling global dependencies, while Vision Transformers (ViT) provide global context modeling yet often neglect fine-grained texture and frequency cues that are critical for subtle expression discrimination. Moreover, existing approaches usually focus on single-domain representations and lack adaptive strategies to integrate heterogeneous cues across spatial, semantic, and spectral domains, leading to limited cross-domain generalization. To address these limitations, this study proposes a unified Multi-Domain Feature Enhancement and Fusion (MDFEFT) framework that combines a ViT-based global encoder with three complementary branches—channel, spatial, and frequency—for comprehensive feature learning. Taking into account the approximately bilateral symmetry of human faces and the asymmetric distortions introduced by pose, occlusion, and illumination, the proposed MDFEFT framework is designed to learn symmetry-aware and asymmetry-robust representations for facial expression recognition across diverse domains. An adaptive Cross-Domain Feature Enhancement and Fusion (CDFEF) module is further introduced to align and integrate heterogeneous features, achieving domain-consistent and illumination-robust expression understanding. The experimental results show that the proposed method consistently outperforms existing CNN-, Transformer-, and ensemble-based models. The proposed model achieves accuracies of 0.997, 0.796, and 0.776 on KDEF, FER2013, and RAF-DB, respectively. Compared with the strongest baselines, it further improves accuracy by 0.3%, 2.2%, and 1.9%, while also providing higher F1-scores and better robustness in cross-domain testing. These results confirm the effectiveness and strong generalization ability of the proposed framework for real-world facial expression recognition.
1. Introduction
Facial Expression Recognition (FER) plays a fundamental role in affective computing, human–computer interaction, and behavioral analysis. By decoding facial muscle movements into discrete or continuous emotional states, FER enables machines to perceive and respond to human affective cues in a socially intelligent manner. Despite extensive progress in recent years, robust FER under uncontrolled conditions—such as diverse illumination, head pose, occlusion, and cultural variation—remains a persistent challenge. These variations often cause domain shifts and feature inconsistencies, severely degrading recognition performance in real-world applications [1,2].
Traditional CNN-based methods [3,4,5,6,7] rely on local convolutional operations, which effectively capture low-level facial details but struggle to model long-range dependencies and global emotion semantics. Recent Transformer architectures, such as the Vision Transformer (ViT) [8], introduce global self-attention mechanisms that provide powerful context modeling ability for FER. However, pure Transformer models often overlook fine-grained structural information and frequency-related cues that are crucial for distinguishing subtle or compound expressions (e.g., fear vs. surprise). Moreover, most existing approaches focus on single-domain representations and lack adaptive strategies to integrate spatial, semantic, and spectral features into a unified feature space. This deficiency also limits their robustness when transferring across datasets or cultural domains, which is essential for practical affective computing systems.
To address these limitations, this study proposes a unified multi-domain feature enhancement and fusion framework for robust facial expression recognition and cross-domain generalization. The framework employs a ViT-based encoder for global semantic extraction and introduces three complementary branches—channel, spatial, and frequency—to jointly capture semantic, structural, and spectral cues. Furthermore, an adaptive Cross-Domain Feature Enhancement and Fusion (CDFEF) module is developed to align and integrate heterogeneous representations across domains, leading to consistent and illumination-robust emotion understanding. In addition to within-dataset evaluation, we perform extensive cross-domain validation experiments among KDEF, FER2013, and RAF-DB to assess the transferability and generalization of the proposed method.
The main contributions of this work are summarized as follows:
- A unified multi-domain FER framework. We design an end-to-end framework that combines ViT-based global context modeling with domain-specific feature extraction in the channel, spatial, and frequency domains, enabling complementary and robust representation learning.
- A cross-domain feature enhancement and fusion module (CDFEF). We propose an adaptive multi-scale fusion mechanism that effectively integrates heterogeneous features from multiple domains, achieving semantic alignment and illumination robustness for expression understanding.
- Comprehensive experiments with cross-domain validation. Extensive experiments on KDEF, FER2013, and RAF-DB demonstrate that our method outperforms state-of-the-art CNN-, Transformer-, and ensemble-based models in both intra-domain accuracy and cross-domain generalization, validating the effectiveness of the proposed framework under diverse conditions.
By unifying multi-domain feature learning, adaptive cross-domain fusion, and systematic cross-dataset validation, the proposed method bridges the gap between global semantic abstraction and fine-grained local discrimination, providing a robust and generalizable solution for real-world facial expression recognition.
2. Related Work
2.1. Foundations and Datasets for Facial Expression Recognition
Facial Expression Recognition (FER) originates from the basic emotion theory proposed by Ekman and Friesen, which posits that human facial expressions convey universal emotional states across cultures [9]. Building on this foundation, early benchmark datasets such as CK+ [10] and KDEF [11] were collected under controlled laboratory conditions and provide standardized, high-quality samples for model training and evaluation. With the advancement of deep learning, research attention has shifted toward more challenging “in-the-wild” datasets, including FER2013 [12] and RAF-DB [13], which feature large variations in pose, illumination, occlusion, background clutter, and demographic diversity. More recently, the ABAW challenge has further broadened the FER problem to a multi-task affective computing paradigm involving categorical expression recognition, valence–arousal estimation, action unit detection, and emotion intensity prediction [14]. Recent comprehensive surveys published in 2024–2025 provide an updated overview of FER research trends, offering systematic analyses of dataset evolution, deep model architectures, annotation uncertainty, cultural bias, and cross-domain generalization challenges. In particular, Dey et al. [15] presented an extensive review of conventional and deep neural network methods for FER, while Gaya-Morey et al. [16] provided a 2025 systematic survey focusing on FER for elderly populations, highlighting emerging considerations in robustness, fairness, and real-world deployment. Compared with earlier surveys [1], these updated reviews reflect the shift toward transformer-based architectures, larger and more diverse datasets, and increasing emphasis on in-the-wild conditions. Furthermore, region-specific datasets such as the East Asian Facial Expression Database [17] underscore the presence of cultural and demographic variability in facial expressions, reinforcing the importance of developing FER models with strong cross-domain robustness and cultural generalization capability.
2.2. Learning with Noisy and Ambiguous Labels
Facial expression data are inherently ambiguous due to subtle emotional differences and subjective labeling. Barsoum et al. introduced the idea of training deep networks with crowd-sourced label distributions to better capture annotator disagreement and uncertainty [18]. Li et al. proposed reliable crowdsourcing and deep locality-preserving learning to enhance model robustness under noisy labeling conditions and improve discriminative representation in the wild [19,20]. Inspired by these studies, our work focuses on robust representation learning at the feature level: by designing complementary branches in channel, spatial, and frequency domains and integrating them via adaptive cross-domain fusion, the model can effectively mitigate ambiguity arising from label noise and subjective variability.
2.3. From CNNs to Transformers and Ensemble Models
Convolutional Neural Networks (CNNs) have long served as the backbone for FER tasks, with representative architectures including AlexNet [3], VGG [4], ResNet [5], DenseNet [6], and EfficientNet [7]. Subsequent works extended these backbones using attention mechanisms to emphasize emotion-relevant regions [21,22], pose-guided alignment to enhance geometric consistency [23], temporal modeling with CNN–LSTM hybrids [24], and multi-branch CNNs for capturing multi-scale cues [25,26]. These techniques strengthened spatial representation prior to the shift toward transformer-based FER.
With the emergence of Transformer architectures, the Vision Transformer (ViT) [8] demonstrated strong global context modeling ability and inspired numerous FER-specific transformer variants. Dong et al. introduced relation-aware attention with cross-feature fusion to enhance inter-region dependency modeling [27]. Dou et al. maximized local mutual information to enrich discriminative cues [28], while Tian et al. designed hybrid local attention to integrate fine-grained spatial priors into global transformer representations [29]. Multimodal or CLIP-enhanced models such as FER-Former [30], hierarchical architectures such as Swin-FER [31], and optimization-driven variants such as ADcFNet [32] further expand expressive capacity. Other attention-fusion transformer systems, including ExpressionTransformer [33], enhance cross-scale feature aggregation. For dynamic FER, temporal transformers such as FGTE [34] explicitly model video-based temporal evolution. Transformer ensemble models such as Gimefive [35] and the Attention-Enhanced Ensemble [36] additionally improve robustness and interpretability through multi-model fusion.
Overall, these transformer-driven improvements highlight the effectiveness of global attention mechanisms for FER. However, most prior designs emphasize either global semantics or single-domain features, lacking explicit integration of spatial, channel, and frequency cues. This motivates our approach, which combines a ViT-B encoder with multi-branch local enhancement modules to recover fine-grained information that standard transformers typically overlook.
2.4. Robustness and Cross-Domain Generalization
Enhancing robustness and cross-domain generalization remains a critical research direction in FER. Umer et al. examined the trade-off between augmentation and feature stability, showing that excessive augmentation may distort feature distributions [37]. Architectural improvements such as anti-aliasing and shift-invariant designs have proven effective against sampling bias [38,39], while knowledge-transferred fine-tuning further enhances performance under limited data conditions [40]. The widespread use of facial masks during COVID-19 also emphasized FER’s sensitivity to occlusion and domain discrepancies [41], motivating the need for more robust representations.
Beyond single-dataset robustness, cross-domain FER research has adopted unified benchmarks and adversarial graph-based representation learning [42], demonstrating the significant distribution gaps between datasets. In parallel, robustness and conditional fault tolerance in interconnection networks and Cayley graph-based topologies [43,44,45,46,47,48,49] highlight the importance of structural reliability when designing models that must remain functional under perturbations.
Limitations of Existing Methods and Motivation. Despite considerable progress, several challenges persist in current FER research: (1) Most CNN- or Transformer-based models focus on a single feature domain and neglect the complementary relationships between spatial, channel, and frequency representations; (2) inconsistent feature distributions across domains and varying expression intensities lead to performance degradation in unconstrained scenarios; and (3) current feature fusion strategies largely rely on static concatenation or simple weighting, lacking adaptive enhancement mechanisms. To address these issues, we propose a multi-domain feature enhancement and fusion framework that jointly models channel–spatial–frequency interactions and achieves adaptive cross-domain integration, thereby improving both discriminative accuracy and generalization under diverse illumination, identity, and expression conditions.
3. Methodology
As illustrated in Figure 1, the proposed framework aims to achieve robust facial expression recognition through multi-domain feature enhancement and adaptive fusion. The model mainly consists of five key modules: (1) a Data Enhancement Module for geometric and photometric augmentation to improve data diversity and robustness; (2) a Vision Transformer (ViT) Encoder that extracts high-level global representations from enhanced images; (3) three complementary feature extraction branches, including the Channel Branch, Space Branch, and Frequency Branch, which respectively emphasize inter-channel relationships, spatial saliency, and frequency-domain textures; (4) a Cross-Domain Feature Enhancement and Fusion (CDFEF) module that adaptively integrates multi-domain features into a unified representation; and (5) a Fully Connected Classification Layer that predicts seven discrete emotion categories: Angry, Disgust, Fear, Happy, Neutral, Sad, and Surprise.
Figure 1.
Overall architecture of the proposed facial expression recognition framework, which integrates data enhancement, ViT-based feature encoding, three-domain feature extraction, cross-domain fusion (CDFEF), and final emotion classification.
This unified multi-domain design enables the model to combine geometric, photometric, and frequency cues, thereby improving its discriminative capability and generalization under varying facial expressions and illumination conditions.
3.1. Vision Transformer (ViT) Encoder
As illustrated in Figure 2, the Vision Transformer (ViT) encoder is employed to extract global contextual representations from input facial images and generate high-level semantic embeddings. Unlike convolutional neural networks (CNNs) that depend on local receptive fields, ViT leverages self-attention to model long-range dependencies among image patches, effectively capturing both holistic consistency and subtle variations in facial expressions.
Figure 2.
Structure of the Vision Transformer (ViT) encoder. The input image is divided into patches, embedded through convolution, combined with positional encodings, and processed by stacked Transformer encoder blocks to produce the global representation .
Given an input image , it is divided into non-overlapping patches of size . The number of patches is calculated as:
where N denotes the total number of patches. Each patch is linearly projected into a feature embedding of dimension D via a convolutional layer:
To preserve spatial order and global identity, a learnable class token and positional embedding are added to the input sequence:
where denotes concatenation.
The sequence is then processed by L stacked Transformer encoder blocks. Each block consists of a Multi-Head Self-Attention (MSA) module and a Multi-Layer Perceptron (MLP), both with residual connections and layer normalization. The l-th block is formulated as:
where denotes layer normalization, ensuring feature stability and improved gradient flow.
Within the MSA operation, each token is projected into query, key, and value matrices:
where are learnable parameters. The attention weights are computed as:
After passing through all encoder blocks, the final output of the ViT encoder is given by:
where the first token (class token) represents the global semantic summary of the image, while the remaining tokens encode localized spatial features. The output serves as the shared representation for subsequent multi-branch feature extraction.
In this study, we adopt the ViT-B variant of the Vision Transformer [8], which provides a balanced trade-off between computational efficiency and representation capability for facial expression analysis.
3.2. Multi-Branch Feature Extraction Module
Facial expressions exhibit rich variations across spatial, spectral, and semantic dimensions. While the ViT encoder provides a global context representation, it tends to lose fine-grained emotional cues such as micro-expressions, edge textures, and local shading patterns that are critical for differentiating subtle emotions (e.g., fear vs. surprise). To address this, we design a multi-branch feature extraction module that decomposes the latent feature into multiple complementary subspaces, each responsible for encoding a distinct type of expressive information.
As shown in Figure 3, this module consists of two main branches—a Channel Branch and a Frequency Branch. The Channel Branch focuses on semantic inter-channel dependencies, capturing correlations among activation maps that correspond to emotional muscle regions (e.g., the eyebrows, lips, and nasolabial folds). In contrast, the Frequency Branch extracts spectral and structural information in the frequency domain, emphasizing edge contours, wrinkle density, and contrast changes that are often discriminative under varying illumination and expression intensity. Together, these branches yield domain-specific representations and , which are later fused in the Cross-Domain Feature Enhancement and Fusion (CDFEF) module.
Figure 3.
Structure of the multi-branch feature extraction module. The Channel Branch (bottom) enhances inter-channel dependencies via Point-Wise and Group-Wise convolutions, while the Frequency Branch (top) captures spectral texture information through Discrete Fourier Transform (DFT) and learnable weighting. Both branches produce domain-specific features and , forming the foundation for cross-domain fusion.
3.2.1. Channel Branch
The Channel Branch is designed to enhance inter-channel relationships and reduce redundancy among features derived from different receptive fields. Given the input feature map T, we employ two complementary convolutions: a Point-Wise Convolution (PWC) for global aggregation and a Group-Wise Convolution (GWC) for local specialization. These two operations ensure that the model can simultaneously capture both cross-channel global statistics and localized emotional activations. The process can be mathematically formulated as:
where controls the proportion between local and global channel features, determining how the feature capacity is distributed between the PWC and GWC pathways. As discussed in Table 5, the model achieves its most stable and accurate performance when , indicating that a balanced allocation between global aggregation and local specialization yields optimal cross-channel feature representation.
The outputs from the two paths are aggregated through a residual fusion mechanism and average pooling:
which summarizes the channel activation strength across spatial positions. Subsequently, the pooled responses are concatenated and normalized by a Softmax operation to generate the final channel-wise attention mask:
where ⊙ denotes element-wise multiplication. The resulting feature adaptively emphasizes emotion-sensitive channels (e.g., regions activated by smile lines or eyebrow raises) and suppresses irrelevant or redundant activations, enabling the network to focus on semantically meaningful emotional cues.
3.2.2. Frequency Branch
Facial expressions are often characterized by localized structural changes such as wrinkles, muscle deformations, and lighting reflections. While spatial features describe pixel-level arrangements, frequency-domain representations provide complementary insights into how expression intensity modulates texture energy and periodicity. To capture these cues, we introduce the Frequency Branch, which transforms T into the frequency domain using a 2D Discrete Fourier Transform (DFT):
Each frequency coefficient in represents an oscillation pattern corresponding to specific textural variations (e.g., high frequencies for edges and wrinkles, low frequencies for smooth shading). To adaptively control the contribution of different spectral components, a learnable weighting mask is applied:
The reweighted spectral representation is then processed by an inverse DFT (IDFT) and a lightweight Multi-Layer Perceptron (MLP) to reconstruct frequency-enhanced spatial features:
The output thus encodes frequency-aware information, preserving the structural fidelity of fine-grained expressions while maintaining robustness to lighting and contrast shifts. Specifically, low-frequency bands capture smooth global illumination variations, whereas high-frequency bands capture sharp structural boundaries—both of which are essential for emotion classification under real-world conditions.
By combining and , this module achieves a complementary integration of semantic and structural cues. Such multi-domain representations enable the model to generalize across varying facial morphologies, occlusions, and expression intensities—key challenges in robust facial expression recognition.
3.2.3. Space Branch
While the Channel and Frequency branches focus on inter-channel dependencies and spectral texture cues, the Space Branch is designed to highlight emotion-relevant spatial regions on the face, such as the eyes, eyebrows, and mouth corners, which play a dominant role in visual affect perception. This branch enhances spatially discriminative regions and suppresses background or identity-irrelevant areas by learning a pixel-wise attention map. The structure of the Space Branch is shown in Figure 4.
Figure 4.
Structure of the Space Branch. Two parallel convolutional paths generate global and local spatial responses, which are fused to form a spatial attention map that highlights emotion-relevant regions. The enhanced feature captures pixel-level spatial saliency crucial for facial expression recognition.
Given the encoded feature map , two parallel convolutional layers are first applied to reduce the channel dimension to and generate two intermediate representations:
The first feature branch () undergoes global spatial pooling to capture overall intensity statistics, followed by reshaping and activation:
where denotes the sigmoid function. Here, serves as a coarse spatial attention prior that encodes global emotional saliency distribution across facial regions.
Meanwhile, the second path () preserves fine-grained spatial details and is reshaped directly to align with the attention prior. The attention map is then refined through an element-wise interaction between the two paths:
where represents the learned spatial weighting mask that adaptively adjusts the contribution of each pixel position.
Finally, this attention mask is broadcast and multiplied with the original feature map T to obtain the spatially enhanced feature:
where emphasizes discriminative facial regions while suppressing irrelevant background pixels.
This design allows the model to automatically focus on regions of high expressive significance (e.g., eyebrow raises, mouth openings, or eye contractions), which are crucial for distinguishing between visually similar emotions such as fear and surprise. Moreover, by leveraging both global (via pooling) and local (via convolutional response) spatial cues, the Space Branch ensures stable performance under pose and lighting variations.
3.3. Cross-Domain Feature Enhancement and Fusion (CDFEF)
Although the Channel, Space, and Frequency branches capture complementary aspects of emotional features, their representations reside in distinct domains and exhibit heterogeneous distributions. To achieve semantic alignment and enhance inter-domain complementarity, we propose the Cross-Domain Feature Enhancement and Fusion (CDFEF) module. As shown in Figure 5, this module adaptively integrates spatial, spectral, and semantic cues into a unified representation Z, which serves as the foundation for the final emotion classification layer.
Figure 5.
Structure of the Cross-Domain Feature Enhancement and Fusion (CDFEF) module. The channel (), spatial (), and frequency () features are concatenated and processed by multi-scale convolutions, followed by normalization, residual enhancement, and sigmoid activation to produce the unified fused representation Z.
Let denote the channel, spatial, and frequency features, respectively. These features are concatenated along the channel dimension to form a fused tensor:
To balance feature scale and capture cross-domain contextual dependencies, a convolution with stride is first applied to reduce redundancy and aggregate local correlations:
Then, a set of multi-scale convolutional filters with different kernel sizes is employed to extract hierarchical contextual information from . Specifically, we use , , and convolution kernels to capture short-, mid-, and long-range dependencies, respectively:
where p denotes the padding size ensuring spatial consistency.
The outputs of the three scales are concatenated and further refined through a convolutional fusion layer followed by batch normalization:
To strengthen the residual learning ability and prevent information loss, a shortcut connection from to the normalized feature is introduced, and the result is activated by a sigmoid function to generate the final enhanced feature representation:
where denotes the sigmoid activation. The resulting fused feature contains multi-scale, cross-domain information that balances local texture, global semantics, and structural frequency cues.
In the context of facial expression recognition, this fusion mechanism provides two major benefits: (1) it integrates heterogeneous features from multiple domains (appearance, structure, and spectrum) into a coherent embedding space, and (2) it adaptively emphasizes expression-relevant cues while suppressing illumination- or identity-related noise. Consequently, the CDFEF module produces a semantically consistent and discriminative representation, significantly improving emotion recognition performance across varying subjects and lighting conditions.
3.4. Classification Head and Optimization Objective
After cross-domain fusion, the enhanced feature representation encapsulates spatial, spectral, and semantic information that collectively describe the facial expression. To perform emotion classification, Z is first flattened and passed into a fully connected (FC) layer that maps the fused feature into the probability space of predefined emotion categories.
Formally, the flattened vector is expressed as:
where represents the total number of feature elements. The FC layer projects this embedding into a K-dimensional output corresponding to K emotion classes:
where and are learnable parameters, and denotes the predicted class probabilities. In this study, , corresponding to seven basic emotion categories: Angry, Disgust, Fear, Happy, Neutral, Sad, and Surprise.
Optimization Objective: The network is optimized using the standard cross-entropy loss, which measures the divergence between predicted probabilities and the one-hot encoded ground truth label y:
To further stabilize convergence and enhance robustness against inter-subject variations and subtle expression differences, we additionally apply -based weight regularization, yielding the total optimization objective:
where is a regularization coefficient controlling the trade-off between classification accuracy and model generalization. This objective function ensures that the model not only maximizes the likelihood of correct emotion predictions but also mitigates overfitting caused by dataset imbalance and limited expression diversity. During training, the AdamW optimizer is employed with a cosine learning rate schedule to maintain stable convergence and preserve the discriminative geometry of the fused representation Z.
4. Experiments
4.1. Experimental Setup
All experiments were conducted under consistent and reproducible conditions to comprehensively evaluate the proposed multi-domain facial expression recognition framework. The model was implemented using the PyTorch 2.0 deep learning framework and trained on a workstation equipped with an NVIDIA RTX 4090 GPU (24 GB VRAM), an Intel i9-13900K CPU, and 64 GB of RAM. The AdamW optimizer was adopted with an initial learning rate of , a weight decay of , and a batch size of 32. A cosine annealing schedule was applied to adjust the learning rate smoothly over 100 training epochs. Since Transformer-based architectures tend to possess high model capacity and are therefore more prone to overfitting, a relatively large weight decay was employed to strengthen regularization and constrain the growth of model parameters. For the sake of experimental transparency and reproducibility, no hyperparameter search was performed; all hyperparameters were fixed across experiments and selected based on commonly used default values in prior Transformer-based studies. During preprocessing, all input images were resized to and normalized to zero mean and unit variance. To improve generalization and reduce overfitting, several widely adopted data augmentation techniques were applied, including random horizontal flipping, mild rotation, random cropping, and photometric perturbations such as brightness, contrast, and saturation adjustments. These augmentations introduce diverse appearance variations and prevent the model from overfitting to dataset-specific visual patterns. Regarding model initialization, the Vision Transformer (ViT) encoder was initialized using officially released pretrained weights, while the three feature extraction branches and the CDFEF module were trained from scratch. A dropout rate of 0.3 was applied to the classification head to reduce neuron co-adaptation and enhance robustness. Furthermore, early stopping based on validation accuracy was used to prevent the model from overfitting in later stages of training. Unless otherwise specified, all quantitative results reported in this paper are obtained from the validation subsets of the respective datasets under the unified 7:3 train–validation protocol.
4.2. Evaluation Metrics
To quantitatively assess the performance of the proposed framework, four standard classification metrics were adopted: Precision, Recall, F1-score, and Accuracy. These metrics collectively measure the predictive reliability, sensitivity, and overall recognition capability of the model.
(1) Precision. Precision measures the proportion of correctly predicted positive samples among all samples predicted as positive:
where TP and FP represent the number of true positives and false positives, respectively.
(2) Recall. Recall measures the proportion of correctly identified positive samples among all actual positive samples:
where FN denotes the number of false negatives.
(3) F1-score. The F1-score is the harmonic mean of precision and recall, providing a balanced evaluation metric for scenarios with uneven class distributions:
(4) Accuracy. Accuracy reflects the overall proportion of correctly predicted samples in the dataset:
(5) Matthews Correlation Coefficient (MCC). MCC is a balanced measure that evaluates the quality of classification by considering all four components of the confusion matrix (TP, TN, FP, FN). Unlike Accuracy, MCC is robust to class imbalance and provides a more informative assessment of the model’s overall prediction consistency. For multiclass facial expression recognition, the MCC score is computed as the generalized form of the binary MCC:
where C denotes the confusion matrix, is the number of emotion categories, is the number of true samples for class k, is the number of predicted samples for class k, and represents the remaining samples not belonging to class k. The MCC score ranges from to 1, where 1 indicates perfect classification, 0 indicates random prediction, and indicates total disagreement between prediction and ground truth. For all evaluations, Precision, Recall, and F1-score are reported as macro-averaged results across the seven emotion categories (Angry, Disgust, Fear, Happy, Neutral, Sad, and Surprise) to ensure fairness under class imbalance. Similarly, the Matthews Correlation Coefficient (MCC) is computed in its multiclass form, providing a class-balanced estimate of the overall prediction consistency across all seven categories.
4.3. Datasets
To comprehensively evaluate the performance and generalization ability of the proposed multi-domain facial expression recognition framework, three widely used facial expression datasets were adopted: the Karolinska Directed Emotional Faces (KDEF) [11], the Facial Expression Recognition 2013 (FER2013) dataset [12], and the Real-world Affective Face Database (RAF-DB) [13]. These datasets collectively cover both controlled laboratory conditions and in-the-wild environments, providing a balanced benchmark for assessing recognition robustness under varying illumination, pose, and expression intensity.
(1) Karolinska Directed Emotional Faces (KDEF). KDEF is a classic laboratory-controlled facial expression dataset, developed by the Department of Clinical Neuroscience at Karolinska Institutet, Sweden. It contains 4900 high-quality color photographs of 70 individuals (35 male and 35 female), each displaying seven basic emotions: anger, disgust, fear, happiness, neutrality, sadness, and surprise. All images are captured under consistent illumination and frontal viewpoints, making KDEF ideal for baseline training and for evaluating the model’s ability to learn clear and canonical emotional representations. Representative samples are shown in Figure 6.
Figure 6.
Example facial images from the KDEF dataset captured under controlled laboratory conditions, covering seven basic emotions with uniform lighting and frontal pose.
(2) Facial Expression Recognition 2013 (FER2013). FER2013 is a large-scale facial expression benchmark released during the ICML 2013 Representation Learning Challenge. It includes 35,887 grayscale facial images of resolution, each manually annotated into seven emotion categories identical to KDEF. Compared with controlled datasets, FER2013 presents a significantly higher degree of variability in pose, lighting, and occlusion, thus serving as a more challenging in-the-wild benchmark for evaluating the robustness of expression recognition models. Sample images are visualized in Figure 7.
Figure 7.
Example images from the FER2013 dataset collected in the wild, exhibiting large variations in facial pose, illumination, and occlusion.
(3) Real-world Affective Face Database (RAF-DB). RAF-DB is a real-world facial expression dataset designed for unconstrained emotion recognition. It contains approximately 30,000 diverse facial images collected from the Internet, covering wide variations in age, gender, ethnicity, head pose, and illumination. Each image is annotated by multiple human raters to ensure label reliability. RAF-DB is considered one of the most comprehensive datasets for affective computing, providing a strong foundation for evaluating model performance under real-world conditions. Representative samples are illustrated in Figure 8.
Figure 8.
Sample facial images from the RAF-DB dataset captured under real-world conditions, showing diverse demographics, poses, and illumination variations.
To establish a unified and comparable evaluation protocol across the three datasets (KDEF, FER2013, and RAF-DB), we adopt a fixed 70%/30% split of the original images into training and validation subsets. All quantitative results reported in this study are obtained from the validation subsets under this unified splitting protocol. We only construct training and validation sets, rather than introducing an additional test set, for the following reasons. First, the three datasets do not provide consistent official evaluation protocols: KDEF offers no predefined split; FER2013 includes an official test set whose labels are not publicly accessible; and RAF-DB provides an official test set but lacks a dedicated validation set. Second, for datasets such as KDEF that are relatively small and collected under controlled conditions, validation and test subsets serve essentially the same purpose—evaluating generalization on unseen samples—while creating an additional test split would unnecessarily reduce the number of training examples without providing further benefits. In this work, we strictly ensure that the training and validation subsets are fully isolated, with no sample overlap or information leakage after splitting. All model selection, hyperparameter tuning, and early stopping decisions rely exclusively on the validation subsets. This unified training–validation protocol not only ensures fairness and reproducibility across datasets, but also helps to mitigate overfitting by monitoring the model’s generalization performance throughout training.
4.4. Comparison with State-of-the-Art Methods
To comprehensively evaluate the performance of the proposed framework, we compared it with a series of representative state-of-the-art models, including AlexNet [3], VGG [4], ResNet [5], DenseNet [6], EfficientNet [7], ViT [8], and ensemble-based models such as Gimefive [35] and the Attention-Enhanced Ensemble [36]. All models were trained under identical configurations to ensure fairness, and the ViT encoder in our framework was initialized from official pretrained weights. The compared methods followed their respective official training settings and evaluation protocols.
Table 1 summarizes the best single-run results of all compared methods. The proposed model consistently achieves the highest scores across all evaluation metrics and datasets. On the KDEF dataset, the model reaches an Accuracy of 0.997 and an F1-score of 0.993. Such near-perfect performance does not indicate overfitting; rather, it is consistent with the nature of KDEF, which is captured under fully controlled laboratory conditions with uniform lighting, frontal poses, and highly prototypical expressions. These factors lead to very low intra-class variability, making the dataset inherently easy for modern deep learning models. Given that the training and validation subsets originate from a nearly homogeneous distribution, the performance gap between them is naturally small, and the high validation accuracy reflects data simplicity rather than model overfitting. Moreover, the training pipeline incorporated multiple regularization strategies—including strong weight decay, data augmentation, dropout, and early stopping—which further reduce the likelihood of overfitting.
Table 1.
Quantitative comparison (best single-run results) of different models on three benchmark datasets (KDEF, FER2013, and RAF-DB) across five evaluation metrics. The bold values represent the best metrics or the best-performing methods for each evaluation criterion.
On the more challenging FER2013 and RAF-DB datasets, which contain diverse variations in pose, illumination, occlusion, and demographic attributes, the proposed method still achieves leading Accuracy values of 0.796 and 0.776, surpassing the strongest baseline (Attention-Enhanced Ensemble) by 0.9% and 1.9%, respectively. These results demonstrate the effectiveness of the Cross-Domain Feature Enhancement and Fusion (CDFEF) module in improving robustness under unconstrained conditions.
The Matthews Correlation Coefficient (MCC) further supports these observations: across all datasets, our method yields the highest MCC values, indicating reliable decision boundaries and stable predictions. In summary, although the model achieves near-perfect scores on KDEF due to the dataset’s simplicity, its substantial improvements on FER2013 and RAF-DB highlight the true advantages of the proposed multi-domain feature integration.
To facilitate intuitive comparison, Figure 9, Figure 10 and Figure 11 visualize the performance differences across four standard metrics on the KDEF, FER2013, and RAF-DB datasets. The proposed MDFEFT consistently outperforms all competing models, achieving near-saturation performance on KDEF and demonstrating notable robustness improvements on FER2013 and RAF-DB. To provide a clearer comparison between the proposed MDFEFT model and the strongest baseline (Attention-Enhanced Ensemble), we visualize their confusion matrices on the KDEF, FER2013, and RAF-DB datasets. As illustrated in Figure 12, Figure 13 and Figure 14, the proposed method consistently exhibits stronger diagonal concentration and fewer off-diagonal errors, indicating more stable and reliable category-level prediction. On the controlled KDEF dataset (Figure 12), both methods achieve high recognition accuracy; however, the Attention-Enhanced Ensemble still presents several scattered misclassifications, whereas our MDFEFT model produces an almost perfectly diagonal confusion matrix. This highlights the effectiveness of the proposed multi-domain feature enhancement strategy in capturing fine-grained emotional cues under well-structured and noise-free conditions.
Figure 9.
Performance comparison across four evaluation metrics on the KDEF dataset. The purple color represents the results of the proposed method in this paper.
Figure 10.
Performance comparison across four evaluation metrics on the FER2013 dataset. The purple color represents the results of the proposed method in this paper.
Figure 11.
Performance comparison across four evaluation metrics on the RAF-DB dataset. The purple color represents the results of the proposed method in this paper.
Figure 12.
Confusion matrices of the proposed method and the Attention-Enhanced Ensemble on the KDEF dataset.
Figure 13.
Confusion matrices of the proposed method and the Attention-Enhanced Ensemble on the FER2013 dataset.
Figure 14.
Confusion matrices of the proposed method and the Attention-Enhanced Ensemble on the RAF-DB dataset.
For the more challenging in-the-wild datasets FER2013 and RAF-DB (Figure 13 and Figure 14), the difference becomes even more pronounced. The Attention-Enhanced Ensemble shows noticeably higher confusion among Sad/Fear, Happy/Neutral, and several Surprise-related categories, while the proposed MDFEFT substantially suppresses these cross-class errors. These comparative visualizations confirm that the proposed approach provides significantly enhanced robustness and generalization across datasets with diverse illumination, pose variation, occlusion levels, and expression intensity.
4.5. Statistical Stability Analysis
To further evaluate the statistical robustness and reproducibility of the proposed model, five independent experiments were conducted using different random seeds on the KDEF, FER2013, and RAF-DB datasets. All runs adopted identical hyperparameter settings, data augmentation strategies, and optimization configurations to ensure fair comparability. For each dataset, the results are reported as the mean value () and standard deviation () across five runs for Accuracy, Precision, F1-score, Recall, and the Matthews Correlation Coefficient (MCC).
As shown in Table 2, the proposed framework exhibits stable performance across all datasets. For the controlled KDEF dataset, the variations remain small (– across most metrics), indicating that the model consistently converges despite different random initializations. For the more challenging FER2013 and RAF-DB datasets, the standard deviations increase modestly to approximately –, reflecting reasonable stochastic fluctuations caused by greater diversity in lighting, pose, occlusion, and expression subtlety.
Table 2.
Statistical stability results (mean ± standard deviation ) of the proposed model over five independent runs.
Compared with the best single-run performance reported in Table 1, the mean values exhibit only marginal reductions (roughly 1–2%), demonstrating that the model does not rely on a favorable initialization to achieve strong performance. The inclusion of MCC further confirms this stability, showing consistently high and low-variance values across all datasets—even under class imbalance conditions.
Overall, the stability results indicate that the proposed MDFEFT framework not only achieves state-of-the-art recognition accuracy but also maintains excellent reproducibility, making it a reliable choice for real-world facial expression recognition applications where consistent behavior across deployments is crucial.
4.6. Ablation Study
To assess the individual contributions of each component, we performed ablation experiments on the KDEF, FER2013, and RAF-DB datasets. We systematically removed (1) the three-branch feature extraction module (Channel, Space, and Frequency branches) and (2) the Cross-Domain Feature Enhancement and Fusion (CDFEF) module, while maintaining identical training configurations to the full model.
4.7. Ablation Study of Proposed Method
As shown in Table 3, both the three-branch module and the CDFEF module are crucial to the overall performance. Removing the three-branch module leads to a noticeable performance drop on all datasets, with Accuracy decreases of about 1.0–1.2%, reflecting its essential role in extracting complementary information from the channel, spatial, and frequency domains.
Table 3.
Ablation results with dataset-styled left column. Each block reports Accuracy, Precision, F1-score, and Recall for different configurations.
Similarly, removing the CDFEF module results in consistent declines across all datasets, with Accuracy reductions from 0.997 to 0.991 on KDEF, from 0.786 to 0.775 on FER2013, and from 0.756 to 0.751 on RAF-DB. This demonstrates that the CDFEF module effectively enhances cross-domain feature interaction and adaptive fusion.
Overall, the full model achieves the best performance across all metrics and datasets, confirming that the combination of multi-branch feature extraction and cross-domain fusion significantly strengthens discriminative feature representation and generalization under diverse facial expressions and illumination conditions.
4.8. Ablation on Three Complementary Feature Extraction Branches
To further examine the contribution of each feature extraction branch and their joint effects, we conducted detailed ablation experiments on the Channel, Space, and Frequency branches. Each branch is responsible for modeling distinct feature dimensions: the Channel Branch captures inter-channel dependencies, the Space Branch emphasizes spatial saliency, and the Frequency Branch extracts high-frequency texture representations. We additionally investigated the impact of removing two branches simultaneously to evaluate their complementarity.
As shown in Table 4, each branch contributes meaningfully to the model’s overall performance. When removing individual branches, all datasets exhibit performance degradation, with the Frequency Branch removal causing the largest drop due to the loss of discriminative high-frequency texture cues.
Table 4.
Ablation results of removing single or multiple feature extraction branches on three datasets. Each block reports Accuracy, Precision, F1-score, and Recall.
When two branches are removed simultaneously, the decline becomes more pronounced and nearly additive. For instance, removing both Space and Frequency branches reduces Accuracy from 0.997 to 0.981 on KDEF, from 0.786 to 0.761 on FER2013, and from 0.756 to 0.738 on RAF-DB. This confirms that the three branches provide complementary representations and that their integration enables a richer, more stable encoding of facial expression information. The full model achieves the highest overall performance, validating the effectiveness of the joint multi-domain representation strategy that combines spatial, channel, and frequency-level cues for robust facial emotion recognition.
4.9. Effect of the Channel Allocation Ratio
To investigate the balance between global and local channel modeling in the Channel Branch, we conducted an extensive ablation study on the channel allocation ratio . This parameter controls the proportion between the local feature pathway (Group-Wise Convolution, GWC) and the global aggregation pathway (Point-Wise Convolution, PWC), determining how the network allocates capacity between fine-grained local cues and holistic statistics. We evaluated values from 0.1 to 1.0 across three datasets. FER2013 achieves the best performance at , while KDEF and RAF-DB achieve their highest performance at . Detailed quantitative results are reported in Table 5.
Table 5.
Ablation of the channel allocation ratio on three datasets. Each block reports Accuracy, Precision, F1-score, and Recall. The optimal range is , where FER2013 peaks at , while KDEF and RAF-DB peak at .
As shown in Table 5, moderate values of yield the most balanced performance across all datasets. Specifically, the optimal range consistently achieves high accuracy and stable generalization. On FER2013, produces the highest Accuracy, Precision, F1-score, and Recall (0.786, 0.779, 0.768, and 0.787, respectively), suggesting that in-the-wild data benefit from slightly stronger local specialization. For KDEF and RAF-DB, the balanced configuration achieves the best overall results (KDEF: 0.997, 0.996, 0.993, 0.992; RAF-DB: 0.756, 0.761, 0.751, 0.773), indicating that controlled or moderately unconstrained conditions prefer an even distribution between local and global representations. Very small or large values lead to performance degradation due to over-aggregated global statistics or excessive local fragmentation. Overall, the model maintains strong stability and accuracy in the range , highlighting the adaptive capability of the Channel Branch to balance global–local information under different domain conditions.
4.10. Visual Explanation via Grad-CAM
To further interpret the decision-making behavior of the proposed model, we employ Gradient-weighted Class Activation Mapping (Grad-CAM) [50] to visualize the class-discriminative regions that most contribute to emotion prediction. As illustrated in Figure 15, each sample consists of three components: The heatmaps are extracted from the last feature layer of the Cross-Domain Feature Enhancement and Fusion (CDFEF) module, highlighting spatial regions that exhibit the highest gradient responses with respect to the predicted emotion class. This provides an intuitive visualization of how the model focuses on discriminative facial regions during inference.
Figure 15.
Grad-CAM visualization of the proposed model: (a) original facial images; (b) corresponding Grad-CAM activation heatmaps; and (c) overlay results showing the model’s attention focus.
As shown in Figure 15, the model predominantly attends to semantically meaningful facial areas such as the eyes, mouth, and forehead, which are highly correlated with emotional expressions. For example, in the cases of Happiness and Surprise, the model focuses on the corners of the mouth and raised eyebrows, while for Sadness or Fear, the attention shifts toward the eyes and brow regions. These visual explanations demonstrate that the CDFEF module effectively aggregates multi-branch features and highlights key emotional regions, aligning the model’s internal attention patterns with human-perceptible cues. Such consistency between semantic activation and emotional relevance verifies both the interpretability and robustness of the proposed architecture.
4.11. Cross-Domain Generalization Experiments
To further evaluate the domain transferability and robustness of the proposed framework, we conducted cross-domain generalization experiments among the three datasets: KDEF, FER2013, and RAF-DB. Each dataset was used as a source domain for training and then tested on the other two as target domains (KDEF→FER2013, KDEF→RAF-DB, FER2013→KDEF, FER2013→RAF-DB, RAF-DB→KDEF, RAF-DB→FER2013). All models were trained under identical configurations without any fine-tuning on the target domain, ensuring a fair and consistent comparison of cross-domain generalization performance.
As shown in Table 6, the overall cross-domain performance drops substantially compared with within-domain training, confirming that domain shift remains a major challenge in facial expression recognition. When trained on the controlled KDEF dataset, the model generalizes poorly to more diverse distributions such as FER2013 and RAF-DB (Accuracy 0.572 and 0.586), which is expected given KDEF’s limited variation in illumination, pose, ethnicity, and expression intensity. Models trained on FER2013 exhibit relatively better transfer to KDEF (Accuracy 0.642), likely due to the broader appearance diversity present in FER2013. However, their performance on RAF-DB (Accuracy 0.594) is still limited, indicating that label granularity differences and subtle expression nuances in RAF-DB cannot be fully captured through simple in-the-wild training. Similarly, models trained on RAF-DB transfer moderately well to KDEF (Accuracy 0.627) but drop on FER2013 (Accuracy 0.559), suggesting asymmetric distribution gaps and dataset-specific annotation biases. Overall, although the proposed model demonstrates certain robustness benefits from its multi-branch enhancement and adaptive fusion design, its cross-domain performance remains far from satisfactory when faced with substantial dataset discrepancies. This highlights an important limitation: the current framework does not explicitly address domain alignment, semantic distribution mismatch, or annotation inconsistency across datasets. These observations call for more advanced adaptation mechanisms in future work—such as explicit domain alignment, distribution-aware normalization, contrastive domain-invariant feature learning, or meta-learning strategies—which could further enhance the model’s generalizability under real-world domain shift scenarios.
Table 6.
Cross-domain generalization results of the proposed model among the three datasets. Each entry reports Accuracy, Precision, F1-score, and Recall.
5. Conclusions and Future Work
This study presented a unified Multi-Domain Feature Enhancement and Fusion Transformer (MDFEFT) for robust and cross-domain facial expression recognition. The framework integrates a ViT-based global encoder with channel-, spatial-, and frequency-domain branches to jointly capture global semantics, local saliency, and spectral texture information. An adaptive Cross-Domain Feature Enhancement and Fusion (CDFEF) module further aligns and integrates heterogeneous cues, leading to illumination-robust and domain-consistent emotional representations. Extensive experiments on KDEF, FER2013, and RAF-DB demonstrate that MDFEFT achieves superior performance on all datasets, attaining accuracies of 0.997, 0.796, and 0.776, respectively, and outperforming the strongest baselines by up to 0.022. Cross-domain evaluation further shows that the proposed model maintains stable transferability across distinct dataset distributions.
Despite these promising results, the cross-domain experiments also reveal several limitations. Significant performance degradation still occurs when transferring from controlled datasets to in-the-wild scenarios, indicating that illumination variations, pose differences, demographic imbalance, and inconsistent annotation protocols continue to pose challenges. These findings suggest that the current multi-domain enhancement strategy improves robustness but does not fully resolve domain discrepancies, particularly under large distribution shifts. Furthermore, datasets such as KDEF are highly controlled and relatively simple, which limits their ability to reflect real-world recognition difficulty and may cause upper-bound performance that does not directly translate to unconstrained environments.
In addition to these technical extensions, the proposed MDFEFT model is currently being prepared for real-world deployment in several practical scenarios. Specifically, we are integrating the framework into an in-vehicle driver state monitoring system, where its robustness to illumination changes, head pose variation, and occlusion is particularly valuable for detecting fatigue, distraction, and abnormal emotional states. We are also evaluating the model’s performance in video-based behavior analysis, such as classroom engagement monitoring and customer interaction assessment, where stable emotion perception can support downstream decision-making. These ongoing deployment efforts further highlight the practical relevance of MDFEFT and demonstrate its potential for broader real-world applications. Beyond these immediate uses, the model also provides a strong foundation for future extensions, including cross-cultural emotion modeling, personalized affective profiling, and adaptive human–computer interaction systems that continuously learn user-specific emotional patterns.
Author Contributions
Conceptualization, K.L.S. and M.-J.-S.W.; Methodology, K.L.S.; software, K.L.S.; validation, K.L.S. and M.-J.-S.W.; formal analysis, K.L.S.; investigation, K.L.S.; resources, M.-J.-S.W.; data curation, K.L.S.; writing—original draft preparation, K.L.S.; writing—review and editing, K.L.S. and M.-J.-S.W.; visualization, K.L.S.; supervision, M.-J.-S.W.; project administration, M.-J.-S.W.; funding acquisition, M.-J.-S.W. All authors have read and agreed to the published version of the manuscript.
Funding
This research received no external funding.
Data Availability Statement
The datasets used in this study are publicly available. KDEF can be accessed at https://www.kdef.se (accessed on 1 December 2025); FER2013 is available through the Kaggle repository at https://www.kaggle.com/datasets/msambare/fer2013 (accessed on 1 December 2025); RAF-DB can be obtained from the official project page at http://www.whdeng.cn/RAF/model1.html (accessed on 1 December 2025). No new data were created in this study.
Acknowledgments
The authors would like to thank the technical and administrative support provided by Shenzhen Kaihong Digital Industry Development Co., Ltd. and the Shenzhen Institute of Advanced Technology, Chinese Academy of Sciences. During the preparation of this manuscript, the authors used ChatGPT (OpenAI, GPT-5.1) for English language refinement and assistance in improving the clarity of expression. The authors have carefully reviewed, verified, and edited all AI-assisted content and take full responsibility for the final version of this publication.
Conflicts of Interest
The authors declare no conflicts of interest. The funders had no role in the design of the study; in the collection, analyses, or interpretation of data; in the writing of the manuscript; or in the decision to publish the results.
Abbreviations
The following abbreviations are used in this manuscript:
| FER | Facial Expression Recognition |
| ViT | Vision Transformer |
| MDFEFT | Multi-Domain Feature Enhancement and Fusion |
| CDFEF | Cross-Domain Feature Enhancement and Fusion |
| DFT | Discrete Fourier Transform |
| IDFT | Inverse Discrete Fourier Transform |
| MSA | Multi-Head Self-Attention |
| MLP | Multi-Layer Perceptron |
| CNN | Convolutional Neural Network |
| GWC | Group-Wise Convolution |
| PWC | Point-Wise Convolution |
| FC | Fully Connected (Layer) |
| Grad-CAM | Gradient-weighted Class Activation Mapping |
| RA F-DB | Real-world Affective Face Database |
| KDEF | Karolinska Directed Emotional Faces Dataset |
References
- Ko, B. A brief review of facial emotion recognition based on visual information. Sensors 2018, 18, 401. [Google Scholar] [CrossRef] [Scilit]
- Li, S.; Deng, W. Deep facial expression recognition: A survey. IEEE Trans. Affect. Comput. 2020, 13, 1195–1215. [Google Scholar] [CrossRef] [Scilit]
- Krizhevsky, A.; Sutskever, I.; Hinton, G.E. ImageNet Classification with Deep Convolutional Neural Networks. In Proceedings of the Advances in Neural Information Processing Systems (NeurIPS 2012), Lake Tahoe, NV, USA, 3–6 December 2012; Curran Associates, Inc.: Red Hook, NY, USA, 2012; pp. 1097–1105. [Google Scholar]
- Simonyan, K.; Zisserman, A. Very Deep Convolutional Networks for Large-Scale Image Recognition. In Proceedings of the International Conference on Learning Representations (ICLR), San Diego, CA, USA, 7–9 May 2015. [Google Scholar]
- He, K.; Zhang, X.; Ren, S.; Sun, J. Identity mappings in deep residual networks. In Proceedings of the European Conference on Computer Vision, Amsterdam, The Netherlands, 11–14 October 2016; Springer: Cham, Switzerland, 2016; pp. 630–645. [Google Scholar]
- Huang, G.; Liu, Z.; van der Maaten, L.; Weinberger, K.Q. Densely Connected Convolutional Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; pp. 4700–4708. [Google Scholar]
- Tan, M.; Le, Q.V. EfficientNet: Rethinking Model Scaling for Convolutional Neural Networks. In Proceedings of the 36th International Conference on Machine Learning (ICML), PMLR, Long Beach, CA, USA, 9–15 June 2019; pp. 6105–6114. [Google Scholar]
- Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An Image is Worth 16 × 16 Words: Transformers for Image Recognition at Scale. In Proceedings of the International Conference on Learning Representations (ICLR), Vienna, Austria, 4 May 2021. [Google Scholar]
- Ekman, P.; Friesen, W.V. Constants across cultures in the face and emotion. J. Personal. Soc. Psychol. 1971, 17, 124–129. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Lucey, P.; Cohn, J.F.; Kanade, T.; Saragih, J.M.; Ambadar, Z.; Matthews, I.A. The extended Cohn-Kanade dataset (CK+): A complete dataset for action unit and emotion-specified expression. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), San Francisco, CA, USA, 13–18 June 2010; pp. 94–101. [Google Scholar] [CrossRef] [Scilit]
- Lundqvist, D.; Flykt, A.; Öhman, A. The Karolinska Directed Emotional Faces (KDEF); Technical Report; Department of Clinical Neuroscience, Psychology Section, Karolinska Institutet: Stockholm, Sweden, 1998; Available online: https://www.kdef.se/ (accessed on 1 December 2025).
- Goodfellow, I.J.; Erhan, D.; Carrier, P.L.; Courville, A.; Mirza, M.; Hamner, B.; Cukierski, W.; Tang, Y.; Thaler, D.; Lee, D.H.; et al. Challenges in Representation Learning: A report on three machine learning contests. In Proceedings of the 20th International Conference on Neural Information Processing (ICONIP 2013), Daegu, Republic of Korea, 3–7 November 2013; pp. 117–124. [Google Scholar]
- Dataset: Real-World Affective Face Database (RAF-DB). Available online: http://www.whdeng.cn/RAF/model1.html (accessed on 1 December 2025).
- Kollias, D.; Tzirakis, P.; Baird, A.; Cowen, A.; Zafeiriou, S. ABAW: Valence-Arousal estimation, expression recognition, action unit detection & emotional reaction intensity estimation challenges. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition Workshops (CVPRW), Vancouver, BC, Canada, 18–22 June 2023; pp. 5889–5898. [Google Scholar]
- Dey, K.; Roy, S.; Jana, B.; Dhar, P. Recent advancements in facial emotion recognition using conventional and deep neural network: A comprehensive review. Smart Sci. 2025, 13, 431–444. [Google Scholar] [CrossRef] [Scilit]
- Gaya-Morey, F.X.; Buades-Rubio, J.M.; Palanque, P.; Lacuesta, R.; Manresa-Yee, C. Deep Learning-Based Facial Expression Recognition for the Elderly: A Systematic Review. arXiv 2025, arXiv:2502.02618. [Google Scholar] [CrossRef] [Scilit]
- Li, S.; Guo, L.; Liu, J. Towards East Asian facial expression recognition in the real world: A new database and deep recognition baseline. Sensors 2022, 22, 8089. [Google Scholar] [CrossRef] [Scilit]
- Barsoum, E.; Zhang, C.; Canton-Ferrer, C.; Zhang, Z. Training deep networks for facial expression recognition with crowd-sourced label distribution. In Proceedings of the 18th ACM International Conference on Multimodal Interaction (ICMI), Tokyo, Japan, 12–16 November 2016; pp. 279–283. [Google Scholar]
- Li, S.; Deng, W.; Du, J. Reliable crowdsourcing and deep locality-preserving learning for expression recognition in the wild. In Proceedings of the 2017 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Honolulu, HI, USA, 21–26 July 2017; pp. 2584–2593. [Google Scholar]
- Li, S.; Deng, W. Reliable crowdsourcing and deep locality-preserving learning for unconstrained facial expression recognition. IEEE Trans. Image Process. 2019, 28, 356–370. [Google Scholar] [CrossRef] [Scilit]
- Zheng, K.; Yang, D.; Liu, J.; Cui, J. Recognition of teachers’ facial expression intensity based on Convolutional Neural Network and attention mechanism. IEEE Access 2020, 8, 226437–226444. [Google Scholar] [CrossRef] [Scilit]
- Shaik, S.N.; Cherukuri, K.T. Visual attention based composite dense neural network for facial expression recognition. J. Ambient. Intell. Humaniz. Comput. 2022, 13, 16229–16242. [Google Scholar] [CrossRef] [Scilit]
- Liu, J.; Feng, Y. Facial expression recognition using pose-guided face alignment and discriminative features based on deep learning. IEEE Access 2021, 9, 69267–69277. [Google Scholar] [CrossRef] [Scilit]
- Rajan, S.; Chenniappan, P.; Devaraj, S.; Madian, N.N. Novel deep learning model for facial expression recognition based on maximum boosted CNN and LSTM. IET Image Process. 2020, 14, 1373–1381. [Google Scholar] [CrossRef] [Scilit]
- Saurav, S.; Gidde, P.; Saini, R.; Singh, S. Dual integrated convolutional neural network for real-time facial expression recognition in the wild. Vis. Comput. 2022, 38, 1083–1096. [Google Scholar] [CrossRef] [Scilit]
- Saurav, S.; Saini, R.; Singh, S. EmNet: A deep integrated convolutional neural network for facial emotion recognition in the wild. Appl. Intell. 2021, 51, 5543–5570. [Google Scholar] [CrossRef] [Scilit]
- Dong, Y.; Wang, T.; Pu, Y.; Gao, J. Facial Expression Recognition with Enhanced Relation-Aware Attention and Cross-Feature Fusion Transformer. 2024. Available online: https://www.researchgate.net/publication/378189347_Facial_Expression_Recognition_with_Enhanced_Relation-Aware_Attention_and_Cross-Feature_Fusion_Transformer (accessed on 1 December 2025).
- Dou, W.; Wang, K.; Yamauchi, T. Face Expression Recognition With Vision Transformer and Local Mutual Information Maximization. IEEE Access 2024, 12, 169263–169276. [Google Scholar] [CrossRef] [Scilit]
- Tian, Y.; Zhu, J.; Yao, H.; Chen, D. Facial Expression Recognition Based on Vision Transformer with Hybrid Local Attention. Appl. Sci. 2024, 14, 6471. [Google Scholar] [CrossRef] [Scilit]
- Li, Y.; Wang, M.; Gong, M.; Lu, Y.; Liu, L. FER-Former: Multimodal Transformer for Facial Expression Recognition. IEEE Trans. Multimed. 2025, 27, 2412–2422. [Google Scholar] [CrossRef] [Scilit]
- Bie, M.; Xu, H.; Gao, Y.; Song, K.; Che, X. Swin-FER: Swin Transformer for Facial Expression Recognition. Appl. Sci. 2024, 14, 6125. [Google Scholar] [CrossRef] [Scilit]
- Anand, M.; Babu, S. ADcFNet-deep learning based facial expression identification using FER vision transformer. J. Vis. Commun. Image Represent. 2026, 114, 104637. [Google Scholar] [CrossRef] [Scilit]
- Feng, B.; Zhang, H. Expression Recognition Based on Visual Transformers with Novel Attentional Fusion. J. Physics Conf. Ser. 2024, 2868, 012036. [Google Scholar] [CrossRef] [Scilit]
- Zhang, Y.; Zhang, J.; Shen, L.; Yu, Z.; Gao, Z. Fine-Grained Temporal-Enhanced Transformer for Dynamic Facial Expression Recognition. IEEE Signal Process. Lett. 2024, 31, 2560–2564. [Google Scholar] [CrossRef] [Scilit]
- Wang, J.; Kawka, L. Gimefive: Towards interpretable facial emotion classification. arXiv 2024, arXiv:2402.15662. [Google Scholar]
- Khan, T.; Yasir, M.; Choi, C. Attention-enhanced optimized deep ensemble network for effective facial emotion recognition. Alex. Eng. J. 2025, 119, 111–123. [Google Scholar] [CrossRef] [Scilit]
- Umer, S.; Rout, K.R.; Nappi, M. Facial expression recognition with tradeoffs between data augmentation and deep learning features. J. Ambient. Intell. Humaniz. Comput. 2022, 13, 721–735. [Google Scholar] [CrossRef] [Scilit]
- Zhang, R. Making Convolutional Networks Shift-Invariant Again. In Proceedings of the 36th International Conference on Machine Learning (ICML), Long Beach, CA, USA, 9–15 June 2019; pp. 7324–7334. [Google Scholar]
- Xiao, Z.X. Delving deeper into Anti-aliasing in ConvNets. Int. J. Comput. Vis. 2023, 131, 67–81. [Google Scholar] [CrossRef] [Scilit]
- Suzuki, S.; Takeda, S.; Makishima, N.; Ando, A.; Masumura, R.; Shouno, H. Knowledge transferred fine-tuning: Convolutional neural network is born again with anti-aliasing even in data-limited situations. IEEE Access 2022, 10, 68384–68396. [Google Scholar] [CrossRef] [Scilit]
- Abate, F.A.; Cimmino, L.; Mocanu, B.C.; Narducci, F.; Pop, F. The limitations for expression recognition in computer vision introduced by facial masks. Multimed. Tools Appl. 2023, 82, 11305–11319. [Google Scholar] [CrossRef] [Scilit]
- Chen, T.; Pu, T.; Wu, H.; Xie, Y.; Liu, L.; Lin, L. Cross-Domain Facial Expression Recognition: A Unified Evaluation Benchmark and Adversarial Graph Learning. IEEE Trans. Pattern Anal. Mach. Intell. 2022, 44, 9887–9903. [Google Scholar] [CrossRef] [Scilit]
- Wang, M.; Yang, W.; Guo, Y.; Wang, S. Conditional fault tolerance in a class of Cayley graphs. Int. J. Comput. Math. 2016, 93, 67–82. [Google Scholar] [CrossRef] [Scilit]
- Wang, M.; Lin, Y.; Wang, S.; Wang, M. Sufficient conditions for graphs to be maximally 4-restricted edge connected. Australas. J. Comb. 2018, 70, 123–136. [Google Scholar]
- Wang, S.; Wang, M. A Note on the Connectivity of m-Ary n-Dimensional Hypercubes. Parallel Process. Lett. 2019, 29, 1950017. [Google Scholar] [CrossRef] [Scilit]
- Wang, M.; Xiang, D.; Wang, S. Connectivity and diagnosability of leaf-sort graphs. Parallel Process. Lett. 2020, 30, 2040004. [Google Scholar] [CrossRef] [Scilit]
- Wang, M.; Xu, S.; Jiang, J.; Xiang, D.; Hsieh, S.Y. Global reliable diagnosis of networks based on Self-Comparative Diagnosis Model and g-good-neighbor property. J. Comput. Syst. Sci. 2025, 155, 103698. [Google Scholar] [CrossRef] [Scilit]
- Xiang, D.; Hsieh, S.Y. G-good-neighbor diagnosability under the modified comparison model for multiprocessor systems. Theor. Comput. Sci. 2025, 1028, 115027. [Google Scholar]
- Lin, Y.; Wang, M.; Xu, L.; Zhang, F. The maximum forcing number of a polyomino. Australas. J. Comb. 2017, 69, 306–314. [Google Scholar]
- Selvaraju, R.R.; Das, A.; Vedantam, R.; Cogswell, M.; Parikh, D.; Batra, D. Grad-CAM: Why did you say that? arXiv 2016, arXiv:1611.07450. [Google Scholar]
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. 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.














