Deep Bayesian Active Learning for Multiple Correct Outputs

Khaled Jedoui, Ranjay Krishna, Michael S. Bernstein, Li Fei-FeiarXiv 2019

TL;DR

Traditional active learning fails on tasks like Visual Question Answering (VQA) because it treats different but correct paraphrases (e.g., "glasses" vs. "spectacles") as a sign of model confusion. This research introduces a framework that estimates uncertainty in a semantically structured embedding space rather than the raw output space, making active learning up to 5 times more cost-efficient by ignoring redundant linguistic variations.

The Problem: Paraphrastic Uncertainty in VQA

Active Learning (AL) aims to minimize labeling costs by selecting only the most informative examples for human annotation—typically those where the model is most uncertain. However, standard uncertainty measures like entropy or least confidence rely on the assumption that output labels are mutually exclusive.

In vision-language tasks, this assumption is frequently violated. A single image can often be described by multiple correct, synonymous terms. As shown in Figure 6, if a model assigns distributed probabilities to "glasses," "spectacles," and "eye-wear," traditional AL algorithms interpret this as high entropy and flag the image for labeling.

Figure 6: Distributed probabilities for synonymous answers lead to false signals of high uncertainty in traditional active learning.

In reality, the model has a clear understanding of the visual concept; it is merely navigating the "paraphrastic nature" of language. This leads to a significant waste of labeling budget on examples the model already understands, while truly difficult or ambiguous cases may be overlooked.

Methodology: Moving to Semantic Space

To address this, the authors propose shifting uncertainty estimation from the output probability space to an internal hidden semantic space. The framework consists of four key stages:

  1. Visual-Semantic Embedding: A visual-semantic encoder-decoder is trained using a triplet margin loss. This ensures that semantically similar concepts are mapped to nearby locations in a high-dimensional vector space, regardless of the specific tokens used.
  2. Bayesian Uncertainty via MC Dropout: The model performs multiple forward passes using Monte-Carlo (MC) Dropout. This generates a distribution of hidden representations ($h$) for a single input, capturing the model's internal variance.
  3. Variance-Based Uncertainty: Instead of analyzing final word predictions, the system calculates the sum of variances across all dimensions of these hidden representations. If the representations are tightly clustered, the model is "certain" of the meaning.
  4. Embedding Denoiser: To ensure the uncertainty measure reflects semantic ambiguity rather than architectural noise, a pretrained VQA decoder and visual-semantic encoder are used to "clean" the representations before variance calculation.

Experimental Evaluation

The method was evaluated on three datasets:

  • Visual Genome: Used for building the semantic space and testing dense VQA performance.
  • VQA 2.0: A standard benchmark for visual question answering.
  • Modified CLEVR: A synthetic dataset "corrupted" with synonyms (e.g., "yes" vs. "yeah") to specifically test robustness against paraphrasing.

Key Results and Insights

The proposed semantic method significantly outperforms traditional active learning baselines across metrics such as CIDEr, METEOR, BLEU, and BERT-score.

  • Efficiency Gains: The method proved to be 5 times more cost-efficient on Visual Genome and 3 times more cost-efficient on VQA 2.0. On Visual Genome, after five AL iterations, the proposed method achieved a CIDEr score of ~118, compared to ~100 for the best traditional baseline.
  • Meaning over Tokens: The core insight is that for language generation, uncertainty should be measured by what is being said (semantics) rather than which specific words are used (tokens).
  • Bias Correction: Traditional AL tends to over-sample "where" questions because their answers are often long and prone to paraphrasing. The semantic method avoids this trap, focusing on conceptually difficult images.

Limitations and Future Work

While effective, the approach requires an initial set of image-caption pairs to build the semantic embedding space, which may be a barrier in entirely new domains. Additionally, the use of MC Dropout introduces computational overhead during the selection phase. Future research could explore local density estimation in the embedding space to further refine the variance measure, accounting for the fact that some semantic concepts naturally occupy larger volumes than others.

Summary updated

BibTeX
@misc{jedoui2019deep,
  author = {Khaled Jedoui and Ranjay Krishna and Michael S. Bernstein and Li Fei-Fei},
  title = {{Deep Bayesian Active Learning for Multiple Correct Outputs}},
  year = {2019},
  eprint = {1912.01119},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1912.01119},
}
Figure