QuartDepth: Post-Training Quantization for Real-Time Depth Estimation on the Edge

Xuan Shen, Weize Ma, Jing Liu, Changdi Yang, Rui Ding +7 more
3/1/2025
18 citations
quantization-pruning

Official code: shawnricecake/quart-depth (18 stars, Python, last commit 2025-03-24).

Abstract

Monocular Depth Estimation (MDE) has emerged as a pivotal task in computer vision, supporting numerous real-world applications. However, deploying accurate depth estimation models on resource-limited edge devices, especially Application-Specific Integrated Circuits (ASICs), is challenging due to the high computational and memory demands.

Show full abstract

Recent advancements in foundational depth estimation deliver impressive results but further amplify the difficulty of deployment on ASICs. To address this, we propose Quart-Depth which adopts post-training quantization to quantize MDE models with hardware accelerations for ASICs. Our approach involves quantizing both weights and activations to 4-bit precision, reducing the model size and computation cost. To mitigate the performance degradation, we introduce activation polishing and compensation algorithm applied before and after activation quantization, as well as a weight reconstruction method for minimizing errors in weight quantization. Furthermore, we design a flexible and programmable hardware accelerator by supporting kernel fusion and customized instruction programmability, enhancing throughput and efficiency. Experimental results demonstrate that our framework achieves competitive accuracy while enabling fast inference and higher energy efficiency on ASICs, bridging the gap between high-performance depth estimation and practical edge-device applicability. Code: https://github.com/shawnricecake/quart-depth

View on arXivView PDF

Code Implementations(1)

[CVPR 2025] QuartDepth

180Python, ShellMar 20, 20251 years ago

Similar Papers

Cite this paper

@article{shen2025quartdepth,
  title  = {QuartDepth: Post-Training Quantization for Real-Time Depth Estimation on the Edge},
  author = {Xuan Shen and Weize Ma and Jing Liu and Changdi Yang and Rui Ding and Quanyi Wang and Henghui Ding and Wei Niu and Yanzhi Wang and Pu Zhao and Jun Lin and Jiuxiang Gu},
  year   = {2025},
  eprint = {2503.16709},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2503.16709},
  journal = {CVPR 2025 2025}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.16709.svg)](https://codeofpaper.com/paper/2503.16709)

Discussion