[论文解读] NeW CRFs: Neural Window Fully-connected CRFs for Monocular Depth Estimation
本文提出一个神经窗口式全连接 CRF 解码器,与 vision transformer 编码器整合,以提升单目深度估计,在 KITTI、NYUv2、MatterPort3D 上通过在图像窗口内建模局部全连接 CRF 并聚合全局信息,达到最先进的结果。
Estimating the accurate depth from a single image is challenging since it is inherently ambiguous and ill-posed. While recent works design increasingly complicated and powerful networks to directly regress the depth map, we take the path of CRFs optimization. Due to the expensive computation, CRFs are usually performed between neighborhoods rather than the whole graph. To leverage the potential of fully-connected CRFs, we split the input into windows and perform the FC-CRFs optimization within each window, which reduces the computation complexity and makes FC-CRFs feasible. To better capture the relationships between nodes in the graph, we exploit the multi-head attention mechanism to compute a multi-head potential function, which is fed to the networks to output an optimized depth map. Then we build a bottom-up-top-down structure, where this neural window FC-CRFs module serves as the decoder, and a vision transformer serves as the encoder. The experiments demonstrate that our method significantly improves the performance across all metrics on both the KITTI and NYUv2 datasets, compared to previous methods. Furthermore, the proposed method can be directly applied to panorama images and outperforms all previous panorama methods on the MatterPort3D dataset. Project page: https://weihaosky.github.io/newcrfs.
研究动机与目标
- 通过在可行的计算范围内利用全连接 CRFs 来应对单目深度估计的难判性。
- 提出一个神经窗口 FC-CRFs 模块,通过多头注意力捕捉长程关系。
- 将神经窗口 FC-CRFs 作为带有 vision transformer 编码器的自下而上-自上而下架构中的解码器进行整合。
- 在 KITTI、NYUv2 以及 MatterPort3D 数据集(包括全景图)上展示改进的深度精度。
- 给出消融实验以证明诸如窗口平移和全局信息聚合等设计选择的合理性。
提出的方法
- 将输入图像划分为不重叠的窗口,并在每个窗口内进行全连接 CRFs 优化以降低计算量。
- 使用多头注意力来计算 CRFs 的成对势能,实现一个神经能量函数。
- 使用从图像特征学习得到的网络来计算一元势;通过 SoftMax(QK^T + P) 与深度估计交互来建模成对势。
- 引入窗口位移机制以连接相邻窗口,类似 Swin Transformer,并在顶层使用全局池化路径(PPM)注入全局信息。
- 将神经窗口 FC-CRFs 嵌入带 Swin-Transformer 编码器的自下而上-自上而下网络中的解码器,随后有一个上采样机制以达到全分辨率。
- 使用尺度不变对数损失(SILog)进行深度回归训练。
实验结果
研究问题
- RQ1通过在局部窗口内操作,是否可以使全连接 CRFs 在单目深度估计中变得计算上可行?
- RQ2神经、基于注意力的 CRF 潜在项是否相对于传统解码器提高深度估计?
- RQ3在室外和室内数据集(包括全景图)中,结合窗口平移和全局信息聚合是否能提升深度质量?
- RQ4所提架构是否有能力在 KITTI、NYUv2 和 MatterPort3D 上达到不需要额外数据的最先进性能?
主要发现
- 在 KITTI、NYUv2 和 MatterPort3D 的关键指标(如 Abs Rel、RMSE、delta 精度)上显著优于此前方法。
- 在 KITTI Eigen split 上,相较基线,其方法将 Abs Rel 降低 10.3%,RMSE 降低 9.8%。
- 在 KITTI official split 上,其方法在深度预测在线基准(SILog)中排名第一。
- 在 NYUv2 上,该方法降低 Abs Rel 和 RMSE,取得强劲的室内结果且无需额外数据。
- 在 MatterPort3D 上,其方法在全景深度估计方面达到最高性能,并从额外数据的预训练中受益(Ours*)。
- 消融结果显示神经窗口 FC-CRFs 优于 UNet 基线,并且窗口平移、PPM 头和多头能量带来额外提升。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。