From Pixel to Coding: Evaluating the Figure Reproduction Capabilities of MLLMs
Zijian Chen, Zhengyu Chen, Bohan Liang, Lirong Deng, Yushuo Zheng, Yanwei Jiang, Qi Jia, Kaiwei Zhang, Wenjun Zhang, Guangtao Zhai
Abstract
Multimodal Large Language Models (MLLMs) have demonstrated impressive capabilities in both visual understanding and code generation. However, existing benchmarks typically evaluate these two modalities in isolation, lacking a dedicated assessment of their unification, i.e., how a model can perceive complex visual structures and synthesize them into precise, executable code. Moreover, current visual code generation benchmarks often rely on simplified layouts within single programming environments, falling short of evaluating true unified multimodal reasoning. To bridge this gap, we propose FigCodeBench, a comprehensive framework for rigorously evaluating MLLMs on figure reproduction, integrating multimodal comprehension and generation. We first design a systematic dataset construction pipeline, resulting in a total of 6,194 instances that cover 7 functional categories and 4 types of programming languages. We further categorize figure reproduction into three tiers with visual and code complexity modeling, specifically targeting complex structural reasoning, varying aspect ratios, and dense geometric constraints. We introduce a multi-dimensional evaluation protocol, encompassing visual fidelity and syntactic isomorphism, that aligns highly with the Mean Machine Opinion Score (MMOS) and human preferences. Based on our framework, we conducted extensive experiments on 24 widely used proprietary and open-source MLLMs (e.g., Gemini 3.1 Pro, GPT-5.4, and Kimi-K2.5), where we observed a universal, non-linear performance cliff across different programming languages and difficulty scenarios for all models, and gained several insights, such as the significant metric decline in rigid declarative languages.
Create a lesson
Metadata
- Categories
- cs.CV, cs.AI
- Comments
- 46 pages, 18 figures
Related papers
VibeVideoAgent: Closing the Perceptual Loop for Code-Driven Video Generation
Shared title terminologycs.CVXuanyu Zheng, Luoyuan Zhang, Yancheng Long et al.
When Position Favors the Wrong Part: Evaluating Left-Right Discrimination in Semantic Correspondence
Shared title terminologycs.CVPingan Wang
Exploring the Design Factors of Pixel-space Diffusion
Shared title terminologycs.CVMang Ning, Le Zhang, Albert Ali Salah et al.
Incorporating the Knowledge Distillation to Improve the EfficientNet Transfer Learning Capability
Shared title terminologycs.CVTjeng Wawan Cenggoro
geo-eval-harness: An Evaluation Harness for Geospatial Foundation Models
Shared title terminologycs.CVNils Lehmann, Caleb Robinson, Isaac Corley et al.
X-Matte: VAE-Free Pixel-Space Flow Matching for Single-Step Image Matting
Shared title terminologycs.CVZanyi Wang, Jiaang Li, Dengyang Jiang et al.