Abstract
The booming use of text-to-image generative models has raised concerns about their high risk of producing copyright-infringing content. While probabilistic copyright protection methods provide a probabilistic guarantee against such infringement, in this paper, we introduce Virtually Assured Amplification Attack (VA3), a novel online attack framework that exposes the vulnerabilities of these protection mechanisms. The proposed framework significantly amplifies the probability of generating infringing content on the sustained interactions with generative models and a non-trivial lower-bound on the success probability of each engagement. Our theoretical and experimental results demonstrate the effectiveness of our approach under various scenarios. These findings highlight the potential risk of implementing probabilistic copyright protection in practical applications of text-to-image generative models.
Introduction
As text-to-image (T2I) models like Stable Diffusion and Midjourney become ubiquitous, the legal and ethical concerns regarding copyright infringement have intensified. These models occasionally "memorize" training data, producing near-exact replicas of copyrighted works. To mitigate this, researchers have developed probabilistic copyright protection mechanisms, such as Near Access-Freeness (NAF) and the CP-k algorithm. These defenses aim to keep the probability of generating a copyrighted image below a strict mathematical threshold by comparing generated outputs against "safe" reference models.
However, these defenses typically assume a "single-shot" interaction. This paper identifies a critical vulnerability: in real-world scenarios, users interact with models iteratively. We demonstrate that even if a defense makes infringement unlikely in a single instance, a persistent attacker can "amplify" that small probability into a near-certainty through repeated interactions.
The VA3 Framework
We propose the Virtually Assured Amplification Attack (VA3), an online framework designed to bypass probabilistic filters by exploiting the iterative nature of T2I generation. The framework consists of three primary components:
- Online Attack Strategy: Instead of a single attempt, the attacker treats the process as a sequence. By generating multiple samples and selecting the one that most closely matches the copyrighted target, the attacker effectively collapses the probabilistic bounds of the defense.
- Anti-NAF (Adversarial Prompt Optimization): This white-box attack optimizes prompts to simultaneously force the model to reconstruct copyrighted content while tricking protection mechanisms. It does this by maximizing the output's likelihood under the "safe" reference models used by the filter.
- Online Prompt Selection: To enhance efficiency, we utilize Multi-Armed Bandit algorithms (specifically $\epsilon$-greedy). This allows the attacker to dynamically explore and exploit candidate prompts that exhibit a higher False Accept Rate (FAR).
Experimental Evaluation
We evaluated the VA3 framework using two primary datasets:
- POKEMON: 833 image-caption pairs used to fine-tune Stable Diffusion models, simulating copyrighted "targets" and "safe" baselines.
- LAION-mi: A subset of the LAION dataset used to test membership inference and memorization.
Experiments were conducted on Stable Diffusion v1-4, with transferability tests performed on Stable Diffusion v1-5.
Results and Discussion
Our results indicate that probabilistic guarantees are insufficient against sustained attacks. On the POKEMON dataset, while the CP-k protection mechanism maintained a low False Accept Rate (FAR) of 0.40% for benign prompts, the VA3 amplification attack using Anti-NAF prompts achieved an infringement probability of 99.84%.
Key insights from our evaluation include:
- The Power of Iteration: A 1% success rate per attempt compounds into a 99% overall success rate after approximately 459 interactions. This demonstrates that probability is not a definitive barrier against a persistent adversary.
- The "Safe" Model Trap: Anti-NAF optimization can bridge the statistical gap between "protected" and "safe" models, making infringing content indistinguishable from benign content to the filter.
- Transferability: Prompts optimized for one model version (v1-4) remained highly effective against another (v1-5), suggesting that these vulnerabilities are inherent to the underlying model architectures.
Conclusion and Future Work
VA3 serves as a critical evaluation of current AI safety measures, proving that probabilistic guarantees are only as strong as the interaction limits placed on the user. While our most potent attack (Anti-NAF) currently requires white-box access to model parameters, future research should focus on black-box prompt optimization to assess risks in commercial API-based environments. As T2I models continue to evolve, robust copyright protection must account for the reality of iterative, adversarial user engagement.
Summary updated