Abstract
Deep networks for Monocular Depth Estimation (MDE) have achieved promising performance recently and it is of great importance to further understand the interpretability of these networks. Existing methods attempt to provide post-hoc explanations by investigating visual cues, which may not explore the internal representations learned by deep networks. In this paper, we find that some hidden units of the network are selective to certain ranges of depth, and thus such behavior can be served as a way to interpret the internal representations. Based on our observations, we quantify the interpretability of a deep MDE network by the depth selectivity of its hidden units. Moreover, we then propose a method to train interpretable MDE deep networks without changing their original architectures, by assigning a depth range for each unit to select. Experimental results demonstrate that our method is able to enhance the interpretability of deep MDE networks by largely improving the depth selectivity of their units, while not harming or even improving the depth estimation accuracy. We further provide comprehensive analysis to show the reliability of selective units, the applicability of our method on different layers, models, and datasets, and a demonstration on analysis of model error.
Introduction
Deep learning has revolutionized Monocular Depth Estimation (MDE), enabling the prediction of 3D distance from a single 2D image. However, these models often function as "black boxes," offering little insight into their internal decision-making processes. Traditional interpretability methods rely on post-hoc saliency maps, which identify influential pixels but fail to explain the underlying logic of the network's internal representations. In safety-critical fields like autonomous driving, this lack of transparency is a significant liability. This research addresses the challenge of intrinsic interpretability by discovering and enforcing "Depth Selectivity" within the network's hidden units.
Methodology: Quantifying and Enforcing Depth Selectivity
The core contribution of this work is the identification of depth selectivity (DS) as a natural emergent property. The researchers observed that certain neurons in standard MDE networks naturally activate more strongly for specific depth ranges. To leverage this, they introduced two primary innovations:
- Depth Selectivity Index: A metric to quantify how specialized a hidden unit is to a particular distance range.
- The "Assigning" Strategy ($L_{assign}$): Rather than simply encouraging selectivity through general regularization, the authors explicitly assign a fixed depth range to each unit in a given layer during training. This forces the network to learn a structured, disentangled representation of space where specific neurons are responsible for specific distance bins (e.g., "very close" vs. "far").
This method is highly versatile as it requires no architectural changes or additional data, acting as a drop-in modification to the standard loss function.
Results and Analysis
The proposed method was evaluated on the NYUD-V2 (indoor) and KITTI (outdoor) datasets. A key finding was the debunking of the "accuracy-interpretability trade-off." Not only did the interpretable models show significantly higher selectivity scores, but they also achieved superior accuracy metrics.
- Selectivity Gains: On NYUD-V2, the average depth selectivity score increased from 0.4286 in the baseline to 0.7529 in the interpretable model.
- Accuracy Improvements: Using a ResNet-50 backbone, the Root Mean Squared Error (RMSE) improved from 0.443 to 0.422, and the $\delta_{1.25}$ accuracy threshold rose from 84.9% to 86.1%.
Beyond performance, the interpretable units allow for robust error analysis. By tracing incorrect predictions back to specific neurons, researchers can identify exactly which depth bins are being miscalculated, providing a pathway for debugging complex models in real-world applications.
Conclusion
This research demonstrates that deep MDE networks can be made intrinsically interpretable by encouraging hidden units to specialize in specific depth ranges. By assigning these ranges during training, the resulting models provide a transparent internal logic without sacrificing predictive power. Future work will look to extend this selectivity to other visual concepts such as occlusion boundaries and surface normals to provide an even more comprehensive understanding of how deep networks perceive 3D space.
Summary updated