paper-with-me

Papers

VDebugger: Harnessing Execution Feedback for Debugging Visual Programs

2024-06-19 · Xueqing Wu, Zongyu Lin, Songyan Zhao, Te-Lin Wu, Pan Lu, Nanyun Peng, Kai-Wei Chang

Visual programs are executable code generated by large language models to address visual reasoning problems. They decompose complex questions into multiple reasoning steps and invoke specialized models for each step to solve the problems. However, these programs are prone to logic errors, with our preliminary evaluation showing that 58% of the total errors are caused by program logic errors. Debugging complex visual programs remains a major bottleneck for visual reasoning. To address this, we introduce VDebugger, a novel critic-refiner framework trained to localize and debug visual programs by tracking execution step by step. VDebugger identifies and corrects program errors leveraging detailed execution feedback, improving interpretability and accuracy. The training data is generated through an automated pipeline that injects errors into correct visual programs using a novel mask-best decoding technique. Evaluations on six datasets demonstrate VDebugger's effectiveness, showing performance improvements of up to 3.2% in downstream task accuracy. Further studies show VDebugger's ability to generalize to unseen tasks, bringing a notable improvement of 2.3% on the unseen COVR task. Code, data and models are made publicly available at https://github.com/shirley-wu/vdebugger/

📄 PDF Abstract BibTeX arXiv:2406.13444

Code (1)

shirley-wu/vdebugger 공식 구현 pytorch

Tasks

Visual Reasoning

Methods 이 논문이 사용한 방법론

CoVR The composed video retrieval (CoVR) task is a new task, where the goal is to find a video that matches both a query image and a query text. The query image represents a visual…

Similar Papers 제목 키워드 기반

Revisit Self-Debugging with Self-Generated Tests for Code Generation

2025-01-22 · Xiancai Chen, Zhengwei Tao, Kechi Zhang, Changzhi Zhou 외

Large language models (LLMs) have shown significant advancements in code generation, but still face challenges on tasks beyond their basic capabilities. Recently, the notion of self-debugging has been proposed to boost t…

Code Generation

HACI: A Haptic-Audio Code Interface to Improve Educational Outcomes for Visually Impaired Introductory Programming Students

2025-09-28 · Pratham Gandhi arxiv

This thesis introduces the Haptic-Audio Code Interface (HACI), an educational tool designed to enhance programming education for visually impaired (VI) students by integrating haptic and audio feedback to compensate for …

Visual Navigation

Coding with Eyes: Visual Feedback Unlocks Reliable GUI Code Generating and Debugging

2026-03-14 · Zhilin Liu, Ye Huang, Ting Xie, Ruizhi Zhang 외 arxiv

Recent advances in Large Language Model (LLM)-based agents have shown remarkable progress in code generation. However, current agent methods mainly rely on text-output-based feedback (e.g. command-line outputs) for multi…

Code Generation

NL-Debugging: Exploiting Natural Language as an Intermediate Representation for Code Debugging

2025-05-21 · Weiming Zhang, Qingyao Li, Xinyi Dai, Jizheng Chen 외

Debugging is a critical aspect of LLM's coding ability. Early debugging efforts primarily focused on code-level analysis, which often falls short when addressing complex programming errors that require a deeper understan…

Towards a Neural Debugger for Python

2026-03-10 · Maximilian Beck, Jonas Gehring, Jannik Kossen, Gabriel Synnaeve arxiv

Training large language models (LLMs) on Python execution traces grounds them in code execution and enables the line-by-line execution prediction of whole Python programs, effectively turning them into neural interpreter…

Code Generation