HadaSmileNet: Hadamard fusion of handcrafted and deep-learning features for enhancing facial emotion recognition of genuine smiles

Mohammad Junayed Hasan, Nabeel Mohammed, Shafin Rahman, Philipp KoehnarXiv 2025 · DOI

Abstract

Distinguishing genuine (Duchenne) smiles from posed ones is a significant challenge in computer vision. While handcrafted physiological features (D-Markers) are robust, they are often labor-intensive. Conversely, deep learning models often miss subtle involuntary muscle contractions. This paper introduces HadaSmileNet, which utilizes Hadamard multiplicative fusion to integrate transformer-based deep learning features with handcrafted D-Marker cues. Our approach outperforms complex multi-task learning frameworks while reducing parameters by 26% and training time by 42%, achieving state-of-the-art results across four major benchmarks.

Introduction

Distinguishing a "Duchenne" (genuine) smile from a posed one is a classic challenge in computer vision and psychology. Genuine smiles involve subtle, involuntary muscle contractions—like the crinkling around the eyes—that are often missed by standard deep learning models.

Previous attempts to solve this fell into two camps:

  1. Handcrafted features: Using expert-defined "D-Markers" (e.g., cheek elevation, eye aperture). These are robust but labor-intensive and brittle.
  2. Multi-task Learning (MTL): Training a model to both classify smiles and predict these D-Markers as an auxiliary task. While effective, MTL is computationally heavy and often suffers from gradient conflicts during training.

HadaSmileNet seeks to inject domain-specific physiological knowledge directly into the feature space without the overhead and instability of multi-task architectures.

Methodology

The HadaSmileNet architecture consists of two parallel streams that merge into a unified classifier: a Handcrafted Stream and a Deep Learning Stream.

HadaSmileNet architecture featuring parallel handcrafted and deep learning streams joined by Hadamard fusion.
  • Handcrafted Stream: This stream extracts 25 temporal descriptors (D-Markers) across three facial regions (lips, eyes, cheeks) using 3D landmarks from Google’s MediaPipe. These capture the dynamics of the smile's onset, apex, and offset.
  • Deep Learning Stream: A transformer-based backbone (MeshSmileNet) is used to automatically learn spatiotemporal representations from raw 3D landmark sequences.
  • Hadamard Fusion: Instead of simple concatenation, the authors employ Hadamard multiplicative fusion. After projecting both feature sets to a common dimension, element-wise multiplication is performed. This allows the handcrafted D-Markers to act as "gates," selectively amplifying or suppressing the deep-learned features based on known physiological cues.

Experimental Results

The model was evaluated on four major benchmark datasets: UvA-NEMO, BBC, MMI, and SPOS. HadaSmileNet established new state-of-the-art (SOTA) performance for deep learning methods across all four benchmarks.

Performance comparison of HadaSmileNet against traditional, deep learning, and multi-task learning methods across four datasets.

Key performance metrics include:

  • UvA-NEMO: 88.7% accuracy (+0.8% over previous best DL).
  • SPOS: 98.5% accuracy (+0.7% over previous SOTA).
  • BBC: 100% accuracy (+5.0% over previous SOTA).

Beyond accuracy, HadaSmileNet demonstrated significant efficiency gains. Compared to the previous leading model (DeepMarkerNet), HadaSmileNet achieved a 26% reduction in parameters and a 42.3% reduction in training time.

Discussion and Conclusion

The success of HadaSmileNet highlights that simple element-wise multiplication can be more effective than complex attention mechanisms or bilinear pooling by forcing a direct interaction between domain knowledge and learned features. By moving away from Multi-task Learning, the authors avoided gradient conflicts, leading to a more stable training process and better generalization. Ablation studies also confirmed the importance of the "upper face" (eyes and cheeks) in detecting genuineness, aligning with long-standing psychological theories.

While HadaSmileNet sets a new bar for automated systems, it still slightly trails some traditional methods that rely on manual landmark initialization on specific datasets like UvA-NEMO. Future work will focus on "parameter-free" fusion for other modalities and developing methods to learn physiological features automatically without requiring manual extraction during training.

Summary updated

BibTeX
@misc{hasan2025hadasmilenet,
  author = {Mohammad Junayed Hasan and Nabeel Mohammed and Shafin Rahman and Philipp Koehn},
  title = {{HadaSmileNet: Hadamard fusion of handcrafted and deep-learning features for enhancing facial emotion recognition of genuine smiles}},
  year = {2025},
  eprint = {2509.18550},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.18550},
}
Figure