k8xu / ImageAttribution

Detecting Image Attribution for Text-to-Image Diffusion Models in RGB and Beyond
9 stars 0 forks source link
computer-vision diffusion-models generative-models image-forensics

Detecting Image Attribution for Text-to-Image Diffusion Models in RGB and Beyond

Paper | arXiv | Demo | Bibtex

Open in Colab

Katherine Xu$^{1}$, Lingzhi Zhang$^{2}$, Jianbo Shi$^1$
$^1$ University of Pennsylvania, $^2$ Adobe Inc.

🚀 Updates

Setup

Demo

Download a torchscript checkpoint and place it under the specified folder. Model Name Torchscript Folder Test Accuracy
efficientformer efficientformer_torchscript (118M) ./deployment/efficientformer 90.03%

We randomly sampled 10 test images per class, so you can quickly try our image attributor. Please check out ./images.

python demo.py --img {IMAGE PATH}

Citation

If you find our work useful, please cite our paper:

@article{xu2024detecting,
    title={Detecting Image Attribution for Text-to-Image Diffusion Models in RGB and Beyond},
    author={Xu, Katherine and Zhang, Lingzhi and Shi, Jianbo},
    journal={arXiv preprint arXiv:2403.19653},
    year={2024}
}