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

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Khan, Zaid, BG, Vijay Kumar, Schulter, Samuel, Fu, Yun, Chandraker, Manmohan
Formato: Preprint
Publicado: 2024
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866916196501159936
author Khan, Zaid
BG, Vijay Kumar
Schulter, Samuel
Fu, Yun
Chandraker, Manmohan
author_facet Khan, Zaid
BG, Vijay Kumar
Schulter, Samuel
Fu, Yun
Chandraker, Manmohan
contents Visual program synthesis is a promising approach to exploit 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. 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
format Preprint
id arxiv_https___arxiv_org_abs_2404_04627
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Self-Training Large Language Models for Improved Visual Program Synthesis With Visual Reinforcement
Khan, Zaid
BG, Vijay Kumar
Schulter, Samuel
Fu, Yun
Chandraker, Manmohan
Computer Vision and Pattern Recognition
Visual program synthesis is a promising approach to exploit 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. 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
title Self-Training Large Language Models for Improved Visual Program Synthesis With Visual Reinforcement
topic Computer Vision and Pattern Recognition
url https://arxiv.org/abs/2404.04627