[Paper Review] VisualBackProp: efficient visualization of CNNs
This paper introduces VisualBackProp, a computationally efficient method for visualizing which input image regions most influence a CNN's predictions by backpropagating relevance values through feature maps rather than gradients. It achieves real-time performance (2.0ms per mask) and produces visualization quality comparable to layer-wise relevance propagation (LRP), while being 12x faster, making it ideal for real-time debugging of CNNs in applications like autonomous driving.
This paper proposes a new method, that we call VisualBackProp, for visualizing which sets of pixels of the input image contribute most to the predictions made by the convolutional neural network (CNN). The method heavily hinges on exploring the intuition that the feature maps contain less and less irrelevant information to the prediction decision when moving deeper into the network. The technique we propose was developed as a debugging tool for CNN-based systems for steering self-driving cars and is therefore required to run in real-time, i.e. it was designed to require less computations than a forward propagation. This makes the presented visualization method a valuable debugging tool which can be easily used during both training and inference. We furthermore justify our approach with theoretical arguments and theoretically confirm that the proposed method identifies sets of input pixels, rather than individual pixels, that collaboratively contribute to the prediction. Our theoretical findings stand in agreement with the experimental results. The empirical evaluation shows the plausibility of the proposed approach on the road video data as well as in other applications and reveals that it compares favorably to the layer-wise relevance propagation approach, i.e. it obtains similar visualization results and simultaneously achieves order of magnitude speed-ups.
Motivation & Objective
- To develop a real-time, efficient visualization method for interpreting CNN predictions in end-to-end autonomous driving systems.
- To identify the most influential input pixels contributing to a CNN's output decision, focusing on meaningful visual cues like lane markings.
- To provide a theoretically grounded alternative to gradient-based or heuristic visualization techniques with provable relevance propagation.
- To enable practical debugging during both training and inference by reducing computational cost below that of forward pass.
- To validate the method on autonomous driving video data and benchmark datasets, showing fidelity to LRP while achieving significant speed improvements.
Proposed method
- VisualBackProp uses value-based backpropagation instead of gradient-based methods to propagate relevance from the final convolutional layer back to the input image.
- It starts from the last convolutional layer’s feature maps, which contain high-level, relevant representations, and progressively increases spatial resolution during backpropagation.
- The method combines high-resolution features from shallow layers with high-relevance information from deep layers using a non-gradient, message-passing scheme based on network flow principles.
- Relevance is redistributed layer-by-layer using a conservation principle, ensuring total relevance is preserved across layers.
- The algorithm computes a relevance score for each input pixel, highlighting regions that collectively contribute most to the prediction.
- The approach is implemented in Torch7 with GPU acceleration, enabling real-time inference at ~2.0ms per visualization mask.
Experimental results
Research questions
- RQ1Can a non-gradient, value-based backpropagation method produce reliable and interpretable visualizations of CNN decision-making?
- RQ2Does VisualBackProp identify meaningful, semantically relevant image regions such as lane markings or road edges in autonomous driving scenarios?
- RQ3How does the computational efficiency of VisualBackProp compare to state-of-the-art methods like LRP, especially in real-time deployment?
- RQ4To what extent do VisualBackProp visualizations match those of LRP in terms of qualitative and quantitative similarity?
- RQ5Can VisualBackProp reveal whether a CNN learns to ignore irrelevant visual cues (e.g., horizontal lines) when predicting steering commands?
Key findings
- VisualBackProp generates visualization masks that are qualitatively very similar to those produced by LRP, indicating high fidelity in identifying relevant image regions.
- The method runs in 2.0ms per mask on a GeForce GTX 970M, which is 12 times faster than LRP’s 24.6ms, making it suitable for real-time applications.
- On autonomous driving data, VisualBackProp correctly identifies lane markings as primary decision cues, even when they are partially obscured by shadows or disappear from view.
- The network learned to ignore horizontal lane markings and other irrelevant features, such as road surface patterns, when predicting steering wheel angles.
- In cases of high prediction error (e.g., -20.74° SWA), VisualBackProp revealed that the network focused on low-quality or ambiguous visual cues, providing diagnostic insight.
- Empirical results on ImageNet and German Traffic Sign Detection Benchmark confirm that VisualBackProp generalizes well beyond autonomous driving and maintains strong performance across diverse tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.