SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2606.21498 · 2026

Balancing Performance and Diversity in GRPO Autoregressive Text-to-Image Post-Training

Yi Liu, Xueqian Wang, Yuanhao Chiang, Hongbo Duan, Chunru Yang, Jiahua Pei

arXiv · PDF · Open in the Atlas

Code that ran

5 of 7 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; 3 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2606.21498.json · badge: /api/ran/2606.21498.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
tuoyou-hao/BPD-GRPO canonical (classifier label)
classifier basis: census
5 ran · 2 no recorded run
FunctionStatusWhere it lives
aps_reward Ran
ran, honoured the contract we drafted
tuoyou-hao/BPD-GRPO/llamaGen/simpar/grpo/rewards.py
pointer only (licence: NONE) · get_code("584e9ef131be7c70")
How it ran

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

get_callbacks Ran
ran; our contract draft was wrong, not the code
tuoyou-hao/BPD-GRPO/llamaGen/simpar/grpo/utils/callbacks.py
pointer only (licence: NONE) · get_code("9b92c44e1bde6319")
How it ran

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

get_param_count_from_repo_id Ran
ran, honoured the contract we drafted
tuoyou-hao/BPD-GRPO/llamaGen/simpar/grpo/utils/hub.py
pointer only (licence: NONE) · get_code("dcbd918d943fcaab")
How it ran

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

math_reward Ran
ran, honoured the contract we drafted
tuoyou-hao/BPD-GRPO/llamaGen/simpar/grpo/rewards.py
pointer only (licence: NONE) · get_code("286dc8a27a2c9cbe")
How it ran

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

preprocess_input_ids Ran
ran; our contract draft was wrong, not the code
tuoyou-hao/BPD-GRPO/llamaGen/simpar/train/llava_trainer_grpo.py
pointer only (licence: NONE) · get_code("4c2181ca2eec06ac")
How it ran

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

clip_reward Not yet run
unverified (harvested, no recorded run)
tuoyou-hao/BPD-GRPO/llamaGen/simpar/grpo/rewards.py
pointer only (licence: NONE) · get_code("b7678eb4d43b518e")
How it ran

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

get_gpu_count_for_vllm Not yet run
unverified (harvested, no recorded run)
tuoyou-hao/BPD-GRPO/llamaGen/simpar/grpo/utils/hub.py
pointer only (licence: NONE) · get_code("4b0eb1a9216422d3")
How it ran

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

Also present in other papers' code

Of 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 1 the same month, 0 later) and 4 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
get_callbacks 5 other papers
4 dated earlier, 1 the same month
2503.16219 (2025-03)
Reinforcement Learning for Reasoning in Small LLMs: What Works and What Doesn't
2507.02834 (2025-07)
ExPO: Unlocking Hard Reasoning with Self-Explanation-Guided Reinforcement Learning
2511.04902 (2025-11)
You Need Reasoning to Learn Reasoning: The Limitations of Label-Free RL in Weak Base Models
and 2 more not named here
get_gpu_count_for_vllm 3 other papers
3 dated earlier
2503.16219 (2025-03)
Reinforcement Learning for Reasoning in Small LLMs: What Works and What Doesn't
2507.02834 (2025-07)
ExPO: Unlocking Hard Reasoning with Self-Explanation-Guided Reinforcement Learning
2511.04902 (2025-11)
You Need Reasoning to Learn Reasoning: The Limitations of Label-Free RL in Weak Base Models
get_param_count_from_repo_id 3 other papers
3 dated earlier
2503.16219 (2025-03)
Reinforcement Learning for Reasoning in Small LLMs: What Works and What Doesn't
2507.02834 (2025-07)
ExPO: Unlocking Hard Reasoning with Self-Explanation-Guided Reinforcement Learning
2511.04902 (2025-11)
You Need Reasoning to Learn Reasoning: The Limitations of Label-Free RL in Weak Base 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-23.

Repositories linked to this paper

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

Abstract

Autoregressive text-to-image (T2I) generation has recently advanced rapidly, yet aligning generated images with human preferences remains challenging. GRPOstyle online reinforcement learning provides an effective framework; however, existing methods typically treat reference-policy divergence as fixed, despite its direct impact on policy optimization. We study this overlooked factor within a unified f-divergence framework, encompassing forward KL, reverse KL, and JS divergence, for GRPO-style autoregressive T2I alignment. Our systematic theoretical analysis reveals that different divergences reshape token-level updates in distinct ways. In particular, under the sampled-token shaping form used, JS regularization achieves a favorable trade-off by mitigating uniform bias relative to the reference policy while still discouraging large deviations. Extensive experiments on LlamaGen and Janus-7B show that JS divergence achieves the strongest or highly competitive optimization performance on most evaluation metrics while maintaining favorable generation diversity. The code is available at https://github.com/tuoyou-hao/BPD-GRPO.

For agents

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

get_harvested_code_for_paper("2606.21498")
get_code_for_paper("2606.21498")
have("2606.21498")

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

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

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

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

Connect an agent — have() is free.