Progressive Multi-Source Domain Adaptation for Personalized Facial Expression Recognition

Muhammad Osama Zeeshan, Marco Pedersoli, Alessandro Lameiras Koerich, Eric Granger

TL;DR

Personalized facial expression recognition (FER) often fails when models try to learn from too many dissimilar people at once, leading to "negative transfer." This paper introduces P-MSDA, a framework that ranks source subjects by similarity and introduces them progressively while using a density-based replay buffer to prevent forgetting, significantly boosting accuracy across diverse datasets.

What Problem Does This Paper Address?

Facial expressions are notoriously difficult for AI to master because of high interpersonal variability. A "subtle smile" or "grimace of pain" looks different on a 20-year-old woman than it does on a 70-year-old man due to differences in anatomy, culture, and personal habits.

Current state-of-the-art methods use Multi-Source Domain Adaptation (MSDA), treating each person in a training set as a separate "source domain." However, these methods typically try to align all source subjects with a new target subject simultaneously. This creates two major issues:

  1. Negative Transfer: Dissimilar source subjects (e.g., an older man vs. a young woman) can introduce noise that confuses the model rather than helping it.
  2. Computational Overhead: Processing dozens of source domains at once is memory-intensive and slow.

Methods

The authors propose Progressive Multi-Source Domain Adaptation (P-MSDA), which treats personalization as a curriculum learning problem.

  • Source Ranking: The model first calculates the cosine similarity between the target subject and all available source subjects in a shared feature space.
  • Progressive Adaptation: Instead of a "big bang" alignment, the model introduces source subjects one by one, starting with the most similar ("easiest") and moving toward the more distant ones.
  • Density-Based Replay Memory: To prevent the model from forgetting what it learned from previous subjects (catastrophic forgetting), the authors implemented a replay mechanism. Using DBSCAN (a density-based clustering algorithm), they identify and store only the most representative samples from visited sources—specifically those that are closest to the target's feature clusters.
  • Loss Functions: The framework optimizes a combination of supervised loss (for labeled sources), pseudo-label loss (for the unlabeled target), and Maximum Mean Discrepancy (MMD) to align the domains.
Comparison between standard subject-based MSDA and the proposed progressive approach.

Datasets

The model was evaluated on four diverse datasets to prove its robustness:

  • BioVid Heat and Pain: 87 subjects recorded in controlled settings for pain estimation.
  • UNBC-McMaster Shoulder Pain: 25 subjects with video sequences of shoulder pain.
  • Aff-Wild2: A challenging "in-the-wild" dataset for general emotion recognition.
  • Behavioral Ambivalence/Hesitancy (BAH): Naturalistic videos captured in semi-uncontrolled settings.
  • Cross-Dataset: A specific test transferring knowledge from UNBC-McMaster (source) to BioVid (target).

Key Insights and Ideas

  • Ordering is Everything: The "aha moment" here is that the sequence of adaptation matters. By building a solid foundation on similar subjects first, the model becomes robust enough to eventually extract useful features even from less similar subjects.
  • Density > Randomness: Standard replay buffers often use random sampling. This paper shows that density-based selection (picking the "core" of a subject's expression distribution) is far more effective at preventing forgetting while maintaining a small memory footprint.
  • Constant Complexity: By maintaining a fixed-size replay buffer and only training on one new source at a time, P-MSDA keeps training time constant regardless of how many total source subjects are available.

Key Results

P-MSDA consistently outperformed existing MSDA and UDA baselines:

  • BioVid: Achieved an average accuracy of 0.88, significantly higher than the previous state-of-the-art (0.83) and approaching "Oracle" (fully supervised) performance (0.96).
  • UNBC-McMaster: Reached 0.88 average accuracy, outperforming standard MSDA methods (0.81).
  • In-the-Wild Performance: On the difficult Aff-Wild2 and BAH datasets, P-MSDA showed the most dramatic improvements, jumping to 0.46 and 0.71 accuracy respectively, compared to baselines that hovered around 0.36 and 0.57.
Average accuracy comparison on Aff-Wild2 and BAH datasets showing P-MSDA's lead.

Limitations and Future Work

The authors identify two main hurdles for future research:

  • Demographic Gaps: If the source pool lacks subjects that are demographically similar to the target (e.g., trying to adapt to an East Asian male when the source pool is entirely Caucasian), the initial stages of adaptation are much slower and less effective.
  • Target Class Imbalance: In real-world data, some expressions (like "Neutral") are far more common than others (like "Fear"). This skew can bias the pseudo-labeling process and the replay buffer, a problem the authors noted in the Aff-Wild2 results.

Future work may focus on better handling these demographic mismatches and developing more balanced pseudo-labeling strategies for long-tailed data distributions.

Summary updated

BibTeX
@article{zeeshan2026progressive,
  author = {Muhammad Osama Zeeshan and Marco Pedersoli and Alessandro Lameiras Koerich and Eric Granger},
  title = {{Progressive Multi-Source Domain Adaptation for Personalized Facial Expression Recognition}},
  journal = {IEEE Trans. Affect. Comput.},
  year = {2026},
  doi = {10.1109/taffc.2025.3627534},
}
Figure