247

Visual Program Distillation with Template-Based Augmentation

Conference on Empirical Methods in Natural Language Processing (EMNLP), 2024
Main:9 Pages
6 Figures
Bibliography:3 Pages
15 Tables
Appendix:9 Pages
Abstract

Adapting visual programming or prompting large language models (LLMs) to generate executable code for visual tasks like visual question answering (VQA) for specialized tasks or domains remains challenging due to high annotation and inference costs. We propose a low-cost visual program distillation method that can be used for models with at most 1 billion parameters and requires no human-generated program annotations. We achieve this through synthetic data augmentation based on decoupling programs into higher-level skills, called templates, and their corresponding arguments. Experimental results show that, with a relatively small amount of question/answer data, small language models can generate high-quality specialized visual programs with the added benefit of much faster inference

View on arXiv
Comments on this paper