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 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