Single Image Depth Prediction With Wavelet Decomposition

Michaël Ramamonjisoa, Michael Firman, Jamie Watson, Vincent Lepetit, Daniyar Turmukhambetov

Abstract

We present a novel method for predicting accurate depths from monocular images with high efficiency. This optimal efficiency is achieved by exploiting wavelet decomposition, which is integrated in a fully differentiable encoder-decoder architecture. We demonstrate that we can reconstruct high-fidelity depth maps by predicting sparse wavelet coefficients. In contrast with previous works, we show that wavelet coefficients can be learned without direct supervision on coefficients. Instead we supervise only the final depth image that is reconstructed through the inverse wavelet transform. We additionally show that wavelet coefficients can be learned in fully self-supervised scenarios, without access to ground-truth depth. Finally, we apply our method to different state-of-the-art monocular depth estimation models, in each case giving similar or better results compared to the original model, while requiring less than half the multiply-adds in the decoder network.

Introduction

Monocular depth estimation—the task of predicting 3D distance from a single 2D image—is a critical component for robotics, autonomous driving, and augmented reality. However, deploying these models on resource-constrained hardware remains a challenge due to high computational demands.

Input RGB street scene from the KITTI dataset.

While standard efficiency techniques often rely on model compression or pruning, this research introduces WaveletMonodepth, which optimizes the internal representation of depth itself. The authors observe that depth maps are naturally compressible, characterized by large, smooth regions separated by sharp discontinuities at object boundaries. Traditional convolutional neural networks (CNNs) often waste computation by processing these redundant flat areas with the same intensity as complex edges.

Methodology

WaveletMonodepth integrates the Discrete Wavelet Transform (DWT) into a standard encoder-decoder framework to exploit the inherent sparsity of depth information.

  1. Wavelet Decomposition: The decoder is designed to predict a low-resolution "base" depth map (at 1/16th scale) alongside a series of sparse wavelet coefficients representing horizontal, vertical, and diagonal high-frequency details.
  2. Recursive Reconstruction: Using the Inverse Discrete Wavelet Transform (IDWT), the network recursively upsamples the depth map, injecting the predicted high-frequency details at each stage.
  3. Sparse Inference: Efficiency is gained by identifying "active" regions via a mask. The network only performs convolutions at these sparse locations, effectively skipping redundant calculations in flat regions where high-frequency coefficients are near zero.
  4. Differentiable Training: Because the IDWT is fully differentiable, the entire system can be trained end-to-end using standard depth losses. This removes the need for explicit ground-truth labels for the wavelet coefficients.
Visualization of sparse wavelet coefficients (top) and the resulting high-fidelity depth map (bottom).

Evaluation and Results

The model was rigorously evaluated on the KITTI (outdoor driving) and NYUv2 (indoor) benchmarks, as well as the NYU-OC++ subset for occlusion boundary analysis.

The results demonstrate significant computational savings. On the KITTI dataset, the wavelet-based decoder reduced multiply-add operations by over 50% without sacrificing performance. The network exhibited remarkable robustness to sparsity:

  • KITTI: 90% of wavelet coefficients could be discarded with less than a 1.4% relative performance drop.
  • NYUv2: 95% of coefficients could be removed with a negligible 0.2% loss in accuracy.

Furthermore, WaveletMonodepth achieved competitive or superior results compared to state-of-the-art models like Depth Hints, particularly in producing sharper object boundaries.

Discussion and Key Insights

A primary takeaway is that sparsity is natural in depth maps. By supervising the final reconstruction rather than the coefficients themselves, the network learns to allocate high-frequency energy precisely where edges occur. This "plug-and-play" decoder can be integrated into existing architectures to provide immediate efficiency gains.

However, limitations remain. The current approach focuses on the decoder, while the encoder (typically a ResNet backbone) still consumes a large portion of the total FLOPs. Additionally, the sparsity-efficiency tradeoff is currently managed by a manual threshold, which might require dynamic adjustment in real-world production environments. Future work may explore more complex wavelet bases beyond the Haar wavelets used here to further enhance reconstruction fidelity.

Summary updated

BibTeX
@inproceedings{ramamonjisoa2021single,
  author = {Michaël Ramamonjisoa and Michael Firman and Jamie Watson and Vincent Lepetit and Daniyar Turmukhambetov},
  title = {{Single Image Depth Prediction With Wavelet Decomposition}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=w4dhS5890E},
}
Figure