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

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

20 Mar 2025CVPR 2025 1arXiv:2503.16709archive 2025-07-28

Xuan Shen, Weize Ma, Jing Liu, Changdi Yang, Rui Ding, Quanyi Wang, Henghui Ding, Wei Niu, Yanzhi Wang, Pu Zhao, Jun Lin, Jiuxiang Gu

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. Recent advancements in foundational depth estimation deliver impressive results but further amplify the difficulty of deployment on ASICs. To address this, we propose QuartDepth 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

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2503.16709")

Code

Syntology Ran 8 of 20 code samples harvested from 1 repository linked to this paper; 12 have no recorded run. Of those that ran: 1 ran · honoured contract; 3 ran · our draft was wrong; 1 ran · fixture could not drive it; 3 ran with no contract checked.

By repository: official repository: 20 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

shawnricecake/quart-depth officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

20 samples harvested; 8 ran; 1 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
3ran · our draft was wrong
1ran · fixture could not drive it
3ran
12unverified

Licence: 20 of the 20 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from shawnricecake/quart-depth. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

Conv2dLoRA shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 20c34221b37d6e5a · report
ConvLoRA shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository ran · metamorphic tier: invariant fingerprinted no licence file found · pointer only · 49d1c4292adc4fa0 · report
LayerNorm2d shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository ran · metamorphic tier: invariant no licence file found · pointer only · 1a6b2908a95d686d · report
compute_depth_expectation shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 5d5d6423c18aaa27 · report
coords_grid shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository ran · honoured contract no licence file found · pointer only · bd06769ee467a01c · report
interp shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 01dbab41e1e09abf · report
interpolate_float32 shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository ran · our draft was wrong no licence file found · pointer only · b16ff203c09cec37 · report
upflow4 shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository ran · fixture could not drive it no licence file found · pointer only · d7471be3ef7422f3 · report
BasicMultiUpdateBlock shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository unverified no licence file found · pointer only · 97ef81770d5725a5 · report
ContextFeatureEncoder shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository unverified no licence file found · pointer only · 59e47872dbb9fbb0 · report
ConvBlock shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository unverified no licence file found · pointer only · e5eb7617d20f9cf2 · report
ConvGRU shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository unverified no licence file found · pointer only · ac0c4a21d0fec5a5 · report
DecoderFeature shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository unverified no licence file found · pointer only · 2f3363af00cd2b17 · report
EncoderFeature shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository unverified no licence file found · pointer only · d59aec780269a9da · report
FlowHead shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository unverified no licence file found · pointer only · ae321a434f934a35 · report
FuseBlock shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository unverified no licence file found · pointer only · b4cd659ea28ba555 · report
RAFTDepthNormalDPT5 shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository unverified no licence file found · pointer only · f74546d1b74d3d4e · report
Readout shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository unverified no licence file found · pointer only · 0c6e843e898fb7dd · report
ResidualBlock shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository unverified no licence file found · pointer only · bc5d266138ef30e4 · report
Token2Feature shawnricecake/quart-depth/metric3d/mono/model/decode_heads/RAFTDepthNormalDPTDecoder5_quant.py official repository unverified no licence file found · pointer only · 4c305e858ce9013c · report

Tasks

Depth EstimationMonocular Depth EstimationQuantization

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections