[AISTATS 2026] Official implementation of "ReTrack: Data Unlearning in Diffusion Models through Redirecting the Denoising Trajectory".
- Clone this repo.
git clone https://github.com/sqt24/ReTrack.git
cd ReTrack- Create the environment.
conda env create -f environment.yml
conda activate retrack- Download datasets and checkpoints.
bash download.sh
bash scripts/check_assets.sh # Integrity Verificationpython main.py experiment=mnist_with_tshirt name=retrack mode=runexperiment: one ofmnist_with_tshirt,cifar10,celeba_hq,stable_diffusionname: one ofpretrain,vanilla,neggrad,erasediff,siss,retrackmode=train: fine-tune onlymode=sample: load a saved checkpoint and generate samplesmode=eval: evaluate saved samplesmode=run: train, sample, and evaluate in sequence
By default, outputs are written under the repository root:
checkpoints/<dataset>/unlearn/<method>/<run>/: fine-tuned checkpoints andmetadata.jsonresults/<dataset>/<method>/<run>/samples/: generated samplesresults/<dataset>/<method>/<run>/metrics.json: per-run evaluation resultsresults/<dataset>/<method>/summary.json: aggregated statistics across runs
@inproceedings{
shi2026retrack,
title={ReTrack: Data Unlearning in Diffusion Models through Redirecting the Denoising Trajectory},
author={Qitan Shi and Cheng Jin and Jiawei Zhang and Yuantao Gu},
booktitle={The 29th International Conference on Artificial Intelligence and Statistics},
year={2026},
url={https://openreview.net/forum?id=oTUZfa0iPv}
}