跳到正文
研踪PaperTrail
← 研踪 PaperTrail

arXiv:2612.02434 · v1

Code-based Image Generation: Benchmarking, Baselines, and Improved Rewards

基于代码的图像生成:基准测试、基线模型与改进的奖励机制

首次提交 2026-12-02 02:58
版本更新 2026-12-02 02:58
雷达观测 2026-12-02 23:10
arXiv ↗PDF ↗

摘要

Recent improvements in the coding ability of language models have made code an emerging paradigm for image generation: the model writes a program, and a renderer turns it into an image. We benchmark frontier and open-weight LLMs on code-based image generation (CIG) and ask two further questions: 1) can open-source LLMs learn this capability from stronger models through post-training, and 2) does having a program enable a better reward for training? To answer them, we post-train open-source LLMs in two stages: distillation with supervised fine-tuning from a mixture of stronger teachers, then reinforcement learning with GRPO. We compare rewards that differ only by what the judge is shown: the image, the program, or both. We find that 1) after post-training, our model, Pictor-27B, matches or beats its teacher mix on GenEval2 and PRISM-Bench. 2) The program does enable a better reward: the model trained with the judge shown both image and program gains 18.0 GenEval2 GM points over its base model, against 15.5 for the program alone and 14.3 for the image alone. People also prefer its images to those of the image-only model. We analyse why. The image alone does not show what a shape is meant to be, and the program alone does not show whether it is visible in the render. Shown both, the judge can verify the intent of the program against the rendered image. Code, data and models are available at https://codeimagegen.github.io.

作者备注:Project page: https://codeimagegen.github.io

AI 论文解读

基于摘要 · 非全文审阅

作者对基于代码的图像生成(CIG)进行基准测试,并通过两阶段后训练提升开源模型能力,发现同时向奖励模型展示图像和程序能带来更好的训练效果。

正在读取账号与研究记录…

版本差异

目前只收录了一个版本。收录下一版后,可以对照标题、作者、分类和摘要。

观测到的版本

相邻记录可能跳过中间版本;首次发现 v2 及以上也会标为版本更新。

v1 · 2026-12-02 02:58 · 最新观测版本

Code-based Image Generation: Benchmarking, Baselines, and Improved Rewards

Recent improvements in the coding ability of language models have made code an emerging paradigm for image generation: the model writes a program, and a renderer turns it into an image. We benchmark frontier and open-weight LLMs on code-based image generation (CIG) and ask two further questions: 1) can open-source LLMs learn this capability from stronger models through post-training, and 2) does having a program enable a better reward for training? To answer them, we post-train open-source LLMs in two stages: distillation with supervised fine-tuning from a mixture of stronger teachers, then reinforcement learning with GRPO. We compare rewards that differ only by what the judge is shown: the image, the program, or both. We find that 1) after post-training, our model, Pictor-27B, matches or beats its teacher mix on GenEval2 and PRISM-Bench. 2) The program does enable a better reward: the model trained with the judge shown both image and program gains 18.0 GenEval2 GM points over its base model, against 15.5 for the program alone and 14.3 for the image alone. People also prefer its images to those of the image-only model. We analyse why. The image alone does not show what a shape is meant to be, and the program alone does not show whether it is visible in the render. Shown both, the judge can verify the intent of the program against the rendered image. Code, data and models are available at https://codeimagegen.github.io.

查看此版本解读 →查看此版本原文 ↗