TL;DR
This paper introduces Few-Shot Visual Question Generation (FS-VQG), a new task where models must learn to generate relevant natural language questions from images using only a handful of labeled examples. The authors contribute a cleaner, more diverse benchmark dataset called VQG-23 and demonstrate that specialized meta-learning and self-supervised strategies significantly outperform traditional, data-hungry VQG models in low-data regimes.
What Problem Does This Paper Address?
Visual Question Generation (VQG) is the inverse of Visual Question Answering (VQA); given an image and some side information (like a target answer), the model must generate a meaningful question. While traditional VQG models perform well, they are "data gluttons," requiring thousands of meticulously labeled image-question pairs.
In the real world, we often encounter "long-tail" scenarios where we only have a few examples for specific categories (e.g., rare animals or niche objects). Furthermore, existing VQG datasets are often noisy. For instance, the authors point out that in the popular VQG-16 dataset, elephants and giraffes are sometimes miscategorized as "food" (see Figure 1 below), which confuses learning models.
Methods
The authors propose two primary approaches to tackle the scarcity of data:
-
Meta-FSVQG: This approach uses Model-Agnostic Meta-Learning (MAML) to find a model initialization that can quickly adapt to new tasks. The core innovation is a Scale and Shift Network. Instead of retraining the whole model, the side information (answer and category) is used to generate scaling ($\gamma$) and shifting ($\beta$) vectors. These vectors perform an affine transformation on the image features, effectively "conditioning" the visual representation to the desired question type with very few parameters.
Fig. 2. The proposed Meta-FSVQG that generates questions for an input image, belonging to the input category. The image encoder encodes the input image into discriminative features which are scaled and shifted by weights learned by category encoder, and then used as an attention mechanism for the question generator. -
SelfSup-FSVQG: This model leverages self-supervised learning. Before tackling the question generation task, the image encoder is trained on a "pretext task": predicting the rotation angle (0°, 90°, 180°, or 270°) of an image. This helps the encoder learn robust visual features without needing human labels, which are then fine-tuned for VQG.
Fig. 3. The proposed SelfSup-FSVQG that uses self-supervision to optimize the image-encoder. The combined embedding of the side information is appended with the attention weighted image features and fed into the LSTMCell to generate relevant question. While pre-training the model, the image encoder is jointly trained with a rotation classification loss where a rotation classifier has to identify the angle of rotation of the input image fed into the image encoder.
Datasets
The study evaluates models on three datasets:
- VQG-16: A standard benchmark with 16 answer categories.
- Visual7w: A dataset categorized by question-words (who, what, where, etc.).
- VQG-23 (New): The authors' primary contribution to benchmarking. They cleaned VQG-16, split generic categories (like "object") into finer-grained ones, and added new QA pairs from the Visual Genome dataset. VQG-23 features 23 categories and a much higher "variety ratio," making it a more rigorous test for few-shot generalization.
Key Insights and Ideas
- Side Information is Crucial: Providing the model with the category of the expected question/answer is a powerful signal. In few-shot settings, this helps the model narrow down the "search space" for valid questions.
- MAML isn't a Magic Wand: Simply applying meta-learning to a heavy, state-of-the-art traditional model (like iQAN) actually led to worse performance. The authors found that lightweight adaptation mechanisms, like their scale-and-shift network, are necessary to prevent overfitting when data is scarce.
- Meta-Learning vs. Transfer Learning: Meta-learning (Meta-FSVQG) generally proved more robust on diverse datasets like VQG-23, while self-supervised transfer learning (SelfSup-FSVQG) performed better on less diverse datasets like Visual7w.
Key Results
The proposed few-shot models consistently outperformed traditional VQG models adapted for the few-shot setting.
On the new VQG-23 benchmark (5-way 10-shot):
- The traditional iQAN model achieved a CIDEr score (a measure of question quality) of 69.59.
- The proposed Meta-FSVQG (using EfficientNet and BERT) reached a CIDEr score of 81.33, a significant improvement.
- Qualitatively, the Meta-FSVQG model generated much more relevant questions compared to traditional baselines, which often produced generic or irrelevant queries when trained on limited data.
Limitations and Future Work
While the models show strong generalization, they still struggle with intricate visual details. A model might correctly identify the main action (e.g., "cooking") but fail to incorporate specific background objects into the question. The authors suggest that future work should focus on better visual grounding and exploring how to generate questions for images with high scene complexity in few-shot scenarios.
Summary updated