[论文解读] UniDepth: Universal Monocular Metric Depth Estimation
UniDepth 提出了一种通用的单目度量深度估计方法,仅从单张图像预测度量3D点,无需依赖外部相机参数。它采用自提示相机模块、伪球面输出表示以解耦相机与深度优化,并引入几何不变性损失,在十个数据集上实现了最先进的零样本性能,包括在 KITTI 上超越领域特定模型。
Accurate monocular metric depth estimation (MMDE) is crucial to solving downstream tasks in 3D perception and modeling. However, the remarkable accuracy of recent MMDE methods is confined to their training domains. These methods fail to generalize to unseen domains even in the presence of moderate domain gaps, which hinders their practical applicability. We propose a new model, UniDepth, capable of reconstructing metric 3D scenes from solely single images across domains. Departing from the existing MMDE methods, UniDepth directly predicts metric 3D points from the input image at inference time without any additional information, striving for a universal and flexible MMDE solution. In particular, UniDepth implements a self-promptable camera module predicting dense camera representation to condition depth features. Our model exploits a pseudo-spherical output representation, which disentangles camera and depth representations. In addition, we propose a geometric invariance loss that promotes the invariance of camera-prompted depth features. Thorough evaluations on ten datasets in a zero-shot regime consistently demonstrate the superior performance of UniDepth, even when compared with methods directly trained on the testing domains. Code and models are available at: https://github.com/lpiccinelli-eth/unidepth
研究动机与目标
- 解决现有单目度量深度估计(MMDE)方法在未见领域中泛化能力不足的问题,尤其针对任意相机内参的情况。
- 实现在推理时无需相机参数或外部监督的单张图像度量3D重建。
- 通过解耦相机与深度优化,提升对领域偏移和相机噪声的鲁棒性。
- 通过在公平、可比较的设置下评估十个多样化数据集,建立通用 MMDE 的零样本基准。
- 开发一个灵活的框架,支持无相机信息的推理,同时在有外部相机信息时可集成使用。
提出的方法
- 引入自提示相机模块,预测密集的相机表征(方位角和仰角),以条件化深度预测。
- 采用伪球面输出空间,使用坐标 (θ, φ, z) 解耦相机与深度优化,避免梯度干扰。
- 使用拉普拉斯球谐编码,以可微且具有几何意义的方式表示相机分量。
- 应用几何不变性损失,强制同一图像在两种几何增强下的深度特征保持一致,模拟不同相机视角。
- 对深度特征到相机模块实施梯度截断操作,以稳定训练并防止尺度过拟合。
- 利用交叉注意力机制将相机提示注入深度解码器,实现在无需参数化相机建模的前提下进行相机条件化深度预测。
实验结果
研究问题
- RQ1单目深度模型是否能在推理时无需依赖相机参数的情况下,泛化到未见领域?
- RQ2在单阶段3D预测框架中,如何实现相机与深度预测的解耦以提升鲁棒性?
- RQ3数据增强下的几何不变性在提升度量深度估计的零样本泛化能力方面发挥什么作用?
- RQ4与稀疏相机参数提示相比,密集的非参数化相机表征是否在深度精度和领域泛化方面表现更优?
- RQ5与笛卡尔坐标或交织式表示相比,统一的3D输出空间表示是否能提升训练稳定性和性能?
主要发现
- UniDepth 在官方 KITTI 深度预测基准的零样本设置下达到最先进性能,优于在 KITTI 数据集上专门微调的方法。
- 在零样本设置下,使用相机提示时,KITTI 上的 δ₁ 达到 95.2%,而移除相机模块后仅 58.9%,证明了相机先验的关键作用。
- 几何不变性损失通过增强对相机内参变化和外观变化的鲁棒性,同时提升了域内和域外性能。
- 伪球面输出表示显著优于笛卡尔空间,因其更好地解耦了相机与深度优化,减少了误差传播。
- 从深度特征到相机模块的梯度截断稳定了训练过程,并防止相机监督主导编码器梯度,从而提升了零样本泛化能力。
- 消融实验表明,密集相机提示(自提示模块)在分布外设置下相比稀疏相机参数提示表现更优。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。