Next Article in Journal
Controlled Intramedullary Pressure Fluctuations Enhanced Periosteal and Endosteal Bone Formation in Young, but Not Old, Fischer-344 Rats
Next Article in Special Issue
Epilepsy Detected Using a New Method Based on Volumetric Analysis Results from Brain MR Images
Previous Article in Journal
Bioinspired Origami Morphing Limbs for Amphibious Robot Locomotion
Previous Article in Special Issue
A Smooth-Motion Walking-Type Piezoelectric Actuator over a Large Travel Range with High Torque
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

LDR-Net: Landmark-Guided Diverse Regional Representation Learning for Facial Expression Recognition

School of Control Science and Engineering, Shandong University, Jinan 250061, China
*
Authors to whom correspondence should be addressed.
Biomimetics 2026, 11(7), 503; https://doi.org/10.3390/biomimetics11070503
Submission received: 29 May 2026 / Revised: 1 July 2026 / Accepted: 15 July 2026 / Published: 17 July 2026

Abstract

Reliable facial expression recognition (FER) is essential for human–computer interaction across scenarios. However, existing methods often overlook spatial structure when seeking region-specific features due to fixed or limited local regions, limiting representation capability under real-world variations. Inspired by the multi-location attention of the human visual system, we propose a Landmark-guided Diverse Regional Representation Network (LDR-Net), using dynamic landmarks as patch centers to preserve structural details while locating expression-critical areas, facilitating effective regional representations for FER. First, a novel Diverse Regional Feature Extraction (DRFE) module operates via complementary operations: landmark-guided cropping for local details and cross-level integration with feature reorganization for holistic aggregation. Second, a novel Diverse Representation Learning (DRL) module is proposed with a collaborative dual-stream mechanism that captures fine-grained local dependencies via Transformers while reinforcing global features through attention-based enhancement, enabling comprehensive feature learning. Finally, a new Hybrid Feature Fusion (HFF) module is proposed for joint decision optimization via a hierarchical hybrid strategy, which aggregates intra-branch predictions followed by weighted branch-level fusion. Experiments on three FER benchmarks (RAF-DB, AffectNet, SFEW) and five occlusion/pose test sets demonstrate that LDR-Net outperforms state-of-the-art methods, while cross-scene validation on KMU-FED confirms its effectiveness in real-world driving.

Graphical Abstract

1. Introduction

Facial expressions are a direct reflection of human emotions and play a crucial role in communication. Automatic facial expression recognition (FER) has emerged as a key emotion analysis tool in artificial intelligence (AI), with applications in human–computer interaction, medical diagnosis, driver status monitoring, and online education [1]. These applications enhance user experience and ensure safety, highlighting the importance of FER across diverse fields.
Unlike general image classification, FER must handle facial variations, which present notable inter-class similarities and intra-class discrepancies. In recent years, FER has achieved excellent performance on laboratory-controlled datasets, which typically feature uniform illumination, frontal pose, and no occlusion. However, FER in the wild usually suffers from difficulties including occlusion, pose variation, illumination variation and insufficient quality. These real-world variations impose higher demands on representation capability, making FER in the wild a challenging task, as illustrated in Figure 1.
To address the challenges of FER in the wild, existing approaches can be broadly categorized into global-based, local-based, global–local fusion, and facial landmark-based methods. Global-based methods focus on extracting holistic facial features, capturing overall structural and semantic information [4]. Local-based methods, such as patch-based strategies [5] and relation-aware learning [6], focus on fine-grained spatial information. Global–local fusion methods integrate both scales to improve robustness against occlusion and pose variation [7,8]. Additionally, facial landmark-based methods enhance feature extraction by focusing on expression-relevant regions [3,9,10]. Among these, combining global features with patch-based local feature design has emerged as a mainstream direction to address real-world challenges. However, the local patch extraction in these methods often relies on fixed or limited local regions (e.g., uniformly divided grids or hand-crafted patches). This can lead to two limitations: spatial structure tends to be overlooked when seeking region-specific features, and the network may struggle to dynamically adapt to expression-relevant regions that vary across faces and scenarios. Consequently, their representations may be constrained under real-world variations. Facial landmarks provide stable structural cues relatively robust to pose and occlusion variations, and have been widely adopted in FER. Existing methods typically employ landmarks for alignment, region selection [11], geometric modeling [12], or auxiliary guidance [13], yet often in a fixed or indirect manner without fully integrating them into representation learning. In contrast, we treat landmarks as dynamic spatial anchors to guide adaptive region generation, enabling structure-aware and flexible feature learning under real-world variations.
Inspired by multi-location attention of the human visual system, we propose the Landmark-guided Diverse Regional Representation Network (LDR-Net), which leverages facial landmarks as dynamic spatial anchors to localize expression-critical regions while preserving structural details, promoting efficient region-specific representations for robust FER. The network can be interpreted with three bio-inspired principles: (1) using facial landmarks as explicit spatial anchors to mimic the human visual system (HVS)’s salient feature selection, (2) learning diverse regional representations in parallel to emulate the HVS’s distributed attention, and (3) integrating local and global features to replicate the HVS’s holistic perception. Specifically, the Diverse Regional Feature Extraction (DRFE) module extracts diverse regional representations via complementary operations: landmark-guided cropping dynamically crops patches anchored at facial landmarks for local details, while cross-level integration with feature reorganization aggregates multi-level features for global context, establishing complementary local–global representations while preserving structural details. Second, the Diverse Representation Learning (DRL) module employs a complementary dual-stream mechanism: Transformer-based Local Relation-aware Representation (LRR) cells capture fine-grained local dependencies among landmark-centered patches, while CNN-based Global Reinforced Representation (GRR) cells enhance global features through attention-based reinforcement. This enables comprehensive feature learning that integrates local relational cues with holistic facial representations. Finally, a Hybrid Feature Fusion (HFF) module is introduced for joint decision optimization via a hierarchical hybrid strategy that aggregates intra-branch predictions and performs weighted branch-level fusion, balancing local and global features for robust classification.
Our main contributions are summarized as follows.
  • We propose a novel bio-inspired Landmark-guided Diverse Regional Representation Network (LDR-Net) that moves beyond fixed or limited local regions by using facial landmarks as dynamic patch centers to locate expression-critical areas while preserving structural details, facilitating diverse regional representations for robust FER.
  • We develop a Diverse Regional Feature Extraction (DRFE) module that captures local details via landmark-guided cropping and aggregates multi-level features via cross-level integration, enabling both fine-grained local details and holistic facial reinforcement.
  • We propose a Diverse Representation Learning (DRL) module with a complementary dual-stream mechanism: Transformer-based Local Relation-aware Representation (LRR) cells capture fine-grained local dependencies among landmark-centered patches, while CNN-based Global Reinforced Representation (GRR) cells reinforce global features through attention-based enhancement, enabling comprehensive feature learning.
  • Our LDR-Net substantially boosts FER performance under challenging conditions, achieving state-of-the-art accuracies of 92.11% on RAF-DB, 67.14% on AffectNet-7, 63.20% on AffectNet-8, and 62.65% on the SFEW dataset. Additionally, it achieves near-perfect accuracy (99.10%) on the KMU-FED driver facial expression dataset, showcasing its real-world effectiveness.

2. Related Work

2.1. Facial Expression Recognition

FER enables machines to understand human emotions and make judgments based on psychological states. Early FER was predominantly based on datasets collected in lab-controlled environments. With the growing demand for technological solutions to real-world challenges, there is a gradual shift towards large-scale data acquisition in the wild. According to the type of features, FER methods can be broadly categorized into traditional hand-crafted methods and deep learning-based methods.
Traditional methods mainly include texture-based, geometry-based, and hybrid approaches. Texture-based methods rely on hand-crafted features such as histograms of oriented gradients (HOGs) [14], local binary patterns (LBPs) [15], and scale-invariant feature transform (SIFT) [16]. These methods are limited by manual annotation and low generalization ability. Geometry-based methods leverage geometric patterns of facial shape, such as coordinate information of pre-defined facial landmarks [17] or geometric features like distances and angles between landmarks [18]. Hybrid feature extraction methods combine two or more traditional approaches to further enrich feature representation.

2.2. Efficient FER with Representation Reinforcement

Deep learning can automatically extract spatial features of images without manual intervention [19]. In recent years, deep learning methods have made breakthrough progress in FER tasks [20], especially on challenging large-scale datasets. To achieve efficient and robust FER, existing deep learning methods primarily focus on enhancing representational ability [7], designing novel loss functions [21], and reducing data uncertainties [20,22].
To improve representational ability via network design and integration, Ruan et al. [4] propose FDRL to capture expression-specific variations from a global perspective. Wang et al. [1] propose RAN to encourage high attention weights for the most discriminative regions. From a global–local combination perspective, Zhao et al. [7] propose MA-Net to learn deep global multi-scale and local attention features. Among integrated approaches, Wang et al. [23] propose MGR3Net, which reinforces representation via attention-guided global–local fusion, while Tao et al. [24] introduce a hierarchical attention network with progressive feature fusion. Recently, Dong et al. [25] propose WGGLFA, which leverages wavelet-guided global–local feature aggregation for robust FER. More recently, MHAN [26] introduces a multi-head hybrid attention mechanism to capture fine-grained regional dependencies, further enhancing discriminative feature learning. These advances validate the benefits of strengthened feature interactions, motivating further exploration of representation learning with explicit spatial encoding.

2.3. Efficient FER Based on Facial Landmarks

Facial landmarks provide compact geometric representations of facial structures and have been widely adopted in FER. Early works exploit hand-crafted geometric features, such as distances and angles between pre-defined landmarks [17,18], which are computationally efficient but have limited representational capacity.
With the development of deep learning, facial landmarks are often used as structural priors or auxiliary supervision signals to enhance feature learning. Representative works incorporate landmarks for joint facial representation learning [11] or use them as guidance under different learning frameworks [13,27,28]. Another line of research models landmarks as graph structures, where GNNs are applied to capture spatial dependencies among facial components [12]. Hybrid and multi-task frameworks have also been explored in landmark-related facial analysis. For instance, MOL [29] jointly models micro-expression recognition, optical flow, and landmark prediction, demonstrating the potential of multi-task learning with landmark information, though it focuses on micro-expressions.
Despite these advances, most existing methods still rely on fixed structural modeling or indirect landmark supervision, which limits flexible region-level reasoning. This motivates our adaptive landmark-based representation learning with explicit spatial reasoning beyond fixed structural modeling.

2.4. Efficient FER with Vision Transformer

Vision Transformer is a transduction model that relies entirely on self-attention to compute input and output representations. Initially introduced for NLP tasks, Vision Transformer has recently been widely adopted in computer vision due to its excellent ability to model long-range dependencies [30].
In FER tasks, Xue et al. [6] first propose a Transformer-based method named TransFER, demonstrating the importance of relations among local patches. Xue et al. [31] introduce a Vision Transformer with Attentive Pooling (AP) modules to focus on discriminative features and reduce the impact of noisy ones. Kim et al. [32] propose Squeeze ViT to combine global and local features for FER. Cheng et al. [33] propose MRAN to capture efficient emotional features by exploring relationships between global and local attention features. Liang et al. [34] propose a two-branch network that leverages a Vision Transformer for global feature extraction and a CNN for local feature learning, integrating both through adaptive weighting to enhance FER accuracy in the wild.
Despite these advances, most existing methods, whether landmark-based or Transformer-based, rely on fixed keypoint localization or fixed patch partitioning, which often disrupts spatial structure and overlooks spatial coherence. Motivated by these observations, we introduce inherent relation learning with dynamic patch anchoring to preserve spatial structure while capturing diverse region-specific features.

3. Proposed Method

3.1. Overview

The proposed Landmark-guided Diverse Regional Representation Network (LDR-Net) consists of three main components, as shown in Figure 2. Given face images, a backbone is utilized to extract reliable multi-level features, while a facial landmark detector is employed to identify accurate facial landmarks. Firstly, Diverse Regional Feature Extraction (DRFE) is proposed to extract efficient region-specific representations while preserving structural details, by clipping landmark-centered regions, resetting features, and integrating cross-level information, as shown in Figure 2a. Then, Diverse Representation Learning (DRL) is proposed to learn diverse regional representations with Local Relation-aware Representation cells (LRR) and Global Reinforced Representation cells (GRR), as shown in Figure 2b. Finally, Hybrid Feature Fusion (HFF) performs joint decision optimization via a hierarchical hybrid strategy that aggregates intra-branch predictions followed by weighted branch-level fusion for the final FER classification, as shown in Figure 2c.

3.2. Diverse Regional Feature Extraction (DRFE) Module

The DRFE module extracts diverse regional representations while preserving structural details via two complementary operations: landmark-guided cropping for local details and cross-level integration with feature reorganization for global context, thereby laying the foundation for subsequent modeling of relationships between local regions and the aggregated global representations. Specifically, we adopt IR50 [35] as the backbone and extract its last three hierarchical feature maps. For local details, landmark-centered patch clipping is applied to the middle and deep layers, yielding two local outputs. For global context, feature resetting and cross-level feature concatenation are applied to all three layers, producing two global outputs. A facial landmark detector (e.g., SLPT [36]) provides dynamic patch centers for the local stream. The following subsections detail these operations.
Landmark-centered Patch Clipping: Leveraging facial landmarks as dynamic patch centers, landmark-centered patch clipping effectively focuses on critical facial regions and enhances the contextual relevance of local feature embedding.
As stated by Dosovitskiy et al. in [37], ViT can divide an image or a feature map I R H I × W I × C into a grid of H I P h × W I P w , with each patch having a size of P h × P w , and map it into a d-dimension vector as input. Unlike ViT, landmark-centered patch clipping crops a local patch for each facial landmark, positioning the patch center at the landmark itself. Each patch is clipped with the fixed size ( P h , P w ) from the feature map. Then, the landmark-centered patches are resized to K × K and mapped into a series of vectors through a CNN block with multiple convolutional layers. Each vector can be viewed as the representation of the corresponding landmark-centered patch. Specifically, we extract N = 98 facial landmarks using the detector from SLPT [36] to serve as patch centers. This processing enables the learning of the inherent relations among these local vectors, facilitating the efficient capture of multiple prominent expression-specific features.
Feature Resetting: The multi-level features are reset as groups of large-scale feature representations via shuffle transformation (i.e., PixelShuffle). This operation clusters peripheral features of the same erosion degree together, promoting mutual complementarity among different-level sub-pixel features. It changes only the absolute positions of feature points while preserving their relative positions, thus improving representation learning efficiency by reducing convolution operations and mitigating the erosion effect. The process can be formalized as follows.
Suppose the input image X R H × W × C is a low-resolution image, and the upscale factor r is a magnification factor. The shuffle transformation can upsample the input image to a high-resolution image Y R H r × W r × C / r 2 . Here, F s t , r denotes the operation of PixelShuffle with upscale factor r, which can be expressed as follows:
Y = F s t , r ( X ) ,
The coordinate mapping is given by the following:
Y i , j , c = X i / r , j / r , c , with c = c · r 2 + ( i mod r ) · r + ( j mod r ) ,
where 0 i < H r , 0 j < W r , 0 c < C / r 2 , 0 c < C , and C is divisible by r 2 .
Cross-level Feature Integration: A process that integrates features from different hierarchical levels into the current layer through convolutional and concatenation operations. This operation aims to enrich the diversity of features and mitigate the limitations of the receptive field. Together with feature resetting, it transforms the multi-level backbone features into two globally aggregated outputs, providing rich and complementary representations for subsequent learning.

3.3. Diverse Representation Learning (DRL) Module

The DRL module learns diverse regional features through a collaborative dual-stream mechanism. It employs Transformer-based Local Relation-aware Representation (LRR) cells to capture fine-grained dependencies among landmark-centered patches, while CNN-based Global Reinforced Representation (GRR) cells enhance global features through attention-based reinforcement, ensuring comprehensive facial representation learning.

3.3.1. Local Relation-Aware Representation Cells (LRR)

LRR leverages the Transformer’s strength in relational modeling. It comprises three components: Patch Embedding (PE), Structure Embedding (SE), and Inherent Relation Layers, which together capture relationships among landmark-centered patch features and guide attention to salient regions.
Patch Embedding (PE): In the proposed PE, each landmark-centered patch is resized to K × K and mapped into a vector through a CNN block with multiple convolutional layers. Each vector serves as the representation of the corresponding patch.
Structure Embedding (SE): The SE is represented by a series of learnable parameters, which can retain the relative position information of facial landmarks in regular face shape.
Inherent Relation Layers: The Inherent Relation Layers are designed to model the relations among features from landmark-centered patches. They are composed of Cls_token, Multi-head Self-attention, Layer Norm, and SE_Block.
Specifically, Multi-head Self-attention architecture consists of a stack of blocks; each of them includes a LayerNorm, Attention (Multi-head Self-attention), Dropout, an additional LayerNorm, and an MLP. Based on the self-attention mechanism in the Inherent Relation Layers, we can learn the inherent relation between tokens in an adaptive interactive manner.
Given the input image I R H I × W I × C , the landmark-centered patch features X lm R N × D are mapped into three matrices: landmark query matrix Q lm , landmark key matrix K lm , and landmark value matrix V lm :
Q lm = X lm W q , K lm = X lm W k , V lm = X lm W v ,
where W q , W k , W v R D × D are the projection matrices. The attention operation is defined as follows:
Attention ( Q lm , K lm , V lm ) = Softmax Q lm K lm T d k V lm ,
where Softmax ( · ) is the softmax activation function and 1 / d k is the scaling factor. The encoder output X l m , o is then obtained as follows:
X lm = Attention ( Q lm , K lm , V lm ) + X lm ,
X lm , o = MLP ( Norm ( X lm ) ) + X lm ,
where MLP ( · ) is a multi-layer perceptron and Norm ( · ) denotes layer normalization.

3.3.2. Global Reinforced Representation Cells (GRR)

GRR leverages the advantages of CNNs in capturing rich global semantic information while mitigating their limitations, thereby reinforcing the learning of global representations. GRR mainly consists of Attn.Module and Amend.Block.
Attn.Module: When the cross-level feature integration is completed, an Attn.Module is constructed based on Channel Attention Module (CAM) to implement the global AdaptiveAvgPool and AdaptiveMaxPool, assigning the weights of different channels. When the reset global features are set to f, the output of Attn.Module, f A M , is represented as follows,
f A M = F f c ( F A v g ( f ) ) + F f c ( F M a x ( f ) ) + f ,
where F A v g and F M a x denote the operation of AdaptiveAvgPool and AdaptiveMaxPool, and F f c is two fully connected layers.
Amending.Block: Subsequently, an Amending.Block is constructed by a special convolutional layer, which can dilute the weight of the peripheral pixels, along with a batch normalization layer. Considering the characteristic distribution of erosion information in the reset feature maps, the special convolutional layer should be characterized by no padding, large convolution kernel, and big stride. In this way, we can ignore more erosion information from different receptive fields and weaken the adverse effects of convolution operations.

3.4. Hybrid Feature Fusion (HFF) Module

We propose a Hybrid Feature Fusion (HFF) module for joint decision optimization via a hierarchical hybrid strategy. As illustrated in Figure 2c, it operates in two steps: intra-branch prediction aggregation followed by weighted branch-level fusion.

3.4.1. Step 1: Intra-Branch Prediction Aggregation

Given the two global outputs ( G 1 , G 2 ) and two local outputs ( L 1 , L 2 ) from the DRL module, we first apply a fully connected layer to each output independently. The global branch representation G is obtained by concatenating the results from G 1 and G 2 , and similarly the local branch representation L from L 1 and L 2 :
G = Concat FC ( G 1 ) , FC ( G 2 ) , L = Concat FC ( L 1 ) , FC ( L 2 ) .

3.4.2. Step 2: Weighted Branch-Level Fusion

We then apply a fully connected layer to G and L separately to obtain the final global and local predictions, followed by weighted fusion:
F = w G · FC ( G ) + w L · FC ( L ) ,
where w G and w L are learnable weight coefficients balancing the contributions of the global and local branches.

4. Experiments

To comprehensively evaluate the proposed LDR-Net, we conduct extensive experiments on public FER benchmarks, occlusion/pose test sets, and a driver facial expression dataset for real-world validation. We describe the datasets, implementation details, and evaluation metrics, followed by ablation studies on RAF-DB. Comparative analysis with several state-of-the-art (SOTA) methods further demonstrates its superiority, while cross-scene validation on KMU-FED confirms its effectiveness in real-world driving.

4.1. Datasets

RAF-DB [2] is a real-world facial expression dataset which contains 30,000 facial images downloaded from the Internet. In our experiments, only the single-labeled subset is used for evaluations. RAF-DB contains 15,339 images with seven categories, of which the number of the training set and the testing set is 12,271 and 3068, respectively. AffectNet [38] is the largest facial expression dataset so far, with a total of more than one million images collected from the Internet. Our experiments select manually labeled images that contain two benchmark branches, AffectNet-7 and AffectNet-8. For AffectNet-7, there are 283,901 training images and 3500 validation images with seven basic expressions. AffectNet-8 introduces an additional category of contempt, and expands the training and test samples to 287,568 and 4000, respectively. SFEW [39] is a static facial expression dataset. The most commonly used version is SFEW 2.0, which contains three sets with seven basic categories. There are 958 samples in the training set, 436 samples in the validation set and 372 samples in the test set.
FED-RO [3] (Facial Expression Dataset with Real-world Occlusions) is a facial expression dataset with real occlusion for FER in the wild. It contains 400 images with seven basic expressions. Occlusion-RAF-DB and Occlusion-AffectNet are the two subsets used to evaluate the performance of the FER model in real-world occlusion conditions. The Occlusion-RAF-DB and Occlusion-AffectNet contain 735 and 683 images, respectively. Pose-RAF-DB and Pose-AffectNet are the two subsets used to value the performance of the FER model under varying pose conditions. The Pose-RAF-DB selects images with a pitch or yaw angle greater than 30 ° and 45 ° , containing 1248 and 558 images, respectively. Similarly, the Pose-AffectNet selects images with a pitch or yaw angle greater than 30 ° and 45 ° , containing 1948 and 985 images, respectively.
KMU-FED [18] (Keimyung University Facial Expression of Drivers) consists of 1106 images from 12 subjects, each exhibiting six basic emotions: anger, disgust, fear, happiness, sadness, and surprise. The images were collected in real-world driving environments using near-infrared cameras, which were exposed to varying lighting conditions and partial occlusions.
Table 1 presents the expression category distribution for each dataset used in our experiments.

4.2. Implementation Details and Metrics

For all datasets, the official aligned face images are selected and then resized to 224 × 224 pixels. Random horizontal flipping and random erasing are employed to avoid over-fitting. The image backbone is IR50 [35] pre-trained on MS-Celeb-1M [40], which is designed to extract multi-level features. The initial facial landmarks are provided by a facial landmark detector (e.g., SLPT [36]), which outputs the 2D coordinates of 98 facial landmarks. All detected landmarks are utilized without additional filtering. Our method is implemented with the PyTorch (version 2.4.0) toolbox on a NVIDIA GeForce RTX 4090 platform (NVIDIA Corp., Santa Clara, CA, USA), using the Adam optimizer (PyTorch built-in) with a momentum of 0.9. The learning rate is initialized as 3.5 × 10−4 and a weight decay of 1 × 10−4 is used.
Our model contains two Vision Transformer branches, each with a depth of two Transformer layers and eight attention heads. The embedding dimensions are set to 512 and 1024, respectively. The batch size is set to 128 for RAF-DB, AffectNet, and FED-RO, and 64 for SFEW due to its smaller dataset size.
The evaluation metrics used are overall sample accuracy (Acc) and mean class accuracy (Mean Acc).

4.3. Ablation Studies on RAF-DB Dataset

4.3.1. Analysis of Different Components in LDR-Net

To evaluate the effectiveness of each component within LDR-Net, the ablation studies are conducted on the RAF-DB [2] dataset. The study primarily involves DRFE, DRL, HFF, additional global streams of DRFE (DRFE_Gs), and global streams of DRL (GRR). Here, we investigate the contributions of DRFE and DRL in a branching manner, i.e., evaluating the global and local branches separately.
The experimental results of different variants of our model are presented in Table 2. Set (a) shows the evaluated Acc and Mean Acc for our baseline model (IR50 [35]). Compared with the baseline, incorporating DRFE_Gs results in a performance improvement of 0.72% and 0.56% in Set (b), respectively. In Set (c), further adding GRR (the global streams of DRL) leads to additional improvements of 0.23% and 0.27%, respectively. This suggests the global streams of DRFE and GRR can discriminate important complementary features from different levels and adaptively improve the efficiency of global representation learning. The Set (d) incorporates a DRFE designed to capture diverse regional features, achieving improvements of 1.01% and 0.45% over the baseline model. In Set (e), adding DRL to the architecture (DRFE + DRL) further boosts performance to 91.92% accuracy and 86.14% mean accuracy. Finally, an ensemble of all components in Set (f) further enhances accuracy to 92.11% and mean accuracy to 86.55% on RAF-DB. Therefore, we conclude that each component contributes positively, and their integration (LDR-Net) delivers the optimal performance across all variants.

4.3.2. Analysis of the Cross-Level Feature Integration in DRFE

To optimize the cross-level feature integration in DRFE, we incorporate integration across both global and local branches, labeling integrated branches as “com”, and non-integrated ones as “raw”. Therefore, four combinations are constructed: “GRR(raw)_LRR(raw)”, “GRR(raw)_LRR(com)”, “GRR(com)_LRR(raw)”, and “GRR(com)_LRR(com)”. We compare the Acc performance of different combinations in decision-level fusion under varying weight coefficients, as shown in Figure 3a. Comparing the trend of different combinations, it is obvious that “GRR(com)_LRR(raw)” has a notable advantage over other combinations in terms of both Acc and Mean Acc. The benefits of GRR from this integration may be attributed to the fact that “com” primarily enriches the current layer’s features by incorporating convolutional features from adjacent layers through the design of specific convolutional blocks. While LRR emphasizes local regions within the current layer, the complementary features from other levels may reduce the local feature layer’s focus on specific prominent regions.

4.3.3. Analysis of Patch Size (PS) in LRR and Kernel Size (KS) in GRR

To select the optimum patch size (PS) for the Inherent Relation Layers in LRR and kernel size (KS) for the convolutional layer in the Amending.Block in GRR, we conduct experiments to set the PS as (4, 4), (8, 8), (16, 16), and (32, 32), and gradually increase the KS from 2 3 to 2 6 evaluated on RAF-DB, as shown in Figure 4a,b, respectively. From left to right within each patch size, the improvements in accuracy become smaller and even degrade. Considering that a large patch size requires huge computation resources, we choose (16, 16) as the optimal PS. With the increase in the number of KS, the mean Acc keeps growing as expected while Acc presents a pattern of low initial growth followed by decay. Considering that excessively large convolution kernels can significantly increase computational costs and cause the loss of detail in feature maps, we select KS = 2 5 as the optimal value.

4.3.4. Evaluation of Fusion Strategy in LDR-Net

We also conduct experiments to evaluate different fusion strategies, which include feature-level, decision-level, and hybrid-level fusion, as shown in Table 3. Feature-level fusion means directly concatenating all learned feature vectors into a joint feature vector, and trains a classifier for FER, while the decision-level fusion combines all the recognition results, obtained via FC layers from learned features, into a joint feature vector. The results indicate that decision-level fusion is superior to feature-level fusion. This insight prompts us to further explore ways to maximize decision-level advantages in LDR-Net.
From the results in Table 3, we observe that the hybrid-level fusion is a more suitable strategy for our proposed LDR-Net than the other strategies. Particularly noteworthy is the superiority of our hybrid-level decision strategy in mean Acc, which is 1.22% higher than that of simple decision-level strategies. The main reason is the strong coupling of holistic–regional features and the powerful synergy of different-level features for the final decision.

4.3.5. Analysis of Diverse Feature Fusion Strategy in HFF

To explore the optimal feature fusion strategy in HFF, we conduct four comparative experiments with different feature fusion methods. We label feature-level fusion as "FF" and the decision-level fusion as “DF”. “GRR_GRR” refers to concatenating multi-level, same-type features to derive joint representations for the decision layer. “GRR_LRR” represents the concatenation of global–local features at the same level to generate joint representations.
The comparative results are shown in Figure 3b, with the results for different weights displayed from left to right. The comparison of performance trends under the FF fusion strategy indicates that GRR_GRR performs notably better than GRR_LRR. This observation is consistent with previous findings regarding the impact of cross-level feature integration on global and local features. Analysis of performance under different fusion strategies reveals that DF outperforms FF overall but shows a greater sensitivity to the weight coefficient. DF_GRR_GRR with λ = 0.4 is selected as the optimal fusion strategy.

4.3.6. Visualization of the Expression Representations with t-SNE on RAF-DB Dataset

We use t-SNE [41] to visualize the expression representations extracted by the baseline (IR50) and the proposed LDR-Net on the 2D space, respectively, as illustrated in Figure 5. We observe that the expression representations extracted from our LDR-Net method effectively reduce inter-class similarity and intra-class discrepancy across different expressions, leading to clearer and more distinct classification boundaries. Notably, when compared to the baseline, LDR-Net makes the differences between fear and surprise, as well as disgust and sadness, more distinct.

4.4. Comparisons with the State-of-the-Art (SOTA) Methods

4.4.1. Comparison on RAF-DB Dataset

The comparison with several SOTA methods on the RAF-DB dataset is presented in Table 4. Our full LDR-Net (with IR-50 backbone and facial landmarks) achieves 92.11% accuracy, outperforming the previous best method (MGR3Net [23] with ResNet-50) by 1.06%. Notably, with the same IR-50 backbone, LDR-Net surpasses TransFER [6] (90.91%) by 1.20%. The ResNet-18 variant of LDR-Net, which does not use facial landmarks, also achieves competitive performance (88.95%), suggesting that the proposed representation learning strategy is effective even without landmark guidance. These results demonstrate the superiority of LDR-Net in capturing discriminative expression features.

4.4.2. Comparison on AffectNet Dataset

We also compare LDR-Net with several SOTA methods on the AffectNet-7 and AffectNet-8 datasets, as shown in Table 5. Considering the substantial class imbalance in the AffectNet dataset, we employ an oversampling strategy following RAN [1] and MA-Net [7]. On AffectNet-7, LDR-Net achieves 67.14% accuracy, outperforming the previous best method TransFER [6] (66.23%) by 0.91% and the IR-50 baseline (64.91%) by 2.23%. On AffectNet-8, LDR-Net achieves 63.20% accuracy, surpassing the baseline (61.75%) by 1.45% and EDGL-FLP [45] (61.25%) by 1.95%. These results highlight the superior ability of LDR-Net in capturing expression-specific features, further validating its effectiveness.

4.4.3. Comparison on SFEW Dataset

We also compare the LDR-Net with several SOTA methods on the SFEW dataset, as shown in Table 6. A naive model fusion conducted by RAN [1] obtains 56.40%. MA-Net [7] improves its performance to 59.40% through an effective combination of global and local representations. Notably, FDRL [4] achieves a remarkable result of 62.16%, which benefits from the feature decomposition and reconstruction. EDGL-FLP [45] also achieves performance improvements through an effective strategy that prioritizes feature fusion. Due to the limited size of the training set in SFEW dataset, similar to other SOTA methods, we initially pre-train our LDR-Net on the RAF-DB dataset and subsequently fine-tune it on the SFEW dataset. Our LDR-Net achieves an accuracy of 62.65%, surpassing these SOTA results.

4.5. FER with Occlusion and Variant Pose in the Wild

To evaluate the performance of the LDR-Net under occlusion and pose variations, we conduct several evaluations on occlusion-aware datasets with the default setting, which include Occlusion RAF-DB, Occlusion-AffectNet, and FED-RO [3]), and pose-aware datasets including Pose-RAF-DB (Pose ≥ 30°), Pose-RAF-DB (Pose ≥ 45°), Pose-AffectNet (Pose ≥ 30°), and Pose-AffectNet (Pose ≥ 45°). The comparisons of our LDR-Net with several current SOTA methods, such as RAN [1], MA-Net [7], VTFF [30], AMP-Net [47], MRAN [33], and GLMEA [8], are shown in Table 7 and Table 8.
According to the experimental results in a in Table 7, LDR-Net achieves 89.80%, 92.70%, and 92.65% on Occlusion-RAF-DB, Pose-RAF-DB (Pose ≥ 30°), and Pose-RAF-DB (Pose ≥ 45°), respectively, outperforming all compared methods. Compared to the previous best method, MRAN [33], LDR-Net improves by 2.86%, 2.32%, and 2.87%, respectively. Notably, LDR-Net also surpasses the IR-50 baseline by 2.04%, 1.52%, and 1.61% on these three test sets. These improvements can be attributed to the proposed landmark-guided patch cropping strategy, which preserves spatial structure under occlusion and pose variations, and the dual-stream learning mechanism that captures both local dependencies and global context.
The results of the comparison on the AffectNet-7 dataset are shown in b in Table 7, which indicate that the proposed method achieves the highest accuracy, surpassing MRAN [33] by 3.52%, 2.96%, and 1.28% on Occlusion-AffectNet, Pose-AffectNet (Pose ≥ 30°), and Pose-AffectNet (Pose ≥ 45°), respectively. Additionally, as shown in c in Table 7, on Occlusion-AffectNet-8, LDR-Net achieves 64.28%, surpassing the IR-50 baseline by 1.62%. For Pose-AffectNet-8, LDR-Net improves over the baseline by 2.31% (Pose ≥ 30°) and 1.93% (Pose ≥ 45°), with accuracies of 61.57% and 61.32%, respectively.
Furthermore, we present the confusion matrices of our LDR-Net and the baselines in Figure 6 and Figure 7. We find that our LDR-Net consistently boosts the Sadness and Surprise categories on all the test sets. This may be attributed to our LRR’s ability to effectively capture distinct local patch features, such as action units associated with “Cheek Raiser” and “Lip Corner Depressor”. Furthermore, we observe notable performance improvements in the Disgust and Anger categories within the AffectNet dataset. These findings indicate that the diverse regional feature design of LDR-Net effectively reduces inter-class similarities, improving classification accuracy.
In addition, we conduct a fair comparison on the recent occlusion test dataset: FED-RO [3]. Following the standard cross-dataset protocol as [3], we train LDR-Net on the combined training set of RAF-DB and AffectNet, and evaluate it on the independent FED-RO. Table 8 presents the experimental results, where our method achieves state-of the-art performance with an accuracy of 73.75%. When compared to RAN [1], MA-Net [7], AMP-Net [47], and EDGL-FLP [45], our method leads by 5.77%, 3.75%, 2.00%, and 1.50%, respectively. Even compared to GLMEA [8] (72.59%), which recently achieved the highest accuracy, our approach still maintains a 1.16% lead, demonstrating LDR-Net’s excellent robustness to both occlusion and pose variations.

4.6. Experiment Results of LDR-Net for FER in Driving Environment

To further evaluate the generalization capability of LDR-Net in real-world driving environments and address the potential issue of subject leakage, we conduct experiments on KMU-FED under two different validation protocols. Representative samples from this dataset are shown in Figure 8.
To facilitate comparison with previous studies, we first report results under a random split-based cross-validation protocol, which is broadly consistent with the evaluation settings used in prior works. As shown in Table 9, LDR-Net achieves an accuracy of 99.10%, outperforming several representative methods.
However, random cross-validation may suffer from subject overlap between training and test sets, potentially leading to subject leakage and overly optimistic performance estimates. To rigorously evaluate generalization to unseen subjects, we further conduct leave-one-subject-out (LOSO) validation.
As reported in Table 10, LDR-Net achieves an average accuracy of 86.24 ± 10.54 % across 12 subjects. The relatively large standard deviation mainly stems from the inherent class imbalance in KMU-FED: due to its limited size, the validation set for certain subjects lacks samples from several categories, leading to missing evaluation coverage and increased confusion among visually similar expressions. Thus, the performance fluctuation largely reflects dataset-level incompleteness rather than model instability. Nevertheless, the LOSO result demonstrates that LDR-Net maintains competitive recognition performance on unseen subjects, indicating its potential for practical FER in driving environments.

4.7. Computational Efficiency Analysis

To assess the practical deployment potential of LDR-Net, we evaluate its computational efficiency in terms of model parameters (Params), floating-point operations (FLOPs), inference speed (FPS), and peak GPU memory usage. All measurements are conducted on an NVIDIA RTX 4090 GPU with an input resolution of 224 × 224 . Model parameters and FLOPs are computed using the thop library, while FPS is averaged over 100 forward passes after 10 warm-up iterations.
As reported in Table 11, LDR-Net achieves an inference speed of 413.9 FPS with a batch size of 64, while requiring a peak GPU memory footprint of 3839.4 MB. These results demonstrate that LDR-Net maintains a favorable balance between recognition accuracy and computational cost.
To provide broader context, we also examined the computational metrics reported in the original publications of the KMU-FED baseline methods. Hierarchical WRF [18] and LMRF [48] report efficiency on CK+ (0.25 M/0.0067 M and 1.32 M/0.036 M FLOPs), while ILAB-CNN [49] reports 1.29 M parameters and 2.44 ms inference time on RAF-DB. Under our evaluation protocol on RTX 4090, LDR-Net achieves 2.42 ms per sample with 413.9 FPS (BS = 64). Despite differences in hardware and datasets, both methods exhibit comparable inference speed, yet LDR-Net achieves substantially higher accuracy (92.11% vs. 85.03% on RAF-DB). This suggests that LDR-Net maintains competitive efficiency while delivering significantly better performance, though the comparison serves as a practical reference rather than a direct one.
It is worth noting that the total parameter count of LDR-Net (88.47 M) includes the pre-trained facial landmark detector (SLPT) and the IR50 backbone (56.92 M in total), which are adopted for fair comparison with prior works. The proposed core modules (DRFE, DRL, and HFF) collectively account for 31.55 M parameters, representing 35.7% of the total. This indicates that the majority of parameters come from pre-trained components, and the overall model size can be effectively reduced by replacing these components with more compact alternatives for resource-constrained scenarios.

4.8. Visualization of LRR in DRL

To provide interpretability for the LRR in DRL, we visualize four representative samples from RAF-DB test set in Figure 9. The top row shows landmark heatmaps overlaid on the input faces, where brighter colors indicate higher average similarity with other landmarks in LRR. The bottom row presents the corresponding landmark topologies, where connecting lines indicate strong pairwise similarities (thresholded at 0.5). The resulting topological structures, characterized by dense intra-regional connections and sparse inter-regional links, reflect the coordinated activation patterns of facial action units, enabling the model to capture fine-grained and structurally meaningful representations for accurate expression recognition.

4.9. Limitations and Failure Cases

To better understand the limitations of LDR-Net, Figure 10 presents eight representative misclassified samples from the RAF-DB test set. These examples illustrate several representative failure modes encountered by our LDR-Net under unconstrained FER.
Three representative error patterns can be observed. First, confusion between sadness and disgust occurs repeatedly, which is consistent with previous FER studies, as these two expressions share similar facial configurations and overlapping facial action units. Second, low-intensity positive expressions, including happiness and surprise, are occasionally misclassified as neutral, suggesting that subtle facial movements remain difficult to distinguish from neutral appearances. Third, several neutral samples are incorrectly classified as negative emotions such as sadness or disgust, likely due to subtle facial texture variations or ambiguous facial cues that lead the model to overestimate negative affect. These failure cases suggest that distinguishing subtle expression intensities and highly similar expression categories remains challenging, even with the proposed global–local collaborative architecture.

5. Conclusions

In this paper, we propose LDR-Net for facial expression recognition (FER) in the wild. Unlike existing methods that overlook spatial structure when seeking diverse region-specific features due to fixed or limited local regions, LDR-Net leverages facial landmarks as dynamic patch centers to locate expression-critical areas while preserving structural details. The framework consists of three synergistic modules: DRFE extracts region-specific features via landmark-guided cropping and cross-level integration with feature reorganization; DRL captures fine-grained local dependencies through Transformer-based LRR cells while reinforcing global features via CNN-based GRR cells; and HFF performs joint decision optimization via hierarchical hybrid fusion. The effectiveness of LDR-Net can be attributed to its bio-inspired design: facial landmarks serve as dynamic spatial anchors for structure-preserving region localization, the dual-stream DRL module captures both fine-grained local dependencies and global context in parallel, and the HFF module enables adaptive fusion of complementary representations. This integrated multi-granularity strategy yields more discriminative features and accounts for the observed performance gains. Extensive experiments on three FER benchmarks and five occlusion/pose test sets demonstrate that LDR-Net achieves state-of-the-art performance across various challenging scenarios, confirming its practical applicability for real-world deployment.
Future work will focus on two directions: (1) developing more efficient landmark-guided attention mechanisms and lightweight architectures for real-time deployment; and (2) extending the framework to other fine-grained facial analysis tasks such as facial action unit detection and pain estimation; (3) evaluating cross-dataset generalization (e.g., RAF-DB ↔ AffectNet) and robustness to landmark localization uncertainties (e.g., noisy, shifted, and missing landmarks).

Author Contributions

Conceptualization, Y.L. and F.C.; methodology, Y.L. and C.L.; software, Y.L.; validation, Y.L. and H.L.; formal analysis, Y.L.; investigation, Y.L. and Y.H.; resources, F.C.; data curation, Y.L.; writing—original draft, Y.L.; writing—review and editing, F.C., C.L. and Y.L.; visualization, Y.L. and H.L.; supervision, F.C.; project administration, F.C. and C.L., funding acquisition, F.C. and C.L. All authors have read and agreed to the published version of the manuscript.

Funding

This work was supported in part by the National Natural Science Foundation of China under Grant U22A2058 and 62573263, in part by the Shandong Outstanding Youth Funding under Grant ZR2023YQ054, and in part by Taishan Scholars Project Special Funding (No. tsqn202408016). The APC was funded by the research grants listed above.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable. Our study does not involve new human subject recruitment or clinical experiments. It uses publicly available FER datasets (e.g., RAF-DB, AffectNet, SFEW, KMU-FED, etc.), which contain no personally identifiable information.

Data Availability Statement

The facial expression recognition datasets used in this study (RAF-DB, AffectNet, SFEW, and KMU-FED) are publicly available. No new datasets were generated. The source code for the proposed LDR-Net is not publicly available due to pending patent applications but is available from the corresponding author upon reasonable request.

Conflicts of Interest

The authors declare no conflicts of interest.

References

  1. Wang, K.; Peng, X.; Yang, J.; Meng, D.; Qiao, Y. Region attention networks for pose and occlusion robust facial expression recognition. IEEE Trans. Image Process. 2020, 29, 4057–4069. [Google Scholar] [CrossRef]
  2. Li, S.; Deng, W.; Du, J. Reliable crowdsourcing and deep locality-preserving learning for expression recognition in the wild. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Honolulu, HI, USA, 21–26 July 2017; pp. 2852–2861. [Google Scholar]
  3. Li, Y.; Zeng, J.; Shan, S.; Chen, X. Occlusion aware facial expression recognition using CNN with attention mechanism. IEEE Trans. Image Process. 2018, 28, 2439–2450. [Google Scholar] [CrossRef]
  4. Ruan, D.; Yan, Y.; Lai, S.; Chai, Z.; Shen, C.; Wang, H. Feature decomposition and reconstruction learning for effective facial expression recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Nashville, TN, USA, 19–25 June 2021; pp. 7660–7669. [Google Scholar]
  5. Liu, C.; Hirota, K.; Dai, Y. Patch attention convolutional vision transformer for facial expression recognition with occlusion. Inf. Sci. 2023, 619, 781–794. [Google Scholar] [CrossRef]
  6. Xue, F.; Wang, Q.; Guo, G. Transfer: Learning relation-aware facial expression representations with transformers. In Proceedings of the IEEE/CVF International Conference on Computer Vision, Montreal, QC, Canada, 10–17 October 2021; pp. 3601–3610. [Google Scholar]
  7. Zhao, Z.; Liu, Q.; Wang, S. Learning deep global multi-scale and local attention features for facial expression recognition in the wild. IEEE Trans. Image Process. 2021, 30, 6544–6556. [Google Scholar] [CrossRef] [PubMed]
  8. Fei, Z.; Zhang, B.; Zhou, W.; Li, X.; Zhang, Y.; Fei, M. Global multi-scale extraction and local mixed multi-head attention for facial expression recognition in the wild. Neurocomputing 2025, 622, 129323. [Google Scholar] [CrossRef]
  9. Liu, Y.; Zhang, X.; Zhou, J.; Fu, L. SG-DSN: A semantic graph-based dual-stream network for facial expression recognition. Neurocomputing 2021, 462, 320–330. [Google Scholar] [CrossRef]
  10. Mao, J.; Xu, R.; Yin, X.; Chang, Y.; Nie, B.; Huang, A.; Wang, Y. Poster++: A simpler and stronger facial expression recognition network. Pattern Recognit. 2024, 157, 110951. [Google Scholar] [CrossRef]
  11. Jung, H.; Lee, S.; Yim, J.; Park, S.; Kim, J. Joint fine-tuning in deep neural networks for facial expression recognition. In Proceedings of the IEEE International Conference on Computer Vision, Santiago, Chile, 7–13 December 2015; pp. 2983–2991. [Google Scholar]
  12. Liao, L.; Zhu, Y.; Zheng, B.; Jiang, X.; Lin, J. FERGCN: Facial Expression Recognition Based on Graph Convolution Network. Mach. Vis. Appl. 2022, 33, 40. [Google Scholar] [CrossRef] [PubMed]
  13. Chen, Y.; Li, J.; Shan, S.; Wang, M.; Hong, R. From Static to Dynamic: Adapting Landmark-Aware Image Models for Facial Expression Recognition in Videos. IEEE Trans. Affect. Comput. 2025, 16, 624–638. [Google Scholar] [CrossRef]
  14. Dalal, N.; Triggs, B. Histograms of oriented gradients for human detection. In Proceedings of the 2005 IEEE Computer Society Conference on Computer Vision and Pattern Recognition (CVPR’05); IEEE: Piscataway, NJ, USA, 2005; Volume 1, pp. 886–893. [Google Scholar]
  15. Shan, C.; Gong, S.; McOwan, P.W. Facial expression recognition based on local binary patterns: A comprehensive study. Image Vis. Comput. 2009, 27, 803–816. [Google Scholar] [CrossRef]
  16. Ng, P.C.; Henikoff, S. SIFT: Predicting amino acid changes that affect protein function. Nucleic Acids Res. 2003, 31, 3812–3814. [Google Scholar] [CrossRef] [PubMed]
  17. Suk, M.; Prabhakaran, B. Real-time mobile facial expression recognition system-a case study. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition Workshops, Columbus, OH, USA, 23–28 June 2014; pp. 132–137. [Google Scholar]
  18. Jeong, M.; Ko, B.C. Driver’s facial expression recognition in real-time for safe driving. Sensors 2018, 18, 4270. [Google Scholar] [CrossRef] [PubMed]
  19. Lu, Y.; Liu, C.; Chang, F.; Liu, H.; Huan, H. JHPFA-Net: Joint Head Pose and Facial Action Network for Driver Yawning Detection Across Arbitrary Poses in Videos. IEEE Trans. Intell. Transp. Syst. 2023, 24, 11850–11863. [Google Scholar] [CrossRef]
  20. Wang, K.; Peng, X.; Yang, J.; Lu, S.; Qiao, Y. Suppressing uncertainties for large-scale facial expression recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Seattle, WA, USA, 13–19 June 2020; pp. 6897–6906. [Google Scholar]
  21. Wen, Z.; Lin, W.; Wang, T.; Xu, G. Distract your attention: Multi-head cross attention network for facial expression recognition. Biomimetics 2023, 8, 199. [Google Scholar] [CrossRef] [PubMed]
  22. Zhou, H.; Huang, S.; Xu, Y. UA-FER: Uncertainty-aware representation learning for facial expression recognition. Neurocomputing 2025, 621, 129261. [Google Scholar] [CrossRef]
  23. Wang, Y.; Yan, S.; Song, W.; Liotta, A.; Liu, J.; Yang, D.; Gao, S.; Zhang, W. MGR3Net: Multigranularity Region Relation Representation Network for Facial Expression Recognition in Affective Robots. IEEE Trans. Ind. Inform. 2024, 20, 7216–7226. [Google Scholar] [CrossRef]
  24. Tao, H.; Duan, Q. Hierarchical attention network with progressive feature fusion for facial expression recognition. Neural Netw. 2024, 170, 337–348. [Google Scholar] [CrossRef] [PubMed]
  25. Dong, K.; Li, X.; Zhang, C.; Xiao, Z.; Nie, R. WGGLFA: Wavelet-Guided Global–Local Feature Aggregation Network for Facial Expression Recognition. Biomimetics 2025, 10, 495. [Google Scholar] [CrossRef] [PubMed]
  26. Wang, X.; Han, T.; Liu, S.; Ajmal, M.S.; Chen, L.; Zhang, Y.; Liu, Y. MHAN: Multi-head hybrid attention network for facial expression recognition. Pattern Recognit. 2026, 170, 112015. [Google Scholar] [CrossRef]
  27. Zhang, T. A Multiscale and Multilevel Fusion Network Based on ResNet and MobileFaceNet for Facial Expression Recognition. IET Cyber-Phys. Syst. Theory Appl. 2025, 10, e70003. [Google Scholar] [CrossRef]
  28. Wang, J.; Jian, M.; Yu, H.; Dong, J.; Xia, Y. LaCoVL-FER: Landmark-Guided Contrastive Learning Network with Vision-Language Enhancement for Facial Expression Recognition. arXiv 2026, arXiv:2605.19821. [Google Scholar]
  29. Shao, Z.; Cheng, Y.; Li, F.; Zhou, Y.; Lu, X.; Xie, Y.; Ma, L. Mol: Joint estimation of micro-expression, optical flow, and landmark via transformer-graph-style convolution. IEEE Trans. Pattern Anal. Mach. Intell. 2025, 47, 8756–8768. [Google Scholar] [CrossRef] [PubMed]
  30. Ma, F.; Sun, B.; Li, S. Facial expression recognition with visual transformers and attentional selective fusion. IEEE Trans. Affect. Comput. 2021, 14, 1236–1248. [Google Scholar] [CrossRef]
  31. Xue, F.; Wang, Q.; Tan, Z.; Ma, Z.; Guo, G. Vision transformer with attentive pooling for robust facial expression recognition. IEEE Trans. Affect. Comput. 2023, 14, 3244–3256. [Google Scholar] [CrossRef]
  32. Kim, S.; Nam, J.; Ko, B.C. Facial expression recognition based on squeeze vision transformer. Sensors 2022, 22, 3729. [Google Scholar] [CrossRef] [PubMed]
  33. Chen, D.; Wen, G.; Li, H.; Chen, R.; Li, C. Multi-relations aware network for in-the-wild facial expression recognition. IEEE Trans. Circuits Syst. Video Technol. 2023, 33, 3848–3859. [Google Scholar] [CrossRef]
  34. Liang, X.; Xu, L.; Zhang, W.; Zhang, Y.; Liu, J.; Liu, Z. A convolution-transformer dual branch network for head-pose and occlusion facial expression recognition. Vis. Comput. 2023, 39, 2277–2290. [Google Scholar]
  35. Deng, J.; Guo, J.; Xue, N.; Zafeiriou, S. Arcface: Additive angular margin loss for deep face recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA, 16–20 June 2019; pp. 4690–4699. [Google Scholar]
  36. Xia, J.; Qu, W.; Huang, W.; Zhang, J.; Wang, X.; Xu, M. Sparse local patch transformer for robust face alignment and landmarks inherent relation learning. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 18–24 June 2022; pp. 4052–4061. [Google Scholar]
  37. 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 16x16 words: Transformers for image recognition at scale. arXiv 2020, arXiv:2010.11929. [Google Scholar]
  38. Mollahosseini, A.; Hasani, B.; Mahoor, M.H. Affectnet: A database for facial expression, valence, and arousal computing in the wild. IEEE Trans. Affect. Comput. 2017, 10, 18–31. [Google Scholar] [CrossRef]
  39. Dhall, A.; Goecke, R.; Lucey, S.; Gedeon, T. Static facial expression analysis in tough conditions: Data, evaluation protocol and benchmark. In Proceedings of the 2011 IEEE International Conference on Computer Vision Workshops (ICCV Workshops); IEEE: Piscataway, NJ, USA, 2011; pp. 2106–2112. [Google Scholar]
  40. Guo, Y.; Zhang, L.; Hu, Y.; He, X.; Gao, J. Ms-celeb-1m: A dataset and benchmark for large-scale face recognition. In Proceedings of the Computer Vision–ECCV 2016: 14th European Conference; Springer: Berlin/Heidelberg, Germany, 2016; pp. 87–102. [Google Scholar]
  41. Van der Maaten, L.; Hinton, G. Visualizing data using t-SNE. J. Mach. Learn. Res. 2008, 9, 2579–2605. [Google Scholar]
  42. Li, Y.; Gao, Y.; Chen, B.; Zhang, Z.; Lu, G.; Zhang, D. Self-Supervised Exclusive-Inclusive Interactive Learning for Multi-Label Facial Expression Recognition in the Wild. IEEE Trans. Circuits Syst. Video Technol. 2022, 32, 3190–3202. [Google Scholar] [CrossRef]
  43. Zeng, D.; Lin, Z.; Yan, X.; Liu, Y.; Wang, F.; Tang, B. Face2exp: Combating data biases for facial expression recognition. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, New Orleans, LA, USA, 18–24 June 2022; pp. 20291–20300. [Google Scholar]
  44. Xia, H.; Lu, L.; Song, S. Feature fusion of multi-granularity and multi-scale for facial expression recognition. Vis. Comput. 2024, 40, 2035–2047. [Google Scholar]
  45. Zhang, Z.; Tian, X.; Zhang, Y.; Guo, K.; Xu, X. Enhanced discriminative global-local feature learning with priority for facial expression recognition. Inf. Sci. 2023, 630, 370–384. [Google Scholar] [CrossRef]
  46. Zhang, Y.; Wang, C.; Ling, X.; Deng, W. Learn from all: Erasing attention consistency for noisy label facial expression recognition. In Proceedings of the European Conference on Computer Vision; Springer: Berlin/Heidelberg, Germany, 2022; pp. 418–434. [Google Scholar]
  47. Liu, H.; Cai, H.; Lin, Q.; Li, X.; Xiao, H. Adaptive multilayer perceptual attention network for facial expression recognition. IEEE Trans. Circuits Syst. Video Technol. 2022, 32, 6253–6266. [Google Scholar] [CrossRef]
  48. Jeong, M.; Nam, J.; Ko, B.C. Lightweight multilayer random forests for monitoring driver emotional status. IEEE Access 2020, 8, 60344–60354. [Google Scholar] [CrossRef]
  49. Manavand, M.R.; Salarifar, M.H.; Ghavami, M.; Taghipour-Gorjikolaie, M. Driver’s facial expression recognition by using deep local and global features. Inf. Sci. 2025, 692, 121658. [Google Scholar] [CrossRef]
Figure 1. Key challenges and facial landmark invariance in FER. Panel (a) illustrates inter-class similarity across different categories, while panel (b) shows intra-class discrepancies caused by occlusions and pose variations. Notably, facial landmarks serve as a sparse representation of key facial regions, exhibiting remarkable invariance to these real-world variations, suggesting a potential anchor for robust feature extraction. The images are sourced from RAF-DB [2] and FED-RO [3].
Figure 1. Key challenges and facial landmark invariance in FER. Panel (a) illustrates inter-class similarity across different categories, while panel (b) shows intra-class discrepancies caused by occlusions and pose variations. Notably, facial landmarks serve as a sparse representation of key facial regions, exhibiting remarkable invariance to these real-world variations, suggesting a potential anchor for robust feature extraction. The images are sourced from RAF-DB [2] and FED-RO [3].
Biomimetics 11 00503 g001
Figure 2. The structure of the proposed LDR-Net. Initially, we extract multi-level features and identify facial landmarks. (a) DRFE extracts diverse regional features via landmark-centered patch clipping, feature resetting, and cross-level feature integration. (b) DRL captures fine-grained local dependencies via Local Relation-aware Representation (LRR) cells and reinforces global features via Global Reinforced Representation (GRR) cells. (c) HFF performs joint decision optimization via intra-branch aggregation and weighted branch-level fusion. Different colors are used solely to distinguish different functional modules for visualization purposes. The ellipsis in the input images denotes multiple representative facial images rather than omitted network components. The red frame indicates the expression category (‘Surprise’) corresponding to the illustrated input facial image.
Figure 2. The structure of the proposed LDR-Net. Initially, we extract multi-level features and identify facial landmarks. (a) DRFE extracts diverse regional features via landmark-centered patch clipping, feature resetting, and cross-level feature integration. (b) DRL captures fine-grained local dependencies via Local Relation-aware Representation (LRR) cells and reinforces global features via Global Reinforced Representation (GRR) cells. (c) HFF performs joint decision optimization via intra-branch aggregation and weighted branch-level fusion. Different colors are used solely to distinguish different functional modules for visualization purposes. The ellipsis in the input images denotes multiple representative facial images rather than omitted network components. The red frame indicates the expression category (‘Surprise’) corresponding to the illustrated input facial image.
Biomimetics 11 00503 g002
Figure 3. Performance comparison of different combination strategies and the varying fusion weight coefficients. (a) Decision-level Fusion Weight; (b) Diverse Fusion Weight.
Figure 3. Performance comparison of different combination strategies and the varying fusion weight coefficients. (a) Decision-level Fusion Weight; (b) Diverse Fusion Weight.
Biomimetics 11 00503 g003
Figure 4. Evaluation of the patch size (PS) in LRR and the kernel size (KS) in GRR. (a) Patch Size; (b) Kernel Size (stride).
Figure 4. Evaluation of the patch size (PS) in LRR and the kernel size (KS) in GRR. (a) Patch Size; (b) Kernel Size (stride).
Biomimetics 11 00503 g004
Figure 5. The visualization of the expression representations with t-SNE [41] for the whole RAF-DB dataset. (a) Baseline features; (b) Features learned by LDR-Net.
Figure 5. The visualization of the expression representations with t-SNE [41] for the whole RAF-DB dataset. (a) Baseline features; (b) Features learned by LDR-Net.
Biomimetics 11 00503 g005
Figure 6. Confusion matrices on the Occlusion-RAF-DB and Pose-RAF-DB test sets. (a) Baseline on Occlusion-RAF-DB; (b) LDR-Net on Occlusion-RAF-DB; (c) Baseline on Pose-RAF-DB (Pose ≥ 45°); (d) LDR-Net on Pose-RAF-DB (Pose ≥ 45°).
Figure 6. Confusion matrices on the Occlusion-RAF-DB and Pose-RAF-DB test sets. (a) Baseline on Occlusion-RAF-DB; (b) LDR-Net on Occlusion-RAF-DB; (c) Baseline on Pose-RAF-DB (Pose ≥ 45°); (d) LDR-Net on Pose-RAF-DB (Pose ≥ 45°).
Biomimetics 11 00503 g006
Figure 7. Confusion matrices on the Occlusion-AffectNet and Pose-AffectNet test sets. (a) Baseline on Occlusion-AffectNet-7; (b) LDR-Net on Occlusion-AffectNet-7; (c) Baseline on Pose-AffectNet-7 (Pose ≥ 45°); (d) LDR-Net on Pose-AffectNet-7 (Pose ≥ 45°).
Figure 7. Confusion matrices on the Occlusion-AffectNet and Pose-AffectNet test sets. (a) Baseline on Occlusion-AffectNet-7; (b) LDR-Net on Occlusion-AffectNet-7; (c) Baseline on Pose-AffectNet-7 (Pose ≥ 45°); (d) LDR-Net on Pose-AffectNet-7 (Pose ≥ 45°).
Biomimetics 11 00503 g007
Figure 8. Examples from the KMU-FED dataset, highlighting the unique challenges of FER in driving environments, such as lighting variations and limited user cooperation, compared to conventional FER.
Figure 8. Examples from the KMU-FED dataset, highlighting the unique challenges of FER in driving environments, such as lighting variations and limited user cooperation, compared to conventional FER.
Biomimetics 11 00503 g008
Figure 9. Visualization of the LRR on four representative samples from the RAF-DB test set. (Top row): landmark heatmaps based on average similarity to other landmarks. (Bottom row): corresponding landmark topologies showing pairwise similarities above 0.5. The visualization is based on 128 randomly selected samples, from which four are shown for illustration.
Figure 9. Visualization of the LRR on four representative samples from the RAF-DB test set. (Top row): landmark heatmaps based on average similarity to other landmarks. (Bottom row): corresponding landmark topologies showing pairwise similarities above 0.5. The visualization is based on 128 randomly selected samples, from which four are shown for illustration.
Biomimetics 11 00503 g009
Figure 10. Representative failure cases of LDR-Net on the RAF-DB test set. Ground-truth and predicted labels are indicated in green and red, respectively.
Figure 10. Representative failure cases of LDR-Net on the RAF-DB test set. Ground-truth and predicted labels are indicated in green and red, respectively.
Biomimetics 11 00503 g010
Table 1. Expression category distribution for each dataset used in our experiments.
Table 1. Expression category distribution for each dataset used in our experiments.
DatasetYearFacial Expression CategoriesTotal
NeutralHappySurpriseSadAngryDisgustFearContempt
RAF-DB [2]20173204595716192460867877355-15,339
AffectNet [38]201775,374134,91514,59025,95925,383430368784251291,653
SFEW [39]201122925715123525676125-1329
FED-RO [3]201950596366535158-400
KMU-FED [18]2018-210200180196120200-1106
Table 2. Evaluation (%) of each component in LDR-Net on RAF-DB dataset.
Table 2. Evaluation (%) of each component in LDR-Net on RAF-DB dataset.
SettingsModelsAccMean Acc
aBaseline 90.8784.73
b+DRFE_Gs91.5985.29
c+DRFE_Gs + GRR91.8285.56
d+DRFE91.8885.18
e+DRFE + DRL91.9286.14
f+LDR-Net 92.1186.55
Mean ± std over five runs. Baseline: 90.80 ± 0.05 % , LDR-Net: 91.98 ± 0.08 % , p < 0.01 .
Table 3. Evaluation (%) of different fusion strategies on RAF-DB dataset.
Table 3. Evaluation (%) of different fusion strategies on RAF-DB dataset.
Fusion StrategiesAcc (%)Mean Acc (%)
Feature-level91.6685.16
Decision-level91.8585.33
Hybrid-level92.1186.55
Table 4. Comparison (%) with SOTA methods on RAF-DB dataset.
Table 4. Comparison (%) with SOTA methods on RAF-DB dataset.
MethodsYearBackboneFLsRAF-DB
RAN [1]2020ResNet-1886.90
SCN [20]2020ResNet-1887.03
MA-Net [7]2021ResNet-1888.42
FDRL [4]2021ResNet-1889.47
TransFER [6]2021IR-5090.91
SEIIL [42]2022ResNet-5088.23
Mata-Face2Exp [43]2022ResNet-5088.54
DAN [21]2023ResNet-1889.70
MGR3Net [23]2023ResNet-1888.82
MGR3Net [23]2023ResNet-5091.05
MM-Net [44]2024ResNet-5089.77
GLMEA [8]2025ResNet-1890.09
WGGLFA [25]2025ResNet-3490.32
LDR-Net (ours) ResNet-1888.95
LDR-Net (ours) IR-5092.11
✓ and ✗ indicate whether facial landmarks (FLs) are used.
Table 5. Comparison (%) with SOTA methods on AffectNet-7 and AffectNet-8 dataset.
Table 5. Comparison (%) with SOTA methods on AffectNet-7 and AffectNet-8 dataset.
MethodsYearAffectNet-7AffectNet-8
RAN [1]2020-59.50
SCN [20]2020-60.23
MA-Net [7]202164.5360.29
TransFER [6]202166.23-
EAC [46]202265.32-
Mata-Face2Exp [43]202264.23-
DAN [21]202365.6962.09
MGR3Net [23]202366.36-
EDGL-FLP [45]2023-61.25
MM-Net [44]202465.05-
GLMEA [8]202565.40-
Baseline (IR50)-64.9161.75
LDR-Net-67.1463.20
Table 6. Comparison (%) with SOTA methods on SFEW dataset.
Table 6. Comparison (%) with SOTA methods on SFEW dataset.
MethodsYearAcc (%)
RAN [1]202056.40
MA-Net [7]202159.40
FDRL [4]202162.16
DAN [21]202357.88
EDGL-FLP [45]202362.31
Baseline (IR50)-60.32
LDR-Net-62.65
Table 7. Comparison (%) with state-of-the-art methods on occlusion and pose-changes datasets.
Table 7. Comparison (%) with state-of-the-art methods on occlusion and pose-changes datasets.
(a) The results on Occlusion-RAF-DB and Pose-RAF-DB.
MethodsYearOcclusionPose ≥ 30°Pose ≥ 45°
RAN [1]202082.7286.7485.20
MA-Net [7]202183.6587.8987.99
VTFF [30]202183.9587.9788.35
AMP-Net [47]202285.2889.7589.25
MRAN [33]202386.9490.3889.78
MM-Net [44]202484.9089.7489.07
GLMEA [8]202586.3689.8189.77
Baseline (IR50) 87.7691.1891.04
LDR-Net 89.8092.7092.65
(b) The results on Occlusion-AffectNet-7 and Pose-AffectNet-7.
MethodsYearOcclusionPose ≥ 30°Pose ≥ 45°
RAN [1]202058.5053.9053.19
MA-Net [7]202159.5957.5157.48
VTFF [30]202162.9860.6161.00
AMP-Net [47]202264.2761.3761.16
MRAN [33]202363.5461.4262.05
Baseline (IR50) 64.7061.8160.74
LDR-Net 67.0664.3863.33
(c) The results on Occlusion-AffectNet-8 and Pose-AffectNet-8.
MethodsYearOcclusionPose ≥ 30°Pose ≥ 45°
Baseline (IR50) 62.6659.2659.39
LDR-Net 64.2861.5761.32
Table 8. Evaluation (%) on the FED-RO dataset.
Table 8. Evaluation (%) on the FED-RO dataset.
MethodsYearAcc (%)
RAN [1]202067.98
MA-Net [7]202170.00
AMP-Net [47]202271.75
EDGL-FLP [45]202372.25
MGR3Net [23]202371.38
MM-Net [44]202468.75
WGGLFA [25]202571.90
GLMEA [8]202572.59
LDR-Net (ours)-73.75
Table 9. Performance comparison on the KMU-FED dataset using random 10-fold cross-validation.
Table 9. Performance comparison on the KMU-FED dataset using random 10-fold cross-validation.
MethodsYearAcc (%)
Hierarchical WRF [18]201894.70
LMRF [48]202095.10
ILAB-CNN [49]202598.80
LDR-Net (ours)-99.10
Table 10. Subject-independent evaluation of LDR-Net on KMU-FED using leave-one-subject-out (LOSO) validation.
Table 10. Subject-independent evaluation of LDR-Net on KMU-FED using leave-one-subject-out (LOSO) validation.
ProtocolAcc (%)Range (%)
LOSO (12 subjects)86.24 ± 10.54[68.57, 100]
Table 11. Computational efficiency of the proposed LDR-Net.
Table 11. Computational efficiency of the proposed LDR-Net.
MetricValue
Parameters (M)88.47
FLOPs (G)13.83
Inference Speed (FPS @ batch size = 64)413.9
Peak GPU Memory (MB)3839.4
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.

Share and Cite

MDPI and ACS Style

Lu, Y.; Chang, F.; Liu, C.; Liu, H.; Huang, Y. LDR-Net: Landmark-Guided Diverse Regional Representation Learning for Facial Expression Recognition. Biomimetics 2026, 11, 503. https://doi.org/10.3390/biomimetics11070503

AMA Style

Lu Y, Chang F, Liu C, Liu H, Huang Y. LDR-Net: Landmark-Guided Diverse Regional Representation Learning for Facial Expression Recognition. Biomimetics. 2026; 11(7):503. https://doi.org/10.3390/biomimetics11070503

Chicago/Turabian Style

Lu, Yansha, Faliang Chang, Chunsheng Liu, Hui Liu, and Yiming Huang. 2026. "LDR-Net: Landmark-Guided Diverse Regional Representation Learning for Facial Expression Recognition" Biomimetics 11, no. 7: 503. https://doi.org/10.3390/biomimetics11070503

APA Style

Lu, Y., Chang, F., Liu, C., Liu, H., & Huang, Y. (2026). LDR-Net: Landmark-Guided Diverse Regional Representation Learning for Facial Expression Recognition. Biomimetics, 11(7), 503. https://doi.org/10.3390/biomimetics11070503

Article Metrics

Back to TopTop