Object-Aware Monocular Depth Prediction With Instance Convolutions

Enis Simsar, Evin Pinar Örnek, Fabian Manhardt, Helisa Dhamo, Nassir Navab, Federico Tombari · DOI

TL;DR

Standard monocular depth estimation models often "smear" depth values at object boundaries because regular convolutions aggregate features across foreground and background. This paper introduces Instance Convolutions, a novel operator that uses super-pixels to restrict feature aggregation within specific object parts, resulting in significantly sharper occlusion boundaries and more realistic 3D reconstructions.

What Problem Does This Paper Address?

Monocular Depth Prediction (MDP)—estimating 3D distance from a single 2D image—is a cornerstone of robotics and augmented reality. While deep learning has made MDP more accurate, it suffers from a persistent flaw: blurry edges.

The culprit is the standard 2D convolution. Because a convolutional kernel aggregates information from all pixels in its window, it inevitably mixes features from a foreground object (e.g., a chair) with the background (e.g., a wall). This results in an "interpolation effect" where the depth map shows a smooth slide between objects rather than a sharp jump. For a robot trying to grasp an object or navigate a tight space, these "smeared" boundaries can lead to catastrophic failures.

Methods

The authors propose a "plug-and-play" refinement strategy that can be appended to existing state-of-the-art (SOTA) depth estimation models.

  1. Instance Convolutions (IC): Inspired by sparse convolutions, this operator uses a dynamic mask for every pixel. For any given kernel window, the mask only allows the convolution to "see" pixels that belong to the same segment as the center pixel. This prevents feature bleeding across boundaries.
  2. Super-pixel Guidance: To define these segments without requiring expensive semantic labels, the authors use unsupervised over-segmentation methods like SLIC or BASS. This allows the model to understand object parts (super-pixels) based on color and texture discontinuities.
  3. Hybrid Architecture: Because Instance Convolutions focus on local segments, they struggle with global context (e.g., determining if a small segment is a tiny object close by or a large object far away). To solve this "scale-distance ambiguity," the authors use a standard SOTA backbone (like BTS or VNL) to extract global features first, then apply IC layers to sharpen the results.
  4. Center-Pooling: To maintain segment information throughout the network's downsampling layers, they introduce a pooling operation that specifically tracks the segment ID of the central pixel.

Datasets

The model was evaluated on three major benchmarks:

  • NYU v2: A standard indoor dataset captured with Kinect.
  • iBims: A high-quality dataset specifically designed for evaluating occlusion boundaries and planarity.
  • KITTI: A large-scale outdoor dataset for autonomous driving.
  • NYU v2 - OB: A subset of NYU v2 with specific occlusion boundary annotations used to calculate specialized error metrics.

Key Insights and Ideas

  • Semantics aren't necessary for sharpness: One of the most interesting findings is that the model doesn't need to know what an object is (a chair vs. a table) to predict sharp edges. It only needs to know where the discontinuities are. Using unsupervised super-pixels is sufficient to guide the convolution.
  • Standard metrics are deceptive: The authors point out that standard metrics like RMSE (Root Mean Squared Error) often fail to capture edge quality because edges represent a small fraction of total pixels. By focusing on Depth Boundary Error (DBE), they highlight improvements that standard benchmarks usually ignore.
  • The 3D "Aha" Moment: While the 2D depth maps might look only slightly different, the impact is massive when back-projected into 3D. Instance Convolutions eliminate the "flying pixels" that typically create fake web-like structures between objects in 3D point clouds.

Key Results

  • Boundary Accuracy: On the NYU v2 dataset, adding Instance Convolutions to the SharpNet backbone improved the Depth Boundary Error (DBE) accuracy from 3.041 to 1.961 (lower is better).
  • Generalizability: The method consistently improved boundary sharpness across three different SOTA backbones (SharpNet, BTS, and VNL), proving it is a versatile refinement module.
  • Qualitative Superiority: Qualitative results on KITTI show that the model can recover sharp contours (like a biker's silhouette) that standard models completely miss or blur into the background.

Limitations and Future Work

  • Computational Overhead: Calculating super-pixels and running masked convolutions adds latency. While the core model is fast (~13-16 FPS), the full pipeline including segmentation drops to roughly 0.6 to 3 FPS depending on the method used.
  • Dependency on Segmentation: The quality of the depth edges is strictly tied to the quality of the initial super-pixels. If the over-segmentation misses a boundary, the Instance Convolution will likely smear it.
  • Future Directions: The authors suggest exploring how Instance Convolutions could be integrated into other tasks like semantic segmentation or optical flow to improve boundary sharpness across the computer vision spectrum.

Summary updated

BibTeX
@article{simsar2022object,
  author = {Enis Simsar and Evin Pinar Örnek and Fabian Manhardt and Helisa Dhamo and Nassir Navab and Federico Tombari},
  title = {{Object-Aware Monocular Depth Prediction With Instance Convolutions}},
  journal = {IEEE Robotics Autom. Lett.},
  year = {2022},
  doi = {10.1109/lra.2022.3155823},
}
Figure