Privacy-preserving Online AutoML for Domain-Specific Face Detection

Chenqian Yan, Yuge Zhang, Quanlu Zhang, Yaming Yang, Xinyang Jiang, Yuqing Yang, Baoyuan Wang

Introduction

General-purpose face detectors often underperform in specialized domains such as low-light conditions, fisheye perspectives, or masked faces. Optimizing these models typically requires manual tuning of hyperparameters and neural architectures, a process that is both resource-intensive and slow. While Automated Machine Learning (AutoML) offers a solution, traditional approaches require centralizing raw datasets, posing significant privacy risks in sensitive applications like face detection. This paper introduces HyperFD, a framework designed to bridge the gap between high-performance domain adaptation and data privacy.

The HyperFD Framework

HyperFD addresses the "privacy vs. utility" deadlock by decoupling the tuning process into a client-server architecture. This allows the system to learn from diverse tasks without ever accessing the raw image data of the users.

The HyperFD framework architecture illustrating the privacy-preserving interaction between client and server.

Meta-feature Extraction and Ranking

Instead of transmitting raw images, the client extracts abstract "meta-features"—mathematical representations that capture the statistical essence of a dataset (such as face size distributions and bounding box ratios). These features are transmitted to the server, which hosts a Performance Ranker. The ranker evaluates thousands of potential configurations (architectures and hyperparameters) and recommends the most promising candidates back to the client.

Continual Learning and Transformation

A core challenge in online AutoML is the evolution of the feature extractor. As the server learns from more tasks, older meta-features can become obsolete. HyperFD introduces a Meta-feature Transformation Module that maps historical features into the current feature space, allowing the system to leverage past experiences without requiring the original raw data. To prevent "catastrophic forgetting," the framework employs "Synaptic Intelligence" to protect critical model parameters during sequential task learning.

Experimental Evaluation

HyperFD was evaluated across 12 diverse face detection datasets, including specialized domains like Anime (cartoon faces), FaceMask (occluded faces), and FDDB-360 (fisheye). To simulate a high-volume online environment and provide a robust "warm-up" for the system, the researchers used dataset augmentation on the WIDER Face dataset, clustering its images into over 1,400 distinct sub-datasets.

Results and Discussion

The framework was tested across two distinct search spaces: Hyperparameter Optimization (HPO) and Neural Architecture Search (NAS).

Comparison of HyperFD against state-of-the-art AutoML methods in HPO and NAS search spaces.

Performance Gains

HyperFD consistently outperformed random search and existing transferable AutoML baselines like Tr-AutoML and HyperSTAR. In the HPO space, it achieved a 1.67% increase in Average Precision (AP) over random search. The gains were even more pronounced in the NAS space, with a 2.39% AP improvement.

Efficiency and Robustness

The system demonstrated high ranking efficiency; in the NAS space, its recommended models averaged a rank of 7.78% (where 0% is the absolute best possible model). Notably, HyperFD proved robust to the order of task arrival, maintaining superior performance even in unfavorable sequences. These results suggest that well-designed meta-features can be as informative as raw pixels for guiding AutoML, enabling high-performance tuning without compromising data privacy.

Conclusion

HyperFD represents a significant advancement in making AutoML practical for privacy-sensitive, domain-specific tasks. By utilizing meta-feature transformation and continual learning, the system provides a scalable way to optimize face detection across diverse environments. Future work will explore extending this framework to general object detection and incorporating multi-fidelity optimization techniques to further accelerate the search process.

Summary updated

BibTeX
@inproceedings{yan2022privacy,
  author = {Chenqian Yan and Yuge Zhang and Quanlu Zhang and Yaming Yang and Xinyang Jiang and Yuqing Yang and Baoyuan Wang},
  title = {{Privacy-preserving Online AutoML for Domain-Specific Face Detection}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2022},
}
Figure