Visual generative AI models like DALL-E 3, Midjourney, and Stable Diffusion have revolutionized digital art, but their rise brings a massive legal headache: Intellectual Property (IP) infringement. Because these models are trained on vast datasets containing copyrighted characters, they can easily generate content that bears a striking resemblance to protected IPs from major entertainment companies like Sony, Marvel, and Nintendo.
A specific challenge identified in recent research is the use of "Lure Prompts." Even if a user avoids explicitly using a character's name, they can trigger the model to generate infringing content by providing highly descriptive details (e.g., "a superhero in a red and blue suit with web patterns"). Current safety filters often miss these descriptive bypasses. Furthermore, standard algorithmic metrics for image similarity (like L2 distance or LPIPS) frequently fail to capture the "essence" of a character that a human would immediately recognize as a copyright violation.
The TRIM Framework
To address this, researchers introduce TRIM (inTellectual pRoperty Infringement Mitigating), a novel, "plug-and-play" framework designed to detect and suppress the generation of copyrighted characters without the need for costly model retraining or fine-tuning. TRIM operates in three stages:
- Name Blocking: A Large Language Model (LLM), such as GPT-4, acts as a gatekeeper, identifying and rejecting prompts that explicitly mention protected character names or obvious variations.
- Output Infringement Detection: If a prompt passes the first gate, the model generates an initial image. This image is then analyzed by a Vision-Language Model (VLM), such as GPT-4V, which checks the output against a "watch list" of protected IPs.
- Infringement Suppression: If the VLM detects a violation, the system does not simply block the image; it regenerates it. It uses Classifier-Free Guidance (CFG), treating the name of the detected character as a negative prompt. This effectively "steers" the diffusion process away from copyrighted features while still attempting to satisfy the user's original descriptive request.
Experimental Setup and Key Insights
The researchers evaluated TRIM using a new benchmark targeting six iconic characters: Spider-Man, Iron Man, Incredible Hulk, Super Mario, Batman, and Superman. They tested seven popular models, including Stable Diffusion (v1.5, XL, XL-turbo), Kandinsky 2-1, DALL-E 3, and Midjourney, using both name-based and description-based lure prompts.
The findings revealed a wide "description loophole." Even without naming characters, models exhibited high memorization of IPs. For instance, description-based prompts triggered a 93.8% infringement rate for Superman on Stable Diffusion XL. Across almost all tested models, name-based prompts resulted in nearly 100% infringement rates.
However, TRIM proved highly effective at mitigating this issue. In experiments on Stable Diffusion XL, the framework reduced the IP infringement rate for Spider-Man from 76.6% to just 5.8% for description-based prompts. For other characters like Iron Man and Hulk, the rate dropped to 0%.
Crucially, this mitigation came with minimal quality loss. CLIP scores indicated only a slight decrease in alignment between the final image and the original prompt (e.g., dropping from 31.67 to 29.71). This suggests the negative guidance acts as a "scalpel" rather than a blunt instrument, preserving the model's creative utility while removing the specific infringing identity.
Limitations and Future Work
Despite its success, TRIM has limitations. The system occasionally leaves behind fine-grained iconic symbols, such as Superman’s "S" logo or Iron Man’s arc reactor, even when the general likeness is removed. Conversely, it can sometimes over-suppress, removing non-infringing elements that are conceptually close to the character.
Furthermore, running a VLM check on every generation adds computational overhead and latency to the user experience. Finally, the current suppression technique is specific to diffusion-based models; extending this framework to autoregressive models remains a necessary next step for comprehensive IP protection in generative AI.
Summary updated