mlsanityData to 7 Oct 2026

Emotion Diffusion Classifier with Adaptive Margin Discrepancy Training for Facial Expression Recognition

arXiv 2603.29578 ↗First posted 31 Mar 2026cs.CVcited by 0

On the map: Diffusion models → Audio, speech and music

Abstract (arXiv)

Facial Expression Recognition (FER) is essential for human-machine interaction, as it enables machines to interpret human emotions and internal states from facial affective behaviors. Although deep learning has significantly advanced FER performance, most existing deep-learning-based FER methods rely heavily on discriminative classifiers for fast predictions. These models tend to learn shortcuts and are vulnerable to even minor distribution shifts. To address this issue, we adopt a conditional generative diffusion model and introduce the Emotion Diffusion Classifier (EmoDC) for FER, which demonstrates enhanced adversarial robustness. However, retraining EmoDC using standard strategies fails to penalize incorrect categorical descriptions, leading to suboptimal recognition performance. To improve EmoDC, we propose margin-based discrepancy training, which encourages accurate predictions when conditioned on correct categorical descriptions and penalizes predictions conditioned on mismatched ones. This method enforces a minimum margin between noise-prediction errors for correct and incorrect categories, thereby enhancing the model's discriminative capability. Nevertheless, using a fixed margin fails to account for the varying difficulty of noise prediction across different images, limiting its effectiveness. To overcome this limitation, we propose Adaptive Margin Discrepancy Training (AMDiT), which dynamically adjusts the margin for each sample. Extensive experiments show that AMDiT significantly improves the accuracy of EmoDC over the baseline model with standard denoising diffusion training under 100-step evaluations. Additionally, AMDiT-enhanced EmoDC has better generalization and robustness than state-of-the-art discriminative classifiers.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Audio, speech and music, one of 14 directions in Diffusion models. Builds on 50 of its 81 references that are in the map. First posted on arXiv 31 Mar 2026.

Builds on

50 of 81 references.

References · 50

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  4. 2020Denoising Diffusion Probabilistic Modelscited by 20,851
  5. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
  6. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
  7. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  8. 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
  9. 2014Explaining and Harnessing Adversarial Examplescited by 7,287
  10. 2015Deep Unsupervised Learning using Nonequilibrium Thermodynamicscited by 7,005
  11. 2022Scalable Diffusion Models with Transformerscited by 5,931
  12. 2022Classifier-Free Diffusion Guidancecited by 5,717
38 more
  1. 2013Intriguing properties of neural networkscited by 5,114
  2. 2017On Calibration of Modern Neural Networkscited by 4,860
  3. 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
  4. 2020Shortcut Learning in Deep Neural Networkscited by 1,928
  5. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
  6. 2016Joint Face Detection and Alignment using Multi-task Cascaded Convolutional Networkscited by 895
  7. 2014Deep Neural Networks are Easily Fooled: High Confidence Predictions for Unrecognizable Imagescited by 774
  8. 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 682
  9. 2017AffectNet: A Database for Facial Expression, Valence, and Arousal Computing in the Wildcited by 490
  10. 2013Challenges in Representation Learning: A report on three machine learning contestscited by 301
  11. 2023Your Diffusion Model is Secretly a Zero-Shot Classifiercited by 301
  12. 2017Sampling Matters in Deep Embedding Learningcited by 285
  13. 2018Deep Facial Expression Recognition: A Surveycited by 269
  14. 2016Training Deep Networks for Facial Expression Recognition with Crowd-Sourced Label Distributioncited by 158
  15. 2020Torchattacks: A PyTorch Repository for Adversarial Attackscited by 156
  16. 2023Text-to-Image Diffusion Models are Zero-Shot Classifierscited by 140
  17. 2019Region Attention Networks for Pose and Occlusion Robust Facial Expression Recognitioncited by 127
  18. 2021Can contrastive learning avoid shortcut solutions?cited by 114
  19. 2022CARD: Classification and Regression Diffusion Modelscited by 102
  20. 2021TransFER: Learning Relation-aware Facial Expression Representations with Transformerscited by 85
  21. 2023Robust Classification via a Single Diffusion Modelcited by 79
  22. 2022A Systematic Review on Affective Computing: Emotion Models, Databases, and Recent Advancescited by 59
  23. 2023Diffusion Models Beat GANs on Image Classificationcited by 57
  24. 2023Intriguing properties of generative classifierscited by 52
  25. 2021Facial Expression Recognition with Visual Transformers and Attentional Selective Fusioncited by 49
  26. 2022POSTER: A Pyramid Cross-Fusion Transformer Network for Facial Expression Recognitioncited by 49
  27. 2023Prompting Visual-Language Models for Dynamic Facial Expression Recognitioncited by 43
  28. 2015Metric Learning with Adaptive Density Discriminationcited by 40
  29. 2017Island Loss for Learning Discriminative Features in Facial Expression Recognitioncited by 35
  30. 2022Vision Transformer with Attentive Pooling for Robust Facial Expression Recognitioncited by 35
  31. 2019Understanding the Limitations of Conditional Generative Modelscited by 28
  32. 2024Your Diffusion Model is Secretly a Certifiably Robust Classifiercited by 24
  33. 2022Pixle: a fast and effective black-box attack based on rearranging pixelscited by 20
  34. 2025Generative Classifiers Avoid Shortcut Solutionscited by 7
  35. 2022When Facial Expression Recognition Meets Few-Shot Learning: A Joint and Alternate Learning Frameworkcited by 5
  36. 2022Learn-to-Decompose: Cascaded Decomposition Network for Cross-Domain Few-Shot Facial Expression Recognitioncited by 5
  37. 2025Vision-Language Model Guided Image Restorationcited by 4
  38. 2024Towards Multi-View Consistent Style Transfer with One-Step Diffusion via Vision Conditioningcited by 3

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Improvement in Facial Emotion Recognition using Synthetic Data Generated by Diffusion Model
  2. 2024LLDif: Diffusion Models for Low-light Emotion Recognition
  3. 2024Knowledge-Enhanced Facial Expression Recognition with Emotional-to-Neutral Transformation
  4. 2024FER-YOLO-Mamba: Facial Expression Detection and Classification Based on Selective State Space
  5. 2023EmoCLIP: A Vision-Language Method for Zero-Shot Video Facial Expression Recognition
  6. 2024EMO-LLaMA: Enhancing Facial Emotion Understanding with Instruction Tuning
  7. 2024LRDif: Diffusion Models for Under-Display Camera Emotion Recognition
  8. 2025Evaluating Open-Source Vision Language Models for Facial Emotion Recognition against Traditional Deep Learning Models