Should an AI learn visual skill by checking if its output actually looks right, or by asking a taste-trained judge?
How does render-and-compare training differ from expert-judged rewards in visual tasks?
This explores two ways to train AI models on visual tasks such as turning a chart or screenshot into code. In one, the model's output is rendered and compared with the target image. In the other, a separate model trained on human taste or expert judgment scores the output.
This explores the difference between rewarding a model because its output looks right when you actually render it and rewarding it because a judge model approves of it. The corpus suggests the two fail in different ways, and the strongest systems combine them.
Render-and-compare works by running the code the model wrote, drawing the result and checking it against the source image. RRVF rewards the model for how closely its rendered output matches the source image, not for matching any reference code Can visual matching alone train image-to-code models without text?. The idea behind it is an asymmetry: checking whether two pictures match is much easier than writing the code that produces one, so the checking step can supply a reliable training signal. This approach seems to generalize. On a chart benchmark the model had never seen, RRVF-trained models still produced code that ran 96% of the time. Models trained by imitating reference code fell from 69% to 49% Does visual reward training generalize better than code matching?. Rewarding the result rather than the exact steps leaves the model free to find any program that draws the right picture, and that seems to teach principles it can carry to new charts. CAD-RL takes the same approach for 3D design code. It rewards whether the code runs and how much the resulting shape overlaps the target, and reaches 99.6% executability Can task-specific rewards outperform general pretraining for CAD code?.
Expert-judged rewards are models trained on human preferences that score how good an image looks. Their weakness is blind spots. When text-to-image models were trained against several of these judges, each judge was exploited in its own way. All of them missed the same structural flaws: warped geometry, duplicated objects and figures that blend into each other Do text-to-image rewards all miss the same structural flaws?. These judges also don't transfer well between kinds of images. Judges trained on photorealistic images can't judge graphic layouts, because they never learned spatial balance or composition Why do image reward models fail at layout evaluation?. A judge's taste only extends as far as its training data.
The boundary between the two approaches is blurrier than it looks. MSRL renders the generated chart, but then a multimodal model judges the visual similarity, and the training starts with cheap rule-based text checks before adding the visual feedback Can visual similarity rewards break the chart-to-code learning plateau?. This layering is common. ToolRL also splits its reward into a simple format check plus a correctness score Can reward decomposition beat supervised learning for tool use?. In practice the choice is less between render-and-compare and judges, and more about which parts of the reward can be checked by computation and which still need judgment.
One caveat applies to both approaches. Research on reward learning in general suggests RL often brings out abilities the model already had from pretraining rather than teaching new ones What does reward learning actually do to model reasoning?. Part of RL's better generalization may also come from quietly down-weighting the hardest training examples, not from the reward design Why does RL generalize better than SFT to new domains?. So render-and-compare may beat imitation partly because it is RL at all, and only partly because of the rendering. The corpus doesn't yet include a head-to-head test of render-and-compare against expert judges on the same visual task, so that remains an open question.
Sources 9 notes
RRVF rewards MLLMs for how closely rendered code output matches the source image, not for matching ground-truth text or code. This leverages asymmetry-of-verification: checking if rendered output matches is easier than generating code, making visual similarity a tractable RL reward signal.
On an unseen chart benchmark, RRVF-trained models maintained 96% code execution accuracy (down only 2 points from training data), while supervised fine-tuning dropped from 69% to 49%. The difference suggests rewarding visual match rather than exact code teaches more transferable principles.
CAD-RL, trained with three domain-specific rewards and chain-of-thought guidance, achieves 99.63% executability and 78.7% geometric IoU under structured input, outperforming CAD-Coder by +8.3% IoU and +3.39% executability. This suggests hand-specified rewards can unlock latent reasoning in pretrained models for precise code generation.
Every tested reward model—aesthetic, preference, and consistency-based—develops its own failure mode, but all consistently fail to penalize geometric distortions, object duplication, and entity blending. A lightweight adaptive reward model trained on human-judged artifact examples can fill this gap.
ImageReward, HPS, and PickScore models trained on photorealistic text-to-image data cannot capture human preferences for graphic layouts because they lack exposure to spatial relationships and compositional balance. This distributional mismatch shows that domain transfer for preference models cannot be assumed across visual domains.
Show all 9 sources
MSRL pairs cheap rule-based textual rewards with costly MLLM-judged visual rewards comparing rendered code to ground-truth charts, improving ChartMimic and ReachQA scores by 6–10% beyond supervised-learning baselines. A two-stage curriculum applies textual rewards first, then adds visual feedback.
ToolRL decomposes rewards into binary format checking and correctness evaluation, achieving 17% improvement over base models and 15% over SFT on tool-use benchmarks. GRPO training outperformed PPO with the same reward design and generalized to unseen multi-hop QA.
Research shows RLVR improves sampling efficiency within existing capability boundaries without expanding them. A single training example suffices for activation, and spurious rewards work nearly as well as correct ones for models with appropriate pretraining.
RL achieves better OOD generalization not through algorithmic superiority but by implicitly down-weighting hard samples that drive gradient dominance and overfitting in SFT. Hard samples alone account for most of SFT's OOD degradation.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Rendering-Aware Reinforcement Learning for Vector Graphics Generation
- Understanding Reward Hacking in Text-to-Image Reinforcement Learning
- Learning Only with Images: Visual Reinforcement Learning with Reasoning, Rendering, and Visual Feedback
- Breaking the SFT Plateau: Multimodal Structured Reinforcement Learning for Chart-to-Code Generation
- ChartMaster: Advancing Chart-to-Code Generation with Real-World Charts and Chart Similarity Reinforcement Learning
- Spurious Rewards: Rethinking Training Signals in RLVR
- AeSlides: Incentivizing Aesthetic Layout in LLM-Based Slide Generation via Verifiable Rewards
- Why Does RL Generalize Better Than SFT? A Data-Centric Perspective on VLM Post-Training