Demography-based facial retouching detection using subclass supervised sparse autoencoder

Aparna Bharati, Mayank Vatsa, Richa Singh, Kevin W. Bowyer, Xin Tong

Introduction

Digital facial retouching has evolved from a specialized tool for professional editors into a ubiquitous feature of modern social media and mobile photography. Techniques such as skin smoothing, facial geometry alteration, and lighting adjustments are now integrated into standard camera apps and dedicated platforms like BeautyPlus. While often used for personal aesthetic preference, extensive retouching poses a significant challenge for security-critical systems, including Automatic Border Control (ABC) and automated face recognition software, where identity verification relies on the integrity of facial features.

A comparison of original and retouched images illustrating various digital alterations such as skin smoothing and hair color modification.

A primary hurdle in detecting these alterations is the "demographic gap." Beauty standards and retouching trends are not universal; they vary significantly across different cultures, ethnicities, and genders. Most existing detection algorithms treat all faces as a homogeneous group, failing to account for these nuances. This research addresses this gap by proposing a method that explicitly incorporates demographic information to improve detection accuracy.

Methodology: The $S^3A$ Framework

The researchers introduced the Subclass Supervised Sparse Autoencoder ($S^3A$), a novel architecture designed to learn robust features for retouching detection by leveraging demographic subclasses. The framework builds upon several key components:

  1. Sparse Autoencoder: A neural network used to learn compressed, efficient representations of input data.
  2. Class Sparsity based Supervised Encoding (CSSE): This technique ensures that images within the same primary class (e.g., "retouched") share similar feature signatures.
  3. Subclass Supervision: The $S^3A$ extends CSSE by adding a second layer of supervision. The model is trained using ethnicity and gender data as subclasses. By employing an $l_{2,1}$ norm regularizer, the model learns features that are distinct between original and retouched classes while remaining consistent within specific demographic groups (e.g., Caucasian males vs. Chinese females).

Finally, these learned features are classified using a $2\nu$-Support Vector Machine (SVM) to determine if an image has been digitally altered.

The Multi-Demographic Retouched Faces (MDRF) Dataset

To support this research, the authors developed the Multi-Demographic Retouched Faces (MDRF) Dataset, containing 3,600 images. The dataset is balanced across two genders and three ethnicities: Caucasian, Chinese, and Indian. Original images were sourced from high-quality databases like CASIA-NIR-v5-VIS and Notre Dame Collection B. These were then processed using two distinct tools: BeautyPlus (a popular mobile app) and PortraitPro Studio Max (professional-grade desktop software), allowing the researchers to test the model against varying levels of retouching sophistication.

Key Insights and Discussion

The Makeup Confound

One of the most significant findings is that retouching is consistently more difficult to detect in female faces than in male faces. The researchers attribute this to the "makeup confound": physical makeup applied before a photo is taken often mimics the effects of digital retouching, such as skin smoothing and blemish removal. This creates a "noisier" baseline for detection algorithms, as the line between physical and digital enhancement becomes blurred.

Physical makeup, such as heavy lipstick and foundation, can mimic digital retouching signatures, complicating the detection process.

Tool and Cultural Bias

The study also revealed that detection difficulty varies by software and culture. PortraitPro proved harder to detect than BeautyPlus, likely due to its more advanced blending algorithms. Furthermore, retouching was easiest to identify in Chinese faces and most difficult in Indian faces within the MDRF dataset, suggesting that regional preferences for specific types of alterations impact machine learning performance.

Results and Conclusion

The $S^3A$ model demonstrated superior performance over existing state-of-the-art methods and general-purpose deep learning features like VGG-Face. It achieved classification accuracies between 92.8% and 95.9% across various gender and tool combinations. Crucially, the model showed high stability in cross-ethnicity tests, proving that incorporating subclass information helps the system learn a more generalized and robust definition of "retouching."

Future work will focus on disentangling physical makeup from digital pixels and expanding the dataset to include a broader range of global demographics and age groups, further strengthening the reliability of facial verification systems in an era of digital enhancement.

Summary updated

BibTeX
@inproceedings{bharati2017demography,
  author = {Aparna Bharati and Mayank Vatsa and Richa Singh and Kevin W. Bowyer and Xin Tong},
  title = {{Demography-based facial retouching detection using subclass supervised sparse autoencoder}},
  booktitle = {IJCB},
  year = {2017},
  url = {https://openreview.net/forum?id=4_2gv0xLuB-},
}
Figure