Learning Contrastive Feature Representations for Facial Action Unit Detection

Ziqiao Shang, Bin Liu, Fengmao Lv, Fei Teng, Tianrui Li +1 more
2/9/2024
5 citations
cs.CVcs.AIcs.LG
contrastive-ssl

Official code: Ziqiao-Shang/AUNCE (7 stars, Python, last commit 2025-11-28).

Abstract

For the Facial Action Unit (AU) detection task, accurately capturing the subtle facial differences between distinct AUs is essential for reliable detection. Additionally, AU detection faces challenges from class imbalance and the presence of noisy or false labels, which undermine detection accuracy.

Show full abstract

In this paper, we introduce a novel contrastive learning framework aimed for AU detection that incorporates both self-supervised and supervised signals, thereby enhancing the learning of discriminative features for accurate AU detection. To tackle the class imbalance issue, we employ a negative sample re-weighting strategy that adjusts the step size of updating parameters for minority and majority class samples. Moreover, to address the challenges posed by noisy and false AU labels, we employ a sampling technique that encompasses three distinct types of positive sample pairs. This enables us to inject self-supervised signals into the supervised signal, effectively mitigating the adverse effects of noisy labels. Our experimental assessments, conducted on five widely-utilized benchmark datasets (BP4D, DISFA, BP4D+, GFT and Aff-Wild2), underscore the superior performance of our approach compared to state-of-the-art methods of AU detection. Our code is available at https://github.com/Ziqiao-Shang/AUNCE.

View on arXivView PDF

Code Implementations(1)

Ziqiao-Shang/AUNCEOfficial100%
71Python, ShellFeb 8, 20241 years ago

Similar Papers

Cite this paper

@article{shang2024learning,
  title  = {Learning Contrastive Feature Representations for Facial Action Unit Detection},
  author = {Ziqiao Shang and Bin Liu and Fengmao Lv and Fei Teng and Tianrui Li and Lan-Zhe Guo},
  year   = {2024},
  eprint = {2402.06165},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.06165v9}
}

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/2402.06165.svg)](https://codeofpaper.com/paper/2402.06165)

Discussion