Omni-supervised Facial Expression Recognition: A Simple Baseline

Ping Liu, Yunchao Wei, Zibo Meng, Weihong Deng, Joey Tianyi Zhou, Yi YangarXiv 2020

Abstract

Deep learning models for Facial Expression Recognition (FER) typically require vast amounts of labeled data, which is expensive and difficult to obtain. This paper introduces an "omni-supervised" framework that mines high-quality samples from massive unlabeled datasets and compresses that knowledge using dataset distillation. By distilling approximately 140,000 mined images into just one synthetic image per emotion category, the proposed method achieves state-of-the-art accuracy while drastically reducing the computational overhead of training on "big data."

Introduction

Facial expression recognition is a data-intensive task. While massive amounts of unlabeled face images are available online, manual annotation for specific emotions—such as "disgust" or "surprise"—is error-prone and costly. Traditional "pre-train and fine-tune" strategies often face bottlenecks due to the limited size of labeled sets. This work addresses two primary challenges: ensuring the reliability of automatically selected samples from unlabeled pools and maintaining training efficiency when dealing with hundreds of thousands of auxiliary images.

Methodology

The authors propose a three-stage pipeline to bridge the gap between small labeled datasets and large-scale unlabeled data.

The three-stage omni-supervised pipeline: (a) Primitive Learner Training, (b) Feature-based Mining, (c) Auxiliary Sample Construction, (d) Dataset Distillation, and (e) Final Omni-supervised Training.
  1. The Primitive Learner: A basic CNN is first trained on a small, high-quality labeled "anchor" dataset.
  2. Feature-based Mining: To avoid the unreliability of simple prediction scores, the primitive learner extracts high-level features from the MS-Celeb-1M dataset. Centroids for each emotion are calculated in the feature space, and unlabeled images closest to these centroids are selected. This results in a "Vanilla Auxiliary Sample" (VAS) set of roughly 140,000 images.
  3. Dataset Distillation: To optimize efficiency, a distillation algorithm condenses the knowledge of the VAS set into a tiny set of synthetic images (one per class). These "Distilled Auxiliary Samples" (DAS) capture the mathematical essence of expressions required for neural network training.

Datasets

The framework was evaluated using a variety of sources:

  • Unlabeled Source: MS-Celeb-1M (approx. 10 million images).
  • Labeled/Evaluation Datasets: RAF-DB 2.0 (diverse real-world), FER-2013 (challenging ICML set), CK+ (lab-controlled), MMI (onset-apex-offset labels), and JAFFE (Japanese female models).

Key Insights

  • Robustness through Feature Space: Selecting samples based on feature-space proximity to class centroids is more robust than using softmax outputs, helping to bridge the domain shift between clean lab data and messy web images.
  • Knowledge Compression: The distillation process acts as a filter, stripping away noise and dataset-specific biases. Interestingly, distilled images (DAS) often lead to better cross-dataset performance than the full mined set (VAS).
Visualization of distilled images for different emotion categories. These synthetic images appear as abstract textures but contain the core gradients necessary for training.

Results

The method achieved a peak accuracy of 86.55% on the RAF-DB dataset, surpassing previous state-of-the-art models. Beyond accuracy, the efficiency gains were significant: training with the full VAS set took 1,625 seconds per epoch, whereas training with the distilled DAS set took only 156 seconds—a nearly 10x speedup—without sacrificing performance.

Conclusion

This omni-supervised approach demonstrates that "big data" can be effectively utilized for FER through intelligent mining and compression. While the distilled images are visually unrecognizable to humans, their mathematical utility allows for high-performance, efficient model training. Future work may involve integrating this pipeline with other self-mining techniques to further enhance data quality.

Summary updated

BibTeX
@misc{liu2020omni,
  author = {Ping Liu and Yunchao Wei and Zibo Meng and Weihong Deng and Joey Tianyi Zhou and Yi Yang},
  title = {{Omni-supervised Facial Expression Recognition: A Simple Baseline}},
  year = {2020},
  eprint = {2005.08551},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2005.08551},
}
Figure