Self-Training Large Language Models for Improved Visual Program Synthesis With Visual Reinforcement

Zaid Khan, V. Bg, S. Schulter, Yun Fu, M. Chandraker
4/1/2024

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Visual program synthesis is a promising approach to ex-ploit the reasoning abilities of large language models for compositional computer vision tasks. Previous work has used few-shot prompting with frozen LLMs to synthesize visual programs.

Show full abstract

Training an LLM to write better visual programs is an attractive prospect, but it is unclear how to accomplish this. No dataset of visual programs for training exists, and acquisition of a visual program dataset cannot be easily crowdsourced due to the need for expert annotators. To get around the lack of direct supervision, we explore improving the program synthesis abilities of an LLM using feedback from interactive experience. We propose a method where we exploit existing annotations for a vision-language task to improvise a coarse reward signal for that task, treat the LLM as a policy, and apply reinforced self-training to improve the visual program synthesis ability of the LLM for that task. We describe a series of experiments on object detection, compositional visual question answering, and image-text retrieval, and show that in each case, the self-trained LLM outperforms or performs on par with few-shot frozen LLMs that are an order of magnitude larger. Website: https://zaidkhan.me/ViReP

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{khan2024selftraining,
  title  = {Self-Training Large Language Models for Improved Visual Program Synthesis With Visual Reinforcement},
  author = {Zaid Khan and V. Bg and S. Schulter and Yun Fu and M. Chandraker},
  year   = {2024},
  eprint = {2404.04627},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2404.04627},
  journal = {CVPR 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.04627.svg)](https://codeofpaper.com/paper/2404.04627)

Discussion