[Paper Review] NeW CRFs: Neural Window Fully-connected CRFs for Monocular Depth Estimation
This paper introduces a neural windowed fully-connected CRF decoder integrated with a vision transformer encoder to improve monocular depth estimation, achieving state-of-the-art results on KITTI, NYUv2, and MatterPort3D by modeling local fully-connected CRFs within image windows and aggregating global information.
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.
Motivation & Objective
- Address the ill-posed nature of monocular depth estimation by leveraging fully-connected CRFs within feasible computational limits.
- Propose a neural window FC-CRFs module that captures long-range relationships via multi-head attention.
- Integrate the neural window FC-CRFs as a decoder in a bottom-up-top-down architecture with a vision transformer encoder.
- Demonstrate improved depth accuracy across KITTI, NYUv2, and MatterPort3D datasets, including panoramas.
- Show ablations to justify design choices such as window shifting and global information aggregation.
Proposed method
- Split the input image into non-overlapping windows and perform fully-connected CRFs optimization within each window to reduce computation.
- Use multi-head attention to compute the pairwise potential in the CRFs, enabling a neural energy function.
- Compute unary potentials with a learned network from image features; model pairwise potentials via SoftMax(QK^T + P) interacting with depth estimates.
- Incorporate a window shift mechanism to connect adjacent windows, akin to Swin Transformer, and use a global pooling path (PPM) to inject global information at the top level.
- Embed the neural window FC-CRFs as the decoder in a bottom-up-top-down network with Swin-Transformer encoder, followed by an upscale mechanism to full resolution.
- Train with scale-invariant log loss (SILog) for depth regression.
Experimental results
Research questions
- RQ1Can fully-connected CRFs be made computationally feasible for monocular depth estimation by operating within local windows?
- RQ2Does a neural, attention-based CRF potential improve depth estimation over traditional decoders?
- RQ3Does incorporating window shifting and global information aggregation improve depth quality in both outdoor and indoor datasets, including panoramas?
- RQ4Is the proposed architecture capable of achieving state-of-the-art performance on KITTI, NYUv2, and MatterPort3D without extra data?
Key findings
- Significant improvements over prior methods on KITTI, NYUv2, and MatterPort3D in key metrics (e.g., Abs Rel, RMSE, delta accuracy).
- On KITTI Eigen split, their method reduces Abs Rel by 10.3% and RMSE by 9.8% relative to baselines.
- On KITTI official split, their method ranks 1st on the depth prediction online benchmark (SILog).
- On NYUv2, the method lowers Abs Rel and RMSE, achieving strong indoor results without extra data.
- On MatterPort3D, their approach achieves top performance on panorama depth estimation and benefits from pretraining with additional data (Ours*).
- Ablation shows neural window FC-CRFs outperform a UNet baseline, with further gains from window shift, PPM head, and multi-head energy.
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.