ConVQG: Contrastive Visual Question Generation with Multimodal Guidance

Li Mi, Syrielle Montariol, Javiera Castillo Navarro, Xianjie Dai, Antoine Bosselut, Devis Tuia

Introduction

Visual Question Generation (VQG) is a critical task in multimodal AI, requiring models to synthesize natural language questions based on visual input. While early VQG systems often produced generic queries like "What is the person doing?", modern approaches utilize textual constraints—such as knowledge triplets or expected answers—to guide the model toward more specific, context-aware questions.

However, a persistent challenge in these models is a lack of true multimodal grounding. Often, a model exhibits "lazy" behavior, either ignoring the image to ask a general knowledge question about the text constraint or ignoring the text constraint to ask a generic question about the image. The goal of ConVQG is to ensure that generated questions exist at the precise intersection of both modalities, being specific to the image while strictly adhering to the provided textual guidance.

Conceptual overview of ConVQG, illustrating how the multimodal question (Qit) is contrasted against unimodal shortcuts (Qi and Qt).

The ConVQG Framework

ConVQG addresses the multimodal grounding gap through a novel Dual Contrastive Objective. Built upon the BLIP (Bootstrapping Language-Image Pre-training) architecture, the framework utilizes a Vision Transformer (ViT) for image encoding and a BERT-based encoder-decoder for text processing.

Architecture and Training

The core innovation lies in how the model is trained to avoid unimodal shortcuts. The authors introduce two auxiliary, frozen modules during the training phase:

  1. IQGM (Image-based Question Generation Module): Generates questions based solely on the image.
  2. TQGM (Text-based Question Generation Module): Generates questions based solely on the text constraint.

During training, the model is penalized if its multimodal embedding ($Q_{it}$) is too similar to the embeddings of the image-only ($Q_i$) or text-only ($Q_t$) questions. Instead, the contrastive loss pushes the model to align its representation with the ground-truth question ($Q_{gt}$), which inherently integrates both sources of information. At inference time, these auxiliary modules are discarded, leaving a streamlined multimodal encoder-decoder.

The full ConVQG architecture, showing the encoder-decoder pipeline and the auxiliary modules used to generate negative contrastive signals.

Experimental Evaluation

The researchers evaluated ConVQG across three distinct benchmarks, each testing a different form of textual guidance:

  • K-VQG: Uses structured knowledge triplets (e.g., [Jacket] - [used for] - [protecting from chill]).
  • VQA 2.0: Uses the expected answer as the textual constraint.
  • VQG COCO: Uses image captions as guidance.
  • FVQA: Employed for zero-shot transfer testing to evaluate generalization to unseen facts.

Key Results

ConVQG achieved state-of-the-art (SOTA) performance across all metrics. On the K-VQG dataset, it reached a 20.01 BLEU-4 score, surpassing the previous SOTA of 18.84. In the VQA 2.0 (Large) benchmark, the model showed a significant jump in CIDEr (1.78 vs 0.94), suggesting that the generated questions are much closer to human-like specificity.

Beyond automated metrics, human evaluation via Amazon Mechanical Turk confirmed these findings. Participants preferred ConVQG-generated questions over non-contrastive baselines in 47.2% of cases, citing superior grounding in the specific details of the image.

Discussion and Future Work

The success of ConVQG highlights the power of contrastive learning as a "forcing function" for multimodal integration. Rather than just aligning modalities, the framework uses contrastive signals to explicitly differentiate multimodal outputs from unimodal ones.

While highly effective, the framework's performance is currently linked to the quality of the auxiliary IQGM and TQGM modules. Future research may explore more complex guidance formats, such as full knowledge graphs or multi-turn dialogue contexts, to determine if this contrastive approach scales to more advanced reasoning tasks. Additionally, addressing occasional hallucinations—where the model describes objects not present in the image—remains a priority for future iterations.

Summary updated

BibTeX
@inproceedings{mi2024convqg,
  author = {Li Mi and Syrielle Montariol and Javiera Castillo Navarro and Xianjie Dai and Antoine Bosselut and Devis Tuia},
  title = {{ConVQG: Contrastive Visual Question Generation with Multimodal Guidance}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i5.28216},
}
Figure