Skip to main content
QUICK REVIEW

[Paper Review] Making Sense of Dependence: Efficient Black-box Explanations Using Dependence Measure

Paul Novello, Thomas Fel|arXiv (Cornell University)|Jun 13, 2022
Adversarial Robustness in Machine LearningComputer Science7 citations
TL;DR

This paper introduces HSIC-Attribution, a new black-box explanation method using the Hilbert-Schmidt Independence Criterion (HSIC) to efficiently measure dependence between image patches and model outputs via kernel embeddings in Reproducing Kernel Hilbert Spaces (RKHS). It achieves up to 8× faster inference than state-of-the-art black-box methods while matching or improving fidelity, and enables orthogonal decomposition to detect pairwise patch interactions—validating its effectiveness on ImageNet and object detection models like YOLOv4.

ABSTRACT

This paper presents a new efficient black-box attribution method based on Hilbert-Schmidt Independence Criterion (HSIC), a dependence measure based on Reproducing Kernel Hilbert Spaces (RKHS). HSIC measures the dependence between regions of an input image and the output of a model based on kernel embeddings of distributions. It thus provides explanations enriched by RKHS representation capabilities. HSIC can be estimated very efficiently, significantly reducing the computational cost compared to other black-box attribution methods. Our experiments show that HSIC is up to 8 times faster than the previous best black-box attribution methods while being as faithful. Indeed, we improve or match the state-of-the-art of both black-box and white-box attribution methods for several fidelity metrics on Imagenet with various recent model architectures. Importantly, we show that these advances can be transposed to efficiently and faithfully explain object detection models such as YOLOv4. Finally, we extend the traditional attribution methods by proposing a new kernel enabling an ANOVA-like orthogonal decomposition of importance scores based on HSIC, allowing us to evaluate not only the importance of each image patch but also the importance of their pairwise interactions. Our implementation is available at https://github.com/paulnovello/HSIC-Attribution-Method.

Motivation & Objective

  • Address the high computational cost of existing black-box attribution methods that rely on Monte Carlo sampling and numerous forward passes.
  • Develop a black-box explanation method that remains faithful to model behavior while drastically reducing inference time, especially for large models or APIs.
  • Enable the detection and localization of higher-order interactions between image patches—beyond individual patch importance—using a novel kernel-based decomposition.
  • Extend the applicability of attribution methods to less common tasks such as object detection, where standard saliency maps often fail to reveal misclassification causes.
  • Bridge the performance gap between black-box and white-box attribution methods by combining the efficiency of black-box techniques with the fidelity of white-box approaches.

Proposed method

  • Use Hilbert-Schmidt Independence Criterion (HSIC) to measure statistical dependence between distributions of perturbed image patches and model outputs, leveraging kernel embeddings in RKHS for richer representation.
  • Sample random binary masks to perturb input images, generating a set of masked inputs whose outputs are used to estimate the HSIC between patch-level perturbations and model predictions.
  • Introduce a novel kernel function that enables an ANOVA-like orthogonal decomposition of HSIC scores, allowing separation of individual patch importance from interaction effects between pairs of patches.
  • Estimate HSIC using empirical cross-covariance operators in RKHS, enabling efficient computation with low computational overhead compared to variance-based methods like Sobol indices.
  • Apply the method to both image classification (ImageNet) and object detection (YOLOv4), demonstrating robustness across diverse architectures and tasks.
  • Use the orthogonal decomposition to compute interaction scores $\mathcal{H}^{p}_{i\times j}$ by subtracting individual contributions from joint contributions, enabling localization of critical patch interactions.

Experimental results

Research questions

  • RQ1How can we design a black-box attribution method that maintains high fidelity while significantly reducing computational cost compared to existing Monte Carlo-based approaches?
  • RQ2Can a dependence measure based on RKHS kernel embeddings, such as HSIC, outperform variance-based methods like Sobol indices in capturing complex, non-linear interactions in deep neural network explanations?
  • RQ3Does the proposed HSIC-based method with orthogonal decomposition enable meaningful detection and localization of pairwise interactions between image patches that contribute jointly to model predictions?
  • RQ4Can this method be effectively applied to object detection models, where saliency maps often fail to explain misclassifications?
  • RQ5Can the method achieve performance comparable to white-box methods in terms of fidelity while remaining applicable in real-world black-box scenarios?

Key findings

  • HSIC-Attribution achieves up to 8× faster inference than the previous best black-box attribution methods, significantly reducing computational cost without sacrificing fidelity.
  • The method matches or improves upon state-of-the-art performance on multiple fidelity metrics (e.g., faithfulness, stability) across various ImageNet models and recent architectures.
  • HSIC-Attribution successfully explains object detection models such as YOLOv4, correctly identifying the source of misclassification—e.g., highlighting a cat in the background that caused a zebra to be misclassified as a cat.
  • The proposed kernel enables an ANOVA-like orthogonal decomposition, allowing the detection of significant pairwise interactions between image patches, such as the mustache regions of a puma contributing more jointly than the eye/forehead alone.
  • Quantitative results show that interaction scores $\mathcal{H}^{p}_{i\times j}$ can be as high as 9.2 for puma mustaches, exceeding the individual patch importance score of 8.2 for the eye/forehead, demonstrating the method’s ability to capture non-additive effects.
  • The method demonstrates that some interactions are as influential as individual patches—e.g., the interaction between two roof corners and the mountain in a ski scene is more important than individual patch contributions, highlighting its ability to reveal complex reasoning patterns.

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.