Skip to main content
QUICK REVIEW

[Paper Review] Generating Visual Explanations

Lisa Anne Hendricks, Zeynep Akata|arXiv (Cornell University)|Mar 28, 2016
Multimodal Machine Learning ApplicationsComputer Science30 references75 citations
TL;DR

This paper proposes a novel deep learning model that jointly predicts image class labels and generates class-specific visual explanations by conditioning language generation on both image features and predicted labels. Using a reinforcement learning-based loss to optimize for global sentence properties like class specificity, the model produces more discriminative explanations than standard captioning models, as validated on a fine-grained bird species dataset with improved accuracy and specificity in generated justifications.

ABSTRACT

Clearly explaining a rationale for a classification decision to an end-user can be as important as the decision itself. Existing approaches for deep visual recognition are generally opaque and do not output any justification text; contemporary vision-language models can describe image content but fail to take into account class-discriminative image aspects which justify visual predictions. We propose a new model that focuses on the discriminating properties of the visible object, jointly predicts a class label, and explains why the predicted label is appropriate for the image. We propose a novel loss function based on sampling and reinforcement learning that learns to generate sentences that realize a global sentence property, such as class specificity. Our results on a fine-grained bird species classification dataset show that our model is able to generate explanations which are not only consistent with an image but also more discriminative than descriptions produced by existing captioning methods.

Motivation & Objective

  • To develop a visual explanation system that justifies classification decisions using natural language, going beyond generic image descriptions.
  • To address the opacity of deep visual classifiers by generating explanations that are both image-relevant and class-discriminative.
  • To design a training objective that encourages generated sentences to include features that distinguish between similar classes, such as bird species.
  • To demonstrate that incorporating class-specificity as a global sentence property during training improves explanation quality without requiring class labels at inference time.
  • To validate the effectiveness of a novel loss function that operates on sampled sentences and optimizes for global discriminative properties.

Proposed method

  • The model uses a fine-grained visual classifier to extract discriminative image features before language generation, improving upon standard ImageNet-pretrained features.
  • It conditions a sequence-to-sequence LSTM language model on both visual features and the predicted class label to generate explanations.
  • A novel reinforcement learning-based loss function is introduced to optimize for global sentence properties, such as class specificity, by backpropagating through the sampling process.
  • The loss function encourages the model to generate sentences that include features critical for distinguishing the predicted class from similar classes, even when the class label is not available at test time.
  • The training process involves sampling sentences and using policy gradient methods to update the model based on how well the generated sentence satisfies the desired global property.
  • The approach enables the model to learn to highlight discriminative attributes (e.g., 'red eye' for western grebe) while remaining grounded in visual evidence.

Experimental results

Research questions

  • RQ1Can a vision-language model generate explanations that are both visually grounded and class-discriminative, rather than just descriptive?
  • RQ2How can a loss function be designed to optimize for global sentence-level properties like class specificity, which are not captured by local word-level supervision?
  • RQ3To what extent can a model learn to generate discriminative explanations without access to the class label during inference?
  • RQ4Does incorporating a discriminative loss during training improve the quality and specificity of generated explanations compared to standard captioning baselines?
  • RQ5How do visual features and class labels jointly influence the content of generated explanations?

Key findings

  • The proposed model generates explanations that are significantly more discriminative than those from standard image captioning models, as evidenced by the inclusion of key distinguishing features such as 'red eye' or 'black head'.
  • Even when the class label is not provided at test time, the model still generates sentences with higher class-specific content than the baseline description model.
  • The model's performance improves on standard sentence generation metrics (e.g., BLEU, ROUGE) when trained with the discriminative loss, indicating better overall sentence quality.
  • Qualitative analysis shows that conditioning on incorrect classes leads to plausible but incorrect attribute mentions (e.g., 'red' for a bird without red), demonstrating the model's sensitivity to class information.
  • The reinforcement learning-based loss successfully guides the model to generate sentences that satisfy global properties like class specificity, even though it operates on sampled outputs.
  • The model outperforms both description-only and definition-only baselines by balancing image relevance and class relevance in explanations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.