Black-box Explanation of Object Detectors via Saliency Maps
publication

Black-box Explanation of Object Detectors via Saliency Maps

Vitali Petsiuk, Rajiv Jain, Varun Manjunatha, Vlad I. Morariu, Ashutosh Mehra, Vicente Ordonez, Kate Saenko.
Conference on Computer Vision and Pattern Recognition CVPR 2021.
Lab News Desk

News Release Summary

This section is intentionally written in a reporter-style news release voice for general readers.

Researchers from Boston University and Adobe Research have developed a new technique called D-RISE that can produce visual explanations for why an object detection system makes the predictions it does — something that has proven surprisingly difficult to do well with existing tools. Object detectors are widely used in computer vision applications but are notoriously hard to interpret, and prior explanation methods were designed for simpler image classification tasks, making them poorly suited for detection systems that must simultaneously identify what an object is and where it sits in a scene. D-RISE works by generating thousands of randomly masked versions of an input image, feeding each through the detector, and then measuring how much each masked region influenced the detector's output using a custom similarity metric that accounts for both object location and category. The weighted combination of those masks produces a heatmap showing which parts of the image drove a particular detection decision. In testing on the MS-COCO benchmark dataset using two popular detector architectures — the one-stage YOLOv3 and the two-stage Faster R-CNN — D-RISE outperformed gradient-based baselines on standard evaluation metrics. The method also surfaced some interesting behaviors: detectors frequently rely on context outside an object's bounding box, such as using ski poles to help identify skis, and tend to focus on specific discriminative parts rather than whole objects. In a controlled experiment, the researchers deliberately introduced artificial biases into training data and confirmed that D-RISE could reliably flag those biases in the resulting model. Because the method treats the detector as a black box requiring no access to internal weights or gradients, it can in principle be applied to any detection system, including proprietary ones.

abstract

We propose D-RISE, a method for generating visual explanations for the predictions of object detectors. Utilizing the proposed similarity metric that accounts for both localization and categorization aspects of object detection allows our method to produce saliency maps that show image areas that most affect the prediction. D-RISE can be considered "black-box" in the software testing sense, as it only needs access to the inputs and outputs of an object detector. Compared to gradient-based methods, D-RISE is more general and agnostic to the particular type of object detector being tested, and does not need knowledge of the inner workings of the model. We show that D-RISE can be easily applied to different object detectors including one-stage detectors such as YOLOv3 and two-stage detectors such as Faster-RCNN. We present a detailed analysis of the generated visual explanations to highlight the utilization of context and possible biases learned by object detectors.

details

comment
CVPR 2021 (oral). Project page https://cs-people.bu.edu/vpetsiuk/drise/

citation

@inproceedings{petsiuk2021black,
  title = {Black-box Explanation of Object Detectors via Saliency Maps},
  author = {Petsiuk, Vitali and Jain, Rajiv and Manjunatha, Varun and Morariu, Vlad I. and Mehra, Ashutosh and Ordonez, Vicente and Saenko, Kate},
  year = {2021},
  booktitle = {Conference on Computer Vision and Pattern Recognition CVPR 2021},
  url = {https://arxiv.org/abs/2006.03204},
}