AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
PDF (1.5 MB)
Collect
Submit Manuscript AI Chat Paper
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Publishing Language: Chinese | Open Access

Facial expression recognition in Swin Transformer by embedding hybrid attention mechanism

Kunxia WANG1,2( )Wancheng YU1Yuxia HU1,2
School of Electronic and Information Engineering, Anhui Jianzhu University, Hefei 230601, China
Anhui International Joint Research Center for Ancient Architecture Intellisencing andMulti-Dimensional Modeling, Hefei 230601, China
Show Author Information

Abstract

Facial expression recognition is an important research domain in psychology that can be applied to many fields such as transportation, medical care, security, and criminal investigation. Given the limitations of convolutional neural networks (CNN) in extracting global features of facial expressions, this paper proposes a Swin Transformer method embedded with a hybrid attention mechanism for facial expression recognition. Using the Swin Transformer as the backbone network, a hybrid attention module is embedded in the fusion layer (Patch Merging) in the model of Stage3, which can effectively extract global and local features from facial expressions. Firstly, the hierarchical Swin Transformer model can effectively obtain deep global features. Secondly, the embedded hybrid attention module combines channel and spatial attention mechanisms to extract features in the channel dimension and spatial dimension, which can attain better local features. At the same time, this article uses the transfer learning method to initialize the model network weights, thereby improving the recognition performance and generalization ability. The proposed method achieved recognition accuracies of 73.63%, 87.01%, and 98.28% on three public datasets (FER2013, RAF-DB, and JAFFE) respectively, achieving good recognition results.

CLC number: TP391.4

References

【1】
【1】
 
 
Journal of Northwest University (Natural Science Edition)
Pages 168-176

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
WANG K, YU W, HU Y. Facial expression recognition in Swin Transformer by embedding hybrid attention mechanism. Journal of Northwest University (Natural Science Edition), 2024, 54(2): 168-176. https://doi.org/10.16152/j.cnki.xdxbzr.2024-02-003

484

Views

4

Downloads

0

Crossref

0

CSCD

Received: 18 October 2023
Published: 25 April 2024
© The Editorial Department of Journal of Northwest University(Natural Science Edition)2024.

This is an open access article under the CC BY-NC-ND 4.0 license (https://creativecommons.org/licenses/by-nc-nd/4.0/).