N-QGN: Navigation Map from a Monocular Camera using Quadtree Generating Networks

Daniel Braun, Olivier Morel, Pascal Vasseur, Cédric DemonceauxarXiv 2022

TL;DR

Standard monocular depth estimation networks waste significant compute reconstructing fine-grained, superfluous details irrelevant to autonomous navigation. This paper introduces N-QGN (Navigation-Quadtree Generating Network), a self-supervised method that directly predicts a compressed, adaptive quadtree depth map from a single image. By focusing computational resolution strictly on obstacles and leaving open spaces coarse, N-QGN slashes computational overhead without sacrificing navigation accuracy.

What Problem Does This Paper Address?

For an autonomous robot or vehicle, navigating safely means avoiding obstacles. To do this, the onboard system needs to know how far away things are. While self-supervised monocular depth estimation has made massive strides, standard approaches generate dense depth maps—predicting a distance value for every single pixel.

This is computationally excessive for embedded systems. A robot doesn't need high-resolution depth information for a clear blue sky or a uniform stretch of asphalt directly ahead. Wasting processing power on these areas generates massive point clouds that are difficult to process in real time. Existing fixes, like uniformly downsampling the image or cropping the range, throw away crucial close-range details. The authors address this by asking: Can we adaptively vary the depth resolution, keeping it high near obstacles and coarse in open spaces?

Methods

The authors propose N-QGN, combining the self-supervised depth estimation framework of Monodepth2 with the structural efficiency of Quadtree Generative Networks (QGN). Instead of a standard dense decoder, N-QGN utilizes a Submanifold Sparse Convolutional decoder paired with a dense ResNet-18 encoder.

N-QGN Network Architecture

The core innovation lies in how the network decides to subdivide the quadtree during the decoding process:

  1. Disparity-Based Subdivision: Unlike original QGN implementations designed for discrete semantic classes, depth is continuous. The authors introduce a subdivision criterion based on disparity (inverse depth). At each level, the network evaluates the four direct children of a node. If the difference between the maximum and minimum disparity values exceeds a threshold $\tau$, the node splits into four smaller sub-nodes.
  2. Sparse Convolutions: By applying a mask based on this criterion, the decoder voluntarily "sparsifies" features after each layer, completely ignoring inactive (un-subdivided) regions. This drastically cuts down on memory and floating-point operations (FLOPs).
  3. Loss Function: The network is trained self-supervised using a multi-scale photometric reprojection loss and a per-pixel smoothness loss. To ensure scale invariance (since monocular depth is normally up-to-scale, which would break a fixed subdivision threshold), training is performed using a calibrated stereo pair.

Datasets

The network was trained and evaluated on the widely used KITTI dataset (specifically the KITTI 2012 dataset for depth evaluation). To establish a ground-truth baseline for the quadtree structure and depth metrics, the authors generated high-quality reference maps using LEAStereo, a state-of-the-art stereo disparity estimation method.

Key Insights and Ideas

  • Continuous to Discrete Structure: Adapting quadtrees to continuous values requires looking at variance rather than class labels. Using disparity instead of raw depth naturally prioritizes close-range accuracy, which is exactly what a navigating robot needs.
  • Deciding in the Blind: Constructing a quadtree from low to high resolution means the network must decide whether to split a node before knowing the full high-resolution details of that area. N-QGN elegantly bypasses this ill-posed challenge by looking at the immediate next level's predicted children.
  • Smart Compression: Instead of uniform downsampling, the quadtree structure acts as an intelligent compression mechanism, focusing bits where the scene geometry changes rapidly (like object edges).
Quadtree Decomposition across levels

Key Results

  • Computational Efficiency: N-QGN significantly reduces computational complexity compared to Monodepth2. FLOPs dropped from 8.0G to 5.3G (at a high compression ratio of 30.9) or 5.7G (at a lower compression ratio of 10.2).
  • Parameter Reduction: The model size was reduced from 14.842M parameters to 13.115M parameters.
  • Preserved Accuracy: Despite the massive reduction in data density, N-QGN achieved depth accuracy comparable to a dense model converted to a quadtree post-hoc. For instance, at a compression ratio around 10, N-QGN achieved a Square Relative Error (Sq Rel) of 2.062 and an RMSE of 9.765, outperforming the post-hoc baseline (Sq Rel 2.246, RMSE 10.990).
  • Data Distribution: Under high compression, over 60% of the scene's information is captured within the first three coarse layers ($Q_5, Q_4, Q_3$), with less than 1% of pixels needing to reach the highest resolution leaf nodes ($Q_0$).

Limitations and Future Work

  • Stereo Dependency at Training: The subdivision threshold relies heavily on absolute scale consistency. As a result, the model must be trained with a calibrated stereo pair to fix the scale, meaning it cannot be trained purely on monocular video sequences where scale drifts.
  • Sky Reconstruction Issues: Like most self-supervised photometric methods, the model struggles with untextured regions like the sky, leading to higher overall RMSE values during evaluation.
  • Future Directions: The authors suggest that future iterations could focus on optimizing the final layers of the decoder to specialize exclusively in edge detection and refinement, potentially matching or exceeding the accuracy of state-of-the-art dense networks while retaining the quadtree's efficiency.

Summary updated

BibTeX
@misc{braun2022n,
  author = {Daniel Braun and Olivier Morel and Pascal Vasseur and Cédric Demonceaux},
  title = {{N-QGN: Navigation Map from a Monocular Camera using Quadtree Generating Networks}},
  year = {2022},
  eprint = {2202.11982},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2202.11982},
}
Figure