Fake Colorized Image Detection

Yuanfang Guo, Xiaochun Cao, Wei Zhang, Rui Wang · DOI

Introduction

As generative AI continues to advance, the line between authentic photography and synthetic imagery blurs. While much of image forensics has historically focused on detecting physical manipulations like splicing or inpainting, a new frontier has emerged: automatic colorization. Modern deep learning models can now transform grayscale historical photos into vibrant color images that are often visually indistinguishable from real photographs to the human eye. However, these AI-driven transformations leave behind subtle statistical inconsistencies that researchers are now learning to exploit.

The Forensic Challenge

Automatic colorization isn't just a tool for historical restoration; it poses a significant security risk. Malicious actors can use colorization to create misleading evidence or to bypass object recognition systems that rely on color cues. Because these generative techniques do not involve the typical artifacts of manual editing—such as jagged edges or cloned pixels—traditional forensic tools are largely ineffective. This research introduces the first forensic techniques specifically designed to identify the "statistical fingerprints" left by AI colorization engines.

Proposed Detection Methods

The researchers developed two primary detection schemes based on the observation that AI-colorized images struggle to replicate the complex statistical distributions found in natural color. Their analysis focuses on four key channels: Hue (H), Saturation (S), and the Extreme Channels Prior (ECP), which includes the Dark Channel and the Bright Channel.

  1. FCID-HIST (Histogram-based): This method analyzes the normalized histograms of the four channels. It identifies the most distinctive bins—where the statistical gap between real and fake images is widest—and calculates the "total variation" to measure the smoothness of the color distribution.
  2. FCID-FE (Feature Encoding-based): This more advanced approach treats the H, S, and ECP values as a four-dimensional sample. By modeling these samples using a Gaussian Mixture Model (GMM) and encoding them into Fisher Vectors, the system captures higher-order statistical divergences that simple histograms might overlook.

In both methods, a Support Vector Machine (SVM) serves as the final classifier to distinguish between "Real" and "Fake" images.

Experimental Evaluation

To test these methods, the researchers constructed several datasets (D1-D7) using 10,000 natural images from ImageNet and corresponding versions colorized by state-of-the-art algorithms (Larsson et al., Zhang et al., and Iizuka et al.). The testing also included the Oxford Building dataset to evaluate performance across different image categories, such as architecture versus general objects.

Key Insights: The AI's Statistical Fingerprint

The study revealed several consistent flaws in AI colorization:

  • Saturation Deficit: AI models tend to "play it safe," resulting in colors that are generally less saturated than those in natural images.
  • Color Favoritism: Generative models often over-rely on specific hues, creating unnatural peaks in the hue histogram.
  • Extreme Channel Inconsistencies: The Dark and Bright channels, originally used for image dehazing, proved to be powerful forensic markers. Colorization inevitably alters local pixel intensities, creating anomalies in the darkest and brightest regions that models fail to account for.
The forensic methods are tested against various image categories, including portraits and industrial architecture, to ensure cross-domain robustness.

Results and Robustness

Performance was evaluated using the Half Total Error Rate (HTER). When trained and tested on the same colorization method, the FCID-FE approach achieved an HTER as low as 16.99%. More importantly, FCID-FE demonstrated superior generalization; it remained effective even when the training and testing data came from different sources (e.g., training on ImageNet and testing on Oxford Buildings). This suggests that the identified statistical features are inherent to the colorization process itself, rather than specific to one dataset.

Conclusion and Future Work

While these methods represent a significant step forward in digital forensics, they are not infallible. Performance can dip when encountering entirely new colorization architectures or vastly different image content. Future research will focus on developing model-agnostic features and investigating the impact of post-processing techniques, such as JPEG compression, which may obscure the subtle statistical traces these detectors rely on.

Summary updated

BibTeX
@article{guo2018fake,
  author = {Yuanfang Guo and Xiaochun Cao and Wei Zhang and Rui Wang},
  title = {{Fake Colorized Image Detection}},
  journal = {IEEE Trans. Inf. Forensics Secur.},
  year = {2018},
  doi = {10.1109/tifs.2018.2806926},
}
Figure