Controllable and Gradual Facial Blemishes Retouching via Physics-Based Modelling

Chenhao Shuai, Rizhao Cai, Bandara Dissanayake, Amanda Newman, Dayan Guan, Dennis Sng, Ling Li, Alex KotarXiv 2024

TL;DR

Researchers have developed Controllable and Gradual Face Retouching (CGFR), a physics-based approach that realistically simulates the fading of skin blemishes over time. Unlike standard AI retouching that simply "erases" spots, this method uses skin optics and chromophore decomposition to provide precise, natural-looking control over the healing process of acne and pigmentation.

What Problem Does This Paper Address?

Most facial retouching tools—from Instagram filters to advanced deep learning models—are designed for "beautification." They focus on the final result: a blemish-free face. However, they struggle with the intermediate process.

In the skincare and cosmetic industries, researchers need to visualize the efficacy of a product. If a cream takes six weeks to fade a dark spot, a simple "before and after" isn't enough. We need to see the gradual, nuanced transition. Current methods often produce "over-smoothed" patches or unnatural artifacts because they don't understand the underlying biology of the skin. They treat pixels as flat data rather than a layered, light-scattering material.

Methods

The authors move away from "black-box" deep learning and return to physics-based modelling. Their CGFR pipeline follows three main steps:

  1. Layer Separation: The image is split into a Texture Layer (surface details like fine hairs and pores) and a Diffusion Layer (subsurface colors). This ensures that while the blemish fades, the skin's natural texture remains untouched.
  2. Chromophore Decomposition: Using a technique called Fast Independent Component Analysis (FastICA), the model decomposes the skin's color into three components: Melanin, Haemoglobin (redness), and a residual term. This is based on the Beer-Lambert law of light absorption.
  3. Sum-of-Gaussians Modelling: Blemishes aren't sharp-edged; they have blurred boundaries due to subsurface scattering (light bouncing around inside the skin). The authors model these spots using a "Sum-of-Gaussians" approach, which allows them to fit complex, irregularly shaped blemishes using multiple 2D Gaussian functions that can rotate and stretch.
Fig. 1: An overview of our CGFR pipeline. In our pipeline, a box of Region of Interest (ROI) is first used to select the blemish like pigmentation or acne. Then, a Layer Separation Filter is applied to separate the texture layer and the diffusion layers. A Sum-of-Gaussians model is fitted to each ROI in Melanin/haemoglobin color space, with the parameters of the fitted model adjusted to manipulate the appearance of the blemishes. The modified diffusion layer is summed with the original texture layer to obtain the output.

By adjusting a single "gain" parameter ($\alpha$), a user can precisely fade or intensify a specific blemish without affecting the surrounding skin or texture.

Datasets

The study utilized a self-collected clinical dataset captured using professional systems (Visia CR4 and OLE).

  • Timeline: The data spans 12 weeks, recording the actual natural recovery process of facial blemishes.
  • Purpose: This real-world clinical data served as the "ground truth" to validate whether the algorithm's simulated fading matched how skin actually heals in real life.

Key Insights and Ideas

  • Biology over Big Data: Because this is a physics-based model, it doesn't require massive, paired datasets for training. It works "out of the box" on individual image patches.
  • Decoupling is Key: By separating melanin from hemoglobin, the tool allows for independent control. You can fade the redness of an acne scar (hemoglobin) without changing the underlying skin tone (melanin), or vice versa.
  • Subsurface Scattering Matters: The "aha moment" here is using Gaussians to represent the way light diffuses through skin layers. This prevents the "pasted-on" look common in digital editing.
The model allows independent control over Melanin and Hemoglobin concentrations.

Key Results

The researchers compared CGFR against industry standards like Adobe Photoshop (inpainting) and Stable Diffusion.

  • Quantitative: CGFR achieved lower FID scores (a measure of image realism) across almost all fading rates compared to Photoshop and Stable Diffusion. For a 100% removal rate, CGFR scored 115.30 vs. Photoshop's 117.98.
  • Qualitative: Photoshop often produced over-smoothed, "blurry" patches, while Stable Diffusion created visible artifacts and color mismatches. CGFR maintained sharp skin pores and hairs even as the blemish disappeared.
  • Perception Study: In a blind test with 48 images, laypeople found it difficult to distinguish CGFR-modified images from real ones. Only 30.6% of participants correctly identified modified images as "altered," which is remarkably close to the 23.6% who mistakenly thought real images were altered.
Comparison shows CGFR (Ours) preserves texture better than Photoshop (PS) or Stable Diffusion (SD).

Limitations and Future Work

While powerful, the current version of CGFR has a few hurdles:

  • Manual Intervention: Users currently need to manually select a "Region of Interest" (ROI) box around the blemish. Future work aims to automate this detection.
  • Lighting Constraints: The model assumes relatively standard lighting. Its performance in complex, highly directional, or colored lighting environments remains untested.
  • Computational Cost: Fitting multiple Gaussians via least-squares optimization is more computationally intensive than a simple pixel filter, though it is more accurate.

This research opens a new door for the "Beauty-Tech" sector, moving beyond simple filters toward scientifically grounded visualizations of skin health.

Summary updated

BibTeX
@misc{shuai2024controllable,
  author = {Chenhao Shuai and Rizhao Cai and Bandara Dissanayake and Amanda Newman and Dayan Guan and Dennis Sng and Ling Li and Alex Kot},
  title = {{Controllable and Gradual Facial Blemishes Retouching via Physics-Based Modelling}},
  year = {2024},
  eprint = {2406.13227},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.13227},
}
Figure