SYNTHESIS NOTE
Topics›RLVR›this note

Does visual reward training generalize better than code matching?

When trained on one chart dataset, do models rewarded for matching rendered images transfer better to unseen charts than models trained to match ground-truth code? This matters because it reveals what training signals teach models to learn.

Synthesis note · 2026-11-18 · sourced from RLVR

Testing the RRVF-trained model's generalization, the paper reports a sharp contrast between RL training and supervised fine-tuning (SFT) on image-to-code generation. In a zero-shot evaluation on the unseen Plot2Code dataset, the SFT baseline's code execution rate "dramatically plummets from 69.00% on the Chartmimic to 49.24% on the Plot2Code." The RRVF-trained model's execution rate, trained on the same ChartMimic domain, "remains remarkably stable, decreasing only negligibly from 97.83% to 96.21%" on the same zero-shot transfer.

The authors read this gap as evidence of what the two training signals actually teach. SFT, trained to match specific code outputs, "learns brittle, non-transferable knowledge tied to the specific code patterns of the ChartMimic dataset." RRVF, trained instead on whether the rendered code reproduces the source image, is said to learn "the fundamental and transferable principles of translating visual elements into programmatic logic, rather than simply memorizing code templates" — the reward target, not training compute or data volume, is credited with the difference.

This generalization result is the evidence behind the reward design described in Can visual matching alone train image-to-code models without text?: rewarding the rendered-image match rather than exact code strings is what the paper credits with transfer, not just in-domain accuracy. It parallels the claim in Does verbose chain-of-thought actually help multimodal perception tasks? that the choice of what gets optimized, not just whether RL is used at all, determines whether multimodal training transfers to new settings.

The comparison covers only one transfer pair — ChartMimic to Plot2Code within the chart domain — so the excerpt does not establish whether the same SFT-versus-RRVF gap holds for the web-interface domain, or against other RL reward designs besides visual similarity. The claim that the reward target explains the gap is the authors' own interpretation; the excerpt does not report a controlled ablation isolating reward design from other training differences between the SFT and RRVF runs.

Inquiring lines that read this note 18

This note is a source for these research framings, grouped by the broader line of inquiry each explores. Scan the bold lines of inquiry; follow any specific question forward.

Can visual rendering-based rewards effectively improve code and layout quality? Can AI systems formally evaluate design quality and taste? How important is reward engineering relative to pretraining for reasoning? How reliably do benchmark metrics reflect actual model capability? How can reward models overcome their inherent blindspots and biases? How do quality and diversity in synthetic data affect model capabilities?

Related concepts in this collection 2

This note in its neighbourhood — explore the map, then jump to a related concept in the list below.

Concept map
13 direct connections · 75 in 2-hop network ·medium cluster Open in graph ↗

Click a node to walk · click center to open · click Open in graph to see this note in the full knowledge graph

your link semantically near linked from elsewhere

Related papers in this collection 8

Papers most semantically related to this note, ranked by cosine similarity in the embedding space.

Original note title

RRVF-trained models hold their code-execution rate on an unseen chart benchmark while supervised fine-tuning collapses from 69% to 49%