Neural Plagiarism

December 5, 2025 ยท View on GitHub

Official Implementation of ICCV 2025 paper "Attention to Neural Plagiarism: Diffusion Models Can Plagiarize Your Copyrighted Images!".

[ICCV Page][Poster]

Citation:

@InProceedings{Zou_2025_ICCV,
    author    = {Zou, Zihang and Gong, Boqing and Wang, Liqiang},
    title     = {Attention to Neural Plagiarism: Diffusion Models Can Plagiarize Your Copyrighted Images!},
    booktitle = {Proceedings of the IEEE/CVF International Conference on Computer Vision (ICCV)},
    month     = {October},
    year      = {2025},
    pages     = {19546-19556}
}

Plagiarism Attack:

Our plagiarism attack is a general, training-free, untargeted attack on copyrighted data. It exploits the attention mechanisms underlying advanced neural models to remove copyright markers, ranging from invisible watermarks to visible signatures.

Example: plagiarize Elon Musk portrait

These attacked images resemble Elon Musk, but none of these can be him without complicated facial surgery or genetic engineering :)

Attack pipeline: Our attack adds shims to anchor variable to diverge the trajectory of the copyrighted data and introduce different level of semantic alterations to bypass copyright protection. As shown below, we can generate a semantic similar plagiarized image without knowing the prompt or watermarking methods of target image. More details can be seen in our poster and paper.

For visible watermark, add large semantic alteration,

python optimize_latent_images_folder.py --target_folder YOUR_IMAGES_DIR_TO_BE_ATTACKED --gen_seed 0 --start 0 --end 1000 --gpu 0 --start_step 15 --k 25 45 --eps 10 --iters 10 --output_folder YOU_OUTPUT_DIR

For invisible watermark, add small unnoticeable noise,

python optimize_latent_images_folder.py --target_folder YOUR_IMAGES_DIR_TO_BE_ATTACKED --gen_seed 0 --start 0 --end 1000 --gpu 0 --start_step 45 --k 47 --eps 10 --iters 10 --noisy_start --output_folder YOU_OUTPUT_DIR