Visual-ERM: Reward Modeling for Visual Equivalence

Ziyu Liu, Shengyuan Ding, Xinyu Fang, Xuanlang Dai, Penghui Yang +5 more
3/13/2026
cs.CVcs.AI

No official code found. Best implementation: InternLM/Visual-ERM (64 stars, last commit 2026-03-23).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

Official Implementation of "Visual-ERM: Reward Modeling for Visual Equivalence"

640Shell, PythonMar 9, 20267 months ago
chart-understandingdocument-parsinglarge-language-modelslarge-vision-language-modelsllm+4 more

Similar Papers

Cite this paper

@article{liu2026visualerm,
  title  = {Visual-ERM: Reward Modeling for Visual Equivalence},
  author = {Ziyu Liu and Shengyuan Ding and Xinyu Fang and Xuanlang Dai and Penghui Yang and Jianze Liang and Jiaqi Wang and Kai Chen and Dahua Lin and Yuhang Zang},
  year   = {2026},
  eprint = {2603.13224},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.13224v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.13224.svg)](https://codeofpaper.com/paper/2603.13224)

Discussion