Explain to Fix: A Framework to Interpret and Correct DNN Object Detector Predictions

Denis A. Gudovskiy, Alec Hodgkinson, Takuya Yamaguchi, Yasunori Ishii, Sotaro TsukizawaarXiv 2018

Introduction

Deep Neural Network (DNN) object detectors, such as Single Shot Detectors (SSDs), are increasingly deployed in safety-critical applications like autonomous driving. However, interpreting their predictions remains a significant challenge. Existing explanation methods generally fall into two categories: perturbation-based methods (e.g., LIME), which are interpretable but computationally expensive, and backpropagation-based methods (e.g., Integrated Gradients), which are fast but often produce noisy, pixel-level maps that are difficult for humans to trust.

The "Explain to Fix" (E2X) framework addresses these limitations by providing a fast, scalable method to interpret object detector predictions. E2X bridges the gap between speed and fidelity, enabling a novel closed-loop system where developers can identify visual features causing model failures and automatically augment training data to rectify these issues.

Methodology

The E2X framework builds upon the Integrated Gradients (IG) method to approximate SHAP (Shapley Additive Explanations) values efficiently.

Superpixel Mapping and Weight Sampling

Standard IG calculates gradients at the pixel level, leading to uninterpretable results. E2X mitigates this by grouping pixels into superpixels and sampling weight vectors from a uniform distribution. This approach approximates the linear path of gradients while satisfying SHAP's local feature independence requirements, maintaining the computational speed of backpropagation without sacrificing clarity.

Adaptation for Object Detection

To apply E2X to complex architectures like SSDs, the authors modified the network to output specific detection indices. This allows the framework to trace back individual bounding box predictions. Furthermore, to analyze false negatives—which typically do not trigger standard outputs—E2X lowers the detection confidence threshold (e.g., to 1%) and uses Jaccard overlap with ground truth data to identify "missed" candidates for analysis.

The E2X framework enables a closed-loop system for model debugging and dataset augmentation.

Key Insights: From Explanation to Correction

A core contribution of E2X is the transition from passive explanation to active model correction. By identifying "negative features" (e.g., an occluding car that reduces the confidence of a bus detection), engineers can pinpoint exactly why a model failed.

The proposed closed-loop system uses these explanation masks to query existing databases or prompt generative models to synthesize new training samples. This automated pipeline targets the model's specific blind spots, moving beyond simple error analysis toward proactive model improvement.

Experimental Results

The E2X framework was evaluated using the PASCAL VOC07+12 dataset and an SSD300 detector. Quantitative experiments were conducted on a subset of the VOC07 test set featuring overlapping object detections.

Computational Efficiency

E2X demonstrates massive speedups compared to existing methods. It is 9x to 20x more efficient than LIME, primarily because it leverages GPU-accelerated backpropagation rather than being bottlenecked by CPU-intensive perturbations. Other methods, such as Probability Difference Analysis (PDA), were found to be practically unusable for large-scale evaluation due to extremely low frame rates (less than 0.02 fps).

Fidelity and Qualitative Performance

Despite its speed, E2X maintains high fidelity, showing a strong correlation (approximately 0.5) with computationally expensive reference models. Qualitatively, E2X produces cleaner, more intuitive explanation maps than standard IG. In scenarios involving low-confidence detections, E2X successfully highlighted occluding objects as negative features, whereas other methods failed to provide actionable insights.

Quantitative comparison of speed (fps) versus fidelity (correlation with reference models) for various explanation methods.

Conclusion

The E2X framework provides a practical solution for interpreting and debugging complex object detectors. By combining the interpretability of superpixel-based methods with the efficiency of backpropagation, it enables real-time failure analysis. While the automated dataset management system remains a conceptual framework, E2X lays the groundwork for a future where DNNs can be systematically "fixed" through targeted, explanation-driven data augmentation.

Summary updated

BibTeX
@misc{gudovskiy2018explain,
  author = {Denis A. Gudovskiy and Alec Hodgkinson and Takuya Yamaguchi and Yasunori Ishii and Sotaro Tsukizawa},
  title = {{Explain to Fix: A Framework to Interpret and Correct DNN Object Detector Predictions}},
  year = {2018},
  eprint = {1811.08011},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1811.08011},
}
Figure