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 for more accurate 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 1st-3rd on all metrics published on the ETH3D website for two-view stereo, ranks 1st on most metrics among all end-to-end learning approaches on Middlebury-v3, and ranks 1st on the popular KITTI 2012 and 2015 benchmarks among published methods faster than 100ms.
Introduction
Stereo matching—estimating depth by comparing two slightly offset images—is a cornerstone of computer vision for robotics and autonomous driving. While deep learning has pushed accuracy to new heights, most top-performing models are computationally intensive. They typically build a massive 4D cost volume (height x width x disparity x features) and process it using expensive 3D convolutions. This leads to a frustrating trade-off: high accuracy at a slow pace (seconds per frame) or real-time performance with significant loss in detail. HITNet aims to break this deadlock, providing the precision of heavyweight models with the speed required for real-time applications.
Methods: Rethinking the Cost Volume
The core innovation of HITNet is moving away from the "brute force" 3D cost volume. Instead, it treats the image as a collection of planar tiles and reasons about "slanted plane" hypotheses.
1. Tile Hypotheses and Slanted Planes
Rather than predicting a single disparity value per pixel, HITNet predicts a "tile hypothesis" for $4 \times 4$ regions. This hypothesis includes the disparity, horizontal and vertical gradients (representing a slanted plane), and a learnable feature descriptor that carries information about the local surface. By explicitly modeling the "slant," HITNet handles slanted roads and walls much more accurately, especially during upsampling.
2. Hierarchical Architecture
The network uses a multi-resolution approach to propagate information efficiently. It consists of three main stages:
- Feature Extraction: A small U-Net extracts features at multiple scales.
- Multi-Resolution Initialization: A fast initialization step at each scale finds the best starting disparity for each tile.
- Differentiable Propagation: A 2D CNN propagates information spatially and across resolutions, refining the tile hypotheses.
3. In-Network Warping
To refine the depth, the network performs local image warping. It examines a tiny window around its current guess to minimize image dissimilarity, effectively fine-tuning the surface orientation and depth. This geometric reasoning allows HITNet to achieve SOTA results without the need for 3D convolutions.
Key Results and Evaluation
HITNet was evaluated on the industry-standard "Big Four" stereo benchmarks: SceneFlow, KITTI (2012 & 2015), ETH3D, and Middlebury-v3.
Performance and Speed
HITNet dominates the "fast" category on major leaderboards. The "L" (Large) version runs in approximately 54ms, while the "XL" version takes 114ms. On the SceneFlow dataset, HITNet XL achieved an End-Point Error (EPE) of 0.36, which was twice as accurate as the state-of-the-art at the time of publication.
Qualitative Fidelity
As shown in the qualitative results, HITNet is exceptionally good at recovering thin structures (like tree branches or poles) and maintaining sharp edges on slanted surfaces that usually disappear in other real-time models. The predicted slant maps demonstrate the network's ability to understand the underlying geometry of the scene beyond simple pixel-wise depth.
Conclusion
HITNet proves that 2D geometric propagation and clever warping can achieve the same (or better) results as 3D convolutions with significantly less memory and time. While the model currently relies on high-quality ground truth for training and can be sensitive to extreme lighting variations, its ability to provide high-fidelity depth maps in under 100ms makes it a powerful tool for real-time robotics and autonomous systems.
Summary updated