How to use from the
Use from the
Diffusers library
pip install -U diffusers transformers accelerate
import torch
from diffusers import DiffusionPipeline

# switch to "mps" for apple devices
pipe = DiffusionPipeline.from_pretrained("stabilityai/stable-diffusion-3.5-medium", dtype=torch.bfloat16, device_map="cuda")
pipe.load_lora_weights("WeiChow/Rethink-Model")

prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k"
image = pipe(prompt).images[0]

Rethink-Model: Checkpoints for Diffusion On-Policy Distillation

Official checkpoint release for Rethinking On-Policy Distillation in Diffusion Models: Phenomenology and Insights (PrefixOPD).

arXiv Project Page GitHub Code HF Train Data HF Benchmark Apache 2.0

Overview

WeiChow/Rethink-Model organizes 78 unpacked LoRA + edit-adapter checkpoint bundles (7.188 GB, 218 files) by model role, backbone (SD3.5-Medium: 44 checkpoints; original non-Turbo Z-Image: 34 checkpoints), task route, and training variant. It includes specialist supervised fine-tuning (SFT) teachers, specialist reinforcement learning (RL) teachers, multi-teacher on-policy distillation (OPD) students (DanceOPD, DiffusionOPD, Flow-OPD), and within-/cross-interface reward & direct joint-RL policies.

Rethink-Model/
β”œβ”€β”€ MODEL_INDEX.json
β”œβ”€β”€ e5/
β”‚   β”œβ”€β”€ E5-A/
β”‚   β”‚   β”œβ”€β”€ clipscore/
β”‚   β”‚   β”œβ”€β”€ direct/
β”‚   β”‚   β”œβ”€β”€ hpsv2.1/
β”‚   β”‚   └── pickscore/
β”‚   └── E5-B/
β”‚       β”œβ”€β”€ EC4/{direct,i2i,t2i}/
β”‚       └── UR2B/{direct,edit-r2,t2i}/
β”œβ”€β”€ students/
β”‚   β”œβ”€β”€ B1-{TI,TIM}-{Dance,Diffusion,Flow}/
β”‚   └── B1-ZI-{TI,TIM}-{Dance,Diffusion,Flow}/
└── teachers/
    β”œβ”€β”€ rl/{sd35,zimage}/<task>/
    └── sft/{sd35,zimage}/<task>/

Directory Guide & Inventory (78 Bundles Β· 7.188 GB)

Category Count Size Directory Layout Notes
SFT Specialist Teachers 26 2.66 GB teachers/sft/{sd35,zimage}/<task>/ 13 per backbone: general-i2i, general-mi2i, plus 11 task specialists (rank 32)
RL Specialist Teachers 22 2.36 GB teachers/rl/{sd35,zimage}/<task>/ 11 per backbone across 5 T2I, 3 I2I, and 3 MI2I routes (rank 64)
Consolidated OPD Students 20 1.05 GB students/B1[-ZI]-{TI,TIM}-{Dance,Diffusion,Flow}/{final,time-matched}/ B1 = SD3.5-Medium, B1-ZI = Z-Image; TI / TIM mixtures; DanceOPD (final), DiffusionOPD & Flow-OPD (final + time-matched) (rank 32)
Reward & Joint-RL Policies 10 1.13 GB e5/E5-A/{pickscore,clipscore,hpsv2.1,direct}/, e5/E5-B/{UR2B,EC4}/* Within-interface T2I (E5-A) and cross-interface (E5-B) checkpoints, including e5/E5-B/UR2B/edit-r2 (UnifiedReward-Edit teacher used for Table 3 PrefixOPD) and e5/E5-B/EC4/i2i (rank 96)
  • Every bundle contains pytorch_lora_weights.safetensors, TEACHER_CARD.json, and (for I2I/MI2I) EDIT_ADAPTER.safetensors.
  • MODEL_INDEX.json maps checkpoint identifiers to their directories and backbones (matching src/resources/model_registry.json in the GitHub codebase).
  • Pinned Base Backbones:

Headline Results (PrefixOPD, Table 3)

Synchronized active training cost on 8Γ— NVIDIA H100-80GB GPUs, trained with checkpoints in this release + WeiChow/Rethink-Train and evaluated on WeiChow/Rethink-Bench:

Setting Method GPU-h ↓ Edit (3-rt) ↑ Structure ↑ Edit Min ↑ T2I Mean ↑
SD3.5-M TI DanceOPD (full rollout) 15.5 1.811 1.423 0.870 0.694
PrefixOPD (ours) 8.6 (βˆ’44.5%) 2.091 (+15.5%) 1.759 (+23.6%) 1.120 (+28.7%) 0.719 (+3.7%)
SD3.5-M TIM DanceOPD (full rollout) 23.3 3.191 2.864 1.790 0.722
PrefixOPD (ours) 13.8 (βˆ’40.8%) 3.512 (+10.1%) 3.248 (+13.4%) 2.090 (+16.8%) 0.741 (+2.6%)
Z-Image TI DanceOPD (full rollout) 17.8 3.623 3.184 2.110 0.978
PrefixOPD (ours) 9.9 (βˆ’44.4%) 4.052 (+11.8%) 3.772 (+18.5%) 2.570 (+21.8%) 0.989 (+1.1%)

Across all 13 routes on SD3.5-M TI, PrefixOPD raises T2I Mean by +3.7%, trained I2I Mean by +16.2%, and overall eight-route Editing Mean by +9.3%, surpassing equal-compute baselines by up to +17.4% and equal-data full-rollout Ξ»=2 extrapolation at nearly half the cost (with 85.9% GPT-5.5 vs. InternVL2.5-8B pairwise agreement across 32 endpoints).

Quick Start

git clone https://github.com/worldbench/Rethinking-OPD-DM.git
cd Rethinking-OPD-DM
pip install -e ".[train,data,eval]"

# Inspect all 78 friendly checkpoint aliases
rethink-resources list-models

# Download all 78 bundles (or `bash scripts/download_resources.sh prefixopd-minimal` for the 3 Table 3 SD3.5 checkpoints)
rethink-resources models --output resources/models

Run inference with any released checkpoint:

export RETHINK_MODEL_ROOT="$PWD/resources/models"
export SD35_BASE="$PWD/resources/bases/sd35"

rethink-infer --model student/sd35/ti/danceopd/final \
  --model-root "$RETHINK_MODEL_ROOT" \
  --config configs/teachers/sd35/i2i-global.yaml \
  --input source.png \
  --prompt "Change the scene to winter." \
  --steps 40 --guidance 4.5 --output out.png

License & Upstream Notices

Adapter weights and release tooling are licensed under Apache 2.0. Downstream use remains subject to the respective licenses of the upstream base models (stabilityai/stable-diffusion-3.5-medium and Tongyi-MAI/Z-Image).

Citation

@misc{chow2026rethinkingonpolicydistillationdiffusion,
  title={Rethinking On-Policy Distillation in Diffusion Models: Phenomenology and Insights},
  author={Wei Chow and XiuYu Zhang and Yuxiang Wei and Bo Chen and Yingshuo Wang and Xian Sun and Yifei Dong and Xuan Zhang and Meng Chu and Pengyu Li and Xin Li and Dongyue Lu and Alan Liang and Ce Zhang and Feng Cheng and Jason Li and Lingdong Kong and Leigang Qu and Tat-Seng Chua},
  year={2026},
  eprint={2611.39838},
  archivePrefix={arXiv},
  primaryClass={cs.CV},
  url={https://arxiv.org/abs/2611.39838}
}
Downloads last month
-
Inference Providers NEW

Model tree for WeiChow/Rethink-Model

Adapter
(164)
this model

Paper for WeiChow/Rethink-Model