Datasets:
Formats:
parquet
Languages:
English
Size:
10K - 100K
ArXiv:
Tags:
diffusion
on-policy-distillation
multi-teacher-distillation
image-editing
multi-image-composition
prefixopd
License:
|
Download README.md from WeiChow/Rethink-Train: direct link, hf CLI and curl.
- Browser
- Download file 6.71 kB
-
https://huggingface.co/datasets/WeiChow/Rethink-Train/resolve/main/README.md
- Command line
-
hf download hf://datasets/WeiChow/Rethink-Train/README.md
-
curl -L -H "Authorization: Bearer $HF_TOKEN" -o README.md https://huggingface.co/datasets/WeiChow/Rethink-Train/resolve/main/README.md
6.71 kB
| license: other | |
| language: | |
| - en | |
| pretty_name: Rethink-Train | |
| size_categories: | |
| - 10K<n<100K | |
| task_categories: | |
| - text-to-image | |
| - image-to-image | |
| tags: | |
| - diffusion | |
| - on-policy-distillation | |
| - multi-teacher-distillation | |
| - image-editing | |
| - multi-image-composition | |
| - prefixopd | |
| - arxiv:2611.39838 | |
| configs: | |
| - config_name: default | |
| data_files: | |
| - split: T2I_GENERAL | |
| path: T2I-GENERAL.parquet | |
| - split: T2I_TEXT | |
| path: T2I-TEXT.parquet | |
| - split: T2I_PORTRAIT | |
| path: T2I-PORTRAIT.parquet | |
| - split: T2I_DESIGN | |
| path: T2I-DESIGN.parquet | |
| - split: T2I_REALISM | |
| path: T2I-REALISM.parquet | |
| - split: I2I_LOCAL | |
| path: I2I-LOCAL.parquet | |
| - split: I2I_GLOBAL | |
| path: I2I-GLOBAL.parquet | |
| - split: I2I_TEXT | |
| path: I2I-TEXT.parquet | |
| - split: MI2I_IDENTITY | |
| path: MI2I-IDENTITY.parquet | |
| - split: MI2I_COMPOSITION | |
| path: MI2I-COMPOSITION.parquet | |
| - split: MI2I_SPATIAL | |
| path: MI2I-SPATIAL.parquet | |
| # Rethink-Train | |
| Official 33,000-condition multi-task training dataset for **Rethinking On-Policy Distillation in Diffusion Models: Phenomenology and Insights** (**PrefixOPD**). | |
| <p align="left"> | |
| <a href="https://arxiv.org/abs/2611.39838"> | |
| <img src="https://img.shields.io/badge/arXiv-2611.39838-b31b1b?style=for-the-badge&logo=arxiv&logoColor=white" alt="arXiv"> | |
| </a> | |
| <a href="https://worldbench.github.io/Rethinking-OPD-DM/"> | |
| <img src="https://img.shields.io/badge/Project-Page-3B82F6?style=for-the-badge&logo=githubpages&logoColor=white" alt="Project Page"> | |
| </a> | |
| <a href="https://github.com/worldbench/Rethinking-OPD-DM"> | |
| <img src="https://img.shields.io/badge/Code-GitHub-181717?style=for-the-badge&logo=github&logoColor=white" alt="GitHub Code"> | |
| </a> | |
| <a href="https://huggingface.co/WeiChow/Rethink-Model"> | |
| <img src="https://img.shields.io/badge/🤗_Models-78_Checkpoints-ffd21e?style=for-the-badge" alt="HF Models"> | |
| </a> | |
| <a href="https://huggingface.co/datasets/WeiChow/Rethink-Bench"> | |
| <img src="https://img.shields.io/badge/🤗_Benchmark-13_Routes-ffd21e?style=for-the-badge" alt="HF Benchmark"> | |
| </a> | |
| </p> | |
| ## Overview | |
| `WeiChow/Rethink-Train` provides **11 task routes**, **3,000 examples per route**, and **33,000 examples in total** (**37.681 GB** across 11 root-level Parquet files). The `default` configuration exposes all 11 underscore-normalized splits above and supports all multi-teacher on-policy distillation recipes (**PrefixOPD**, **DanceOPD**, **DiffusionOPD**, and **Flow-OPD**) as well as portable specialist SFT and RL experiments on **SD3.5-Medium** and **Z-Image**. | |
| ## Shared Schema | |
| The schema matches [Rethink-Bench](https://huggingface.co/datasets/WeiChow/Rethink-Bench): `idx`, `mode`, `prompt`, `target`, and ordered conditioning image slots `input_1` through `input_14`: | |
| - `idx`: 1-based deterministic row index from `1` to `3,000` within each split. | |
| - `mode`: original subtask label, or route label when a subtask label is unavailable. | |
| - `prompt`: text generation or editing instruction. | |
| - `target`: original paired target image (including T2I targets); OPD and RL consume conditioning inputs only. | |
| - `input_1` ... `input_14`: ordered conditioning image slots (14 slots accommodate the largest MI2I multi-reference examples; unused slots are null). I2I places its source image in `input_1`; MI2I preserves the original reference-image order. All images are embedded as Hugging Face `Image` bytes in their original encoding without resizing or re-encoding. | |
| ## Task Routes & Per-Source Licenses | |
| | Task route | Split | Examples | Parquet bytes | Source license | | |
| |:--|:--|--:|--:|:--| | |
| | `T2I-GENERAL` | `T2I_GENERAL` | 3,000 | 968,500,759 | `apache-2.0` | | |
| | `T2I-TEXT` | `T2I_TEXT` | 3,000 | 5,749,395,960 | `mit` | | |
| | `T2I-PORTRAIT` | `T2I_PORTRAIT` | 3,000 | 843,546,496 | `apache-2.0` | | |
| | `T2I-DESIGN` | `T2I_DESIGN` | 3,000 | 909,221,012 | `apache-2.0` | | |
| | `T2I-REALISM` | `T2I_REALISM` | 3,000 | 4,615,203,070 | `apache-2.0` | | |
| | `I2I-LOCAL` | `I2I_LOCAL` | 3,000 | 9,579,426,364 | `apache-2.0` | | |
| | `I2I-GLOBAL` | `I2I_GLOBAL` | 3,000 | 2,568,575,147 | `apache-2.0` | | |
| | `I2I-TEXT` | `I2I_TEXT` | 3,000 | 740,216,754 | `cc-by-nc-sa-4.0` | | |
| | `MI2I-IDENTITY` | `MI2I_IDENTITY` | 3,000 | 4,170,450,009 | `cc-by-4.0` | | |
| | `MI2I-COMPOSITION` | `MI2I_COMPOSITION` | 3,000 | 4,292,367,524 | `cc-by-4.0` | | |
| | `MI2I-SPATIAL` | `MI2I_SPATIAL` | 3,000 | 3,244,246,193 | `cc-by-4.0` | | |
| | **Total** | **11 splits** | **33,000** | **37,681,149,288** | Per-source licenses apply | | |
| Sampling uses the subtask-balanced protocol with fixed seed `2026`. All training sample IDs were verified against the 100-example benchmark manifests in [WeiChow/Rethink-Bench](https://huggingface.co/datasets/WeiChow/Rethink-Bench) with zero train/test overlap, and all 33,000 records round-trip cleanly through Hugging Face `datasets`. | |
| ### Standard Paper Mixtures | |
| - **`I2I-GENERAL` view (3,000 rows, zero-copy):** `I2I_GLOBAL` (`idx <= 1500`) followed by `I2I_LOCAL` (`idx <= 1500`). | |
| - **TI mixture (6,000 rows):** all `T2I_GENERAL` examples followed by `I2I-GENERAL`. | |
| - **TIM mixture (9,000 rows):** TI mixture plus all `MI2I_COMPOSITION` examples. | |
| - **Three-route specialist subset (9,000 rows):** `T2I_DESIGN`, `I2I_TEXT`, and `MI2I_COMPOSITION` in that route order. | |
| ## Quick Start | |
| ### Using `datasets` (Streaming) | |
| ```python | |
| from datasets import load_dataset | |
| dataset = load_dataset("WeiChow/Rethink-Train", split="T2I_GENERAL", streaming=True) | |
| example = next(iter(dataset)) | |
| print(example["prompt"]) | |
| target_image = example["target"] | |
| ``` | |
| ### Using the Official Zero-Copy Training CLI | |
| ```bash | |
| git clone https://github.com/worldbench/Rethinking-OPD-DM.git | |
| cd Rethinking-OPD-DM | |
| pip install -e ".[train,data]" | |
| # Build zero-copy route descriptors pointing directly to cached Parquet files | |
| rethink-resources train-data --output resources/train | |
| # Launch Table 3 PrefixOPD on SD3.5-M TI (8.6 GPU-hours on 8x NVIDIA H100-80GB) | |
| export RETHINK_MODEL_ROOT="$PWD/resources/models" | |
| export RETHINK_DATA_ROOT="$PWD/resources/train" | |
| export RETHINK_OUTPUT_ROOT="$PWD/runs" | |
| export SD35_BASE="$PWD/resources/bases/sd35" | |
| bash scripts/train_prefixopd.sh sd35_ti_ur2b | |
| ``` | |
| ## Citation | |
| ```bibtex | |
| @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} | |
| } | |
| ``` | |