NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

FAN-Trans: Online Knowledge Distillation for Facial Action Unit Detection

Jing Yang, Jie Shen, Yiming Lin, Yordan Hristov, Maja Pantic

Introduction

Facial Action Unit (AU) detection involves identifying subtle, local muscle movements that constitute facial expressions. This task is challenging due to the high correlation between different AUs and the sensitivity of traditional methods to head pose variations and landmark detection inaccuracies. High-capacity models often face overfitting issues due to the limited size of available AU datasets. FAN-Trans addresses these issues by leveraging landmark-aware features and a novel distillation framework.

Methodology

The FAN-Trans framework introduces three primary innovations to improve the robustness and accuracy of AU detection:

1. Landmark-Aware Feature Extraction

Instead of generic backbones trained on ImageNet, FAN-Trans utilizes a pre-trained Face Alignment Network (FAN). Since FANs are optimized for landmark localization, their intermediate features are inherently tuned to semantically significant facial regions, providing a robust foundation for identifying subtle muscle twitches.

2. Hybrid Convolution-Transformer Architecture

The architecture combines a convolutional subnet for feature abstraction with a Transformer module to model inter-AU relationships. A key feature is the learnable attention drop mechanism, which applies a binary mask to the self-attention map. This forces the model to learn specific, discriminative sub-connections between AUs, preventing feature homogeneity and encouraging the discovery of spatial correspondences.

3. Online Knowledge Distillation (OKD)

FAN-Trans employs OKD between two types of peer classifiers trained simultaneously:

  • One-to-One ($C_{o2o}$): Predicts an AU based on its specific local feature.
  • One-to-Many ($C_{o2m}$): Predicts all AUs based on a single AU's feature.

These classifiers mutually regularize each other through an ensemble target, capturing label dependencies (how AUs co-occur) without requiring a heavy, pre-trained teacher model.

Experimental Results

The model was evaluated on the BP4D and DISFA datasets, achieving state-of-the-art performance. On BP4D, it reached an average F1-score of 64.8%, while on DISFA, it achieved 63.8%, marking a significant improvement over previous transformer-based approaches like TransAU.

Qualitative Analysis

Visualization using Score-CAM demonstrates that FAN-Trans effectively localizes its attention on relevant facial regions for specific AUs without explicit spatial supervision or manual ROI definitions.

Score-CAM visualization showing the model's attention on key facial regions compared to the original input.
Heatmap illustrating localized model focus on the eye and mouth regions, corresponding to active Action Units.

Conclusion

FAN-Trans demonstrates that combining landmark-aware features with a hybrid architecture and online knowledge distillation significantly enhances AU detection. By forcing diversity through attention dropping and peer-based learning, the model achieves superior robustness. While the reliance on a fixed FAN backbone remains a limitation, future work may involve exploring the explicit association between AU attention and landmark displacement to further improve interpretability.

Summary updated

BibTeX
@inproceedings{yang2023fan,
  author = {Jing Yang and Jie Shen and Yiming Lin and Yordan Hristov and Maja Pantic},
  title = {{FAN-Trans: Online Knowledge Distillation for Facial Action Unit Detection}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2023},
  doi = {10.1109/wacv56688.2023.00596},
}
Figure