Introduction
Traditional Video-based Facial Expression Recognition (V-FER) typically operates under a "closed-set" assumption, where models are trained and tested on a fixed set of emotion categories. However, real-world human emotions are diverse and nuanced, often falling outside predefined categories like "Happy" or "Sad." The challenge of Open-Set Video-FER (OV-FER) is to accurately classify known expressions while identifying novel, "unknown" emotions. This task is complicated by the subtle temporal dynamics of facial expressions and the high similarity between different emotion classes.
The HESP Framework
To address these challenges, researchers introduced Human Expression-Sensitive Prompting (HESP). This framework enhances the CLIP (Contrastive Language-Image Pre-training) model to better capture the spatial and temporal nuances of video-based emotions.
HESP consists of three primary components:
- Textual Prompting Module (TP): Instead of static templates, HESP utilizes learnable textual prompts. It introduces "Negative Textual Prompting" (e.g., "This video is not [Class]") to help the model define clear boundaries for known categories, facilitating the detection of unknown emotions by exclusion.
- Visual Prompting Module (VP): This module focuses the model on emotion-relevant facial regions (like the eyes and mouth) using Class Activation Mapping (CAM). Learnable visual prompts are applied to these areas, and Temporal Global Pooling (TGP) aggregates features across video frames to capture temporal flow.
- Open-set Multi-task Learning: The model is trained with a triple-loss strategy: Known Category Loss for accuracy, Negative Representation Loss to identify "unknowns," and an Overall Prediction Loss that fuses textual and visual features.
Experimental Results
The HESP framework was evaluated on major "in-the-wild" datasets, including AFEW, MAFW, and DFEW. To simulate real-world scenarios, the researchers withheld specific emotion classes during training to create various "Openness" levels.
Key findings include:
- Significant Performance Gains: On the AFEW dataset, HESP achieved a 17.93% improvement in AUROC and a 106.18% increase in OSCR compared to the competitive CLIP+ARPL baseline.
- Effective Feature Separation: Visualization of the feature space demonstrated that HESP creates distinct clusters for known emotions and a well-defined, separate region for unknown classes.
- Efficiency: HESP remains computationally efficient, outperforming other video-specific adaptations of CLIP in terms of inference speed, making it suitable for real-time applications.
Conclusion and Future Directions
HESP represents a significant step forward in making facial expression recognition more robust for real-world deployment. By focusing on "what an emotion is not" and emphasizing expression-sensitive facial regions, the model achieves superior open-set detection. Future work aims to integrate multimodal data (such as audio) and move toward Generalized Category Discovery (GCD) to automatically categorize and name newly discovered emotion types.
Summary updated