AutoRetouch: Automatic Professional Face Retouching

Alireza Shafaei, James J. Little, Mark SchmidtWACV 2021

Abstract: Face retouching is one of the most time-consuming steps in professional photography pipelines. The existing automated approaches blindly apply smoothing on the skin, destroying the delicate texture of the face. We present the first automatic face retouching approach that produces high-quality professional-grade results in less than two seconds. Unlike previous work, we show that our method preserves textures and distinctive features while retouching the skin. We demonstrate that our trained models generalize across datasets and are suitable for low-resolution cellphone images. Finally, we release the first large-scale, professionally retouched dataset with our baseline to encourage further work on the presented problem.

Introduction

Professional face retouching is a critical yet labor-intensive bottleneck in photography, often requiring several minutes of manual work per portrait. While consumer-grade "beautification" filters are ubiquitous, they typically rely on aggressive smoothing algorithms that result in a "plastic" look. These filters fail to distinguish between temporary blemishes and permanent, identifying features like pores, fine lines, or moles.

The technical challenge lies in high-resolution sparse editing. A professional retoucher might only modify 10-40% of the pixels in an image. Standard image-to-image translation models often struggle with this sparsity, either introducing artifacts or requiring excessive memory to process high-resolution studio images.

Methodology

The authors propose a fully convolutional neural network (FCN) designed for efficiency and detail preservation. The architecture is optimized for a low memory footprint (20 MB), allowing it to handle images up to 24MP on consumer hardware.

AutoRetouch architecture overview and qualitative patch comparisons.

Key components of the method include:

  • Architecture: The model avoids heavy downsampling to preserve fine texture and utilizes additive skip connections to facilitate the direct transfer of untouched pixels from input to output.
  • Tripartite Loss Function: The network is trained using a combination of Direct MSE (for global consistency), Perceptual Loss (VGG-14 for structural features), and a Relativistic Average GAN (RAGAN). The RAGAN loss acts as the "secret sauce," encouraging the network to make minimal, realistic changes by teaching it to leave "good" pixels alone.
  • Sliding Window Inference: To maintain scalability, the network uses a sliding-window strategy, allowing it to process images of any size without losing global context.

Datasets

The paper introduces two significant datasets to the research community:

  1. FFHQR (Flickr-Faces-HQ-Retouched): A publicly released dataset of 70,000 high-quality face images from the FFHQ set, retouched by professional editors. This is the first large-scale, open dataset of its kind.
  2. Studio Data: A private dataset of over 200,000 image pairs captured in controlled studio environments with DSLR cameras.

Key Results and Insights

The model achieves professional-grade results with remarkable efficiency, processing a 1024x1024 image in just 1.1 seconds on a Titan RTX GPU. In blind A/B tests, professional retouchers preferred the AutoRetouch output over manual "ground truth" retouching 76.3% of the time on studio data.

Qualitative results showing original images (left) versus AutoRetouch results (right) across different subjects.

Texture Preservation and Generalization

Unlike commercial tools that erase skin pores, AutoRetouch removes acne and redness while keeping the underlying skin grain intact. The authors also highlighted the "PSNR Paradox": standard metrics like PSNR and SSIM are poor indicators of retouching quality, as a model can score highly by doing nothing. Human perceptual tests remain the gold standard. Furthermore, the model generalizes well to low-resolution, noisy smartphone photos, suggesting it has learned a robust representation of skin health rather than dataset-specific shortcuts.

Limitations and Future Work

While highly effective, the model can struggle with severe skin conditions or atypical blemishes that require significant structural changes. Additionally, the current architecture focuses solely on texture and blemish retouching; professional pipelines also involve color correction and "dodging and burning," which are areas for future expansion. Finally, expanding the dataset to include a wider variety of lighting conditions and skin tones will continue to improve the model's robustness.

Summary updated

BibTeX
@inproceedings{shafaei2021autoretouch,
  author = {Alireza Shafaei and James J. Little and Mark Schmidt},
  title = {{AutoRetouch: Automatic Professional Face Retouching}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2021},
  url = {https://openreview.net/forum?id=WsHWj39ZNf},
}
Figure