Description: A benchmark for evaluating LMM's cross-modal reasoning capability via chart-to-code generation.
large multimodal models (7) multimodal code generation (2)
We introduce a new benchmark, ChartMimic , aimed at assessing the visually-grounded code generation capabilities of large multimodal models (LMMs) . ChartMimic utilizes information-intensive visual charts and textual instructions as inputs, requiring LMMs to generate the corresponding code for chart rendering.
ChartMimic includes 4,800 human-curated (figure, instruction, code) triplets , which represent the authentic chart use cases found in scientific papers across various domains (e.g., Physics, Computer Science, Economics, etc). These charts span 18 regular types and 4 advanced types, diversifying into 201 subcategories.
Furthermore, we propose multi-level evaluation metrics to provide an automatic and thorough assessment of the output code and the rendered charts. Unlike existing code generation benchmarks, ChartMimic places emphasis on evaluating LMMs' capacity to harmonize a blend of cognitive capabilities, encompassing visual understanding, code generation, and cross-modal reasoning .