arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2404.09486cs.CLcs.CVcs.SE
收藏

MMCode:针对视觉丰富编程问题的代码生成多模态大语言模型基准测试

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

National University of Singapore(新加坡国立大学);The University of Hong Kong(香港大学);Nanyang Technological University(南洋理工大学);Hong Kong Baptist University(香港浸会大学)

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

AI总结:

本文提出首个多模态编程数据集MMCode,包含3548个问题和6620张图像,用于评估多模态大语言模型在视觉丰富上下文中的算法问题解决能力,实验表明现有最先进模型在此类任务上表现不佳。

摘要:

编程通常涉及将详细复杂的规范转化为代码,开发者在此过程中常利用视觉辅助工具更有效地传达概念。尽管大型多模态模型的最新进展在视觉推理和数学任务中展现出卓越能力,但关于这些模型能否有效解析视觉元素以进行代码生成的研究仍寥寥无几。为此,我们提出MMCode,这是首个用于评估视觉丰富上下文中算法问题解决能力的多模态编程数据集。MMCode包含从10个编程竞赛网站的真实编程挑战中收集的3,548个问题和6,620张图像,由于对推理能力的极高要求,这带来了重大挑战。实验结果表明,当前最先进的模型难以解决这些问题。结果凸显了缺乏强大的视觉-代码模型,我们希望MMCode能激发该领域未来的研究。数据和代码已公开于https://github.com/likaixin2000/MMCode。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑