Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Visual-ERM: Reward Modeling for Visual Equivalence

About

Vision-to-code tasks require models to reconstruct structured visual inputs, such as charts, tables, and SVGs, into executable or structured representations with high visual fidelity. While recent Large Vision Language Models (LVLMs) achieve strong results via supervised fine-tuning, reinforcement learning remains challenging due to misaligned reward signals. Existing rewards either rely on textual rules or coarse visual embedding similarity, both of which fail to capture fine-grained visual discrepancies and are vulnerable to reward hacking. We propose Visual Equivalence Reward Model (Visual-ERM), a multimodal generative reward model that provides fine-grained, interpretable, and task-agnostic feedback to evaluate vision-to-code quality directly in the rendered visual space. Integrated into RL, Visual-ERM improves Qwen3-VL-8B-Instruct by +8.4 on chart-to-code and yields consistent gains on table and SVG parsing (+2.7, +4.1 on average), and further strengthens test-time scaling via reflection and revision. We also introduce VisualCritic-RewardBench (VC-RewardBench), a benchmark for judging fine-grained image-to-image discrepancies on structured visual data, where Visual-ERM at 8B decisively outperforms Qwen3-VL-235B-Instruct and approaches leading closed-source models. Our results suggest that fine-grained visual reward supervision is both necessary and sufficient for vision-to-code RL, regardless of task specificity.

Ziyu Liu, Shengyuan Ding, Xinyu Fang, Xuanlang Dai, Penghui Yang, Jianze Liang, Jiaqi Wang, Kai Chen, Dahua Lin, Yuhang Zang• 2026

Related benchmarks

TaskDatasetResultRank
Chart-to-CodeChartMimic Direct
Execution Rate94.3
25
Chart-to-CodeChartMimic Customized
Execution Rate95
9
Visual Equivalence Reward ModelingVisual-ERM-Bench Chart
F1h39.9
9
Visual Equivalence Reward ModelingVisual-ERM-Bench Table
F1 Score (h)56.4
9
Visual Equivalence Reward ModelingVisual-ERM-Bench AVG
F1h Score42.1
9
Visual Equivalence Reward ModelingVisual-ERM-Bench SVG
F1h Score28.3
9
Showing 6 of 6 rows

Other info

GitHub

Follow for update