SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2504.11455 · 2025

SimpleAR: Pushing the Frontier of Autoregressive Visual Generation through Pretraining, SFT, and RL

arXiv · PDF · Open in the Atlas

Code that ran

5 of 11 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 2 have no contract verdict; 3 failures of our instrument; 6 no recorded run), measured 2026-11-24; 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/2504.11455.json · badge: /api/ran/2504.11455.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
wdrink/simplear canonical (classifier label)
classifier basis not recorded on the link
5 ran · 6 no recorded run
FunctionStatusWhere it lives
collate_eval Ran
ran; our contract draft was wrong, not the code
wdrink/simplear/hpsv2/evaluation.py
code served (permissive licence) · get_code("05feab6a291f31ce")
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

torch.manual_seed(0)

# The function expects a batch, which is a list of samples
# Each sample is a tuple where:
# - sample[0] is an image tensor
# - sample[1] is a caption tensor

# Create sample images and captions
image1 = torch.randn(3, 4, 4)  # 3 channels, 4x4 spatial
image2 = torch.randn(3, 4, 4)

caption1 = torch.tensor([1, 2, 3, 4])  # sequence of token ids
caption2 = torch.tensor([5, 6, 7])     # different length

# Create batch as list of tuples
batch = [
    (image1, caption1),
    (image2, caption2)
]

ARGS = {
    "batch": batch
}
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
extract_patches Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wdrink/simplear/simpar/mm_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from HumanMLLM/LLaVA-Scissor, is pointer only (licence: NONE) · get_code("b0a851cae92754ff")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from HumanMLLM/LLaVA-Scissor, and GitHub detected no licence in that repository 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.

load_models Ran
ran on a synthesized input
wdrink/simplear/hpsv2/utils.py
code served (permissive licence) · get_code("4b120d52e38841a1")
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 list, ndim 1, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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 tempfile
import os

# Create temporary directories for testing
temp_dir = tempfile.mkdtemp()
model_path = os.path.join(temp_dir, "models")
command_path = os.path.join(temp_dir, "commands")
os.makedirs(model_path, exist_ok=True)
os.makedirs(command_path, exist_ok=True)

# Create some dummy model files for testing
dummy_model_file = os.path.join(model_path, "model.pth")
with open(dummy_model_file, 'w') as f:
    f.write("dummy model content")

# Create another model with different extension
dummy_model_file2 = os.path.join(model_path, "model.pt")
with open(dummy_model_file2, 'w') as f:
    f.write("dummy model content 2")

# Create a blacklisted file
blacklisted_file = os.path.join(model_path, "model.tmp")
with open(blacklisted_file, 'w') as f:
    f.write("blacklisted content")

ARGS = {
    "model_path": model_path,
    "model_url": None,
    "command_path": command_path,
    "ext_filter": [".pth", ".pt"],
    "download_name": None,
    "ext_blacklist": [".tmp"]
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
basicsr — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type list, ndim 1, dtype family float — a list output has no array shape of its own; none is stated
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
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
prepare_inputs_for_generation Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
wdrink/simplear/hpsv2/src/open_clip/coca_model.py
pointer only (licence: MIT); the stored copy get_code serves, from WHU-USI3DV/TreeCLS, is pointer only (licence: NONE) · get_code("fb651d0a97fd4d3f")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from WHU-USI3DV/TreeCLS, and GitHub detected no licence in that repository 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.

run Ran
ran on a synthesized input
wdrink/simplear/hpsv2/utils.py
code served (permissive licence) · get_code("c061cfab2678fcdf")
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 str. 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 os
import subprocess

# The function takes: command, desc, errdesc, custom_env, live
# Let's construct valid arguments for each parameter

# command: a string command to run via shell
command = "echo 'Hello from subprocess'"

# desc: optional description string
desc = "Running a simple echo command"

# errdesc: optional error description string
errdesc = "Failed to run echo command"

# custom_env: optional dict of environment variables
custom_env = None  # Using default os.environ

# live: boolean flag for whether to show live output
live = False

ARGS = {
    "command": command,
    "desc": desc,
    "errdesc": errdesc,
    "custom_env": custom_env,
    "live": live
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not 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
auto_pad_images Not yet run
unverified (harvested, no recorded run)
wdrink/simplear/simpar/mm_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from HumanMLLM/LLaVA-Scissor, is pointer only (licence: NONE) · get_code("3c8823948724e269")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from HumanMLLM/LLaVA-Scissor, and GitHub detected no licence in that repository 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.

process_video_with_decord Not yet run
unverified (harvested, no recorded run)
wdrink/simplear/simpar/utils.py
code served (permissive licence) · get_code("7d0ceb9bee72c22d")
How it ran

no invocation recorded.

process_video_with_pyav Not yet run
unverified (harvested, no recorded run)
wdrink/simplear/simpar/utils.py
code served (permissive licence) · get_code("5bd0aa0a6397c421")
How it ran

no invocation recorded.

resize_and_center_crop Not yet run
unverified (harvested, no recorded run)
wdrink/simplear/simpar/mm_utils.py
pointer only (licence: MIT); the stored copy get_code serves, from HumanMLLM/LLaVA-Scissor, is pointer only (licence: NONE) · get_code("c80358dff96c25ce")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from HumanMLLM/LLaVA-Scissor, and GitHub detected no licence in that repository 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.

safe_load_tokenizer Not yet run
unverified (harvested, no recorded run)
wdrink/simplear/simpar/conversation.py
code served (permissive licence) · get_code("b20705b0dfd77ffc")
How it ran

no invocation recorded.

vllm_t2i Not yet run
unverified (harvested, no recorded run)
wdrink/simplear/simpar/model/builder.py
code served (permissive licence) · get_code("dd437677b4dc71f9")
How it ran

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, 7 are also present in other papers whose code we hold (7 with at least one paper dated earlier, 0 the same month, 5 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
prepare_inputs_for_generation 43 other papers
37 dated earlier, 4 later, 2 same year, order not determinable
2301.07094 (2023-01)
Learning Customized Visual Models with Retrieval-Augmented Knowledge
2303.14814 (2023-03)
WinCLIP: Zero-/Few-Shot Anomaly Classification and Segmentation
2305.07017 (2023-05)
An Inverse Scaling Law for CLIP Training
and 40 more not named here
extract_patches 20 other papers
11 dated earlier, 7 later, 2 same year, order not determinable
2411.10332 (2024-11)
Number it: Temporal Grounding Videos like Flipping Manga
2411.11360 (2024-11)
CCExpert: Advancing MLLM Capability in Remote Sensing Change Captioning with Difference-Aware Integration and a Foundational Dataset
2411.14432 (2024-11)
Insight-V: Exploring Long-Chain Visual Reasoning with Multimodal Large Language Models
and 17 more not named here
auto_pad_images 19 other papers
10 dated earlier, 7 later, 2 same year, order not determinable
2411.10332 (2024-11)
Number it: Temporal Grounding Videos like Flipping Manga
2411.11360 (2024-11)
CCExpert: Advancing MLLM Capability in Remote Sensing Change Captioning with Difference-Aware Integration and a Foundational Dataset
2411.14432 (2024-11)
Insight-V: Exploring Long-Chain Visual Reasoning with Multimodal Large Language Models
and 16 more not named here
resize_and_center_crop 18 other papers
10 dated earlier, 6 later, 2 same year, order not determinable
2411.10332 (2024-11)
Number it: Temporal Grounding Videos like Flipping Manga
2411.11360 (2024-11)
CCExpert: Advancing MLLM Capability in Remote Sensing Change Captioning with Difference-Aware Integration and a Foundational Dataset
2411.14432 (2024-11)
Insight-V: Exploring Long-Chain Visual Reasoning with Multimodal Large Language Models
and 15 more not named here
safe_load_tokenizer 12 other papers
6 dated earlier, 4 later, 2 same year, order not determinable
2411.15024 (2024-11)
DyCoke: Dynamic Compression of Tokens for Fast Video Large Language Models
2412.03248 (2024-12)
AIM: Adaptive Inference of Multi-Modal LLMs via Token Merging and Pruning
2412.07689 (2024-12)
RoboTron-Drive: All-in-One Large Multimodal Model for Autonomous Driving
and 9 more not named here
collate_eval 1 other paper
1 dated earlier
2306.09341 (2023-06)
Human Preference Score v2: A Solid Benchmark for Evaluating Human Preferences of Text-to-Image Synthesis
process_video_with_pyav 1 other paper
1 dated earlier
2503.23463 (2025-03)
OpenDriveVLA: Towards End-to-end Autonomous Driving with Large Vision Language Action Model

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

This work presents SimpleAR, a vanilla autoregressive visual generation framework without complex architecure modifications. Through careful exploration of training and inference optimization, we demonstrate that: 1) with only 0.5B parameters, our model can generate 1024x1024 resolution images with high fidelity, and achieve competitive results on challenging text-to-image benchmarks, e.g., 0.59 on GenEval and 79.66 on DPG; 2) both supervised fine-tuning (SFT) and Group Relative Policy Optimization (GRPO) training could lead to significant improvements on generation aesthectics and prompt alignment; and 3) when optimized with inference acceleraton techniques like vLLM, the time for SimpleAR to generate an 1024x1024 image could be reduced to around 14 seconds. By sharing these findings and open-sourcing the code, we hope to reveal the potential of autoregressive visual generation and encourage more participation in this research field. Code is available at https://github.com/wdrink/SimpleAR.

For agents

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

get_harvested_code_for_paper("2504.11455")
get_code_for_paper("2504.11455")
have("2504.11455")

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

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

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

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

Connect an agent — have() is free.