PropTest:用于改进视觉编程的自动属性测试
PropTest: Automatic Property Testing for Improved Visual Programming
AI总结:
PropTest通过LLM生成代码测试初始解的视觉属性,改进视觉编程,在公开LLM下达到SOTA效果,显著提升ViperGPT在GQA和RefCOCO+上的准确率。
摘要:
视觉编程最近作为一种端到端黑盒视觉推理模型的替代方案而出现。这类方法利用大型语言模型(LLMs)生成可执行计算机程序的源代码,以解决给定问题。该策略的优势在于提供可解释的推理路径,且无需使用特定任务数据微调模型。我们提出了PropTest,这是一种通用策略,通过进一步使用LLM生成代码来测试初始一轮提议解中的视觉属性,从而改进视觉编程。我们的方法为数据类型一致性、输出语法和语义属性生成测试。PropTest在使用公开可用LLM的同时,取得了与最先进方法相当的结果。这一点在视觉问答和指代表达理解的不同基准上得到了验证。特别是,PropTest改进了ViperGPT,在使用Llama3-8B的GQA上获得了46.1%的准确率(+6.0%),在使用CodeLlama-34B的RefCOCO+上获得了59.5%(+8.1%)。
英文摘要:
Visual Programming has recently emerged as an alternative to end-to-end black-box visual reasoning models. This type of method leverages Large Language Models (LLMs) to generate the source code for an executable computer program that solves a given problem. This strategy has the advantage of offering an interpretable reasoning path and does not require finetuning a model with task-specific data. We propose PropTest, a general strategy that improves visual programming by further using an LLM to generate code that tests for visual properties in an initial round of proposed solutions. Our method generates tests for data-type consistency, output syntax, and semantic properties. PropTest achieves comparable results to state-of-the-art methods while using publicly available LLMs. This is demonstrated across different benchmarks on visual question answering and referring expression comprehension. Particularly, PropTest improves ViperGPT by obtaining 46.1\% accuracy (+6.0\%) on GQA using Llama3-8B and 59.5\% (+8.1\%) on RefCOCO+ using CodeLlama-34B.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。