QCS: Feature Refining from Quadruplet Cross Similarity for Facial Expression Recognition

Chengpeng Wang, Li Chen, Lili Wang, Zhaofan Li, Xuebin Lv
11/4/2024
21 citations
cs.CV
transformer-attention

Official code: birdwcp/QCS (26 stars, Python, MIT, last commit 2025-07-03).

Abstract

Facial expression recognition faces challenges where labeled significant features in datasets are mixed with unlabeled redundant ones. In this paper, we introduce Cross Similarity Attention (CSA) to mine richer intrinsic information from image pairs, overcoming a limitation when the Scaled Dot-Product Attention of ViT is directly applied to calculate the similarity between two different images.

Show full abstract

Based on CSA, we simultaneously minimize intra-class differences and maximize inter-class differences at the fine-grained feature level through interactions among multiple branches. Contrastive residual distillation is utilized to transfer the information learned in the cross module back to the base network. We ingeniously design a four-branch centrally symmetric network, named Quadruplet Cross Similarity (QCS), which alleviates gradient conflicts arising from the cross module and achieves balanced and stable training. It can adaptively extract discriminative features while isolating redundant ones. The cross-attention modules exist during training, and only one base branch is retained during inference, resulting in no increase in inference time. Extensive experiments show that our proposed method achieves state-of-the-art performance on several FER datasets.

View on arXivView PDF

Code Implementations(1)

birdwcp/QCSOfficial100%
MIT

[AAAI 2025] QCS:Feature Refining from Quadruplet Cross Similarity for Facial Expression Recognition

266PythonApr 7, 20241 years agoMIT

Similar Papers

Cite this paper

@article{wang2024qcs,
  title  = {QCS: Feature Refining from Quadruplet Cross Similarity for Facial Expression Recognition},
  author = {Chengpeng Wang and Li Chen and Lili Wang and Zhaofan Li and Xuebin Lv},
  year   = {2024},
  eprint = {2411.01988},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.01988v5}
}

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

Discussion