Introduction
Facial Expression Recognition (FER) has achieved high accuracy on static datasets, but these models often struggle in dynamic, real-world environments. Standard deep learning follows an offline pipeline where a model learns from a fixed dataset. In contrast, human interactions are incremental; an AI system, such as an assistive robot, must adapt to new users and environments over time. Updating a standard model with new data often leads to catastrophic forgetting, where new information overwrites previously learned knowledge. This paper addresses the stability-plasticity dilemma: maintaining the flexibility to learn (plasticity) while ensuring the stability of existing knowledge.
The ConFER Benchmark
The researchers introduced ConFER, the first comprehensive benchmark for Continual Facial Expression Recognition. They evaluated 11 Continual Learning (CL) strategies across three primary families:
- Regularization-based Methods: Techniques like EWC or Synaptic Intelligence identify critical weights for past tasks and penalize significant changes to them during new learning phases.
- Replay-based Methods: These simulate memory. Naive Rehearsal (NR) stores a buffer of old images, while Generative Replay (DGR) uses a secondary network to generate synthetic examples of past data.
- Latent Replay (LR): This method stores compressed feature representations instead of raw images, offering a balance between memory efficiency and performance.
The benchmark evaluates these methods under three incremental scenarios:
- Task-Incremental (Task-IL): The model learns emotions in distinct sets (e.g., Task 1: Neutral/Anger) and is informed which task it is currently performing.
- Class-Incremental (Class-IL): The model learns one emotion at a time and must distinguish between all classes without task-specific context. This is the most realistic and challenging setting.
- Domain-Incremental (Domain-IL): The model learns the same expressions across different data distributions or environments.
The evaluation process for Task-IL is formalized in Algorithm 1, detailing the sequential training and cross-task evaluation loop used to measure performance and forgetting.
Experimental Setup and Datasets
The benchmark utilizes three datasets of varying complexity:
- CK+: A controlled laboratory dataset.
- RAF-DB: Real-world images sourced from the internet.
- AffectNet: A large-scale dataset with over 280,000 images, representing challenging "in-the-wild" conditions.
Key Insights
The study revealed several critical findings regarding the performance of CL strategies in FER:
- The Difficulty of Class-IL: While models perform well in Task-IL, performance drops significantly in Class-IL. Without task context, models frequently confuse new emotions with previously learned ones.
- Generative Limitations: Deep Generative Replay (DGR) struggles with the high dimensionality of human faces. The generated "fake" faces often lack the quality necessary to effectively remind the model of old classes.
- Efficiency of Latent Replay: Storing compressed features (Latent Replay) proved to be a highly effective and memory-efficient way to mitigate forgetting compared to raw image storage or generative methods.
- Regularization vs. Augmentation: Data augmentation, while generally beneficial, can hinder regularization-based methods on complex datasets like RAF-DB by making it harder to identify truly "important" weights.
Performance and Forgetting
In Task-IL settings, simple rehearsal strategies matched the performance of non-continual models (e.g., ~0.63 accuracy on AffectNet). However, in the difficult Class-IL setting on AffectNet, regularization methods often showed a Catastrophic Forgetting (CF) score of 1.0 (complete forgetting), whereas Latent Replay maintained a much lower forgetting rate (~0.26). Overall, rehearsal-based methods consistently outperformed purely math-based regularization.
Conclusion and Future Directions
The ConFER benchmark highlights the significant gap between static FER performance and the requirements of lifelong learning. Future research will explore the use of large-scale pre-trained "foundation models" as starting points for continual learning. Additionally, moving toward task-agnostic settings—where models must autonomously detect shifts in data distribution—remains a key frontier for creating truly adaptive AI.
Summary updated