논문 해설
DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation
DepthFormer: 정확한 단안 깊이 추정을 위한 장거리 상관관계와 지역 정보 활용
- 연구 문제 단일 RGB 영상의 깊이 추정에서 장거리 상관관계와 지역 정보를 함께 포착하는 인코더 설계가 과제입니다.
- 연구 방법 Swin Transformer 분기와 첫 ResNet 블록의 합성곱 분기를 결합하고, HAHI 모듈로 두 분기의 특징을 강화하고 친화도를 모델링합니다.
- 주요 결과 NYU-Depth-v2와 KITTI 검증 세트에서 기존 방법과 비교해 높은 δ1을 보고하며, NYU 절제 실험에서는 합성곱 분기와 HAHI 추가가 Swin-T 기준선보다 나은 결과를 보입니다.
단안 깊이 추정의 인코더 한계
단일 RGB 영상에서 깊이를 추정하는 과제는 3차원 재구성과 인지에 중요하지만, 깊이 단서가 부족하기 때문에 인코더가 장거리 상관관계와 지역 정보를 함께 포착해야 합니다. 원문은 장거리 상관관계를 객체 사이의 거리 관계로, 지역 정보를 같은 객체의 일관성으로 정의합니다. 합성곱 연산은 제한된 수용 영역 때문에 장거리 상관관계를 모델링하기 어렵고, 이 점이 현재 깊이 추정 방법의 병목으로 지목됩니다. 반면 ViT 인코더는 전역 수용 영역을 가지지만 지역 귀납 편향이 부족해 가까운 객체의 세부 정보가 패치 단위 상호작용 중 손실됩니다. 이 논문은 두 성질을 함께 활용하는 인코더와 두 분기의 특징을 연결하는 방법을 다룹니다.

Fig. 1 Overview: We design an encoder consisting of a Transformer branch to learn the long-range correlation and a convolution branch to extract the local information. To alleviate the lack of connections between the two branches, we propose the HAHI module to enhance features and model affinities.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 1쪽에서 그림 영역을 추출했습니다.
Fig. 3 Failure cases of previous methods on NYU dataset caused by a limited receptive field of the convolution operator.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.
Fig. 4 Demonstration of artifacts and the lost of local information. Our method provides consistent and sharp depth estimation.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.Transformer 분기와 합성곱 분기의 결합
DepthFormer는 입력 영상을 겹치지 않는 패치로 나누고 Swin Transformer 분기로 계층적 특징을 추출합니다. 동시에 표준 ResNet 인코더의 첫 블록만 사용하는 합성곱 분기가 지역 특징 G를 추출합니다. 원문은 첫 블록만 쓰는 이유로 연속된 합성곱이 저수준 특징을 희석하고 계산 시간을 줄이는 효과를 듭니다. HAHI 모듈은 Transformer 특징 F를 여러 수준에서 1×1 합성곱으로 같은 채널 수로 맞춘 뒤 펼쳐서 처리합니다. 변형 가능한 자기 어텐션은 전역 어텐션의 메모리 비용을 줄이기 위해 학습 가능한 제한된 샘플링 지점에만 주의를 두며, 변형 가능한 교차 어텐션은 F와 G 사이의 친화도를 모델링합니다.
두 출력 Fo와 Go는 기본 디코더로 전달됩니다.

Fig. 2 An overview of DepthFormer. It comprises three major components: an encoder consisting of a Transformer branch and a convolution branch, a hierarchical aggregation and heterogeneous interaction (HAHI) module, and a standard decoder. The HAHI enhances the Transformer features F and models the affinity between the Transformer and the convolution features G.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.
Fig. 5 Illustration of our proposed HAHI. The deformable self-attention module enhances the input Transformer features F. The deformable cross-attention module models the affinity between the Transformer features F and the convolution features G in a set-to-set translation manner. The output of the HAHI, Fo and Go, are sent to the decoder for the final aggregation. Due to the adoption of Swin Transformer layers to extract the hierarchical features, F exhibits different sizes and channels.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 6쪽에서 그림 영역을 추출했습니다.
Fig. 12 Effect of the convolution branch block on NYU depth estimation performance. We can observe that behaviour decreases after the first block of R-50 (He et al., 2016).
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.NYU와 KITTI에서의 비교 결과
NYU-Depth-v2에서 DepthFormer의 δ1은 0.921로 보고되며, 이는 원 논문에서 가져온 비교표의 수치입니다. KITTI 검증 세트의 0m에서 80m 측정에서는 δ1 0.975와 REL 0.052가 보고됩니다. KITTI 온라인 벤치마크에서는 저자들이 제출한 결과가 제출 시점 기준 가장 경쟁력 있는 결과라고 설명합니다. 이 비교는 DepthFormer와 기존 방법을 각 원 논문의 수치로 나란히 놓은 것이며, 동일한 재학습 통제 실험이 아닙니다.

Table 2 Comparison of performances on the NYU-Depth-v2 dataset. The reported numbers are from the corresponding original papers.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 3 Comparison of performances on the KITTI validation dataset. The reported numbers are from the corresponding original papers. Measurements are made for the depth range from 0m to 80m. Best / Second best results are marked bold / underlined. R-50 and E-B5 are short for ResNet-50 and EfficientNet-B5 (Tan and Le, 2019), respectively. Ci represents theith block of the ResNet-50 network.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 4 Comparison of performances on the KITTI depth estimation benchmark test set. Reported numbers are from the official benchmark website.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Fig. 7 Qualitative comparison on the NYU-Depth-v2 dataset.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.절제 실험과 파일럿 연구
NYU 절제 실험에서 Swin-T 기준선은 δ1 0.847과 REL 0.131을 보고합니다. 여기에 합성곱 분기와 HAHI를 함께 추가하면 δ1 0.871과 REL 0.120이 보고됩니다. 파일럿 연구에서는 KITTI에서 DPT 기반으로 ViT-Base와 ResNet-50을 인코더로 비교하며, 0m-20m 구간의 δ1은 ViT-Base 0.955와 ResNet-50 0.973입니다. 원문은 ViT가 먼 객체에서 더 나은 경향을 보이고 가까운 객체에서 열세라는 결과를 설명합니다. 이 관찰은 파일럿 설정의 결과이며, 동일 조건에서 HAHI 효과를 단독으로 분리한 것은 아닙니다.

Table 1 Pilot study results on the KITTI dataset. Overall means the measurements are made from 0m to 80m.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.
Table 6 Ablation study results on the NYU dataset. CB: Convolution Branch. LP: Larger-scale pre-training dataset (22K ImageNet) for boosting the model performance. For fair comparison, we utilize the 22K-ImageNet pre-trained ResNet-50-x3 provided by (Kolesnikov et al., 2020) to get the results of R-50 (+HAHI+LP).
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.
Table 7 Ablation study of the HAHI module on NYU dataset. DSA, DCA: Deformable self-attention and deformable cross-attention.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 11쪽에서 그림 영역을 추출했습니다.
Fig. 13 Fine-grained quantitative results of our pilot study on KITTI datset. We divide the depth range (0m - 80m) into 80 intervals. Point (i,j ) in the plot represents the abs rel of the model is j on depth interval (i,i + 1]m. Our method achieves a trade off between long and short range estimation.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.적용 범위와 남은 한계
이 결과는 NYU, KITTI, SUN RGB-D에서 원문이 제시한 설정과 백본 조합에 한정됩니다. SUN RGB-D 결과는 NYU로 학습한 모델을 추가 미세 조정 없이 평가한 교차 데이터셋 결과입니다. 저자들은 DepthFormer에 대한 이론적 보장이 부족하다고 밝히며, 설명 가능성과 투명성은 향후 과제로 남깁니다. 또한 HAHI는 입력에 무관하게 설계되었다고 설명되지만, 희소 LiDAR 같은 다른 모달리티는 이 논문에서 검증되지 않았습니다.

Table 5 Results of models trained on the NYU-Depth-v2 dataset and tested on the SUN RGB-D dataset (Song et al., 2015) without fine-tuning. The reported numbers are from (Bhat et al., 2021).
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 9쪽에서 그림 영역을 추출했습니다.
Fig. 11 Qualitative comparison on the SUN RGB-D dataset.
원문 · CC BY 4.0 · Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang · DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation · 원문 그림 인용 · 원본 PDF 14쪽에서 그림 영역을 추출했습니다.논문 정보
- 저자
- Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang
- 학회·저널
- arXiv · 프리프린트
- 최초 공개일
- 2022년 3월 27일
- 등록일
- 2026년 11월 6일
- 수정일
- 2022년 3월 27일
- 버전
- v1
- arXiv
- 2203.14211
- DOI
- 10.1007/s11633-023-1458-0
- 분류
- cs.CV
- 원문 이용 조건
- CC BY 4.0
- 제공 범위
- 논문 정보, 해설, 허용된 원문 그림
AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.
초록
This paper aims to address the problem of supervised monocular depth estimation. We start with a meticulous pilot study to demonstrate that the long-range correlation is essential for accurate depth estimation. Therefore, we propose to leverage the Transformer to model this global context with an effective attention mechanism. We also adopt an additional convolution branch to preserve the local information as the Transformer lacks the spatial inductive bias in modeling such contents. However, independent branches lead to a shortage of connections between features. To bridge this gap, we design a hierarchical aggregation and heterogeneous interaction module to enhance the Transformer features via element-wise interaction and model the affinity between the Transformer and the CNN features in a set-to-set translation manner. Due to the unbearable memory cost caused by global attention on high-resolution feature maps, we introduce the deformable scheme to reduce the complexity. Extensive experiments on the KITTI, NYU, and SUN RGB-D datasets demonstrate that our proposed model, termed DepthFormer, surpasses state-of-the-art monocular depth estimation methods with prominent margins. Notably, it achieves the most competitive result on the highly competitive KITTI depth estimation benchmark. Our codes and models are available at https://github.com/zhyever/Monocular-Depth-Estimation-Toolbox.
원문 인용
Zhenyu Li, Zehui Chen, Xianming Liu, Junjun Jiang (2022). DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation. arXiv:2203.14211v1. https://doi.org/10.1007/s11633-023-1458-0
BibTeX
@article{li2022depthformer,
title = {{DepthFormer: Exploiting Long-Range Correlation and Local Information for Accurate Monocular Depth Estimation}},
author = {Zhenyu Li and Zehui Chen and Xianming Liu and Junjun Jiang},
year = {2022},
eprint = {2203.14211},
archivePrefix = {arXiv},
doi = {10.1007/s11633-023-1458-0},
url = {https://arxiv.org/abs/2203.14211v1}
}