Skip to main content
QUICK REVIEW

[Paper Review] Supervising the Transfer of Reasoning Patterns in VQA

Corentin Kervadec, Christian Wolf|arXiv (Cornell University)|Jun 10, 2021
AI-based Problem Solving and PlanningComputer Science41 references5 citations
TL;DR

This paper proposes a program supervision method that transfers reasoning patterns from models trained on perfect (oracle) visual inputs to real-world VQA models using noisy inputs. By adding a regularization term to the loss function to predict reasoning programs, the method improves reasoning generalization, reduces sample complexity theoretically, and achieves state-of-the-art performance on GQA, especially on out-of-distribution and tail-accuracy sets, even with limited training data.

ABSTRACT

Methods for Visual Question Anwering (VQA) are notorious for leveraging dataset biases rather than performing reasoning, hindering generalization. It has been recently shown that better reasoning patterns emerge in attention layers of a state-of-the-art VQA model when they are trained on perfect (oracle) visual inputs. This provides evidence that deep neural networks can learn to reason when training conditions are favorable enough. However, transferring this learned knowledge to deployable models is a challenge, as much of it is lost during the transfer. We propose a method for knowledge transfer based on a regularization term in our loss function, supervising the sequence of required reasoning operations. We provide a theoretical analysis based on PAC-learning, showing that such program prediction can lead to decreased sample complexity under mild hypotheses. We also demonstrate the effectiveness of this approach experimentally on the GQA dataset and show its complementarity to BERT-like self-supervised pre-training.

Motivation & Objective

  • To address the poor generalization of VQA models due to dataset biases and noise in visual inputs.
  • To transfer reasoning capabilities learned from oracle (perfect) visual inputs to models trained on real-world noisy visual representations.
  • To reduce sample complexity in reasoning tasks through structured supervision of reasoning programs.
  • To improve performance on out-of-distribution and rare answer categories in VQA.
  • To demonstrate complementarity with BERT-like self-supervised pre-training.

Proposed method

  • Introduces a program supervision module that adds an auxiliary loss to predict reasoning programs (sequences of operations) alongside answer prediction.
  • Uses a regularization term in the loss function to maintain reasoning pattern consistency during transfer from clean to noisy visual inputs.
  • Decomposes the complex reasoning function into simpler, learnable components (mode selector and individual mode functions), easing learning.
  • Employs vision-language transformers with visual features from either Faster R-CNN or more accurate VinVL models for improved input representation.
  • Theoretical analysis uses PAC-learning to show that program supervision can reduce sample complexity under mild assumptions.
  • Applies the method on the GQA dataset with program annotations, enabling transfer from oracle-trained models to real-world deployment.

Experimental results

Research questions

  • RQ1Can supervising reasoning program prediction improve the transfer of reasoning patterns from oracle inputs to noisy real-world inputs in VQA?
  • RQ2Does program supervision reduce sample complexity in visual reasoning tasks, as supported by theoretical analysis?
  • RQ3How does program supervision compare to standard pre-training methods like BERT in terms of performance and robustness on in- and out-of-distribution data?
  • RQ4Can program supervision enable better utilization of improved visual input representations (e.g., more object proposals or better features)?
  • RQ5To what extent does program supervision enhance performance on rare or tail-answer categories in VQA?

Key findings

  • The proposed method achieves 63.0% accuracy on the GQA test-std set, ranking second among methods not using extra training data.
  • It achieves 80.1% accuracy on the GQA-OOD tail set, the second-best result, with significantly fewer parameters (26M vs 212M) than SOTA models.
  • With only 0.1M images and 1M sentences, the method outperforms models trained on 5.7M images (e.g., OSCAR+VinVL), achieving 64.7% on GQA with 50x less data.
  • Program supervision enables better utilization of improved visual inputs: increasing object proposals from 36 to 100 boosts performance, while the baseline remains unchanged.
  • The method improves generalization on rare answers (acc-tail) and head answers (acc-head), showing robustness across distribution shifts.
  • Theoretical analysis confirms that program supervision can reduce sample complexity under mild hypotheses, supporting its empirical effectiveness.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.