WeaQA: Weak Supervision via Captions for Visual Question Answering

Pratyay Banerjee, Tejas Gokhale, Yezhou Yang, Chitta Baral

Introduction

Visual Question Answering (VQA) typically requires massive datasets of human-annotated image-question-answer triplets. This reliance on manual labeling presents significant challenges in terms of scalability and cost. Furthermore, human annotators often introduce linguistic biases—"shortcuts" that allow models to guess answers based on question text alone without truly understanding the visual content. Researchers at Arizona State University have introduced WeaQA, a framework designed to train robust VQA models using weak supervision from existing image captions, bypassing the need for human-authored Q-A pairs.

Addressing the Bias Problem

Standard VQA models often suffer from high sensitivity to linguistic priors. For instance, if "green" is the most common answer to "What color is the..." in a training set, the model may fail on "counter-prior" test sets where the distribution changes. This discrepancy is often characterized by domain and label shifts between the training (source) and testing (target) environments.

Conceptual diagrams of domain and label shifts between source (S) and target (T) distributions.

By training on synthetic data derived from descriptive captions rather than biased human questions, WeaQA forces the model to rely more heavily on visual grounding. This approach is particularly effective for benchmarks like VQA-CP, which are designed to penalize models that rely on language shortcuts.

The WeaQA Framework

The WeaQA pipeline consists of three primary components to replace traditional supervised training:

1. Procedural Question Generation

Instead of manual annotation, WeaQA extracts Q-A pairs from MS-COCO captions using automated techniques. This includes template-based conversion of declarative statements, paraphrasing via models like T5 to diversify linguistic structures, and Semantic Role Labeling (QA-SRL) to identify key entities and actions for complex phrase-based questions.

Examples of synthetic Q-A pairs generated from image captions compared to human-annotated benchmarks like VQA-v2 and GQA.

2. Spatial Pyramid Patches

To eliminate dependency on pre-trained object detectors—which themselves require human labels—WeaQA utilizes Spatial Pyramid Patches. The image is divided into multi-scale grids (from 1x1 to 7x7). Features extracted from these patches provide both global context and local detail, allowing the model to learn visual representations without explicit bounding box supervision.

3. Sub-phrase Weighted Answer Loss

Synthetic answers from captions are often descriptive phrases (e.g., "two black cars") rather than the single-word labels found in standard benchmarks. To accommodate this, the authors developed a loss function that rewards the model for predicting any valid sub-phrase of the synthetic answer, ensuring the model isn't penalized for correct but partial matches.

Experimental Results

The model was pre-trained on the MS-COCO captioning dataset (approximately 204k images) and evaluated on VQA-v2, VQA-CP v2, and GQA.

  • Robustness to Bias: In an unsupervised setting, WeaQA achieved 47.3% accuracy on VQA-CP v2, significantly outperforming supervised baselines like UpDown (39.1%) and SAN (25.0%).
  • Zero-Shot Performance: On VQA-v2, the model reached 46.8%, establishing a competitive baseline for unsupervised VQA.
  • Visual Granularity: Ablation studies on the spatial pyramid showed that a 7x7 grid provides the optimal balance of detail; increasing granularity further tended to degrade performance.

Conclusion

WeaQA demonstrates that image captions are a viable and "cleaner" alternative to human-annotated VQA data. While the model currently faces challenges with complex spatial reasoning—a limitation stemming from the lack of spatial detail in standard captions—it represents a major step toward scalable, unbiased visual understanding. Future research will focus on enhancing synthetic generation to capture more intricate object relationships and closing the domain shift between machine-generated and natural human questions.

Summary updated

BibTeX
@inproceedings{banerjee2021weaqa,
  author = {Pratyay Banerjee and Tejas Gokhale and Yezhou Yang and Chitta Baral},
  title = {{WeaQA: Weak Supervision via Captions for Visual Question Answering}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.findings-acl.302},
}
Figure