Papers › MMCode: Benchmarking Multimodal Large Language Models for Code Generation with...

MMCode: Benchmarking Multimodal Large Language Models for Code Generation with Visually Rich Programming Problems

15 Apr 2024arXiv:2404.09486archive 2025-07-28

Kaixin Li, Yuchen Tian, Qisheng Hu, Ziyang Luo, Zhiyong Huang, Jing Ma

Programming often involves converting detailed and complex specifications into code, a process during which developers typically utilize visual aids to more effectively convey concepts. While recent developments in Large Multimodal Models have demonstrated remarkable abilities in visual reasoning and mathematical tasks, there is little work on investigating whether these models can effectively interpret visual elements for code generation. To this end, we present MMCode, the first multi-modal coding dataset for evaluating algorithmic problem-solving skills in visually rich contexts. MMCode contains 3,548 questions and 6,620 images collected from real-world programming challenges harvested from 10 code competition websites, presenting significant challenges due to the extreme demand for reasoning abilities. Our experiment results show that current state-of-the-art models struggle to solve these problems. The results highlight the lack of powerful vision-code models, and we hope MMCode can serve as an inspiration for future works in this domain. The data and code are publicly available at https://github.com/likaixin2000/MMCode.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2404.09486")

Code

Syntology Ran 13 of 16 code samples harvested from 2 repositories linked to this paper; 3 have no recorded run. Of those that ran: 2 ran · our draft was wrong; 11 ran with no contract checked.

By repository: official repository: 16 samples from 2 repositories, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

happylkx/mmcode officialmentioned in papermentioned on GitHub report
likaixin2000/mmcode officialmentioned in papermentioned on GitHub report
yuchen814/codehalu mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

16 samples harvested; 13 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

2ran · our draft was wrong
11ran
3unverified

Licence: 16 of the 16 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

auto_retry happylkx/mmcode/dev/cralwers/crawl_codeforces.py official repository ran no licence file found · pointer only · e61e8cf20c65c38e · report
build_problem_graphql happylkx/mmcode/dev/cralwers/crawl_leetcode.py official repository ran fingerprinted no licence file found · pointer only · 2def3c7eca32ab32 · report
convert_base64_to_pil_image happylkx/mmcode/utils.py official repository ran no licence file found · pointer only · 2f44b77cba4f7d60 · report
convert_pil_image_to_base64 happylkx/mmcode/models.py official repository ran · our draft was wrong no licence file found · pointer only · b6dbf724b472263e · report
create_module_from_string happylkx/mmcode/testing_utils.py official repository ran no licence file found · pointer only · 411f6099bf0f9c3b · report
custom_compare_ happylkx/mmcode/testing_utils.py official repository ran no licence file found · pointer only · cc054f0a84bb15b0 · report
extract_json_item happylkx/mmcode/dev/cralwers/crawl_geeksforgeeks_match_taco.py official repository ran fingerprinted no licence file found · pointer only · 46b26388baf0f1bc · report
format_space happylkx/mmcode/dev/cralwers/crawl_codeforces.py official repository ran fingerprinted no licence file found · pointer only · b8f69193d0fe6653 · report
generate_prompt likaixin2000/mmcode/generate.py official repository ran · our draft was wrong no licence file found · pointer only · 060d68859a97da44 · report
load_problems_from_folder happylkx/mmcode/utils.py official repository ran no licence file found · pointer only · f1767270c634a258 · report
load_problems_from_jsonl happylkx/mmcode/utils.py official repository ran no licence file found · pointer only · 476124a89c12a42b · report
read_problemset_from_file happylkx/mmcode/dev/cralwers/crawl_codechef_match_taco.py official repository ran no licence file found · pointer only · 6b1008f2d02c5834 · report
resize happylkx/mmcode/models.py official repository ran no licence file found · pointer only · 4a94e7342cb05fb9 · report
run_test happylkx/mmcode/testing_utils.py official repository unverified no licence file found · pointer only · 6f968344aa35117c · report
scrape_solutions happylkx/mmcode/dev/cralwers/crawl_aizu.py official repository unverified no licence file found · pointer only · d2c98394cb5d8d94 · report
scrape_tests happylkx/mmcode/dev/cralwers/crawl_aizu.py official repository unverified no licence file found · pointer only · 4d35a23d089b7e8a · report

Tasks

BenchmarkingCode GenerationVisual Reasoning

Datasets

Introduced by this paper, per the archive.

MMCode

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections