SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2412.07808 · 2024

Boosting Alignment for Post-Unlearning Text-to-Image Generative Models

arXiv · PDF · Open in the Atlas

Code that ran

13 of 16 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 4 honoured the contract we drafted, 1 violated it and 0 have no contract verdict; 8 failures of our instrument; 3 no recorded run), measured 2026-11-23; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2412.07808.json · badge: /api/ran/2412.07808.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
reds-lab/restricted_gradient_diversity_unlearning canonical (classifier label)
classifier basis: census
10 ran · 3 no recorded run
copy not recorded community
not in the paper's declared repositories
3 ran · 0 no recorded run
FunctionStatusWhere it lives
calculate_fid_from_inception_stats Ran
ran, honoured the contract we drafted
reds-lab/restricted_gradient_diversity_unlearning/CIFAR/fid.py
pointer only (licence: NONE); the stored copy get_code serves, from sangyun884/fast-ode, is pointer only (licence: NONE) · get_code("45e941764344e7f3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

compute_averages Ran
ran; our contract draft was wrong, not the code
reds-lab/restricted_gradient_diversity_unlearning/CIFAR/compute_averages.py
pointer only (licence: NONE) · get_code("97895a89ae5bdd7c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

disabled_train Ran
ran, violated the contract we drafted
this paper's copy was not recorded; identical code first harvested from zhouc20/LatentGraphDiffusion
pointer only · get_code("4cb732f513d69dfd")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

file_ext Ran
ran; our contract draft was wrong, not the code
reds-lab/restricted_gradient_diversity_unlearning/CIFAR/dataset_tool.py
pointer only (licence: NONE); the stored copy get_code serves, from pdillis/stylegan3-fun, is pointer only (licence: NOASSERTION) · get_code("a2b45afa097b55b6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

format_time Ran
ran; our contract draft was wrong, not the code
reds-lab/restricted_gradient_diversity_unlearning/CIFAR/dnnlib/util.py
pointer only (licence: NONE) · get_code("674eca7b9e1b6439")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

format_time_brief Ran
ran; our contract draft was wrong, not the code
reds-lab/restricted_gradient_diversity_unlearning/CIFAR/dnnlib/util.py
pointer only (licence: NONE) · get_code("32af001972a0699f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

maybe_min Ran
ran, honoured the contract we drafted
reds-lab/restricted_gradient_diversity_unlearning/CIFAR/dataset_tool.py
pointer only (licence: NONE); the stored copy get_code serves, from pdillis/stylegan3-fun, is pointer only (licence: NOASSERTION) · get_code("dd1dc700e87f36cc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

moving_average Ran
ran; our contract draft was wrong, not the code
reds-lab/restricted_gradient_diversity_unlearning/SD/train-scripts/gradient_ascent.py
pointer only (licence: NONE); the stored copy get_code serves, from rcheng805/CORE-RL, is pointer only (licence: NONE) · get_code("f398bc270e4f4ffe")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_int_list Ran
ran, honoured the contract we drafted
reds-lab/restricted_gradient_diversity_unlearning/CIFAR/generate.py
pointer only (licence: NONE); the stored copy get_code serves, from newbeeer/stf, is pointer only (licence: NONE) · get_code("cacd4f6ec202d9b4")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

parse_tuple Ran
ran, honoured the contract we drafted
reds-lab/restricted_gradient_diversity_unlearning/CIFAR/dataset_tool.py
pointer only (licence: NONE); the stored copy get_code serves, from xfetus/fetal-ultrasound-edm2, is pointer only (licence: NONE) · get_code("07b21b35ecb4815c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

sample_model Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from tuananhbui89/erasing-adversarial-preservation
pointer only; the stored copy get_code serves, from tuananhbui89/erasing-adversarial-preservation, is pointer only (licence: NONE) · get_code("15e005b12a64650d")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

uniform_on_device Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from zhouc20/LatentGraphDiffusion
pointer only · get_code("d48d8354986e3b0e")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

weight_init Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
reds-lab/restricted_gradient_diversity_unlearning/CIFAR/training/networks.py
pointer only (licence: NONE) · get_code("d41a4250066bce93")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

ablation_sampler Not yet run
unverified (harvested, no recorded run)
reds-lab/restricted_gradient_diversity_unlearning/CIFAR/generate.py
pointer only (licence: NONE) · get_code("9fbf646e18eed1db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

ask_yes_no Not yet run
unverified (harvested, no recorded run)
reds-lab/restricted_gradient_diversity_unlearning/CIFAR/dnnlib/util.py
pointer only (licence: NONE) · get_code("9d31d2c4cd16bb2d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

edm_sampler Not yet run
unverified (harvested, no recorded run)
reds-lab/restricted_gradient_diversity_unlearning/CIFAR/generate.py
pointer only (licence: NONE) · get_code("8b16b0674af254db")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, reds-lab/restricted_gradient_diversity_unlearning when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 16 samples lifted from this paper's linked repositories, 16 carry a function identity and 0 do not. Of the 16 distinct functions with an identity, 15 are also present in other papers whose code we hold (15 with at least one paper dated earlier, 6 the same month, 14 later) and 1 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
disabled_train 173 other papers
146 dated earlier, 2 the same month, 17 later, 8 same year, order not determinable · 5 only as an assembly brick
2012.09841 (2020-12)
Taming Transformers for High-Resolution Image Synthesis
2102.05379 (2021-02)
Argmax Flows and Multinomial Diffusion: Learning Categorical Distributions
2104.07652 (2021-04)
Geometry-Free View Synthesis: Transformers and no 3D Priors
and 170 more not named here
format_time 73 other papers
48 dated earlier, 1 the same month, 23 later, 1 undated
2004.00049 (2020-04)
In-Domain GAN Inversion for Real Image Editing
2004.11660 (2020-04)
Disentangled and Controllable Face Image Generation via 3D Imitative-Contrastive Learning
2108.00946 (2021-08)
StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators
and 70 more not named here
ask_yes_no 69 other papers
48 dated earlier, 1 the same month, 19 later, 1 undated
2004.00049 (2020-04)
In-Domain GAN Inversion for Real Image Editing
2004.11660 (2020-04)
Disentangled and Controllable Face Image Generation via 3D Imitative-Contrastive Learning
2108.00946 (2021-08)
StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators
and 66 more not named here
format_time_brief 68 other papers
43 dated earlier, 1 the same month, 23 later, 1 undated
2108.00946 (2021-08)
StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators
2202.00273 (2022-02)
StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
2206.07695 (2022-06)
VoxGRAF: Fast 3D-Aware Image Synthesis with Sparse Voxel Grids
and 65 more not named here
weight_init 49 other papers
26 dated earlier, 23 later · 1 only as an assembly brick
2303.10137 (2023-03)
A Recipe for Watermarking Diffusion Models
2305.15266 (2023-05)
Diffusion-Based Audio Inpainting
2305.16269 (2023-05)
UDPM: Upsampling Diffusion Probabilistic Models
and 46 more not named here
uniform_on_device 44 other papers
38 dated earlier, 3 later, 3 same year, order not determinable
2112.10752 (2021-12)
High-Resolution Image Synthesis with Latent Diffusion Models
2204.06125 (2022-04)
Hierarchical Text-Conditional Image Generation with CLIP Latents
2206.02779 (2022-06)
Blended Latent Diffusion
and 41 more not named here
parse_int_list 37 other papers
25 dated earlier, 12 later
2206.00364 (2022-06)
Elucidating the Design Space of Diffusion-Based Generative Models
2302.00670 (2023-02)
Stable Target Field for Reduced Variance Score Estimation in Diffusion Models
2302.04265 (2023-02)
PFGM++: Unlocking the Potential of Physics-Inspired Generative Models
and 34 more not named here
file_ext 35 other papers
26 dated earlier, 1 the same month, 8 later
2106.07023 (2021-06)
Styleformer: Transformer based Generative Adversarial Networks with Style Vector
2111.02175 (2021-11)
Discriminator Synthesis: On reusing the other half of Generative Adversarial Networks
2111.13792 (2021-11)
LAFITE: Towards Language-Free Training for Text-to-Image Generation
and 32 more not named here
maybe_min 35 other papers
26 dated earlier, 1 the same month, 8 later
2106.07023 (2021-06)
Styleformer: Transformer based Generative Adversarial Networks with Style Vector
2111.02175 (2021-11)
Discriminator Synthesis: On reusing the other half of Generative Adversarial Networks
2111.13792 (2021-11)
LAFITE: Towards Language-Free Training for Text-to-Image Generation
and 32 more not named here
calculate_fid_from_inception_stats 23 other papers
17 dated earlier, 6 later
2206.00364 (2022-06)
Elucidating the Design Space of Diffusion-Based Generative Models
2211.17091 (2022-11)
Refining Generative Process with Discriminator Guidance in Score-based Diffusion Models
2301.12003 (2023-01)
Minimizing Trajectory Curvature of ODE-based Generative Models
and 20 more not named here
parse_tuple 20 other papers
13 dated earlier, 7 later
2303.10137 (2023-03)
A Recipe for Watermarking Diffusion Models
2306.06991 (2023-06)
Fast Diffusion Model
2308.15321 (2023-08)
Elucidating the Exposure Bias in Diffusion Models
and 17 more not named here
ablation_sampler 12 other papers
10 dated earlier, 2 later
2206.00364 (2022-06)
Elucidating the Design Space of Diffusion-Based Generative Models
2207.12598 (2022-07)
Classifier-Free Diffusion Guidance
2303.10137 (2023-03)
A Recipe for Watermarking Diffusion Models
and 9 more not named here
edm_sampler 11 other papers
9 dated earlier, 2 later
2206.00364 (2022-06)
Elucidating the Design Space of Diffusion-Based Generative Models
2301.11445 (2023-01)
3DShape2VecSet: A 3D Shape Representation for Neural Fields and Generative Diffusion Models
2303.10137 (2023-03)
A Recipe for Watermarking Diffusion Models
and 8 more not named here
sample_model 5 other papers
3 dated earlier, 2 later
2401.05779 (2024-01)
Erasing Undesirable Influence in Diffusion Models
2403.12326 (2024-03)
Hiding and Recovering Knowledge in Text-to-Image Diffusion Models via Learnable Prompts
2410.15618 (2024-10)
Erasing Undesirable Concepts in Diffusion Models with Adversarial Preservation
and 2 more not named here
moving_average 4 other papers
4 dated earlier
1905.05380 (2019-05)
Control Regularization for Reduced Variance Reinforcement Learning
2205.03146 (2022-05)
CLIP-CLOP: CLIP-Guided Collage and Photomontage
2401.05779 (2024-01)
Erasing Undesirable Influence in Diffusion Models
and 1 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-23.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Large-scale generative models have shown impressive image-generation capabilities, propelled by massive data. However, this often inadvertently leads to the generation of harmful or inappropriate content and raises copyright concerns. Driven by these concerns, machine unlearning has become crucial to effectively purge undesirable knowledge from models. While existing literature has studied various unlearning techniques, these often suffer from either poor unlearning quality or degradation in text-image alignment after unlearning, due to the competitive nature of these objectives. To address these challenges, we propose a framework that seeks an optimal model update at each unlearning iteration, ensuring monotonic improvement on both objectives. We further derive the characterization of such an update. In addition, we design procedures to strategically diversify the unlearning and remaining datasets to boost performance improvement. Our evaluation demonstrates that our method effectively removes target classes from recent diffusion-based generative models and concepts from stable diffusion models while maintaining close alignment with the models' original trained states, thus outperforming state-of-the-art baselines. Our code will be made available at https://github.com/reds-lab/Restricted_gradient_diversity_unlearning.git.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2412.07808")
get_code_for_paper("2412.07808")
have("2412.07808")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2412.07808.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2412.07808.svg)](https://syntology.ai/paper/2412.07808)

Connect an agent — have() is free.