Diagnosing and Correcting Skin-Tone Color Casts in Ultra-Lightweight Photo Retouching Networks

Choulhyouc LeearXiv 2026 · arXiv

TL;DR

Ultra-lightweight photo retouching networks trained via synthetic self-supervision often introduce a systematic green color cast on human skin that standard metrics like PSNR and SSIM fail to detect. This paper diagnoses the "chrominance-intrinsic" nature of this artifact and proposes a simple, zero-parameter skin-masked asymmetric loss that effectively eliminates the cast while maintaining a tiny 35 KB model footprint.

What Problem Does This Paper Address?

In the world of mobile photography, "ultra-lightweight" retouching networks (often under 40,000 parameters) are essential for real-time image enhancement. Because high-quality paired data (original vs. expert-retouched) is expensive to collect, researchers often use synthetic self-supervision: they take high-quality images, apply random degradations (like brightness or saturation shifts), and train a model to "undo" them.

The authors discovered a hidden cost to this popular recipe: models trained this way tend to render human skin visibly greener than the original. Crucially, this defect is "silent"—standard evaluation metrics like Peak Signal-to-Noise Ratio (PSNR) and Structural Similarity (SSIM) show no significant change, allowing biased models to reach deployment undetected. This has serious implications for both image quality and fairness in facial analysis.

Methods

The researchers took a multi-step approach to solve this:

  1. Diagnosis: They confirmed the cast is "chrominance-intrinsic," meaning it exists purely in the color channels and isn't a side effect of brightness (luminance) correction. They also found that the issue is tied to the training recipe (synthetic data) rather than the specific network architecture.
  2. Analysis of Failing Objectives: They showed that global-mean color losses fail because of "regional offsetting." A global model can satisfy a requirement to reduce greenness on average by adding magenta to the background while leaving the skin green.
  3. Skin-Masked Asymmetric Green-Excess Loss ($L_{skin}$): To fix this, they introduced a new loss function. During training, they use a simple YCbCr-based rule to create a skin mask. The loss then penalizes only the "excess green" (relative to the ground truth) specifically within that skin region.
  4. Asymmetry: By using a ReLU (Rectified Linear Unit) in the loss, they ensure the model is only penalized for being too green, not for being too magenta. This targeted approach prevents the loss from interfering with general color reconstruction.
A comparison showing the original input, the green-tinted baseline, and the corrected result.
Example of the input (left), the green-cast baseline (middle), and the corrected output (right).

Datasets

The study utilized several key datasets for a robust evaluation:

  • Training: A mix of DIV2K, LSDIR, and FFHQ (Flickr-Faces-HQ, 70,000 images).
  • Evaluation:
  • A 70-portrait subset of FFHQ stratified by skin tone (dark, medium, light).
  • CelebA-HQ: 500 real photographs used as a held-out test set to ensure the fix generalizes to real-world data.
  • MIT-Adobe FiveK: A standard benchmark for photo retouching used to verify that the fix doesn't harm overall fidelity.

Key Insights and Ideas

  • Metric Blindness: The most striking finding is that a model can have a perceptually obvious color cast while maintaining "competitive" PSNR/SSIM scores. This highlights the need for region-specific or perceptually-aligned metrics in retouching.
  • The "Regional Offsetting" Trap: Global affine models are clever; if you tell them to reduce the average green in an image, they might just turn the sky more purple rather than fixing the green tint on a person's face.
  • Recipe Over Architecture: The green cast appeared across different architectures (histogram-conditioned and CNN-conditioned) when trained on synthetic data, but disappeared when those same architectures were trained on real expert-retouched pairs. This points to the synthetic degradation process itself as the culprit.
  • Zero-Cost Inference: Because the skin mask is only used during training to provide better gradients, the final deployed model requires no face detector or masking logic, keeping it extremely fast and lightweight.

Key Results

The proposed $L_{skin}$ loss achieved dramatic improvements:

  • Cast Reduction: On the 70-portrait protocol, the number of images with a measurable green cast dropped from 52/70 to just 1/70.
  • Large-Scale Audit: Across the full 70,000-image FFHQ corpus, the cast rate fell from 68.1% to 2.2%.
  • Real-World Generalization: On the held-out CelebA-HQ photos, the cast rate dropped from 64.4% to 0.8%.
  • Efficiency: The final model is a mere 35 KB TFLite file, running in under 10ms on a mid-tier mobile NPU.
  • Fidelity: Standard PSNR/SSIM on the MIT-Adobe FiveK benchmark remained essentially unchanged, proving the fix is "surgical" and doesn't degrade overall image quality.

Limitations and Future Work

  • Magenta Trade-off: On "clean" inputs (images that don't need retouching), the model can sometimes over-correct, shifting skin slightly toward magenta.
  • Luminance Recovery: The authors noted that ultra-lightweight models still struggle to recover full brightness in heavily underexposed images due to capacity limits, requiring an optional manual gain control at inference time.
  • Data Representation: While the fix works across stratified tones, the authors acknowledge that the FFHQ dataset under-represents very dark skin tones, and future work should use more diverse scales like the Monk Skin Tone scale for even more rigorous fairness auditing.

Summary updated

Abstract

Color casts are expected to come from the scene or camera, and a retouching model removes them. We report a case where the model leaves one: an ultra-lightweight retouching network renders human skin greener than the original because it under-restores the skin chroma that a degradation removes and, even on clean inputs, adds a small hue shift of its own. A common paired-data-free recipe, synthetic self-supervision (degrade high-quality images, learn to restore them), silently produces this cast while whole-frame PSNR/SSIM stay essentially unchanged. In a representative 6,825-parameter histogram-conditioned network, the cast appears in 52 of 70 portraits under a ground-truth-anchored, white-balance-free protocol. Both a histogram-conditioned and a CNN-conditioned network develop the cast under synthetic self-supervision, yet both are near-neutral in-domain when trained on MIT-Adobe FiveK expert pairs. Image-level objectives miss it: a global-mean green loss worsens the cast (52/70 to 57/70). With zero added parameters, our per-pixel, skin-masked, asymmetric green-excess loss reduces the cast to 1/70 across stratified skin tones (68.1% to 2.2% over the 70,000-image FFHQ corpus; 64.4% to 0.8% on held-out CelebA-HQ photos). In-domain FiveK PSNR/SSIM are unchanged (+0.13 dB, +0.004), at the cost of a small whole-frame CIEDE2000 increase (8.77 to 9.69) and a magenta over-correction where skin is nearly neutral (skin Delta a* -1.5 to +4.4 and CIEDE2000 5.6 to 6.4 on clean inputs): the loss targets the signed green-magenta axis, not total skin-color fidelity. The same loss suppresses the cast across three ultra-light architectures. A whole-frame green metric correlates with skin-region CIEDE2000 at the method level (Spearman rho = 0.89). The final network exports to a 35 KB TFLite model.
BibTeX
@misc{lee2026diagnosing,
  author = {Choulhyouc Lee},
  title = {{Diagnosing and Correcting Skin-Tone Color Casts in Ultra-Lightweight Photo Retouching Networks}},
  year = {2026},
  eprint = {2611.22106},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.22106},
}
Figure