[Paper Review] Bidirectional Attention Network for Monocular Depth Estimation
This paper proposes Bidirectional Attention Network (BANet), a lightweight, end-to-end framework for monocular depth estimation that enhances feature representation by integrating local and global context through bidirectional attention modules applied after the backbone network. The method achieves state-of-the-art performance on KITTI and DIODE datasets with reduced computational complexity and parameter count by leveraging depth-to-space (D2S) transformation and stage-wise attention refinement at full resolution.
In this paper, we propose a Bidirectional Attention Network (BANet), an end-to-end framework for monocular depth estimation (MDE) that addresses the limitation of effectively integrating local and global information in convolutional neural networks. The structure of this mechanism derives from a strong conceptual foundation of neural machine translation, and presents a light-weight mechanism for adaptive control of computation similar to the dynamic nature of recurrent neural networks. We introduce bidirectional attention modules that utilize the feed-forward feature maps and incorporate the global context to filter out ambiguity. Extensive experiments reveal the high degree of capability of this bidirectional attention model over feed-forward baselines and other state-of-the-art methods for monocular depth estimation on two challenging datasets -- KITTI and DIODE. We show that our proposed approach either outperforms or performs at least on a par with the state-of-the-art monocular depth estimation methods with less memory and computational complexity.
Motivation & Objective
- To address the limitation of existing CNN-based monocular depth estimation models in effectively integrating local and global context.
- To overcome the representational ambiguity caused by spatial downsampling in standard backbone architectures.
- To develop a lightweight, efficient attention mechanism that operates at full spatial resolution post-backbone.
- To improve depth estimation accuracy—especially in challenging regions like thin trunks and bright/dark backgrounds—without increasing model complexity.
- To demonstrate that bidirectional attention, inspired by neural machine translation, can outperform or match SOTA methods in performance with lower memory and FLOPs.
Proposed method
- Proposes a bidirectional attention mechanism that refines feature maps from each stage of a CNN backbone after depth-to-space (D2S) transformation to restore full spatial resolution.
- Applies forward and backward attention modules that use features from earlier and later stages to refine current-stage features, enabling bidirectional context aggregation.
- Introduces global context aggregation by injecting scene-level context into D2S-transformed single-channel feature maps at each stage to improve reliability in ambiguous regions.
- Employs a lightweight design by applying attention on single-channel feature maps (H×W×1) rather than high-dimensional feature maps, reducing FLOPs and parameters.
- Uses a multi-stage refinement pipeline where attention weights are computed across stages, allowing the network to dynamically focus on salient depth cues.
- Adapts the concept of bidirectional RNNs from NLP to computer vision, applying it to dense regression tasks like monocular depth estimation.
Experimental results
Research questions
- RQ1Can a bidirectional attention mechanism improve monocular depth estimation by integrating both past and future context from feature maps?
- RQ2Does applying attention after the backbone, at full resolution, lead to better performance than attention within the backbone or on downsampled features?
- RQ3Can a lightweight attention mechanism outperform or match SOTA models while reducing computational cost and parameter count?
- RQ4How does global context aggregation affect performance in challenging regions such as thin structures or high-contrast backgrounds?
- RQ5What is the relative contribution of forward vs. backward attention in refining depth predictions across different stages of the network?
Key findings
- BANet-Full, the full bidirectional variant, achieves state-of-the-art performance on both KITTI and DIODE datasets, outperforming or matching SOTA methods in key metrics like AbsRel, SqRel, and RMSE.
- The BANet-Backward variant outperforms BANet-Forward, indicating that refining early-stage features with future context is more effective than vice versa.
- The vanilla model (without attention) performs better than DORN and DenseDepth, suggesting that full-resolution prediction via D2S is more effective than multi-scale upsampling.
- BANet-Markov, which uses only the immediate previous stage for attention, underperforms compared to full BANet, indicating that forgetting distant context limits performance.
- Global context aggregation significantly improves prediction quality in delicate regions (e.g., tree trunks, window frames), reducing false negatives despite low pixel coverage.
- BANet achieves superior performance with fewer parameters and lower FLOPs than recent SOTA models, demonstrating high efficiency without sacrificing accuracy.
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.