VisualCoder: Guiding Vision Language Models in Code Execution with Fine-grained Chain-of-Thought Reasoning
Multimodal Large Language Models;Control Flow Graphs;Visualized Code Representation;Code Execution Reasoning;Fault Localization;Program Repair
I have read and agree with the venue's withdrawal policy on behalf of myself and my co-authors.
We present VISUALCODER, a method that enhances LLMs' reasoning on code execution by integrating Control Flow Graphs (CFGs) with Chain-of-Thought (CoT) reasoning.
@misc{
chi2024visualcoder,
title={VisualCoder: Guiding Vision Language Models in Code Execution with Fine-grained Chain-of-Thought Reasoning},
author={Cuong Le Chi and Chau Truong Vinh Hoang and Phan Nhật Huy and Dung D. Le and Tien N Nguyen and Nghi D. Q. Bui},
year={2024},
url={https://openreview.net/forum?id=gTwD366p5I}
}
Predicting program behavior and reasoning about code execution remain significant challenges in software engineering, particularly for large language models (LLMs) designed for code analysis. While these models excel at understanding static syntax, they often struggle with dynamic reasoning tasks. We introduce VisualCoder, a novel approach that enhances code reasoning by integrating multimodal Chain-of-Thought (CoT) reasoning with visual Control Flow Graphs (CFGs). By aligning code snippets with their corresponding CFGs, VisualCoder provides deeper insights into execution flow, enabling more accurate predictions of code behavior. Our experiments demonstrate that augmenting LLMs with visual CFGs significantly outperforms text-based CFG descriptions in code reasoning tasks. We address challenges in multimodal CoT integration through a reference mechanism, ensuring consistency between code and its execution path, thereby improving performance in program behavior prediction, error detection, and output generation.
I certify that there is no URL (e.g., github page) that could be used to find authors’ identity.
~Cuong_Le_Chi1 ~Chau_Truong_Vinh_Hoang1 ~Phan_Nhật_Huy1 ~Dung_D._Le2 ~Tien_N_Nguyen1 ~Nghi_D._Q._Bui1
Cuong Le Chi Chau Truong Vinh Hoang Phan Nhật Huy Dung D. Le Tien N Nguyen Nghi D. Q. Bui
I acknowledge that I and all co-authors of this work have read and commit to adhering to the ICLR Code of Ethics.
Multimodal Large Language Models Control Flow Graphs Visualized Code Representation Code Execution Reasoning Fault Localization Program Repair
I certify that there is no acknowledgement section in this submission for double blind review.
chi|visualcoder_guiding_vision_language_models_in_code_execution_with_finegrained_chainofthought_reasoning
/pdf/547e28f32d321e07f2bac6032b07efc2e05e7cd1.pdf
foundation or frontier models, including LLMs
I understand the reciprocal reviewing requirement as described on https://iclr.cc/Conferences/2025/CallForPapers. If none of the authors are registered as a reviewer, it may result in a desk rejection at the discretion of the program chairs. To request an exception, please complete this form at https://forms.gle/Huojr6VjkFxiQsUp6.
I certify that this submission complies with the submission instructions as described on https://iclr.cc/Conferences/2025/AuthorGuide.
VisualCoder: Guiding Vision Language Models in Code Execution with Fine-grained Chain-of-Thought Reasoning
ICLR 2025 Conference Withdrawn Submission
ICLR.cc/2025/Conference/Withdrawn_Submission