arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.13444cs.CLcs.CV
收藏

VDebugger:利用执行反馈调试视觉程序

VDebugger: Harnessing Execution Feedback for Debugging Visual Programs

University of California, Los-Angeles(加州大学洛杉矶分校)

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

AI总结:

本文提出VDebugger框架,通过逐步跟踪执行反馈来定位和调试视觉程序中的逻辑错误,在多个数据集上提升了下游任务准确率,并展现出对未见任务的泛化能力。

摘要:

视觉程序是由大型语言模型生成的可执行代码,用于解决视觉推理问题。它们将复杂问题分解为多个推理步骤,并为每个步骤调用专用模型来解决问题。然而,这些程序容易出现逻辑错误,我们的初步评估显示,总错误中有58%是由程序逻辑错误引起的。调试复杂视觉程序仍然是视觉推理的主要瓶颈。为了解决这个问题,我们提出了VDebugger,这是一个新颖的critic-refiner框架,通过逐步跟踪执行来定位和调试视觉程序。VDebugger利用详细的执行反馈识别并纠正程序错误,从而提高可解释性和准确性。训练数据通过一个自动化流程生成,该流程使用一种新颖的mask-best解码技术将错误注入正确的视觉程序中。在六个数据集上的评估证明了VDebugger的有效性,下游任务准确率提升最高达3.2%。进一步的研究表明,VDebugger能够泛化到未见过的任务,在未见的COVR任务上带来了2.3%的显著提升。代码、数据和模型已在https://github.com/shirley-wu/vdebugger/公开。

英文摘要:

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/

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

↑