SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2405.13637 · 2024

Curriculum Direct Preference Optimization for Diffusion and Consistency Models

arXiv · PDF · Open in the Atlas

Code that ran

3 of 8 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; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 5 no recorded run), measured 2026-11-22; 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/2405.13637.json · badge: /api/ran/2405.13637.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
croitorualin/curriculum-dpo canonical (classifier label)
classifier basis: census
3 ran · 5 no recorded run
FunctionStatusWhere it lives
get_config Ran
ran; our contract draft was wrong, not the code
croitorualin/curriculum-dpo/config/args_sd.py
pointer only (licence: NOASSERTION) · get_code("cde33670163c2e85")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, croitorualin/curriculum-dpo (NOASSERTION). 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.

get_module_kohya_state_dict Ran
ran; our contract draft was wrong, not the code
croitorualin/curriculum-dpo/data_generators/generate_data_lcm.py
pointer only (licence: NOASSERTION) · get_code("1be6fcb325dde58c")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, croitorualin/curriculum-dpo (NOASSERTION). 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.

guidance_scale_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
croitorualin/curriculum-dpo/train_lcm.py
pointer only (licence: NONE) · get_code("f1b675952d115b7f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, croitorualin/curriculum-dpo 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.

collate_fn Not yet run
unverified (harvested, no recorded run)
croitorualin/curriculum-dpo/reward_models/compute_human_score.py
pointer only (licence: NOASSERTION) · get_code("968a96d62e5fb816")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, croitorualin/curriculum-dpo (NOASSERTION). 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.

collate_fn_pairs Not yet run
unverified (harvested, no recorded run)
croitorualin/curriculum-dpo/reward_models/compute_human_score.py
pointer only (licence: NOASSERTION) · get_code("96b875ba49ec4098")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, croitorualin/curriculum-dpo (NOASSERTION). 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.

get_config Not yet run
unverified (harvested, no recorded run)
croitorualin/curriculum-dpo/config/args_lcm.py
pointer only (licence: NOASSERTION) · get_code("f1633432b4fbd0d6")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, croitorualin/curriculum-dpo (NOASSERTION). 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.

get_module_kohya_state_dict Not yet run
unverified (harvested, no recorded run)
croitorualin/curriculum-dpo/train_lcm.py
pointer only (licence: NONE); the stored copy get_code serves, from g-u-n/rectified-diffusion, is pointer only (licence: NONE) · get_code("4c7c3edd706a5541")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, croitorualin/curriculum-dpo 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.

import_model_class_from_model_name_or_path Not yet run
unverified (harvested, no recorded run)
croitorualin/curriculum-dpo/train_stablediffusion.py
pointer only (licence: NOASSERTION) · get_code("3a3852d78600db34")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, croitorualin/curriculum-dpo (NOASSERTION). 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 8 samples lifted from this paper's linked repositories, 8 carry a function identity and 0 do not. Of the 8 distinct functions with an identity, 3 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 1 the same month, 2 later) and 5 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
import_model_class_from_model_name_or_path 7 other papers
1 dated earlier, 6 later
2403.14572 (2024-03)
Implicit Style-Content Separation using B-LoRA
2406.11909 (2024-06)
Mixture-of-Subspaces in Low-Rank Adaptation
2407.04604 (2024-07)
PartCraft: Crafting Creative Objects by Parts
and 4 more not named here
get_module_kohya_state_dict 2 other papers
2 later
2409.01347 (2024-09)
Target-Driven Distillation: Consistency Distillation with Target Timestep Selection and Decoupled Guidance
2410.07303 (2024-10)
Rectified Diffusion: Straightness Is Not Your Need in Rectified Flow
guidance_scale_embedding 1 other paper
1 the same month
2405.18407 (2024-05)
Phased Consistency Models

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-22.

Repositories linked to this paper

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

Abstract

Direct Preference Optimization (DPO) has been proposed as an effective and efficient alternative to reinforcement learning from human feedback (RLHF). In this paper, we propose a novel and enhanced version of DPO based on curriculum learning for text-to-image generation. Our method is divided into two training stages. First, a ranking of the examples generated for each prompt is obtained by employing a reward model. Then, increasingly difficult pairs of examples are sampled and provided to a text-to-image generative (diffusion or consistency) model. Generated samples that are far apart in the ranking are considered to form easy pairs, while those that are close in the ranking form hard pairs. In other words, we use the rank difference between samples as a measure of difficulty. The sampled pairs are split into batches according to their difficulty levels, which are gradually used to train the generative model. Our approach, Curriculum DPO, is compared against state-of-the-art fine-tuning approaches on nine benchmarks, outperforming the competing methods in terms of text alignment, aesthetics and human preference. Our code is available at https://github.com/CroitoruAlin/Curriculum-DPO.

For agents

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

get_harvested_code_for_paper("2405.13637")
get_code_for_paper("2405.13637")
have("2405.13637")

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

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

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

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

Connect an agent — have() is free.