HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Neural-Symbolic VQA: Disentangling Reasoning from Vision and Language Understanding

Kexin Yi; Jiajun Wu; Chuang Gan; Antonio Torralba; Pushmeet Kohli; Joshua B. Tenenbaum

Neural-Symbolic VQA: Disentangling Reasoning from Vision and Language Understanding

Abstract

We marry two powerful ideas: deep representation learning for visual recognition and language understanding, and symbolic program execution for reasoning. Our neural-symbolic visual question answering (NS-VQA) system first recovers a structural scene representation from the image and a program trace from the question. It then executes the program on the scene representation to obtain an answer. Incorporating symbolic structure as prior knowledge offers three unique advantages. First, executing programs on a symbolic space is more robust to long program traces; our model can solve complex reasoning tasks better, achieving an accuracy of 99.8% on the CLEVR dataset. Second, the model is more data- and memory-efficient: it performs well after learning on a small number of training data; it can also encode an image into a compact representation, requiring less storage than existing methods for offline question answering. Third, symbolic program execution offers full transparency to the reasoning process; we are thus able to interpret and diagnose each execution step.

Code Repositories

kexinyi/ns-vqa
pytorch
Mentioned in GitHub
nerdimite/neuro-symbolic-ai-soc
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
visual-question-answering-on-clevrNS-VQA (1K programs)
Accuracy: 99.8
visual-question-answering-on-clevr-humansNS-VQA (1K programs)
Accuracy: 67.8

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Neural-Symbolic VQA: Disentangling Reasoning from Vision and Language Understanding | Papers | HyperAI