Assessing the Efficacy of Invisible Watermarks in AI-Generated Medical Images

Xiaodan Xing, Huiyu Zhou, Yingying Fang, Guang Yang

Abstract

As synthetic medical imaging becomes a primary tool for addressing data scarcity, the risk of "data pollution"—the unintentional inclusion of synthetic images in real-world datasets—grows. Invisible watermarking offers a potential solution for identifying AI-generated content without compromising visual diagnostic quality. This study evaluates the impact of frequency-based watermarking on the utility of synthetic chest X-rays. While results indicate that watermarking preserves basic image fidelity and performance on specific tasks, it significantly impairs the ability of AI models to generalize across different clinical populations, revealing a critical trade-off between data provenance and model robustness.

1. Introduction

The integration of Generative Adversarial Networks (GANs) and Latent Diffusion Models (LDMs) into medical imaging has provided a pathway to overcome data scarcity. However, the proliferation of high-fidelity synthetic images introduces the risk of data pollution, where unlabeled synthetic data degrades the integrity of future training sets or facilitates fraudulent activity.

Invisible watermarking—embedding a digital signature into image pixels—is a proposed safeguard. While these marks are designed to be imperceptible to human radiologists, their impact on the underlying mathematical features used by machine learning models remains poorly understood. This paper investigates whether the process of watermarking synthetic medical images compromises their utility for training downstream AI applications.

2. Methodology

2.1 Generative Architectures

The researchers evaluated two state-of-the-art generative frameworks:

  • StyleGAN2: A Generative Adversarial Network known for high-resolution synthesis.
  • Latent Diffusion Models (LDMs): A class of generative models that learn to reverse a gradual noise process.

2.2 Watermarking Technique

The study employed a traditional hybrid watermarking method combining Discrete Wavelet Transform (DWT) and Discrete Cosine Transform (DCT). This approach embeds the identifier (the string "synthetic") into the frequency domain of the image. Frequency-domain embedding is typically favored for its robustness against common image processing tasks like compression or resizing.

2.3 Evaluation Framework

The evaluation utilized a two-pronged approach:

  1. Quality Analysis: Using the MedSynAnalyzer tool, the authors measured fidelity (visual realism), variety (diversity of the generated set), and privacy.
  2. Utility Analysis: The authors assessed "intra-class" utility (performance on the same clinical task used for training) and "cross-class" utility (the ability of a model trained on synthetic data to generalize to a different patient population).

3. Experimental Setup

3.1 Datasets

  • CheXpert: A large-scale dataset of adult chest X-rays. The study focused on the detection of Pleural Effusion (PE), partitioning the data into training (A1, A2), validation (B), and test (C) sets.
  • Pediatric X-ray Dataset: An independent dataset of 5,863 pediatric images (Dataset D) used specifically to test the cross-class generalization of models trained on adult synthetic data.

4. Results and Discussion

4.1 The Fidelity Paradox

One of the study's primary findings is the discrepancy between standard quality metrics and actual model utility. Traditional metrics like the Fréchet Inception Distance (FID) and Fidelity scores showed negligible changes after watermarking. For instance, the Fidelity score for StyleGAN-generated images shifted only from 0.378 to 0.377 after the watermark was applied. This suggests that while the watermark is "invisible" to spatial-based quality metrics, it is not "invisible" to the learning process.

4.2 The Generalization Trap

The most significant finding involves the "cross-class" utility. While models trained on watermarked synthetic data performed adequately when tested on similar adult data (intra-class), there was a significant drop in accuracy when those same models were tested on the pediatric dataset (Dataset D).

This suggests that the DWT+DCT watermarking process acts as a frequency filter. By altering the frequency domain to embed the signature, the process appears to strip away or obscure the subtle, high-frequency features that are essential for a model to learn robust, transferable medical representations. Consequently, while the images look "real" to a human and pass basic quality checks, they lose the deep clinical features required for generalization.

5. Conclusion and Future Work

The study concludes that traditional frequency-based watermarking, while effective for identification, may be too "heavy-handed" for medical imaging applications where subtle textures are paramount. The "Generalization Trap" highlights a need for more sophisticated provenance methods.

Future research directions include: * Deep Learning-based Watermarking: Exploring methods like SynthID, which may be more feature-aware and less disruptive to downstream utility. * Frequency-Sensitive Metrics: Developing new quality benchmarks that account for frequency-domain shifts, as current spatial metrics fail to predict the loss of generalization. * Architecture Resilience: Investigating whether certain generative architectures are inherently more resilient to the noise introduced by watermarking processes.

Summary updated

BibTeX
@inproceedings{xing2024assessing,
  author = {Xiaodan Xing and Huiyu Zhou and Yingying Fang and Guang Yang},
  title = {{Assessing the Efficacy of Invisible Watermarks in AI-Generated Medical Images}},
  booktitle = {ISBI},
  year = {2024},
  url = {https://openreview.net/forum?id=tTCzlXaT34},
}
Figure