Deep Face Detector Adaptation Without Negative Transfer or Catastrophic Forgetting

Muhammad Abdullah Jamal, Haoxiang Li, Boqing GongCVPR 2018

Abstract

Arguably, no single face detector fits all real-life scenarios. It is often desirable to have some built-in schemes for a face detector to automatically adapt, e.g., to a particular user's photo album (the target domain). We propose a novel face detector adaptation approach that works as long as there are representative images of the target domain no matter they are labeled or not and, more importantly, without the need of accessing the training data of the source domain. Our approach explicitly accounts for the notorious negative transfer caveat in domain adaptation thanks to a residual loss by design. Moreover, it does not incur catastrophic interference with the knowledge learned from the source domain and, therefore, the adapted face detectors maintain about the same performance as the old detectors in the original source domain. As such, our adaption approach to face detectors is analogous to the popular interpolation techniques for language models; it may opens a new direction for progressively training the face detectors domain by domain. We report extensive experimental results to verify our approach on two massively benchmarked face detectors.

Introduction

Deep learning-based face detectors have achieved remarkable success, yet they remain inherently biased toward their training data. When deployed in a new "target domain"—such as a personal photo album with unique lighting conditions, camera characteristics, or demographic distributions—their performance often degrades significantly. This paper addresses the challenge of adapting these detectors to specific domains without requiring access to the original, often massive and private, source training data (e.g., WIDER FACE).

Face detection in diverse real-world scenarios, highlighting the need for domain-specific adaptation.

Standard adaptation techniques typically face three major hurdles: the scale and privacy of source data, the risk of "negative transfer" (where adaptation inadvertently worsens performance), and "catastrophic forgetting" (where the model loses its general-purpose utility). The proposed framework introduces a specialized residual loss and a re-parameterized classifier to overcome these obstacles.

Methodology

The core of the proposed approach is a "residual" adaptation strategy that functions across supervised, semi-supervised, and unsupervised settings.

Residual Loss Design

Instead of standard loss functions, the authors devise a loss that approximates the expected performance improvement of the adapted detector over the original. This "do no harm" policy ensures the model only updates when it finds a configuration statistically likely to outperform the source model. If the source detector already classifies a region correctly with high confidence, the residual loss remains small, encouraging the model to imitate the source's success rather than over-correcting.

Classifier Re-parameterization

To address the stability-plasticity dilemma, the target classifier's weights ($\tilde{w}$) are defined as the sum of the source weights ($w$) and a learned offset ($u$): $\tilde{w} = w + u$. By applying $\ell_2$ regularization to the offset $u$, the model is forced to stay anchored to the source knowledge, effectively preventing catastrophic forgetting while allowing enough plasticity to learn new domain features.

Robust Unsupervised Adaptation

In scenarios without target labels, a "min-max" optimization strategy is employed. The method seeks a detector that improves upon the source model even under the worst-case scenario of potential label assignments for unlabeled images, ensuring robustness.

Experimental Results

The approach was evaluated using CascadeCNN and Faster-RCNN detectors, transitioning from source domains like AFLW and WIDER FACE to target domains such as FDDB and COFW.

Adaptation allows for detecting faces in challenging conditions, such as background subjects that might be missed by generic models.
  • Superior Adaptation: On the FDDB dataset, the proposed method consistently outperformed standard fine-tuning and Gaussian Process (GP)-based baselines across all supervision levels.
  • Zero Forgetting: Validation on the original WIDER FACE set showed virtually no performance degradation in the adapted model. In contrast, standard fine-tuning led to significant accuracy drops in the original domain.
  • Resilience to Negative Transfer: Even with minimal labeled data (e.g., a single fold of FDDB), the method avoided the performance dips observed in competing algorithms.

Discussion and Conclusion

The authors draw a parallel between their method and "interpolation" in language modeling, where general and domain-specific models are blended for balanced performance. While highly effective, the authors note that the search space for label assignments in unsupervised settings is large, suggesting that future work could utilize source detector confidence scores to focus optimization on "hard" examples. This research opens a new direction for progressively training face detectors domain by domain, maintaining general utility while achieving specialized excellence.

Summary updated

BibTeX
@inproceedings{jamal2018deep,
  author = {Muhammad Abdullah Jamal and Haoxiang Li and Boqing Gong},
  title = {{Deep Face Detector Adaptation Without Negative Transfer or Catastrophic Forgetting}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2018},
  url = {https://openreview.net/forum?id=H1WzEC-_-r},
}
Figure