vix.ing · top · new · best · stats · spec

PropTest: Automatic Property Testing for Improved Visual Programming

2024/03/25 by Jaywon Koo, Ziyan Yang, Koo, Jaywon +8 · 1 voice · 1 citation
Computer Science · #Computer Graphics and Visualization Techniques #Interactive and Immersive Displays #Teaching and Learning Programming #cs.CV

paper · pdf · doi:10.48550/arxiv.2403.16921

openalex publication_date 2024/03/25 · openalex created_date 2025/10/10 · openalex updated_date 2026/07/28

Abstract

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.

Cited by

Discussions

Related