Abstract
In multi-modal reasoning tasks, such as visual question answering (VQA), there have been many modeling and training paradigms tested. Previous models propose different methods for the vision and language tasks, but which ones perform the best while being sample and computationally efficient? Based on our experiments, we find that representing the text as probabilistic programs and images as object-level scene graphs best satisfy these desiderata. We extend existing models to leverage these soft programs and scene graphs to train on question answer pairs in an end-to-end manner. Empirical results demonstrate that this differentiable end-to-end program executor is able to maintain state-of-the-art accuracy while being sample and computationally efficient.
Introduction: Finding the "Sweet Spot"
Visual Question Answering (VQA) presents a unique challenge, requiring both intuitive perception and deliberate logical reasoning. While deep learning has excelled at perception, creating models that are both "sample efficient" (learning from minimal data) and "computationally efficient" remains a significant hurdle. Researchers from Georgia Tech, Shanghai Jiao Tong University, and MBZUAI recently explored the "neuro-symbolic trade-off" to identify the most efficient architecture for VQA.
Their work introduces DePe (Differentiable end-to-end Program executor), a model that achieves state-of-the-art accuracy on the CLEVR dataset using significantly less data and fewer training iterations than previous methods. The core finding is that the "sweet spot" for efficiency lies in combining object-level scene graphs with probabilistic "soft" programs.
Methods
The researchers systematically evaluated various components to determine which performed best under low-data conditions. DePe integrates several key features:
- Object-Level Vision: Instead of raw pixels, the model utilizes a pre-trained detector (like Mask R-CNN) to identify objects and their attributes (color, shape, size).
- Soft Program Execution: Rather than selecting a single symbolic program, the model maintains a probability distribution over many possible programs, making the reasoning process fully differentiable.
- Heterogeneous Differentiable Memory: A custom memory matrix stores diverse data types—object attentions, categorical attributes, and numerical values—simultaneously.
- Guided Regularization: To stabilize early training, a tiny amount (0.1% to 1%) of direct supervision on programs and object labels is used as a regularization term.
Key Insights and Results
The Power of Objects
The most significant leap in sample efficiency comes from transitioning from pixel-level attention to object-level representations. As shown in the experimental results, at just 1% of training data, object-level models achieve approximately 96% accuracy, while pixel-based models struggle at around 47%.
The Efficiency Sweet Spot: Soft vs. Symbolic Logic
While symbolic programs are highly effective when data is extremely scarce (1%), "soft" (probabilistic) programs scale better and become more efficient as the dataset grows. Soft logic is also more computationally efficient because it allows for standard backpropagation, avoiding the slow, high-variance sampling-based optimization (like REINFORCE) required by "hard" symbolic logic.
Performance Benchmarks
On the CLEVR dataset, DePe demonstrates impressive efficiency:
- Accuracy: It achieved 99.3% accuracy using only 10% of available QA pairs and 1% direct supervision.
- Comparison: It significantly outperformed traditional neural models like MAC (67.3% at 10% data) and LXMERT.
- Convergence: DePe converges much faster than previous neuro-symbolic models like NS-CL by avoiding the REINFORCE optimization loop for the language parser.
Conclusion and Future Work
This research highlights that the choice of representation—specifically object-level vision and soft programs—is critical for building efficient VQA systems. While these results are promising on the synthetic CLEVR benchmark, future work will focus on scaling these methods to real-world datasets with noisier images and more complex language. Additionally, incorporating concept embeddings within the differentiable memory could further enhance the model's flexibility and generalization capabilities.
Summary updated