Skip to main content
QUICK REVIEW

[Paper Review] Why do These Match? Explaining the Behavior of Image Similarity Models

Bryan A. Plummer, Mariya I. Vasileva|OpenBU (Boston University)|May 26, 2019
Explainable Artificial Intelligence (XAI)Computer Science43 references6 citations
TL;DR

This paper introduces SANE, a method to explain image similarity models by pairing saliency maps with human-interpretable attributes that highlight why two images are deemed similar. By jointly optimizing for saliency-attribute alignment and leveraging a prior on attribute suitability, SANE improves both explanation quality and attribute recognition performance, outperforming baselines in user studies on Polyvore Outfits and Animals with Attributes 2.

ABSTRACT

Explaining a deep learning model can help users understand its behavior and allow researchers to discern its shortcomings. Recent work has primarily focused on explaining models for tasks like image classification or visual question answering. In this paper, we introduce Salient Attributes for Network Explanation (SANE) to explain image similarity models, where a model's output is a score measuring the similarity of two inputs rather than a classification score. In this task, an explanation depends on both of the input images, so standard methods do not apply. Our SANE explanations pairs a saliency map identifying important image regions with an attribute that best explains the match. We find that our explanations provide additional information not typically captured by saliency maps alone, and can also improve performance on the classic task of attribute recognition. Our approach's ability to generalize is demonstrated on two datasets from diverse domains, Polyvore Outfits and Animals with Attributes 2. Code available at: https://github.com/VisionLearningGroup/SANE

Motivation & Objective

  • To address the lack of explanation methods for image similarity models, which differ fundamentally from classification models by requiring two inputs to produce a similarity score.
  • To develop a black-box explanation method that identifies both salient image regions and meaningful attributes responsible for similarity scores.
  • To improve user understanding of similarity model behavior by providing more interpretable explanations than saliency maps alone.
  • To enhance attribute recognition performance by using similarity model explanations as weak supervision.
  • To validate the effectiveness of explanations through user studies on diverse datasets, measuring accuracy and perceived helpfulness.

Proposed method

  • SANE uses a black-box approach that requires only forward passes through the similarity model, making it architecture-agnostic.
  • It combines three components: an attribute predictor that outputs confidence scores and activation maps for each attribute, a saliency map generator for important image regions, and a prior on attribute suitability as a regularization term.
  • During training, SANE maximizes overlap between saliency maps and attribute activation maps to align explanations with model behavior.
  • At inference, explanations are ranked using a weighted sum of: (1) attribute-saliency map similarity, (2) attribute suitability prior, and (3) attribute likelihood in the image.
  • The method adapts existing gradient-based and perturbation-based saliency methods (e.g., Grad-CAM, LRP, Integrated Gradients) as the saliency generator.
  • SANE is trained end-to-end, with the attribute predictor and saliency generator jointly optimized to improve both explanation quality and downstream attribute recognition accuracy.

Experimental results

Research questions

  • RQ1Can attribute-based explanations provide more interpretable insights into image similarity models than saliency maps alone?
  • RQ2Does jointly optimizing for saliency-attribute alignment improve both explanation quality and attribute recognition performance?
  • RQ3How do users perceive the helpfulness and accuracy of different explanation types (e.g., saliency maps, top-attribute predictions, SANE explanations)?
  • RQ4Does the effectiveness of explanation types vary across different datasets (e.g., fashion vs. natural images)?
  • RQ5Can SANE explanations improve user understanding of similarity model predictions beyond what is captured by saliency maps?

Key findings

  • On the Polyvore Outfits dataset, SANE explanations improved user accuracy to 68.9%, a 2.9% increase over the control case and 6.4% over using only the most likely attributes.
  • On Animals with Attributes 2, SANE achieved 61.3% user accuracy, a 19.3% improvement over the control case and a 10.2% improvement over the most likely attribute baseline.
  • 87.5% of users found SANE attribute explanations helpful on AwA, compared to 69.2% for the most likely attributes, indicating higher perceived interpretability.
  • SANE improved attribute recognition performance, as measured by average precision, due to the supervision signal from similarity model explanations.
  • On Polyvore Outfits, combining saliency maps and SANE attributes yielded the highest user accuracy (70.0%), though users found this combination less helpful (55.6%) than SANE alone.
  • Random saliency maps were found helpful by only 20% of users, and in some cases reduced accuracy, indicating that unguided saliency maps can mislead users.

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.