Artwork Protection Against Neural Style Transfer Using Locally Adaptive Adversarial Color Attack

Zhongliang Guo, Junhao Dong, Yifei Qian, Kaixuan Wang, Weiye Li, Ziheng Guo, Yuheng Wang, Yanli Li, Ognjen Arandjelović, Lei Fang · DOI

TL;DR

Researchers have developed LAACA (Locally Adaptive Adversarial Color Attack), a proactive tool that allows artists to "poison" their digital artwork against unauthorized Neural Style Transfer (NST). By adding visually imperceptible, frequency-adaptive perturbations, LAACA ensures that while the original art looks pristine to humans, any AI-generated attempt to steal its style results in a distorted, low-quality mess.

What Problem Does This Paper Address?

Neural Style Transfer (NST) has become a powerful tool for creating art, but it also enables "style theft," where AI models can extract the essence of a professional artist's work and apply it to new content without permission. Current defenses like watermarking or steganography are mostly reactive—they help prove a violation happened after the fact.

The authors identify a lack of proactive defenses that prevent the AI from successfully performing the transfer in the first place. Furthermore, they point out that standard image quality metrics (like SSIM or LPIPS) are often "color-blind," failing to accurately measure the color fidelity that is so critical to artistic style.

Methods

The paper introduces two major contributions: a new attack method and a new evaluation metric.

1. LAACA (Locally Adaptive Adversarial Color Attack)

LAACA is an adversarial attack designed to be content-independent. Instead of attacking the final stylized image, it "protects" the source style image.

  • Frequency-Adaptive Perturbations: The core innovation is using a frequency separator (a low-pass Gaussian filter) to divide the image into high-frequency and low-frequency zones. LAACA strategically embeds perturbations primarily in the high-frequency zones, where human vision is less sensitive to changes, maintaining the original artwork's visual integrity (see Figure 3).
  • Color-Disruptive Loss: The attack optimizes a surrogate loss function that targets the mean ($\mu$) and standard deviation ($\sigma$) of intermediate VGG network features. In NST, these statistics are known to represent color and texture/contrast. By disrupting them, the attack breaks the AI's ability to replicate the style.
Figure 3: Comparison of different perturbation patterns. Restricting noise to high-frequency components (Is + H) preserves the best visual integrity.

2. ACDM (Aesthetic Color Distance Metric)

To better evaluate these color-sensitive tasks, the authors proposed ACDM.

  • It operates in the LAB color space, which is more perceptually uniform than RGB.
  • It uses Earth Mover’s Distance (EMD) to compare color histograms. Unlike simple bin-wise comparisons, EMD accounts for the "shape" of the color distribution, making it much more sensitive to the subtle color shifts that define artistic style.

Datasets

The researchers evaluated their method using:

  • MS-COCO: Used for content images.
  • WikiArt: Used for style images.
  • Evaluation Set: A random sample of approximately 300 pairs of style and content images to test against five popular NST methods (Gatys, AdaIN, OST, SANet, and EFDM).

Key Insights and Ideas

  • The "Invisible Poison" Strategy: By targeting the internal feature representations of neural networks rather than the pixels directly, LAACA creates a "trap" that only triggers when the image is processed by an AI.
  • Human vs. Machine Perception: The paper leverages the fact that humans and neural networks "see" differently. We are less sensitive to high-frequency noise, but NST models rely on those exact signals to extract style features.
  • Metric Superiority: The authors demonstrate that standard metrics like SSIMc are more sensitive to structural changes (content) than color changes (style). ACDM showed a 542.67% change ratio between positive and negative style pairs, compared to only 41.83% for SSIMc, proving it is a far more effective tool for measuring style consistency.

Key Results

LAACA proved highly effective at disrupting style transfer while keeping the original art looking clean:

  • Superior Protection: LAACA achieved an SSIMc score (structural similarity) nearly double that of the baseline Universal Adversarial Perturbation (UAP), indicating much better preservation of the original artwork's appearance.
  • Effective Disruption: When unauthorized NST was attempted on protected images, the resulting outputs were visually inferior, showing colors and textures not present in the original (see Figure 2).
  • Robustness: The protection remained effective even after common image degradations like JPEG compression (75% quality) and Gaussian blurring.
Figure 2: Adversarial examples against 5 NST methods on different style images and content images. For each item, on the far left, we exhibit the foundational images: the original style image at the top while the post-attack style image below it. Progressing to the right, the sequence is organized into four distinct groups for analysis. Each group commences with the content image, which provides the subject for the NST. Subsequent columns within each group depict the results of various NST methods (from left to right, they are Gatys [8], AdaIN [15], OST [26], SANet [31], and EFDM [42]). The top row across these groups showcases results from the original NST, the bottom row, in contrast, illustrates the post-attack NST outcomes. Specifically, most images displayed colors that were not visually present in the original style image and post- attack style image. Also, the textures in most images also suffer from disturbance.

Limitations and Future Work

While promising, the authors note a few hurdles:

  • Computational Cost: The current runtime on standard GPUs is not yet optimal for real-time use by individual artists.
  • Hyperparameter Sensitivity: The method involves several hyperparameters (like the kernel size $k$ and perturbation budget $\epsilon$) that may need to be tuned for different types of art.
  • Future Directions: The team plans to explore making these parameters adaptive based on the image content and improving efficiency. They also suggest that categorizing art styles (e.g., abstract vs. realistic) could lead to even more specialized and effective protection strategies.

Summary updated

BibTeX
@inproceedings{guo2024artwork,
  author = {Zhongliang Guo and Junhao Dong and Yifei Qian and Kaixuan Wang and Weiye Li and Ziheng Guo and Yuheng Wang and Yanli Li and Ognjen Arandjelović and Lei Fang},
  title = {{Artwork Protection Against Neural Style Transfer Using Locally Adaptive Adversarial Color Attack}},
  booktitle = {ECAI},
  year = {2024},
}
Figure