Towards Semi-Supervised Deep Facial Expression Recognition with An Adaptive Confidence Margin

Hangyu Li, Nannan Wang, Xi Yang, Xiaoyu Wang, Xinbo Gao
3/23/2022
cs.CV

Official code: hangyu94/Ada-CM (68 stars, Python, last commit 2025-09-09).

Abstract

Only parts of unlabeled data are selected to train models for most semi-supervised learning methods, whose confidence scores are usually higher than the pre-defined threshold (i.e., the confidence margin). We argue that the recognition performance should be further improved by making full use of all unlabeled data.

Show full abstract

In this paper, we learn an Adaptive Confidence Margin (Ada-CM) to fully leverage all unlabeled data for semi-supervised deep facial expression recognition. All unlabeled samples are partitioned into two subsets by comparing their confidence scores with the adaptively learned confidence margin at each training epoch: (1) subset I including samples whose confidence scores are no lower than the margin; (2) subset II including samples whose confidence scores are lower than the margin. For samples in subset I, we constrain their predictions to match pseudo labels. Meanwhile, samples in subset II participate in the feature-level contrastive objective to learn effective facial expression features. We extensively evaluate Ada-CM on four challenging datasets, showing that our method achieves state-of-the-art performance, especially surpassing fully-supervised baselines in a semi-supervised manner. Ablation study further proves the effectiveness of our method. The source code is available at https://github.com/hangyu94/Ada-CM.

View on arXivView PDF

Code Implementations(1)

hangyu94/Ada-CMOfficial100%

“Towards Semi-Supervised Deep Facial Expression Recognition with An Adaptive Confidence Margin”, CVPR 2022.

684PythonMar 3, 20221 years ago

Similar Papers

Cite this paper

@article{li2022towards,
  title  = {Towards Semi-Supervised Deep Facial Expression Recognition with An Adaptive Confidence Margin},
  author = {Hangyu Li and Nannan Wang and Xi Yang and Xiaoyu Wang and Xinbo Gao},
  year   = {2022},
  eprint = {2203.12341},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.12341}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.12341.svg)](https://codeofpaper.com/paper/2203.12341)

Discussion