Abstract
Existing state-of-the-art disparity estimation works mostly leverage the 4D concatenation volume and construct a very deep 3D convolution neural network (CNN) for disparity regression, which is inefficient due to the high memory consumption and slow inference speed. In this paper, we propose a network named EDNet for efficient disparity estimation. Firstly, we construct a combined volume which incorporates contextual information from the squeezed concatenation volume and feature similarity measurement from the correlation volume. The combined volume can be next aggregated by 2D convolutions which are faster and require less memory than 3D convolutions. Secondly, we propose an attention-based spatial residual module to generate attention-aware residual features. The attention mechanism is applied to provide intuitive spatial evidence about inaccurate regions with the help of error maps at multiple scales and thus improve the residual learning efficiency. Extensive experiments on the Scene Flow and KITTI datasets show that EDNet outperforms the previous 3D CNN based works and achieves state-of-the-art performance with significantly faster speed and less memory consumption.
Introduction
Disparity estimation—the process of calculating the distance between corresponding pixels in a pair of stereo images—is a fundamental component for depth sensing in autonomous driving and robotics. While recent advancements using deep learning have pushed the boundaries of accuracy, they often rely on computationally expensive 4D concatenation volumes processed by deep 3D Convolutional Neural Networks (CNNs). These models are frequently "memory-intensive" and slow, posing significant challenges for real-time deployment on edge devices.
Conversely, lightweight models utilizing correlation layers offer speed but often sacrifice the rich contextual information necessary for high-precision depth maps. EDNet addresses this efficiency-accuracy trade-off by introducing a novel architecture that achieves the performance of heavy 3D CNNs with the speed and memory footprint of 2D-based architectures.
Proposed Methodology
EDNet introduces two primary innovations to optimize the disparity estimation pipeline:
1. Cost Volume Combination
Traditional methods typically choose between a correlation volume (measuring feature similarity) or a concatenation volume (preserving context). EDNet leverages both. It constructs a 4D concatenation volume and "squeezes" it using a lightweight 3D CNN into a 3D representation. This squeezed volume is then combined with a 1D correlation volume. This "Combined Volume" captures both explicit similarity and rich contextual features but can be processed using 2D convolutions. This shift from 3D to 2D operations results in a significant reduction in memory consumption and a dramatic increase in inference speed.
2. Attention-based Spatial Residual (AR) Module
Refinement in disparity estimation is typically achieved by learning a residual correction to a coarse disparity map. EDNet enhances this process through an attention mechanism. By warping the right image onto the left using the current disparity estimate, the network generates an explicit error map. This map provides spatial evidence of inaccurate regions, such as object boundaries or occlusions. The AR module uses these multi-scale error maps to guide the network's "attention," focusing refinement efforts where they are most needed.
Experimental Results
The researchers evaluated EDNet on several benchmarks, including Scene Flow, KITTI 2012/2015, and Middlebury 2014.
Performance and Efficiency
EDNet demonstrates that high accuracy does not require prohibitive computational costs. On the Scene Flow dataset, EDNet achieved an End-Point Error (EPE) of 0.63, outperforming established models like PSMNet (1.09) and GANet (0.84).
In terms of efficiency, EDNet achieves a 45x speedup and 76.5% memory reduction compared to traditional 3D CNN-based models. Specifically, it performs inference in just 0.059 seconds on an NVIDIA 2080ti, whereas models like GANet can take over 3 seconds. Its memory footprint is a modest 2.52 GB, making it highly suitable for practical applications.
Qualitative Analysis
Qualitative evaluations on the KITTI dataset highlight EDNet's ability to produce sharp object boundaries and maintain consistency in challenging regions. Compared to other state-of-the-art (SOTA) models like AANet+ and PSMNet, EDNet's disparity maps show fewer artifacts and better detail preservation.
Conclusion
EDNet presents a compelling solution for efficient disparity estimation. By combining squeezed concatenation volumes with correlation volumes and employing an attention-based residual learning strategy guided by multi-scale error maps, it bridges the gap between high-accuracy 3D CNNs and high-speed 2D architectures. Future work may involve extending the attention-based spatial residual logic to other domains such as optical flow and 3D reconstruction.
Summary updated