Visual Programming: Compositional visual reasoning without training

被引:17
|
作者
Gupta, Tanmay [1 ]
Kembhavi, Aniruddha [1 ]
机构
[1] PRIOR Allen Inst AI, Seattle, WA 98103 USA
关键词
D O I
10.1109/CVPR52729.2023.01436
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We present VISPROG, a neuro-symbolic approach to solving complex and compositional visual tasks given natural language instructions. VISPROG avoids the need for any task-specific training. Instead, it uses the in-context learning ability of large language models to generate python-like modular programs, which are then executed to get both the solution and a comprehensive and interpretable rationale. Each line of the generated program may invoke one of several off-the-shelf computer vision models, image processing subroutines, or python functions to produce intermediate outputs that may be consumed by subsequent parts of the program. We demonstrate the flexibility of VISPROG on 4 diverse tasks - compositional visual question answering, zero-shot reasoning on image pairs, factual knowledge object tagging, and language-guided image editing. We believe neuro-symbolic approaches like VISPROG are an exciting avenue to easily and effectively expand the scope of AI systems to serve the long tail of complex tasks that people may wish to perform.
引用
收藏
页码:14953 / 14962
页数:10
相关论文
共 50 条
  • [1] A Benchmark for Compositional Visual Reasoning
    Zerroug, Aimen
    Vaishnav, Mohit
    Colin, Julien
    Musslick, Sebastian
    Serre, Thomas
    [J]. ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 35 (NEURIPS 2022), 2022,
  • [2] In-Line Compositional Visual Programming
    Homer, Michael
    [J]. PROCEEDINGS OF THE 8TH INTERNATIONAL CONFERENCE ON THE ART, SCIENCE, AND ENGINEERING OF PROGRAMMING, PROGRAMMING COMPANION 2024, 2024, : 73 - 79
  • [3] A visual system for compositional relational programming
    Paçaci, Görkem
    Hamfelt, Andreas
    [J]. Frontiers in Artificial Intelligence and Applications, 2014, 260 : 221 - 228
  • [4] Meta Module Network for Compositional Visual Reasoning
    Chen, Wenhu
    Gan, Zhe
    Li, Linjie
    Cheng, Yu
    Wang, William
    Liu, Jingjing
    [J]. 2021 IEEE WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV 2021), 2021, : 655 - 664
  • [5] Maintaining Reasoning Consistency in Compositional Visual Question Answering
    Jing, Chenchen
    Jia, Yunde
    Wu, Yuwei
    Liu, Xinyu
    Wu, Qi
    [J]. 2022 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2022), 2022, : 5089 - 5098
  • [6] Multiple-Representation Visual Compositional Dataflow Programming
    Homer, Michael
    [J]. COMPANION PROCEEDINGS OF THE 7TH INTERNATIONAL CONFERENCE ON THE ART, SCIENCE, AND ENGINEERING OF PROGRAMMING, PROGRAMMING 2023, 2023, : 39 - 47
  • [7] Multimodal Representations for Teacher-Guided Compositional Visual Reasoning
    Aissa, Wafa
    Ferecatu, Marin
    Crucianu, Michel
    [J]. ADVANCED CONCEPTS FOR INTELLIGENT VISION SYSTEMS, ACIVS 2023, 2023, 14124 : 357 - 369
  • [8] CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoning
    Johnson, Justin
    Hariharan, Bharath
    van der Maaten, Laurens
    Fei-Fei, Li
    Zitnick, C. Lawrence
    Girshick, Ross
    [J]. 30TH IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2017), 2017, : 1988 - 1997
  • [9] Hybrid Visual Programming Language Environment for Programming Training
    Daskalov, Rumen
    Pashev, George
    Gaftandzhieva, Silvia
    [J]. TEM JOURNAL-TECHNOLOGY EDUCATION MANAGEMENT INFORMATICS, 2021, 10 (02): : 981 - 986
  • [10] Computational Thinking Training in Visual Programming Course
    Xu, Ling
    He, Wei
    [J]. INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE AND INFORMATION ENGINEERING (CSIE 2015), 2015, : 419 - 423