NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Guiding Visual Question Generation

Nihir Vedd, Zixu Wang, Marek Rei, Yishu Miao, Lucia Specia

Abstract

Visual Question Generation (VQG) involves generating natural language questions based on image content. This paper introduces a framework that conditions models on specific object labels and answer categories to generate more relevant and diverse questions. By allowing an "actor" to specify the focus of the question, the authors achieved a state-of-the-art improvement of over 9 BLEU-4 points, creating questions that are often indistinguishable from human-generated ones.

Introduction: The One-to-Many Challenge

Visual Question Generation (VQG) is the task of looking at an image and producing a natural, relevant question. While seemingly straightforward, the task suffers from a significant "one-to-many" mapping problem. A single image—for example, a kitchen—can support a vast array of valid questions: "What color is the refrigerator?", "How many chairs are around the table?", or "Is the oven turned on?"

Traditional VQG models typically attempt to mimic a single "ground truth" question from a training dataset. This approach is flawed because the model is penalized during training for choosing a perfectly valid concept that simply doesn't match the specific human annotator's choice. Consequently, models often converge on generic, safe, and uninteresting questions. The authors argue that VQG requires guidance—a mechanism to specify which concepts or categories the model should explore.

Methodology

The researchers proposed a Transformer-based "set-to-sequence" architecture and explored three distinct guiding paradigms:

  1. Explicit Guiding: An external "actor" (human or algorithm) selects a subset of detected objects and an answer category (e.g., "color," "count," "location"). These are fed into the decoder alongside image features to generate a specific question.
  2. Implicit Guiding: To automate the process, the model uses a Gumbel-Softmax layer to internally sample which objects to ask about, essentially learning to select its own guidance.
  3. Variational Implicit Guiding: This version utilizes a latent variable model. During training, it leverages the actual human question to learn a distribution of relevant objects; at inference time, it attempts to recreate that distribution using only the image features.
The Explicit Guiding architecture uses external concepts and categories to direct the question generation process.

The core system utilizes a BERT-based text encoder and a Transformer-based image encoder (extracting features via Faster R-CNN), which are fused into a decoder that generates the final question auto-regressively.

Experimental Setup

The models were evaluated on the VQA v2.0 dataset, utilizing answer-category augmentations. The training set included approximately 443.8K questions across 16 categories (e.g., "attribute," "spatial," "counting") that define the intent of the generated question.

Key Results and Performance

The guided approach yielded a massive leap in performance over previous benchmarks. The explicit guided model achieved 24.4 BLEU-4 and 214 CIDEr, significantly outperforming the previous state-of-the-art (IMVQG), which stood at 14.5 BLEU-4.

Table comparing the performance of guided models against various baselines across standard NLP metrics.

Beyond automated metrics, the researchers found that:

  • Category Influence: Specifying the type of question (the category) was the most influential factor. Adding the category alone boosted BLEU-4 scores by 11 points over an image-only baseline.
  • Diversity: Using the MSJ-5 metric (measuring n-gram overlap and diversity), guided models outperformed baselines, demonstrating that they tailor questions to specific objects rather than relying on memorized templates.
  • Human Validation: In a visual Turing test, the explicit model achieved a "fooling rate" of 44.9%. Given that 50% represents total indistinguishability from humans, this indicates highly natural language generation. Humans rated the questions as grammatically correct 96% of the time.

Discussion and Future Work

The model demonstrated surprising robustness to "bad" guidance. When fed incorrect guidance (e.g., asking for an "animal" question in an image with no animals), the model often defaulted to general image features to maintain coherence rather than failing entirely.

However, limitations remain. The model's dependency on the specific categories in the VQA v2.0 dataset makes its zero-shot performance on other datasets uncertain. Additionally, the model is significantly larger (200-300M parameters) than previous RNN-based models (~18M parameters), leading to higher computational costs.

Future research may explore VQG in specialized domains, such as language learning applications or as a data augmentation tool to generate diverse training sets for Visual Question Answering (VQA) systems.

Summary updated

BibTeX
@inproceedings{vedd2022guiding,
  author = {Nihir Vedd and Zixu Wang and Marek Rei and Yishu Miao and Lucia Specia},
  title = {{Guiding Visual Question Generation}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2022},
  url = {https://openreview.net/forum?id=dKThVlcCXg6},
}
Figure