DwinFormer: Dual Window Transformers for End-to-End Monocular Depth Estimation

Awsafur Rahman,Anowarul Fattah,Md Awsafur Rahman,Shaikh Anowarul Fattah
DOI: https://doi.org/10.1109/jsen.2023.3299782
IF: 4.3
2023-09-15
IEEE Sensors Journal
Abstract:Depth estimation using monocular vision sensors is crucial in computer vision, with diverse applications ranging from autonomous driving to robot motion. Conventional methods suffer from the trade-off between consistency and fine-grained details due to the local-receptive field limiting their practicality. This lack of long-range dependency inherently comes from the convolutional neural network (CNN) part of the architecture. In this article, a dual window transformer-based network, namely DwinFormer, is proposed, which utilizes both local and global features for depth estimation using monocular vision sensors. The DwinFormer consists of dual window self-attention (Dwin-SA) and cross-attention transformers, dual window self-attention transformer (Dwin-SAT) and dual window cross attention transformer (Dwin-CAT), respectively. The Dwin-SAT seamlessly extracts intricate, locally aware features while concurrently capturing global context. It harnesses the power of local and global window attention to adeptly capture both short-range and long-range dependencies, obviating the need for complex and computationally expensive operations, such as attention masking or window shifting. Moreover, Dwin-SAT introduces inductive biases which provide desirable properties, such as translational equivariance and less dependence on large-scale data. Furthermore, conventional decoding methods often rely on skip connections which may result in semantic discrepancies and a lack of global context when fusing encoder and decoder features. In contrast, the Dwin-CAT employs both local and global window cross-attention to seamlessly fuse encoder and decoder features with both fine-grained local and contextually aware global information, effectively amending semantic gap. Empirical evidence obtained through extensive experimentation on the NYU-Depth-V2 and Karlsruhe Institute of Technology and Toyota Technological Institute (KITTI) datasets demonstrates the superiority of the proposed method, - onsistently outperforming existing approaches across both indoor and outdoor environments.
engineering, electrical & electronic,instruments & instrumentation,physics, applied
What problem does this paper attempt to address?