HITNet: Hierarchical Iterative Tile Refinement Network for Real-time Stereo Matching

Vladimir Tankovich, Christian Häne, Sean Fanello, Yinda Zhang, Shahram Izadi, Sofien Bouaziz

Abstract

HITNet introduces a novel neural network architecture for real-time stereo matching that achieves state-of-the-art accuracy without relying on computationally expensive 3D cost volumes. By representing image patches as slanted planes and iteratively refining them through 2D geometric propagation, the model delivers high-resolution depth maps in a fraction of the time required by previous methods.

Introduction

Estimating depth from a pair of stereo images is a classic computer vision problem, essential for autonomous driving, robotics, and AR/VR. Recently, deep learning approaches have dominated the leaderboards by building explicit 3D "cost volumes"—which encode the cost of assigning a specific depth to a specific pixel—and processing them with 3D convolutions.

While highly accurate, 3D convolutions are massive memory and compute hogs, often taking over a second to process a single image pair. This makes them unsuitable for real-time applications like self-driving cars, which require latencies under 100ms. HITNet addresses this trade-off by achieving the accuracy of high-resolution 3D cost volumes using only fast, efficient 2D operations.

Methods

HITNet abandons the full 3D cost volume entirely, drawing inspiration from classical patch-match algorithms and modernizing them into an end-to-end differentiable network.

The HITNet architecture consists of feature extraction, high-resolution initialization, and hierarchical propagation.

The core innovations include:

  • Tile Hypotheses: Instead of predicting a single depth value per pixel, the network divides the image into small patches (tiles). It predicts a "slanted plane" for each tile, defined by its disparity, its slant (gradients in the x and y directions), and a learned feature descriptor.
  • High-Resolution Initialization: A lightweight U-Net extracts multi-scale features. The network performs a fast 2D matching step at high resolution to find initial depth estimates, which is critical for capturing thin structures like poles or wires.
  • Iterative 2D Propagation and Warping: To refine the tiles, the network warps features from the right image to the left based on the current tile hypothesis. It computes a local cost volume (checking just ±1 disparity) rather than searching the whole depth space. A 2D CNN then updates the tile's geometry and confidence score hierarchically.

Key Insights and Ideas

  • Slanted planes beat flat blocks: Real-world surfaces are rarely parallel to the camera. By explicitly predicting the slant of a surface, the image warping step becomes much more accurate, leading to sub-pixel precision and sharper object boundaries.
  • Local cost volumes are efficient: You don't need to evaluate every possible depth for every pixel if you have a solid initial guess. Searching a tiny neighborhood around that guess provides a massive speedup.
  • Learned descriptors carry context: Attaching a learned feature vector to the geometric tile allows the network to pass along non-geometric information—like matching confidence or textureless region indicators—through the iterative refinement stages.

Key Results

HITNet demonstrates exceptional performance across standard benchmarks including SceneFlow, KITTI, ETH3D, and Middlebury V3.

  • Blazing Fast: HITNet runs at ~19ms per frame for KITTI-resolution images on a Titan V GPU.
  • State-of-the-Art Accuracy: At publication, it ranked #1 on the KITTI 2012 and 2015 leaderboards among all published methods running faster than 100ms. On the SceneFlow dataset, it achieved an End-Point-Error (EPE) of 0.36, which was 2x better than the previous state-of-the-art.
  • Strong Generalization: When trained only on synthetic data and tested on real-world data, HITNet significantly outperformed competitors without needing explicit fine-tuning.

Limitations and Future Work

Like most supervised methods, HITNet requires large amounts of ground-truth depth data to train effectively. Additionally, achieving top leaderboard results currently requires slightly different model sizes and training schedules for different datasets. Future directions include exploring self-supervised learning to reduce reliance on ground-truth data and developing a single, unified model architecture for all datasets.

Summary updated

Abstract

This paper presents HITNet, a novel neural network architecture for real-time stereo matching. Contrary to many recent neural network approaches that operate on a full cost volume and rely on 3D convolutions, our approach does not explicitly build a volume and instead relies on a fast multi-resolution initialization step, differentiable 2D geometric propagation and warping mechanisms to infer disparity hypotheses. To achieve a high level of accuracy, our network not only geometrically reasons about disparities but also infers slanted plane hypotheses allowing to more accurately perform geometric warping and upsampling operations. Our architecture is inherently multi-resolution allowing the propagation of information across different levels. Multiple experiments prove the effectiveness of the proposed approach at a fraction of the computation required by state-of-the-art methods. At the time of writing, HITNet ranks 1 <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">st</sup> -3 <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">rd</sup> on all the metrics published on the ETH3D website for two view stereo, ranks 1 <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">st</sup> on most of the metrics amongst all the end-to-end learning approaches on Middlebury-v3, ranks 1 <sup xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">st</sup> on the popular KITTI 2012 and 2015 benchmarks among the published methods faster than 100 ms.
BibTeX
@inproceedings{tankovich2021hitnet,
  author = {Vladimir Tankovich and Christian Häne and Sean Fanello and Yinda Zhang and Shahram Izadi and Sofien Bouaziz},
  title = {{HITNet: Hierarchical Iterative Tile Refinement Network for Real-time Stereo Matching}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=UmfKMm-4oBP},
}
Figure