SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2509.25774 · ICLR · 2025

PCPO: Proportionate Credit Policy Optimization for Aligning Image Generation Models

Jong Ye, Jeongjae Lee

arXiv · PDF · Open in the Atlas

Code that ran

1 of 6 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; 1 failure of our instrument; 5 no recorded run), measured 2026-11-24; 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/2509.25774.json · badge: /api/ran/2509.25774.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
jaylee2000/pcpo community
Papers with Code archive
1 ran · 5 no recorded run
FunctionStatusWhere it lives
flux_step Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
jaylee2000/pcpo/dancegrpo/fastvideo/train_pcpo_flux.py
code served (permissive licence) · get_code("32ca51d9ee0962a9")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned tuple. The image it ran in was not recorded. If your copy returns the same type on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import torch
import math

torch.manual_seed(0)

# Create tensors with distinct sizes for different dimensions
batch_size = 2
latent_dim = 4

model_output = torch.randn(batch_size, latent_dim)
latents = torch.randn(batch_size, latent_dim)
prev_sample = torch.randn(batch_size, latent_dim)

# Create sigmas tensor with at least index+1 elements
sigmas = torch.tensor([1.0, 0.8, 0.5, 0.2, 0.0])

# Other parameters
eta = 0.5
index = 2

ARGS = {
    "model_output": model_output,
    "latents": latents,
    "eta": eta,
    "sigmas": sigmas,
    "index": index,
    "prev_sample": prev_sample,
    "grpo": True,
    "sde_solver": True
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type tuple — a tuple output has no array shape of its own; none is stated
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
ddp_allreduce_sum_ Not yet run
unverified (harvested, no recorded run)
jaylee2000/pcpo/dancegrpo/fastvideo/train_pcpo_flux.py
code served (permissive licence) · get_code("c7e04eb7deaf3255")
How it ran

no invocation recorded.

global_mean_std Not yet run
unverified (harvested, no recorded run)
jaylee2000/pcpo/dancegrpo/fastvideo/train_pcpo_flux.py
code served (permissive licence) · get_code("bb2d91055886560d")
How it ran

no invocation recorded.

run_sample_step Not yet run
unverified (harvested, no recorded run)
jaylee2000/pcpo/dancegrpo/fastvideo/train_pcpo_flux.py
code served (permissive licence) · get_code("d5913d339f8b5d6b")
How it ran

no invocation recorded.

sample_reference_model Not yet run
unverified (harvested, no recorded run)
jaylee2000/pcpo/dancegrpo/fastvideo/train_pcpo_flux.py
code served (permissive licence) · get_code("05aee29565c24c5a")
How it ran

no invocation recorded.

train_one_step Not yet run
unverified (harvested, no recorded run)
jaylee2000/pcpo/dancegrpo/fastvideo/train_pcpo_flux.py
code served (permissive licence) · get_code("7e92049ae74b8274")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 6 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.

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

Repositories linked to this paper

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

Abstract

While reinforcement learning has advanced the alignment of text-to-image (T2I) models, state-of-the-art policy gradient methods are still hampered by training instability and high variance, hindering convergence speed and compromising image quality. Our analysis identifies a key cause of this instability: disproportionate credit assignment, in which the mathematical structure of the generative sampler produces volatile and non-proportional feedback across timesteps. To address this, we introduce Proportionate Credit Policy Optimization (PCPO), a framework that enforces proportional credit assignment through a stable objective reformulation and a principled reweighting of timesteps. This correction stabilizes the training process, leading to significantly accelerated convergence and superior image quality. The improvement in quality is a direct result of mitigating model collapse, a common failure mode in recursive training. PCPO substantially outperforms existing policy gradient baselines on all fronts, including the state-of-the-art DanceGRPO.

For agents

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

get_harvested_code_for_paper("2509.25774")
get_code_for_paper("2509.25774")
have("2509.25774")

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

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

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

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

Connect an agent — have() is free.