Visual Programming: Compositional visual reasoning without training

被引:111
作者
Gupta, Tanmay [1 ]
Kembhavi, Aniruddha [1 ]
机构
[1] PRIOR Allen Inst AI, Seattle, WA 98103 USA
来源
2023 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR) | 2023年
关键词
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
相关论文
共 33 条
[1]  
Alayrac Jean-Baptiste, 2022, ABS220414198 ARXIV
[2]   Neural Module Networks [J].
Andreas, Jacob ;
Rohrbach, Marcus ;
Darrell, Trevor ;
Klein, Dan .
2016 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2016, :39-48
[3]  
Bapna Ankur, 2022, ABS220201374 ARXIV
[4]  
Bradski G, 2000, DR DOBBS J, V25, P120
[5]  
Brown TB, 2020, ADV NEUR IN, V33
[6]  
Cheng B, 2021, ADV NEUR IN, V34
[7]  
Devlin J, 2019, 2019 CONFERENCE OF THE NORTH AMERICAN CHAPTER OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS: HUMAN LANGUAGE TECHNOLOGIES (NAACL HLT 2019), VOL. 1, P4171
[8]  
Gupta Tanmay, 2021, ABS210400743 ARXIV
[9]   Explainable Neural Computation via Stack Neural Module Networks [J].
Hu, Ronghang ;
Andreas, Jacob ;
Darrell, Trevor ;
Saenko, Kate .
COMPUTER VISION - ECCV 2018, PT VII, 2018, 11211 :55-71
[10]   Learning to Reason: End-to-End Module Networks for Visual Question Answering [J].
Hu, Ronghang ;
Andreas, Jacob ;
Rohrbach, Marcus ;
Darrell, Trevor ;
Saenko, Kate .
2017 IEEE INTERNATIONAL CONFERENCE ON COMPUTER VISION (ICCV), 2017, :804-813