Skip to main content
QUICK REVIEW

[Paper Review] Deep attention-based classification network for robust depth prediction

Ruibo Li, Ke Xian|arXiv (Cornell University)|Jul 11, 2018
Advanced Vision and ImagingComputer Science22 references17 citations
TL;DR

This paper proposes a deep attention-based classification network (DABC) for robust single-image depth prediction across diverse indoor and outdoor scenes. By formulating depth prediction as a multi-class classification task with softmax output and integrating a channel-wise attention mechanism to adaptively emphasize discriminative features, the method achieves state-of-the-art performance, winning 2nd place in the ROB 2018 single image depth prediction challenge.

ABSTRACT

In this paper, we present our deep attention-based classification (DABC) network for robust single image depth prediction, in the context of the Robust Vision Challenge 2018 (ROB 2018). Unlike conventional depth prediction, our goal is to design a model that can perform well in both indoor and outdoor scenes with a single parameter set. However, robust depth prediction suffers from two challenging problems: a) How to extract more discriminative features for different scenes (compared to a single scene)? b) How to handle the large differences of depth ranges between indoor and outdoor datasets? To address these two problems, we first formulate depth prediction as a multi-class classification task and apply a softmax classifier to classify the depth label of each pixel. We then introduce a global pooling layer and a channel-wise attention mechanism to adaptively select the discriminative channels of features and to update the original features by assigning important channels with higher weights. Further, to reduce the influence of quantization errors, we employ a soft-weighted sum inference strategy for the final prediction. Experimental results on both indoor and outdoor datasets demonstrate the effectiveness of our method. It is worth mentioning that we won the 2-nd place in single image depth prediction entry of ROB 2018, in conjunction with IEEE Conference on Computer Vision and Pattern Recognition (CVPR) 2018.

Motivation & Objective

  • Address the challenge of training a single model that generalizes well across both indoor and outdoor scenes for depth prediction.
  • Overcome the large disparity in depth ranges between datasets such as ScanNet (0–10 m) and KITTI (2.5–80 m).
  • Improve feature discrimination in heterogeneous scenes by learning scene-specific representations through attention mechanisms.
  • Reduce quantization errors from depth discretization using a soft-weighted sum inference strategy.
  • Develop a universal RGB-to-depth mapping that performs robustly without retraining for different domains.

Proposed method

  • Formulate depth prediction as a multi-class classification problem by discretizing continuous depth values into discrete intervals.
  • Use a U-Net-like encoder-decoder architecture with skip connections to aggregate multi-scale features for high-resolution depth maps.
  • Introduce a global average pooling layer to extract channel-wise statistics representing scene-level global context.
  • Apply a channel-wise attention mechanism that learns to reweight feature channels based on their importance for scene-specific representation.
  • Integrate an attention feature aggregation (AFA) module that fuses multi-scale features with learned attention weights.
  • Employ a soft-weighted sum inference strategy to reconstruct continuous depth predictions from discrete classification outputs, minimizing quantization error.

Experimental results

Research questions

  • RQ1Can a single deep learning model achieve robust depth prediction performance across both indoor and outdoor scenes with a unified parameter set?
  • RQ2How can a model effectively extract discriminative features for diverse scene layouts and visual patterns in a unified framework?
  • RQ3To what extent can a channel-wise attention mechanism improve feature representation by focusing on scene-specific channels?
  • RQ4How does depth discretization combined with soft-weighted sum inference mitigate quantization errors in regression tasks?
  • RQ5Can a classification-based approach outperform conventional regression-based methods in terms of generalization and robustness across datasets with different depth ranges?

Key findings

  • The DABC model achieved 2nd place in the single image depth prediction track of the ROB 2018 challenge, demonstrating strong generalization across datasets.
  • On the ScanNet validation set, the classification-based DABC model achieved a sqRel of 4.34, absRel of 12.67, irmse of 15.93, and imae of 8.71, outperforming regression-based baselines.
  • On the KITTI validation set, the DABC model achieved a SILog of 13.34, sqRel of 1.95, absRel of 8.01, and irmse of 9.58, showing superior performance compared to regression baselines.
  • Ablation studies confirmed that the attention mechanism significantly improves performance on ScanNet (sqRel: 4.93 without attention vs. 4.34 with attention), while maintaining comparable results on KITTI.
  • Visualization of attention maps revealed that high-level features exhibit strong scene-specific activation patterns, confirming the attention mechanism's ability to distinguish between indoor and outdoor scenes.
  • Confusion matrices showed that the DABC model maintains low error rates across depth intervals, especially in the overlapping range (2.5–10 m), indicating reduced interference between indoor and outdoor data.

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.