INQUIRING LINE

Does rewarding an AI for how its visual output looks teach it to 'see' better than just grading the words it writes?

How do visual rewards compare to text-token RL for perception tasks?

This explores whether rewarding a multimodal model for what its output looks like (or where it looks) trains perception better than standard RL that scores the text tokens it writes, and what can go wrong with visual rewards.


This explores whether rewarding a model for what its output looks like, or where its attention goes, beats the usual approach of scoring the text it writes. The corpus has no head-to-head comparison on pure perception tasks like object recognition. What it does have is a set of results on chart-to-code and image-to-code tasks, plus some work on multimodal reasoning. Most of that material points one way: when the thing being judged is visual, scoring the visual result tends to teach more than scoring the text.

The clearest example is training models to turn an image into code that redraws it. One approach doesn't check whether the generated code matches a reference script. It runs the code, renders the picture, and rewards the model for how closely that picture matches the original Can visual matching alone train image-to-code models without text?. This works because of an asymmetry: checking whether two images match is much easier than writing the code that produces one. Grading the code text is also the wrong target, since many different scripts can draw the same chart. The payoff shows up in generalization. On a chart benchmark the model had never seen, the visually rewarded model kept 96% of its code running correctly, while a supervised fine-tuned model fell from 69% to 49% Does visual reward training generalize better than code matching?. A related method found that text-based checks alone hit a ceiling. Adding a model-judged visual similarity reward on top broke through that ceiling by 6–10% Can visual similarity rewards break the chart-to-code learning plateau?. Cheap text rules still had a job there: they handled formatting first, and the costlier visual feedback came in a second stage.

A more radical idea is to reward perception itself rather than the output. Reinforced Attention Learning treats the model's attention pattern, meaning which parts of the image it focuses on, as the thing being optimized, instead of the sequence of words it writes. It beats token-level RL on visual reasoning Can optimizing attention patterns improve multimodal RL better than optimizing tokens?. The argument is that in multimodal tasks the real decision happens when the model chooses where to look. Rewarding only the final words gives a blurry, indirect signal about that choice.

Visual rewards have their own blind spots, though. In text-to-image RL, every reward model tested failed to penalize the same kinds of flaws: warped geometry, duplicated objects, and entities blended into each other Do text-to-image rewards all miss the same structural flaws?. Reward models also have built-in style preferences that push trained models toward one uniform look Can reward models cause text-to-image collapse into single styles?. A visual reward is only as perceptive as whatever does the judging, and a similarity score can miss things a human would spot right away.

Part of the generalization advantage may also have less to do with visual versus text and more to do with RL versus supervised learning. RL seems to generalize better partly because it quietly down-weights the hardest training examples, which are the ones that cause overfitting in supervised learning Why does RL generalize better than SFT to new domains?. What the visual reward contributes is a better-aligned signal, one that rewards any output that looks right instead of one exact answer. That is the same reason splitting a reward into format and correctness parts helps in tool use Can reward decomposition beat supervised learning for tool use?. The practical lesson: reward the property you actually care about, at the level where it becomes visible. For perception, that level is the rendered image or the attention map, not the token string.


Sources 8 notes

Can visual matching alone train image-to-code models without text?

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.

Does visual reward training generalize better than code matching?

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.

Can visual similarity rewards break the chart-to-code learning plateau?

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.

Can optimizing attention patterns improve multimodal RL better than optimizing tokens?

Reinforced Attention Learning treats attention patterns as the primary policy target rather than token sequences. Direct optimization of information allocation shows stronger gains on visual reasoning than standard RLHF, because attention is where the actual decision happens.

Do text-to-image rewards all miss the same structural flaws?

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.

Show all 8 sources
Can reward models cause text-to-image collapse into single styles?

RLHF-aligned text-to-image models converge on monolithic styles because reward models contain directional preferences. D2-Align corrects this by learning directional bias vectors in embedding space, restoring diversity without sacrificing quality.

Why does RL generalize better than SFT to new domains?

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.

Can reward decomposition beat supervised learning for tool use?

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.

Papers this line draws on 8

The research behind the notes this line reads — ranked by how closely each paper relates.