CRS-CONT: A Well-Trained General Encoder for Facial Expression Analysis
- 1 July 2022
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Image Processing
- Vol. 31 (10577149) , 4637-4650
Abstract
Existing facial expression recognition (FER) methods train encoders with different large-scale training data for specific FER applications. In this paper, we propose a new task in this field. This task aims to pre-train a general encoder to extract any facial expression representations without fine-tuning. To tackle this task, we extend the self-supervised contrastive learning to pre-train a general encoder for facial expression analysis. To be specific, given a batch of facial expressions, some positive and negative pairs are firstly constructed based on coarse-grained labels and a FER-specified data augmentation strategy. Secondly, we propose the coarse-contrastive (CRS-CONT) learning, where the features of positive pairs are pulled together, while pushed away from the features of negative pairs. Moreover, one key event is that the excessive constraint on the coarse-grained feature distribution will affect fine-grained FER applications. To address this, a weight vector is designed to control the optimization of the CRS-CONT learning. As a result, a well-trained general encoder with frozen weights could preferably adapt to different facial expressions and realize the linear evaluation on any target datasets. Extensive experiments on both in- the-wild and in- the-lab FER datasets show that our method provides superior or comparable performance against state-of-the-art FER methods, especially on unseen facial expressions and cross-dataset evaluation. We hope that this work will help to reduce the training burden and develop a new solution against the fully-supervised feature learning with fine-grained labels. Code and the general encoder will be publicly available at https://github.com/hangyu94/CRS-CONTKeywords
Funding Information
- National Key Research and Development Program of China (2018AAA0103202)
- National Natural Science Foundation of China (61922066, 61876142, 62036007, 61976166)
- Technology Innovation Leading Program of Shaanxi (2022QFY01-15)
- Open Research Projects of Zhejiang Laboratory (2021KG0AB01)
- Key Research and Development Program of Shaanxi (2021GY-030)
- Fundamental Research Funds for the Central Universities (JB210115)
- Innovation Fund of Xidian University
This publication has 44 references indexed in Scilit:
- AffectNet: A Database for Facial Expression, Valence, and Arousal Computing in the WildIEEE Transactions on Affective Computing, 2017
- Photo-Realistic Single Image Super-Resolution Using a Generative Adversarial Network2017
- A Discriminative Feature Learning Approach for Deep Face Recognition2016
- Joint Face Detection and Alignment Using Multitask Cascaded Convolutional NetworksIEEE Signal Processing Letters, 2016
- Deep Residual Learning for Image Recognition2016
- EmotioNet: An Accurate, Real-Time Algorithm for the Automatic Annotation of a Million Facial Expressions in the Wild2016
- Compound facial expressions of emotionProceedings of the National Academy of Sciences, 2014
- Facial expression recognition based on fusion feature of PCA and LBP with SVMOptik, 2013
- A Spontaneous Micro-expression Database: Inducement, collection and baseline2013
- Static facial expression analysis in tough conditions: Data, evaluation protocol and benchmark2011