SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.17022 · ICLR · 2025

GOT-R1: UNLEASHING REASONING CAPABILITY OF AUTOREGRESSIVE VISUAL GENERATION WITH REIN-FORCEMENT LEARNING

Hongsheng Li, Yuqing Wang, Kun Wang, Rongyao Fang, Xihui Liu, Chengqi Duan, Xingyu Zeng, Linjiang Huang, Hku Mmlab

arXiv · PDF · Open in the Atlas

Code that ran

9 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (6 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 7 have no contract verdict; 2 failures of our instrument; 2 no recorded run), measured 2026-11-23; 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/2505.17022.json · badge: /api/ran/2505.17022.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
gogoduan/got-r1 community
Papers with Code archive
9 ran · 2 no recorded run
FunctionStatusWhere it lives
Decoder Ran
ran on a synthesized input · constructed an object; no result was computed
gogoduan/got-r1/src/models/vq_model.py
pointer only (licence: NONE) · get_code("71736837a54c2c84")
How it ran

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

Downsample Ran
ran on a synthesized input · constructed an object; no result was computed
gogoduan/got-r1/src/models/vq_model.py
pointer only (licence: NONE) · get_code("6618daf64230cf0c")
How it ran

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

Encoder Ran
ran on a synthesized input · constructed an object; no result was computed
gogoduan/got-r1/src/models/vq_model.py
pointer only (licence: NONE) · get_code("eed2973632740358")
How it ran

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

ModelArgs Ran
ran on a synthesized input · constructed an object; no result was computed
gogoduan/got-r1/src/models/vq_model.py
pointer only (licence: NONE) · get_code("51c13049b5aebe83")
How it ran

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

Normalize Ran
ran; our contract draft was wrong, not the code
gogoduan/got-r1/src/models/vq_model.py
pointer only (licence: NONE) · get_code("01b5cf639b6bac89")
How it ran

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

ResnetBlock Ran
ran on a synthesized input
gogoduan/got-r1/src/models/vq_model.py
pointer only (licence: NONE) · get_code("b9580b7064989831")
How it ran

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

Upsample Ran
ran on a synthesized input · constructed an object; no result was computed
gogoduan/got-r1/src/models/vq_model.py
pointer only (licence: NONE) · get_code("6687b2b39ca9fecc")
How it ran

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

VectorQuantizer Ran
ran on a synthesized input · constructed an object; no result was computed
gogoduan/got-r1/src/models/vq_model.py
pointer only (licence: NONE) · get_code("177a67c6ea19650c")
How it ran

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

compute_entropy_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gogoduan/got-r1/src/models/vq_model.py
pointer only (licence: NONE) · get_code("774c95b77d7621f3")
How it ran

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

AttnBlock Not yet run
unverified (harvested, no recorded run)
gogoduan/got-r1/src/models/vq_model.py
pointer only (licence: NONE) · get_code("93ec039f4b98caf7")
How it ran

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

VQModel Not yet run
unverified (harvested, no recorded run)
gogoduan/got-r1/src/models/vq_model.py
pointer only (licence: NONE) · get_code("5cb4851ddaa665bf")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gogoduan/got-r1 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 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 8 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 0 the same month, 8 later) and 3 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
compute_entropy_loss
brick of this paper's assembly: loss
10 other papers
7 dated earlier, 3 later · 2 only as an assembly brick
2408.12245 (2024-08)
Scalable Autoregressive Image Generation with Mamba
2411.15867 (2024-11)
PanoLlama: Generating Endless and Coherent Panoramas with Next-Token-Prediction LLMs
2502.20313 (2025-02)
FlexVAR: Flexible Visual Autoregressive Modeling without Residual Prediction
and 7 more not named here
Normalize
brick of this paper's assembly: helper
9 other papers
7 dated earlier, 2 later · 3 only as an assembly brick
2408.12245 (2024-08)
Scalable Autoregressive Image Generation with Mamba
2411.15867 (2024-11)
PanoLlama: Generating Endless and Coherent Panoramas with Next-Token-Prediction LLMs
2502.20313 (2025-02)
FlexVAR: Flexible Visual Autoregressive Modeling without Residual Prediction
and 6 more not named here
Downsample
brick of this paper's assembly: model
4 other papers
2 dated earlier, 2 later · 4 only as an assembly brick
2405.17398 (2024-05)
Vista: A Generalizable Driving World Model with High Fidelity and Versatile Controllability
2504.08736 (2025-04)
GigaTok: Scaling Visual Tokenizers to 3 Billion Parameters for Autoregressive Image Generation
2507.02358 (2025-07)
Holistic Tokenizer for Autoregressive Image Generation
and 1 more not named here
AttnBlock
brick of this paper's assembly: model
3 other papers
1 dated earlier, 2 later · 2 only as an assembly brick
2504.08736 (2025-04)
GigaTok: Scaling Visual Tokenizers to 3 Billion Parameters for Autoregressive Image Generation
2507.02358 (2025-07)
Holistic Tokenizer for Autoregressive Image Generation
2510.05891 (2025-10)
D 3 QE: Learning Discrete Distribution Discrepancy-aware Quantization Error for Autoregressive-Generated Image Detection
ResnetBlock
brick of this paper's assembly: model
3 other papers
1 dated earlier, 2 later · 2 only as an assembly brick
2504.08736 (2025-04)
GigaTok: Scaling Visual Tokenizers to 3 Billion Parameters for Autoregressive Image Generation
2507.02358 (2025-07)
Holistic Tokenizer for Autoregressive Image Generation
2510.05891 (2025-10)
D 3 QE: Learning Discrete Distribution Discrepancy-aware Quantization Error for Autoregressive-Generated Image Detection
Decoder
brick of this paper's assembly: model
2 other papers
2 later
2507.02358 (2025-07)
Holistic Tokenizer for Autoregressive Image Generation
2510.05891 (2025-10)
D 3 QE: Learning Discrete Distribution Discrepancy-aware Quantization Error for Autoregressive-Generated Image Detection
Encoder
brick of this paper's assembly: model
2 other papers
2 later · 1 only as an assembly brick
2507.02358 (2025-07)
Holistic Tokenizer for Autoregressive Image Generation
2510.05891 (2025-10)
D 3 QE: Learning Discrete Distribution Discrepancy-aware Quantization Error for Autoregressive-Generated Image Detection
ModelArgs
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2510.05891 (2025-10)
D 3 QE: Learning Discrete Distribution Discrepancy-aware Quantization Error for Autoregressive-Generated Image Detection

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

Visual generation models have made remarkable progress in creating realistic images from text prompts, yet struggle with complex prompts that specify multiple objects with precise spatial relationships and attributes. Effective handling of such prompts requires explicit reasoning about the semantic content and spatial layout. We present GoT-R1, a framework that applies reinforcement learning to enhance semantic-spatial reasoning in autoregressive visual generation models. Leveraging the natural affinity between autoregressive architectures and sequential reasoning, our approach builds upon the Generation Chain-of-Thought framework to enable models to autonomously discover effective reasoning strategies beyond predefined templates. To achieve this, we propose a dual-stage multidimensional reward framework that leverages MLLMs to evaluate both the reasoning process and final output, enabling effective supervision across the entire generation pipeline. The reward system assesses semantic alignment, spatial accuracy, and visual quality in a unified approach. Experimental results demonstrate significant improvements on T2I-CompBench and GenEval benchmark, particularly in compositional tasks involving precise spatial relationships and attribute binding. GoT-R1 advances the state-of-the-art in autoregressive image generation by successfully transferring sophisticated reasoning capabilities from language models to the visual generation domain. Code is available at https://github.com/gogoduan/GoT-R1.

For agents

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

get_harvested_code_for_paper("2505.17022")
get_code_for_paper("2505.17022")
have("2505.17022")

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

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

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

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

Connect an agent — have() is free.