HumanEval-V: Benchmarking High-Level Visual Reasoning with Complex Diagrams in Coding Tasks

Fengji Zhang, Linquan Wu, Huiyu Bai, Guancheng Lin, Xiao Li +4 more
10/16/2024
cs.CVcs.AI

Official code: HumanEval-V/HumanEval-V-Benchmark (15 stars, last commit 2025-02-25). 1 more implementation below.

Abstract

Understanding and reasoning over diagrams is a fundamental aspect of human intelligence. While Large Multimodal Models (LMMs) have demonstrated impressive capabilities across various tasks, existing benchmarks lack comprehensive evaluation of their diagram interpretation and reasoning abilities, particularly in coding contexts. We present HumanEval-V, a rigorous benchmark of human-annotated coding tasks that spans six task types and evaluates diverse visual reasoning capabilities. Each task features carefully crafted diagrams paired with function signatures and test cases, employing novel code generation tasks to thoroughly assess models' diagram comprehension. Through extensive experiments with 22 LMMs, we find that even top-performing models achieve modest success rates, with Claude 3.5 Sonnet reaching only 36.8% pass@1, highlighting substantial room for improvement. Our analysis reveals that current LMMs struggle with spatial transformations, topological relationships, and dynamic patterns that humans find intuitive. These findings provide valuable insights for advancing LMMs' visual reasoning abilities. We have open-sourced our code and benchmark at https://github.com/HumanEval-V/HumanEval-V-Benchmark.

View on arXivView PDF

Code Implementations(2)

A Lightweight Visual Reasoning Benchmark for Evaluating Large Multimodal Models through Complex Diagrams in Coding Tasks

151Shell, PythonOct 15, 20241 years ago

HumanEval-V: Benchmarking High-Level Visual Reasoning with Complex Diagrams in Coding Tasks

00CSS, HTMLOct 15, 20241 years ago

Similar Papers

Cite this paper

@article{zhang2024humanevalv,
  title  = {HumanEval-V: Benchmarking High-Level Visual Reasoning with Complex Diagrams in Coding Tasks},
  author = {Fengji Zhang and Linquan Wu and Huiyu Bai and Guancheng Lin and Xiao Li and Xiao Yu and Yue Wang and Bei Chen and Jacky Keung},
  year   = {2024},
  eprint = {2410.12381},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.12381v3}
}

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/2410.12381.svg)](https://codeofpaper.com/paper/2410.12381)

Discussion