Skip to content

ML-Security-Research-LAB/Eidolon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eidolon (CVPR 2026)

Eidolon overview

Code Repository for the CVPR 2026 Paper "Unleashing Stealthy Backdoor Pandemic by Infecting a Single Diffusion Model" paper

Environment

Create the conda environment from the provided file:

conda env create -f environment.yml
conda activate eidolon

Run all commands below from the repository root:

cd Eidolon

Quick Check

For a quick check, download the provided pretrained UNet and text encoder checkpoints and place them as:

models/unet/cifar10/checkpoint-600/unet/
models/text_encoder/cifar10/

unet

text-encoder

Then generate trojan images:

bash shells/generate_trojan_images.sh

Train the downstream classifier:

bash shells/train_downstream.sh

End-to-End

Run the scripts in this order:

bash shells/generate_clean_images.sh
bash shells/optimize_trigger.sh
bash shells/unet_train.sh
bash shells/text_encoder_train.sh
bash shells/generate_trojan_images.sh
bash shells/train_downstream.sh

About

Code Repository for the CVPR 2026 Paper "Unleashing Stealthy Backdoor Pandemic by Infecting a Single Diffusion Model"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors