[Paper Review] Anytime Stereo Image Depth Estimation on Mobile Devices
This paper proposes AnyNet, an anytime stereo depth estimation model that enables dynamic trade-offs between inference speed and accuracy on mobile devices. By refining disparity maps in stages—starting from low-resolution predictions and successively correcting residuals—the method achieves 10–35 FPS on an NVIDIA Jetson TX2 with two orders of magnitude fewer parameters than state-of-the-art models, while maintaining competitive accuracy on KITTI benchmarks.
Many applications of stereo depth estimation in robotics require the generation of accurate disparity maps in real time under significant computational constraints. Current state-of-the-art algorithms force a choice between either generating accurate mappings at a slow pace, or quickly generating inaccurate ones, and additionally these methods typically require far too many parameters to be usable on power- or memory-constrained devices. Motivated by these shortcomings, we propose a novel approach for disparity prediction in the anytime setting. In contrast to prior work, our end-to-end learned approach can trade off computation and accuracy at inference time. Depth estimation is performed in stages, during which the model can be queried at any time to output its current best estimate. Our final model can process 1242$ imes $375 resolution images within a range of 10-35 FPS on an NVIDIA Jetson TX2 module with only marginal increases in error -- using two orders of magnitude fewer parameters than the most competitive baseline. The source code is available at https://github.com/mileyan/AnyNet .
Motivation & Objective
- To address the challenge of real-time, accurate stereo depth estimation on power- and memory-constrained mobile devices.
- To enable dynamic trade-offs between computation time and prediction accuracy during inference.
- To reduce model complexity and parameter count without sacrificing performance on embedded platforms.
- To support real-time robotic applications requiring adaptive response latency, such as obstacle avoidance and path planning.
- To design a framework that allows querying the model at any time for the current best depth estimate.
Proposed method
- The model processes stereo images in stages, starting with a low-resolution (1/16) disparity map computed at full disparity range.
- Subsequent stages up-sample the current estimate and predict residual errors using a CNN, restricting computation to a small disparity range (10–20% of full range).
- Residual prediction enables fast refinement by focusing only on local error correction, avoiding full-cost volume computation at higher resolutions.
- The network uses a U-Net-based feature extractor to capture contextual information at low resolution, improving cost volume quality.
- A distance-based cost volume construction method is used to efficiently compute matching costs while balancing speed and accuracy.
- The entire network is trained end-to-end with a joint loss across all stages, enabling progressive refinement.
Experimental results
Research questions
- RQ1Can a deep learning model dynamically trade off computation and accuracy in real time for stereo depth estimation on mobile hardware?
- RQ2How can residual error prediction at increasing resolutions improve efficiency without sacrificing accuracy?
- RQ3What is the impact of architectural choices—such as feature extraction and cost volume construction—on speed-accuracy trade-offs?
- RQ4Can a lightweight model achieve state-of-the-art performance on standard benchmarks while using orders of magnitude fewer parameters?
- RQ5How does the anytime inference capability compare to non-anytime baselines in terms of latency and accuracy?
Key findings
- AnyNet achieves 10–35 FPS on an NVIDIA Jetson TX2 for 1242×375 stereo images, significantly outperforming PSMNet, which runs below 0.3 FPS on the same hardware.
- The model uses only two orders of magnitude fewer parameters than the most competitive baseline, making it suitable for resource-constrained devices.
- On KITTI-2015, AnyNet reaches a 3-pixel error rate of 6.2% at the final stage, matching or exceeding state-of-the-art performance.
- Ablation studies show that removing the U-Net feature extractor increases error by 5.5 percentage points in the first stage, highlighting its importance for low-resolution feature quality.
- Replacing residual prediction with direct disparity prediction increases inference time by over sixfold in later stages, confirming the efficiency of the residual refinement strategy.
- The distance-based cost volume construction method is 10% faster than the PSMNet-style method, demonstrating better speed-accuracy trade-offs.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.