Abstract
The rise of Arbitrary Neural Style Transfer (ANST) has made it trivial to replicate an artist's unique aesthetic without permission. While adversarial perturbations can block style transfer, existing methods are typically "all-or-nothing," preventing even authorized use. This paper introduces the Artistic Style Protection Scheme (ASPS), a selective defense mechanism. ASPS uses a WaveGAN-based generator to add invisible perturbations that degrade the output of unauthorized models while allowing authorized models—fine-tuned to recognize the noise—to produce high-quality results.
Introduction
With the proliferation of AI-driven art tools, protecting an artist's intellectual property has become increasingly difficult. Specifically, Arbitrary Neural Style Transfer (ANST) allows users to extract the color, texture, and brushwork of a style image and apply it to any content image. While previous research has employed adversarial attacks to "break" these models, these defenses lack granularity. An artist may wish to allow a specific platform to use their style while blocking others. ASPS addresses this by creating "protected" images with built-in permission logic.
Methodology
The ASPS framework treats style protection as a dual-optimization problem involving a protection stage and a training stage.
- Adversarial Perturbation Generation: A WaveGAN generator (U-Net architecture) creates perturbations. To ensure these remain invisible to humans, the system utilizes Discrete Wavelet Transform (DWT), hiding the noise in high-frequency components where it is less perceptible.
- Dual-Objective Loss: The core innovation is a loss function that simultaneously maximizes the distance between the original style and unauthorized model outputs (causing distortion) while minimizing the distance for authorized models (preserving quality).
- Multi-Level Defense: The scheme employs pixel-level reconstruction loss, feature-level perceptual loss, and style loss (targeting feature distribution mean and variance).
- Training Strategy: Unauthorized models remain frozen, while the generator and authorized model are co-trained. This allows the authorized model to learn to bypass the specific perturbations that baffle other models.
Experimental Setup
The authors evaluated ASPS using the MS-COCO dataset for content images and WikiArt for style images. The training set included 20,000 images from each, with a 200-image test set. Performance was measured using Color Distance (CD), Learned Perceptual Image Patch Similarity (LPIPS), and Structural Similarity (SSIM).
Results and Discussion
Quantitative results demonstrate the effectiveness of selective authorization. For instance, when SANet was the authorized model, its Color Distance improved significantly (dropping from 10.350 to 9.610), and its perceptual error (LPIPS) was halved compared to its performance as an unauthorized model. Qualitatively, unauthorized models produced images filled with messy artifacts and incorrect color shifts, whereas authorized models produced stylizations indistinguishable from those using clean images.
Key insights include:
- Authorization via Fine-Tuning: The symbiotic relationship between the perturbation and the authorized model allows for precise control.
- Frequency-Domain Hiding: DWT effectively hides the "authorization key" from human perception while remaining visible to neural networks.
- Generalization: Ensembling unauthorized models during training allows the defense to generalize well against unknown architectures.
Conclusion and Future Work
ASPS provides an efficient, generator-based solution for selective style protection. However, current limitations include the requirement for white-box access to the authorized model's parameters during training. Future work could explore robustness against image processing (e.g., JPEG compression) and extending the framework to protect against Deepfakes by authorizing specific facial editing while blocking unauthorized face-swapping.
Summary updated