VDebugger: Harnessing Execution Feedback for Debugging Visual Programs
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 p...
Gespeichert in:
Hauptverfasser: | , , , , , , |
---|---|
Format: | Artikel |
Sprache: | eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
container_end_page | |
---|---|
container_issue | |
container_start_page | |
container_title | |
container_volume | |
creator | Wu, Xueqing Lin, Zongyu Zhao, Songyan Wu, Te-Lin Lu, Pan Peng, Nanyun Chang, Kai-Wei |
description | 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/ |
doi_str_mv | 10.48550/arxiv.2406.13444 |
format | Article |
fullrecord | <record><control><sourceid>arxiv_GOX</sourceid><recordid>TN_cdi_arxiv_primary_2406_13444</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><sourcerecordid>2406_13444</sourcerecordid><originalsourceid>FETCH-LOGICAL-a674-9f4ca3ad14d6426302134722442ff7b9be4d15d4417fd614e918f963168cf5393</originalsourceid><addsrcrecordid>eNotj71uwjAURr0wVMADdKpfIGls3zhxN0RJQUJqB8Qa3cTXkVVIkE0q-vblp9O3HH06h7FnkaVQ5nn2iuHif1IJmU6FAoAnVu3fqRm7jsIbX2PoKUbfd3x1oXY8-6HnFZFtsP3mbgj8wd6AvY8jHvhXGLqAxzhjE4eHSPP_nbJdtdot18n282OzXGwT1AUkxkGLCq0Aq0FqlcmrRSElgHSuaExDYEVuAUThrBZARpTOaCV02bpcGTVlL4_be0h9Cv6I4be-BdX3IPUHnLFE1Q</addsrcrecordid><sourcetype>Open Access Repository</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype></control><display><type>article</type><title>VDebugger: Harnessing Execution Feedback for Debugging Visual Programs</title><source>arXiv.org</source><creator>Wu, Xueqing ; Lin, Zongyu ; Zhao, Songyan ; Wu, Te-Lin ; Lu, Pan ; Peng, Nanyun ; Chang, Kai-Wei</creator><creatorcontrib>Wu, Xueqing ; Lin, Zongyu ; Zhao, Songyan ; Wu, Te-Lin ; Lu, Pan ; Peng, Nanyun ; Chang, Kai-Wei</creatorcontrib><description>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/</description><identifier>DOI: 10.48550/arxiv.2406.13444</identifier><language>eng</language><subject>Computer Science - Computation and Language ; Computer Science - Computer Vision and Pattern Recognition</subject><creationdate>2024-06</creationdate><rights>http://creativecommons.org/licenses/by-sa/4.0</rights><oa>free_for_read</oa><woscitedreferencessubscribed>false</woscitedreferencessubscribed></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><link.rule.ids>228,230,778,883</link.rule.ids><linktorsrc>$$Uhttps://arxiv.org/abs/2406.13444$$EView_record_in_Cornell_University$$FView_record_in_$$GCornell_University$$Hfree_for_read</linktorsrc><backlink>$$Uhttps://doi.org/10.48550/arXiv.2406.13444$$DView paper in arXiv$$Hfree_for_read</backlink></links><search><creatorcontrib>Wu, Xueqing</creatorcontrib><creatorcontrib>Lin, Zongyu</creatorcontrib><creatorcontrib>Zhao, Songyan</creatorcontrib><creatorcontrib>Wu, Te-Lin</creatorcontrib><creatorcontrib>Lu, Pan</creatorcontrib><creatorcontrib>Peng, Nanyun</creatorcontrib><creatorcontrib>Chang, Kai-Wei</creatorcontrib><title>VDebugger: Harnessing Execution Feedback for Debugging Visual Programs</title><description>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/</description><subject>Computer Science - Computation and Language</subject><subject>Computer Science - Computer Vision and Pattern Recognition</subject><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2024</creationdate><recordtype>article</recordtype><sourceid>GOX</sourceid><recordid>eNotj71uwjAURr0wVMADdKpfIGls3zhxN0RJQUJqB8Qa3cTXkVVIkE0q-vblp9O3HH06h7FnkaVQ5nn2iuHif1IJmU6FAoAnVu3fqRm7jsIbX2PoKUbfd3x1oXY8-6HnFZFtsP3mbgj8wd6AvY8jHvhXGLqAxzhjE4eHSPP_nbJdtdot18n282OzXGwT1AUkxkGLCq0Aq0FqlcmrRSElgHSuaExDYEVuAUThrBZARpTOaCV02bpcGTVlL4_be0h9Cv6I4be-BdX3IPUHnLFE1Q</recordid><startdate>20240619</startdate><enddate>20240619</enddate><creator>Wu, Xueqing</creator><creator>Lin, Zongyu</creator><creator>Zhao, Songyan</creator><creator>Wu, Te-Lin</creator><creator>Lu, Pan</creator><creator>Peng, Nanyun</creator><creator>Chang, Kai-Wei</creator><scope>AKY</scope><scope>GOX</scope></search><sort><creationdate>20240619</creationdate><title>VDebugger: Harnessing Execution Feedback for Debugging Visual Programs</title><author>Wu, Xueqing ; Lin, Zongyu ; Zhao, Songyan ; Wu, Te-Lin ; Lu, Pan ; Peng, Nanyun ; Chang, Kai-Wei</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-a674-9f4ca3ad14d6426302134722442ff7b9be4d15d4417fd614e918f963168cf5393</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2024</creationdate><topic>Computer Science - Computation and Language</topic><topic>Computer Science - Computer Vision and Pattern Recognition</topic><toplevel>online_resources</toplevel><creatorcontrib>Wu, Xueqing</creatorcontrib><creatorcontrib>Lin, Zongyu</creatorcontrib><creatorcontrib>Zhao, Songyan</creatorcontrib><creatorcontrib>Wu, Te-Lin</creatorcontrib><creatorcontrib>Lu, Pan</creatorcontrib><creatorcontrib>Peng, Nanyun</creatorcontrib><creatorcontrib>Chang, Kai-Wei</creatorcontrib><collection>arXiv Computer Science</collection><collection>arXiv.org</collection></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext_linktorsrc</fulltext></delivery><addata><au>Wu, Xueqing</au><au>Lin, Zongyu</au><au>Zhao, Songyan</au><au>Wu, Te-Lin</au><au>Lu, Pan</au><au>Peng, Nanyun</au><au>Chang, Kai-Wei</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>VDebugger: Harnessing Execution Feedback for Debugging Visual Programs</atitle><date>2024-06-19</date><risdate>2024</risdate><abstract>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/</abstract><doi>10.48550/arxiv.2406.13444</doi><oa>free_for_read</oa></addata></record> |
fulltext | fulltext_linktorsrc |
identifier | DOI: 10.48550/arxiv.2406.13444 |
ispartof | |
issn | |
language | eng |
recordid | cdi_arxiv_primary_2406_13444 |
source | arXiv.org |
subjects | Computer Science - Computation and Language Computer Science - Computer Vision and Pattern Recognition |
title | VDebugger: Harnessing Execution Feedback for Debugging Visual Programs |
url | https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-16T18%3A49%3A50IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-arxiv_GOX&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=VDebugger:%20Harnessing%20Execution%20Feedback%20for%20Debugging%20Visual%20Programs&rft.au=Wu,%20Xueqing&rft.date=2024-06-19&rft_id=info:doi/10.48550/arxiv.2406.13444&rft_dat=%3Carxiv_GOX%3E2406_13444%3C/arxiv_GOX%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_id=info:pmid/&rfr_iscdi=true |