Papers › UnlearnCanvas: Stylized Image Dataset for Enhanced Machine Unlearning Evaluation in...

UnlearnCanvas: Stylized Image Dataset for Enhanced Machine Unlearning Evaluation in Diffusion Models

19 Feb 2024arXiv:2402.11846archive 2025-07-28

Yihua Zhang, Chongyu Fan, Yimeng Zhang, Yuguang Yao, Jinghan Jia, Jiancheng Liu, Gaoyuan Zhang, Gaowen Liu, Ramana Rao Kompella, Xiaoming Liu, Sijia Liu

The technological advancements in diffusion models (DMs) have demonstrated unprecedented capabilities in text-to-image generation and are widely used in diverse applications. However, they have also raised significant societal concerns, such as the generation of harmful content and copyright disputes. Machine unlearning (MU) has emerged as a promising solution, capable of removing undesired generative capabilities from DMs. However, existing MU evaluation systems present several key challenges that can result in incomplete and inaccurate assessments. To address these issues, we propose UnlearnCanvas, a comprehensive high-resolution stylized image dataset that facilitates the evaluation of the unlearning of artistic styles and associated objects. This dataset enables the establishment of a standardized, automated evaluation framework with 7 quantitative metrics assessing various aspects of the unlearning performance for DMs. Through extensive experiments, we benchmark 9 state-of-the-art MU methods for DMs, revealing novel insights into their strengths, weaknesses, and underlying mechanisms. Additionally, we explore challenging unlearning scenarios for DMs to evaluate worst-case performance against adversarial prompts, the unlearning of finer-scale concepts, and sequential unlearning. We hope that this study can pave the way for developing more effective, accurate, and robust DM unlearning methods, ensuring safer and more ethical applications of DMs in the future. The dataset, benchmark, and codes are publicly available at https://unlearn-canvas.netlify.app/.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2402.11846")

Code

Syntology Ran 52 of 74 code samples harvested from 8 repositories linked to this paper; 22 have no recorded run. Of those that ran: 2 ran · honoured contract; 1 ran · violated contract; 10 ran · our draft was wrong; 2 ran · fixture could not drive it; 37 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 9 ran; found in paper text by Syntology: 62 samples from 7 repositories, 43 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

optml-group/unlearncanvas officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

74 samples harvested; 52 ran; 2 honoured the contract we drafted; 22 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · honoured contract
1ran · violated contract
10ran · our draft was wrong
2ran · fixture could not drive it
37ran
22unverified

Licence: 32 of the 74 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 8 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

append_zero optml-group/unlearncanvas/diffusion_model_finetuning/edm_sampler/sampling.py official repository ran fingerprinted no licence file found · pointer only · 4b1e44a59b2094f3 · report
from_pil_image optml-group/unlearncanvas/diffusion_model_finetuning/edm_sampler/utils.py official repository ran no licence file found · pointer only · 5c07965b9fb3ae74 · report
get_sigmas_exponential optml-group/unlearncanvas/diffusion_model_finetuning/edm_sampler/sampling.py official repository ran no licence file found · pointer only · c7a8a88e04fd5351 · report
get_sigmas_karras optml-group/unlearncanvas/diffusion_model_finetuning/edm_sampler/sampling.py official repository ran no licence file found · pointer only · 7064fad2ca846b74 · report
hf_datasets_augs_helper optml-group/unlearncanvas/diffusion_model_finetuning/edm_sampler/utils.py official repository ran no licence file found · pointer only · b22174509b22ebfe · report
isimage optml-group/unlearncanvas/diffusion_model_finetuning/ldm/util.py official repository ran no licence file found · pointer only · b1368330cf0f5642 · report
ismap optml-group/unlearncanvas/diffusion_model_finetuning/ldm/util.py official repository ran no licence file found · pointer only · d72762b700feee6f · report
to_cuda optml-group/unlearncanvas/diffusion_model_finetuning/evaluation/fid.py official repository ran fingerprinted no licence file found · pointer only · b4318fcc73fe317f · report
to_pil_image optml-group/unlearncanvas/diffusion_model_finetuning/edm_sampler/utils.py official repository ran no licence file found · pointer only · ca508754772590c4 · report
calculate_activation_statistics optml-group/unlearncanvas/diffusion_model_finetuning/evaluation/fid.py official repository unverified no licence file found · pointer only · f2517e59a9ce2ce4 · report
get_activations optml-group/unlearncanvas/diffusion_model_finetuning/evaluation/fid.py official repository unverified no licence file found · pointer only · 1226d62dd93f8b5f · report
log_txt_as_img optml-group/unlearncanvas/diffusion_model_finetuning/ldm/util.py official repository unverified no licence file found · pointer only · f9bd2e83191afad1 · report
load_512 sen-mao/SuppressEOT/utils/null_text_inversion.py found in paper text by Syntology ran · honoured contract no licence file found · pointer only · 067f451b2dbf739d · report
Convert nupurkmr9/concept-ablation/compvis/evaluate.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 254211bc4b378fe4 · report
GetImageFolderLoader JingWu321/EraseDiff/ddpm/classifier_evaluation.py found in paper text by Syntology ran no licence file found · pointer only · 29136f2953d790e8 · report
aggregate_attention sen-mao/SuppressEOT/suppress_eot_w_nulltext.py found in paper text by Syntology ran · honoured contract no licence file found · pointer only · f3e6737ebc70cbbf · report
calculate_matching_score Con6924/SPM/infer_spm.py found in paper text by Syntology ran Apache-2.0 (permissive) · f53d21f5e97513c9 · report
chunk nupurkmr9/concept-ablation/compvis/sample.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 8241c0562bc710fd · report
collate_fn SHI-Labs/Forget-Me-Not/src/train_attn.py found in paper text by Syntology ran MIT (permissive) · e5dbb0469de3dff9 · report
compute_rotation_matrix Con6924/SPM/src/configs/prompt.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · cb0d0aa60feeb917 · report
conv1x1 JingWu321/Scissorhands/Classification/models/ResNet.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · d9def42110729a85 · report
conv3x3 JingWu321/Scissorhands/Classification/models/ResNet.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 160bb14bd76201b4 · report
diffusion_step sen-mao/SuppressEOT/utils/ptp_utils.py found in paper text by Syntology ran no licence file found · pointer only · 6d190d192ff5e777 · report
dumps_data JingWu321/Scissorhands/Classification/lmdb_dataset.py found in paper text by Syntology ran MIT (permissive) · cadb98df0b43c793 · report
extract_all_images nupurkmr9/concept-ablation/compvis/evaluate.py found in paper text by Syntology ran MIT (permissive) · 2cb4375648881b05 · report
get_A rohitgandikota/unified-concept-editing/evalscripts/debiasing_vl.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 9b4052692da3a8bc · report
get_M rohitgandikota/unified-concept-editing/evalscripts/debiasing_vl.py found in paper text by Syntology ran MIT (permissive) · 894009c45bf51dcf · report
get_param JingWu321/EraseDiff/sd/train_scripts/erasediff.py found in paper text by Syntology ran no licence file found · pointer only · 2ccf562d07794d65 · report
get_styled_prompt nupurkmr9/concept-ablation/compvis/src/finetune_data.py found in paper text by Syntology ran fingerprinted MIT (permissive) · 489a35aa27273ede · report
get_timestep_embedding JingWu321/EraseDiff/ddpm/models/diffusion.py found in paper text by Syntology ran · fixture could not drive it fingerprinted no licence file found · pointer only · cb49209c125de1b4 · report
get_x_y_from_data_dict JingWu321/Scissorhands/Classification/imagenet.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · c7ae957080f6f740 · report
gram_matrix rohitgandikota/unified-concept-editing/evalscripts/styleloss.py found in paper text by Syntology ran · our draft was wrong fingerprinted MIT (permissive) · 1090950b58e9358b · report
image_loader rohitgandikota/unified-concept-editing/evalscripts/lpips_eval.py found in paper text by Syntology ran MIT (permissive) · 56e74fc4361256b9 · report
isimage nupurkmr9/concept-ablation/compvis/src/filter.py found in paper text by Syntology ran · violated contract MIT (permissive) · ea4a1969281507a5 · report
latent2image sen-mao/SuppressEOT/utils/ptp_utils.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · e3c3bb87bbe9b4a7 · report
load_config_from_yaml Con6924/SPM/src/configs/generation_config.py found in paper text by Syntology ran Apache-2.0 (permissive) · f0e2148d0a7aa2a2 · report
load_metadata_from_safetensors Con6924/SPM/src/models/merge_spm.py found in paper text by Syntology ran fingerprinted Apache-2.0 (permissive) · 299ce035eef45373 · report
load_prompts_from_table Con6924/SPM/src/configs/prompt.py found in paper text by Syntology ran Apache-2.0 (permissive) · 9e90320bd677ef48 · report
load_prompts_from_yaml Con6924/SPM/src/configs/prompt.py found in paper text by Syntology ran Apache-2.0 (permissive) · 1f3069e15698ab71 · report
merge_lora_models Con6924/SPM/src/models/merge_spm.py found in paper text by Syntology ran Apache-2.0 (permissive) · 3c4f9becca932b96 · report
moving_average JingWu321/EraseDiff/sd/train_scripts/erasediff.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · f398bc270e4f4ffe · report
noise_estimation_loss JingWu321/EraseDiff/ddpm/functions/losses.py found in paper text by Syntology ran no licence file found · pointer only · 36a45cceb1209d2f · report
noise_estimation_loss_conditional JingWu321/EraseDiff/ddpm/functions/losses.py found in paper text by Syntology ran no licence file found · pointer only · ca8a1bf21579d253 · report
nonlinearity JingWu321/EraseDiff/ddpm/models/diffusion.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 3137073275f8c21a · report
parse_extra_args Con6924/SPM/evaluate_task.py found in paper text by Syntology ran Apache-2.0 (permissive) · f4e5ea8e5d469b27 · report
parse_precision Con6924/SPM/src/configs/config.py found in paper text by Syntology ran Apache-2.0 (permissive) · ca142e6d863ef6a6 · report
parse_safeloras_embeds SHI-Labs/Forget-Me-Not/src/patch_lora.py found in paper text by Syntology ran MIT (permissive) · 74e4f1bd2e3487ff · report
pil_to_jpg nupurkmr9/concept-ablation/compvis/sample.py found in paper text by Syntology ran · our draft was wrong MIT (permissive) · 11ec361f7a77d02c · report
prob_mask_like JingWu321/EraseDiff/ddpm/models/diffusion.py found in paper text by Syntology ran · fixture could not drive it no licence file found · pointer only · 3c6433dd421724e0 · report
read_images_folder JingWu321/EraseDiff/ddpm/evaluator.py found in paper text by Syntology ran no licence file found · pointer only · 0bae0d076b1ae674 · report
sample nupurkmr9/concept-ablation/compvis/src/utils.py found in paper text by Syntology ran MIT (permissive) · f7c1195d335ba6ea · report
set_param JingWu321/EraseDiff/sd/train_scripts/erasediff.py found in paper text by Syntology ran no licence file found · pointer only · 8168d4d8419b92c3 · report
sorted_nicely rohitgandikota/unified-concept-editing/evalscripts/CLIP_classify.py found in paper text by Syntology ran MIT (permissive) · 8517a5a2a142c0ca · report
text2img_dataloader SHI-Labs/Forget-Me-Not/src/train_ti.py found in paper text by Syntology ran MIT (permissive) · 4ed7a5bbe748cb10 · report
text_under_image sen-mao/SuppressEOT/utils/ptp_utils.py found in paper text by Syntology ran no licence file found · pointer only · 85d5eb123674597d · report
all_but_one_class_dataset JingWu321/EraseDiff/ddpm/save_base_dataset.py found in paper text by Syntology unverified no licence file found · pointer only · d278a27b738c2136 · report
apply_learned_embed_in_clip SHI-Labs/Forget-Me-Not/src/patch_lora.py found in paper text by Syntology unverified MIT (permissive) · 1f5610eafe95d0c8 · report
cifar100_dataloaders JingWu321/Scissorhands/Classification/dataset.py found in paper text by Syntology unverified MIT (permissive) · 9ea29973ea0485a1 · report
cifar10_dataloaders_no_val JingWu321/Scissorhands/Classification/dataset.py found in paper text by Syntology unverified MIT (permissive) · 361b798104c4eff0 · report
get_evaluator Con6924/SPM/evaluate_task.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 866321b4d0cfed8e · report
image_loader rohitgandikota/unified-concept-editing/evalscripts/styleloss.py found in paper text by Syntology unverified MIT (permissive) · 9ad49e53202d0110 · report
import_model_class_from_model_name_or_path SHI-Labs/Forget-Me-Not/src/train_attn.py found in paper text by Syntology unverified MIT (permissive) · 2f00b39db5a81466 · report
load_config_from_yaml Con6924/SPM/src/configs/config.py found in paper text by Syntology unverified Apache-2.0 (permissive) · 98dc0093af97db19 · report
load_state_dict Con6924/SPM/src/models/merge_spm.py found in paper text by Syntology unverified Apache-2.0 (permissive) · b8e710925cbb4290 · report
loads_data JingWu321/Scissorhands/Classification/lmdb_dataset.py found in paper text by Syntology unverified MIT (permissive) · 2bc7277fbb33cc3f · report
loss_step SHI-Labs/Forget-Me-Not/src/train_ti.py found in paper text by Syntology unverified MIT (permissive) · ecfa96da96b73496 · report
prepare_data JingWu321/Scissorhands/Classification/imagenet.py found in paper text by Syntology unverified MIT (permissive) · 0f58d86ba1ef71e6 · report
punish_wight sen-mao/SuppressEOT/utils/wo_utils.py found in paper text by Syntology unverified no licence file found · pointer only · c771ff3009ac78c7 · report
raw_reader JingWu321/Scissorhands/Classification/lmdb_dataset.py found in paper text by Syntology unverified MIT (permissive) · 51738010a21f76a1 · report
resnet18 JingWu321/Scissorhands/Classification/models/ResNet.py found in paper text by Syntology unverified MIT (permissive) · 50eeb60cc0488d27 · report
svhn_dataloaders JingWu321/Scissorhands/Classification/dataset.py found in paper text by Syntology unverified MIT (permissive) · abff177e7f6f84af · report
update_context sen-mao/SuppressEOT/suppress_eot_w_nulltext.py found in paper text by Syntology unverified no licence file found · pointer only · f1eec059eb235348 · report
woword_eot_context sen-mao/SuppressEOT/utils/wo_utils.py found in paper text by Syntology unverified no licence file found · pointer only · 019f2139ed0982c1 · report
woword_reweight sen-mao/SuppressEOT/utils/wo_utils.py found in paper text by Syntology unverified no licence file found · pointer only · 8295ffcdfbfbcb67 · report

Tasks

Image GenerationMachine UnlearningStyle TransferText to Image GenerationText-to-Image Generation

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections