Flow2Code: Evaluating Large Language Models for Flowchart-based Code Generation Capability

While large language models (LLMs) show promise in code generation, existing benchmarks neglect the flowchart-based code generation.To promote further research on flowchartbased code generation, this work presents Flow2Code, a novel benchmark for flowchartbased code generation evaluation.The evaluation dataset spans 15 programming languages and includes 5,622 code segments paired with 16,866 flowcharts of three types: code, UML, and pseudocode.Extensive experiments with 13 multimodal LLMs reveal that current LLMs can not generate code based on flowcharts perfectly.Besides, experiment results show that the supervised fine-tuning technique contributes greatly to the models' performance.We publicly release our code and datasets at https://github.com/hml-github/Flow2Code.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.425
Primary Topic
Model-Driven Software Engineering Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Flow2Code: Evaluating Large Language Models for Flowchart-based Code Generation Capability

Aimin Zhou, Xiaoming Shi, Jie Zeng, Wei Zhang et al.
Model-Driven Software Engineering Techniques
article

Flow2Code: Evaluating Large Language Models for Flowchart-based Code Generation Capability

Aimin Zhou, Xiaoming Shi, Jie Zeng, Wei Zhang, Yankai Jiang, Zeming Liu, Mengliang He
article en

Abstract

While large language models (LLMs) show promise in code generation, existing benchmarks neglect the flowchart-based code generation.To promote further research on flowchartbased code generation, this work presents Flow2Code, a novel benchmark for flowchartbased code generation evaluation.The evaluation dataset spans 15 programming languages and includes 5,622 code segments paired with 16,866 flowcharts of three types: code, UML, and pseudocode.Extensive experiments with 13 multimodal LLMs reveal that current LLMs can not generate code based on flowcharts perfectly.Besides, experiment results show that the supervised fine-tuning technique contributes greatly to the models' performance.We publicly release our code and datasets at https://github.com/hml-github/Flow2Code.

East China Normal University
Openalex Percentile: Top 80%
Model-Driven Software Engineering Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.