potentialpaper

SPA-Q: Structure-Preserving Adaptive Post-Training Quantization for Monocular Depth Estimation

Jaemin Choi, Jincheol Yang, Nahyun Lim, Yun-Seong Jeong, Matti Alexander Zinke, Hyunwoo Yu, Suk-Ju Kang

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

Abstract. Monocular depth estimation (MDE) has advanced rapidly with the emergence of foundation models such as Depth Anything. Their transformer-based architectures provide strong generalization across diverse scenes and domains, but also incur high computational and memory cost, making efficient deployment challenging. Post-Training Quantization (PTQ) provides an efficient and practical solution for model compression, yet low-bit PTQ remains challenging for MDE models. When applying PTQ to Depth Anything, we identify two key challenges: (i) independently minimizing the quantization error of the query and key projections fails to preserve the attention maps induced by their interaction, and (ii) quantization errors accumulate across layers, resulting in intermediate feature distribution shifts. To address these issues, we propose SPA-Q, a Structure-Preserving Adaptive PTQ framework for MDE, consisting of two main components. First, Attention-Preserving Calibration (APC) determines query and key quantization parameters by matching the full-precision attention distribution. Second, Channel-Wise Distribution Alignment (CWDA) learns channel-wise affine transformations to mitigate quantization-induced distribution shifts, and the learned parameters are absorbed into the weights after training. Experimental results show that SPA-Q consistently outperforms existing PTQ methods under 4-bit quantization, achieving an average 25.9% reduction in AbsRel and a 17.3% improvement in δ1\delta_1 across NYUv2 and KITTI datasets.

From the authors: Hyunwoo Yu · edit · also an author?

Nothing yet.

How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:42 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper proposes SPA-Q (Structure-Preserving Adaptive PTQ) to enable low-bit (W4A4) post-training quantization for ViT-based Monocular Depth Estimation (MDE) foundation models like Depth Anything. SPA-Q combines Attention-Preserving Calibration (APC) with Channel-Wise Distribution Alignment (CWDA). Empirical evaluations across five zero-shot MDE benchmark datasets (NYUv2, KITTI, ETH3D, DIODE, Sintel) demonstrate consistent quantitative gains over standard PTQ baselines.

The paper has the following strengths:

  1. Practical Motivation: Addresses the timely challenge of deploying ViT-based dense depth estimation foundation models under severe resource constraints via low-bit PTQ.
  2. Clear Problem Formulation: Well-motivated approach showing how standard Q/KQ/K projection error minimization fails to preserve post-softmax attention distribution.
  3. Zero Latency Overhead: CWDA affine parameters are fused directly into preceding weights and biases post-calibration, adding no test-time parameters or compute overhead.
  4. Solid Empirical Gains: Outperforms standard PTQ baselines (e.g., BRECQ, QDrop, RepQ-ViT, QSCA) under W4A4 settings across five zero-shot MDE benchmarks.

However, reviewers also mentioned the following weaknesses:

  1. Unclear PTQ Setup & Fairness: Optimizing CWDA over 5% of the training dataset blurs the line between PTQ and QAT, raising major fairness concerns if baselines were not granted equivalent data/epoch budgets (Reviewer 56Z1, Reviewer xfYm, Reviewer MHmN).
  2. Generic ViT PTQ vs. MDE Specificity: APC and CWDA are generic Transformer PTQ techniques with MDE adaptation limited to SILog loss; the method lacks explicit depth-geometry modeling such as surface normal constraints or relative depth ordering (Reviewer 56Z1, Reviewer xfYm).
  3. Missing Geometric & Edge Evaluations: Lacks explicit quantitative evaluations for 3D structural fidelity (e.g., depth boundary error/recall, surface normal accuracy), with qualitative depth maps showing boundary blurriness (Reviewer MHmN).
  4. Limited Novelty as mentioned by Reviewer 56Z1 and xfYm

Minor concerns:

  1. Limited Scope & Deployment Profiling: Experiments are restricted strictly to Depth Anything v1/v2 under W4A4 without exploring other architectures (e.g., MiDaS, ZoeDepth), bit-widths (W4A8, W3A3), or real hardware NPU/GPU metrics.
Final justification

The paper proposes a solid Post-Training Quantization pipeline (SPA-Q) tailored for ViT-based Monocular Depth Estimation. While reviewers noted the algorithmic novelty is somewhat incremental (combining attention calibration and feature alignment), the authors provided a stellar rebuttal that addressed empirical gaps including adding geometric evaluations, cross-architecture validations, and hardware latency profiling. The method yields strong practical gains under W4A4 conditions with zero test-time overhead. The practical utility, coupled with the thorough post-rebuttal validation, should justify acceptance.

Area Chair fuf5 · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper proposes SPA-Q (Structure-Preserving Adaptive PTQ) to enable low-bit (W4A4) post-training quantization for ViT-based Monocular Depth Estimation (MDE) foundation models like Depth Anything. SPA-Q combines Attention-Preserving Calibration (APC) with Channel-Wise Distribution Alignment (CWDA). Empirical evaluations across five zero-shot MDE benchmark datasets (NYUv2, KITTI, ETH3D, DIODE, Sintel) demonstrate consistent quantitative gains over standard PTQ baselines.

The paper has the following strengths:

  1. Practical Motivation: Addresses the timely challenge of deploying ViT-based dense depth estimation foundation models under severe resource constraints via low-bit PTQ.
  2. Clear Problem Formulation: Well-motivated approach showing how standard Q/KQ/K projection error minimization fails to preserve post-softmax attention distribution.
  3. Zero Latency Overhead: CWDA affine parameters are fused directly into preceding weights and biases post-calibration, adding no test-time parameters or compute overhead.
  4. Solid Empirical Gains: Outperforms standard PTQ baselines (e.g., BRECQ, QDrop, RepQ-ViT, QSCA) under W4A4 settings across five zero-shot MDE benchmarks.

However, reviewers also mentioned the following weaknesses:

  1. Unclear PTQ Setup & Fairness: Optimizing CWDA over 5% of the training dataset blurs the line between PTQ and QAT, raising major fairness concerns if baselines were not granted equivalent data/epoch budgets (Reviewer 56Z1, Reviewer xfYm, Reviewer MHmN).
  2. Generic ViT PTQ vs. MDE Specificity: APC and CWDA are generic Transformer PTQ techniques with MDE adaptation limited to SILog loss; the method lacks explicit depth-geometry modeling such as surface normal constraints or relative depth ordering (Reviewer 56Z1, Reviewer xfYm).
  3. Missing Geometric & Edge Evaluations: Lacks explicit quantitative evaluations for 3D structural fidelity (e.g., depth boundary error/recall, surface normal accuracy), with qualitative depth maps showing boundary blurriness (Reviewer MHmN).
  4. Limited Novelty as mentioned by Reviewer 56Z1 and xfYm

Minor concerns:

  1. Limited Scope & Deployment Profiling: Experiments are restricted strictly to Depth Anything v1/v2 under W4A4 without exploring other architectures (e.g., MiDaS, ZoeDepth), bit-widths (W4A8, W3A3), or real hardware NPU/GPU metrics.
Final justification

The paper proposes a solid Post-Training Quantization pipeline (SPA-Q) tailored for ViT-based Monocular Depth Estimation. While reviewers noted the algorithmic novelty is somewhat incremental (combining attention calibration and feature alignment), the authors provided a stellar rebuttal that addressed empirical gaps including adding geometric evaluations, cross-architecture validations, and hardware latency profiling. The method yields strong practical gains under W4A4 conditions with zero test-time overhead. The practical utility, coupled with the thorough post-rebuttal validation, should justify acceptance.

1 comment
Authors · CommentOpenReview ↗

Author Final Remarks

Dear Area Chair and Reviewers,

We sincerely appreciate the reviewers’ constructive feedback, which has enabled us to substantially improve our paper.

The main concerns raised by the reviewers are summarized below.

Summary of Rebuttal Responses

  1. Unclear PTQ Setup and Fairness: Reviewers 56Z1, xfYm, and MHmN noted that optimizing CWDA on 5% of the training set blurs the line between PTQ and QAT. We clarified that our method is optimized on an unlabeled training subset, and we further showed that CWDA retains a clear advantage even when its parameters are optimized on only 1% of the unlabeled training set, which corresponds to about 240 images on NYUv2. This is well below the data budget commonly used by reconstruction-based PTQ methods on classification, which typically optimize on 1024 images, as in BRECQ [1] and QDrop [2], so we consider it firmly within the standard PTQ setting.

  1. Generic ViT PTQ vs. MDE Specificity: Reviewers 56Z1 and xfYm noted that APC and CWDA are generic transformer PTQ techniques and that the method lacks explicit depth-geometry modeling. We clarified that the MDE-specific design lies in what we chose to correct and why. For APC, structural information particularly essential to depth prediction is largely carried by the attention map, and our controlled experiment quantizing only the attention modules or only the MLPs showed that depth prediction is disproportionately sensitive to attention distortion. For CWDA, the DPT decoder reconstructs depth map directly from the encoder features, so the distribution shift that quantization induces in these features propagates to the output without being absorbed.

  1. Missing Geometric and Edge Evaluations: Reviewers 56Z1 and xfYm noted that our evaluation metrics were limited to AbsRel and δ1\delta_1, leaving structural quality unmeasured. We evaluated depth boundary accuracy, depth ordering consistency, and surface geometry, and the results show that SPA-Q outperforms the compared methods on these structural metrics as well.

  1. Limited Novelty: Reviewers 56Z1 and xfYm noted that the novelty of APC and CWDA is limited. We agree that each component is generic at the level of the mechanism. What we claim as new is what each component preserves, why, and how. For APC, we showed that minimizing the quantization error of the query and key projections, as conventional calibration does, does not preserve the resulting attention map, and APC therefore adopts the attention distribution itself as the calibration objective. For CWDA, the target is the distortion caused by the quantization-induced feature distribution shift, and it is corrected by a small number of parameters that are folded into the preceding weights and biases after optimization.

  1. Limited Scope and Deployment Profiling: Reviewers 56Z1 and xfYm noted that our evaluation was limited to Depth Anything v1/v2, Reviewer 56Z1 asked for deployment metrics such as latency and memory usage on real hardware, and Reviewer xfYm asked for results at bit-widths other than 4-bit. We added an evaluation on MiDaS, DPT, and ZoeDepth, deployment metrics measured with TensorRT, and results at W3A3 and W4A8. These results show that the advantage of SPA-Q is not tied to a single model family or precision level, and that it translates into measurable gains on hardware.

In addition, Reviewer MHmN asked about the sensitivity to the calibration set, the effect of domain shift, and the qualitative results. We added sensitivity studies on both the calibration set and the optimization subset, a cross-domain study evaluating in both directions between indoor and outdoor data, and an explanation of the qualitative results. We hope these responses resolve Reviewer MHmN's questions.

Resolution of Concerns

Reviewer 56Z1 raised the score from 3 to 4, which we take as an indication that the main concerns have been addressed.

Reviewer xfYm has indicated that two concerns remain. On novelty, APC and CWDA are derived from observations we report, namely that existing calibration objectives do not preserve the attention distribution and that the features the decoder relies on are distorted by quantization. On the architecture dependence, our scope is MDE foundation models, and all of them adopt a DPT-style decoder. To establish that SPA-Q is applicable beyond DPT-style decoders, we commit to adding a non-DPT MDE architecture to the appendix of the revised paper.

We are grateful for the constructive feedback from all the reviewers, which has been invaluable in improving the quality and clarity of our paper.

Sincerely, Authors


[1] Li et al., BRECQ: Pushing the Limit of Post-Training Quantization by Block Reconstruction, ICLR 2021.

[2] Wei et al., QDrop: Randomly Dropping Quantization for Extremely Low-bit Post-Training Quantization, ICLR 2022.

Reviewer MHmNOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper intorduces Post training Quantization (PTQ) techniques specifically geared towards Monocular Depth Estimation (MDE). Two main ideas that are contributed in this paper are:


  1. Attention-Preserving Calibration (APC) that calibrates query and key quantizers with an attention-level KL objective.
  2. Channel-wise Distribution Alignment (CWDA) scheme that helps correct intermediate feature distribution shifts and helps with accumulated quantisation errors.

The main motivation behind these contributions for MDE is that the current PTQ methods have been designed around classification tasks whereas in case of MDE authors observe that the multi-scale intermediate features are more sensitive to quantisation errors and existing PTQ methods do not address it.

Authors conduct experiments on Deep Anything v1 and v2 models and evaluate their method on 5 different MDE benchmarks.

Strengths and weaknesses

Strengths:

  • Paper is well-written and very easy to follow. It addresses the quantization challenges specific to MDE application.
  • Authors do a good job with evaluations and results.

Weaknesses:

  • The title of the paper has PTQ in the name, since the CWDA technique requires seems to require e2e fine-tuning, I find the title a bit misleading.
  • The qualitative results show lack of properties including depth smoothness and geometry continuity. It also seems that this method struggles with high-frequency regions and edges. It looks to me that only optimising for features to look similar between quantized and unquantized models does not guarantee good quality depth maps. Maybe authors can comment on this.
Questions
  1. How sensitive is this technique to calibration data? How does domain shift affect the performance?
  2. Have the authors observed specific failure cases of this technique depending on objects or distant regions in the data?
  3. I am also curious to understand how authors arrive at the observation that improvements in attention mechanism imply improvement in depth quality.
Limitations

Yes.

Formatting concerns

No concerns.

2 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Q1: How sensitive is this technique to calibration data? How does domain shift affect the performance?

A1: To address both questions, we conducted three additional studies: two sensitivity studies on the calibration and optimization data, and a cross-domain study on the effect of domain shift. All experiments use Depth Anything v1, and the two sensitivity studies are evaluated on NYUv2.

Sensitivity to the amount of calibration and optimization data.

SPA-Q involves two sets of data, namely the calibration set used by APC and the unlabeled optimization subset used by CWDA. We vary each while holding the other fixed.

The first study varies the calibration set while fixing the optimization subset at 5%:

ViT-S

Metric 4 8 16 (paper) 32
AbsRel ↓ 0.1104 0.1088 0.1090 0.1092
δ₁ ↑ 0.8741 0.8782 0.8771 0.8758

ViT-B

Metric 4 8 16 (paper) 32
AbsRel ↓ 0.0992 0.0987 0.1021 0.1009
δ₁ ↑ 0.9077 0.9078 0.8991 0.9028

Performance remains stable across all sizes, indicating that APC does not require careful tuning of the calibration set.

The second study varies the optimization subset for CWDA while fixing the calibration set at 16 images:

ViT-S

Metric 0.1% 0.5% 1% 3% 5% (paper)
AbsRel ↓ 0.1277 0.1130 0.1083 0.1065 0.1090
δ₁ ↑ 0.7167 0.8356 0.8716 0.8831 0.8771

ViT-B

Metric 0.1% 0.5% 1% 3% 5% (paper)
AbsRel ↓ 0.1233 0.1113 0.1034 0.1006 0.1021
δ₁ ↑ 0.8527 0.8814 0.8983 0.9030 0.8991

Performance improves quickly up to 1% and then saturates. Notably, even the smallest subset of 0.1% already outperforms every W4A4 baseline in Table 1. We report 5% in the paper to follow the training pipeline of QSCA for a fair comparison.

Effect of domain shift.

To examine domain shift, we calibrate and optimize on one domain and evaluate on the other, in both directions.

Calibration and optimization / Test W/A ViT-S AbsRel ↓ ViT-S δ₁ ↑ ViT-B AbsRel ↓ ViT-B δ₁ ↑
NYU / NYU 4/4 0.1090 0.8771 0.1021 0.8991
KITTI / NYU 4/4 0.1458 0.7987 0.1503 0.8179
KITTI / KITTI 4/4 0.1622 0.7826 0.1840 0.7230
NYU / KITTI 4/4 0.2934 0.4905 0.2864 0.5070
NYU / NYU 4/6 0.0732 0.9473 0.0623 0.9597
KITTI / NYU 4/6 0.1150 0.8698 0.0997 0.9035
KITTI / KITTI 4/6 0.1247 0.8849 0.1023 0.8907
NYU / KITTI 4/6 0.2741 0.5345 0.2682 0.5364

First, transferring from outdoor to indoor is robust. On ViT-B, a model calibrated on KITTI and evaluated on NYUv2 still outperforms every baseline in Table 1 that was calibrated in-domain on NYUv2.

Second, the effect is asymmetric. Outdoor scenes span a much wider depth and activation range that an indoor calibration set does not cover, whereas outdoor calibration subsumes indoor statistics.

Third, the degradation is driven mainly by activation quantization rather than by the learned alignment. Raising the activation precision from 4 to 6 bits recovers most of the loss in the outdoor-to-indoor direction, where on ViT-B the cross-domain result even surpasses the in-domain W4A4 result.


Q2: Have the authors observed specific failure cases of this technique depending on objects or distant regions in the data?

A2: We did observe a consistent pattern, and it relates to the depth range of the scene rather than to particular object categories.

On indoor datasets such as NYUv2, the depth range is bounded at around 10 meters, and quantization error remains well controlled across the scene. Outdoor datasets such as KITTI are considerably harder. The depth range extends to 80 meters, the ground truth is sparse, and the output head of the DPT decoder has to represent this much wider range. Since the quantization step size scales with the activation range, the same bit-width incurs substantially larger absolute error at large depths, which is where we see the degradation concentrate.

We note, however, that this is not specific to SPA-Q but is commonly observed across quantized MDE models. All PTQ baselines in Table 1 show the same degradation on outdoor scenes, and SPA-Q remains the strongest method in both settings. Raising the activation precision from 4 to 6 bits recovers a large part of the loss on KITTI, which indicates that the bottleneck lies in representing a wide activation range.


Q3: I am also curious to understand how authors arrive at the observation that improvements in attention mechanism imply improvement in depth quality.

A3: To examine the relationship between attention distortion and depth quality, we conducted a controlled experiment with two configurations: one quantizes only the attention modules while keeping the MLPs at full precision, and the other quantizes only the MLPs while keeping the attention modules at full precision. We report depth accuracy on Depth Anything v1 with ViT-B, and the boundary and ordering metrics at W4A4 on NYUv2.

ViT-B

Dataset W/A Attn-only-Q AbsRel ↓ Attn-only-Q δ₁ ↑ MLP-only-Q AbsRel ↓ MLP-only-Q δ₁ ↑
NYUv2 8/8 0.0457 0.9788 0.0442 0.9794
NYUv2 4/4 0.1174 0.8577 0.0795 0.9416
NYUv2 3/3 0.2596 0.5288 0.1722 0.7211
KITTI 8/8 0.0794 0.9403 0.0761 0.9399
KITTI 4/4 0.1880 0.7088 0.1428 0.8069
KITTI 3/3 0.3337 0.4504 0.2625 0.5891
Dataset Metric FP Attn-only-Q MLP-only-Q
NYUv2 Edge [email protected] ↑ 0.1991 0.1041 0.1443
NYUv2 Boundary F1 ↑ 0.0477 0.0137 0.0346
NYUv2 ORD ↓ 0.1005 0.2789 0.1815

At W8A8, where quantization error is negligible, the two configurations are nearly identical. As the precision decreases, however, quantizing the attention modules degrades depth accuracy far more than quantizing the MLPs at the same bit-width, and the gap widens as the bit-width shrinks. The structural metrics of edge, boundary, and ordering quality suffer even more heavily. This is what motivated us to preserve the attention distribution explicitly, and the ablation in Table 2 confirms that doing so improves the final depth.


W1: The title of the paper has PTQ in the name, since the CWDA technique requires seems to require e2e fine-tuning, I find the title a bit misleading.

A1: We agree that our wording may have caused this misunderstanding. In Sec 4.1 we omitted the word "unlabeled" when describing the optimization data, and we will fix this in the revision.

Unlike fine-tuning, CWDA does not update any pretrained weight. It optimizes only the per-channel affine parameters α and β, and the optimization is driven by distillation from the full-precision model on unlabeled images, with no ground-truth depth involved. These parameters are then folded into the preceding weights and biases (Eq. 10), so the deployed model is identical to the original quantized network. Distilling from full-precision outputs on unlabeled data is standard practice in PTQ, as in reconstruction-based methods such as BRECQ and QDrop.


W2: The qualitative results show lack of properties including depth smoothness and geometry continuity. It also seems that this method struggles with high-frequency regions and edges. It looks to me that only optimising for features to look similar between quantized and unquantized models does not guarantee good quality depth maps. Maybe authors can comment on this.

A2: We conducted a quantitative evaluation of boundary and geometric quality. We report edge accuracy, boundary F1, and relative depth ordering error on NYUv2 with Depth Anything v1, and we include W4A6 alongside W4A4 to isolate the cause of the degradation.

ViT-S

Method W/A Edge [email protected] ↑ Boundary F1 ↑ ORD ↓
FP 32/32 0.1862 0.0438 0.1177
RepQ-ViT 4/4 0.1025 0.0018 0.5405
QSCA 4/4 0.1292 0.0126 0.2956
SPA-Q 4/4 0.1286 0.0161 0.2423
RepQ-ViT 4/6 0.1251 0.0174 0.2795
QSCA 4/6 0.1915 0.0475 0.1627
SPA-Q 4/6 0.1907 0.0436 0.1627

ViT-B

Method W/A Edge [email protected] ↑ Boundary F1 ↑ ORD ↓
FP 32/32 0.1991 0.0477 0.1005
RepQ-ViT 4/4 0.1011 0.0011 0.7412
QSCA 4/4 0.1069 0.0018 0.4732
SPA-Q 4/4 0.1111 0.0091 0.2441
RepQ-ViT 4/6 0.1172 0.0180 0.2418
QSCA 4/6 0.1658 0.0328 0.1672
SPA-Q 4/6 0.1938 0.0404 0.1377

At W4A4, the gap between methods is largest in geometric continuity. SPA-Q substantially reduces the ordering error relative to the compared methods and preserves boundaries better, particularly on ViT-B. Some degradation at edges remains, but it is much smaller.

At W4A6, SPA-Q comes close to the full-precision model on both edge and boundary metrics, whereas a gap in depth ordering remains.

Since the two settings differ only in activation precision, this recovery indicates that the boundary degradation at W4A4 stems primarily from the limited representational capacity of 4-bit activations. The prediction head is also quantized, so the output is drawn from a discrete set of values, and because activations change most abruptly at boundaries, the degradation concentrates there. Even a well-aligned quantized model cannot avoid this loss once the activation representation becomes too coarse to preserve high-frequency detail. Ordering consistency, on the other hand, is limited by factors beyond activation precision, which we regard as an important direction for future work.

Area Chair fuf5 · CommentOpenReview ↗

Dear Reviewer,

Thank you for your time and effort in reviewing for NeurIPS 2026.

As we move into the discussion phase, I noticed that you haven't yet responded to the authors' rebuttal here yet. Could you please read their response and other reviewers' comments, then share your thoughts?

Thank you again for your hard work and contribution to the conference!

Reviewer xfYmOpenReview ↗
Rating
3/6
Confidence
4/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This article addresses low-bit post-training quantization for Monocular Depth Estimation. The authors propose SPA-Q, a structure-preserving adaptive post-training quantization framework that combines attention-preserving calibration and channel-wise distribution alignment to preserve attention distributions and mitigate feature distortion.

Strengths and weaknesses

Strengths:

  • Addresses an important practical problem in deploying large monocular depth estimation models via efficient, low-bit post-training quantization.
  • Provides a strong technical motivation by identifying attention distortion and shifts in intermediate feature distributions as key limitations of existing methods.
  • Demonstrates strong experimental validation with extensive benchmarks, ablation studies, and comparisons against competitive PTQ baselines.

Major Weaknesses:

  • The novelty is incremental: it combines attention-aware calibration and feature alignment techniques, which already exist in the literature.
  • The proposed approach is architecture-dependent and relies heavily on DPT-style encoder-decoder structures, limiting its applicability to broader transformer-based vision models.
  • As a PTQ method, the approach requires additional calibration parameter optimization using training data, and the computational cost relative to QAT has not been sufficiently analyzed.
  • The article fails to provide an extensive analysis of the sensitivity of calibration data, making it unclear how the performance varies with different calibration set sizes.

Minor Weaknesses:

  • The related work needs more comparisons with recent transformer quantization methods and clearer differences from the existing approaches.
  • The evaluation is limited to the Depth Anything models, leaving unclear whether the proposed method generalizes effectively to other monocular depth architectures.
  • The authors included information on uniform and log2 quantizers, which is redundant information because it is already available in the literature; the authors can reference them in a single sentence.
  • Most of the initial equations are available in the literature, such as eq (4) and eq(5), putting them here does not add anything to the article in terms of understanding.
  • The claimed depth metrics and feature visualizations support structural preservation; to further validate this claim, the authors need to provide stronger geometric evaluations, such as boundary accuracy or surface consistency.
  • It is hard to understand from the visualization which part of Figure 3 is trained.
  • The paper does not compare other compression strategies, like knowledge distillation or reconstruction methods, which could offer alternative solutions for maintaining depth quality.
  • The authors only used 4-bit quantization. Experiments should also be provided on other levels of quantization.
  • The proposed method introduces a degree of calibration complexity; however, the advantages for practical deployment and the calibration time requirements have not been adequately quantified.
  • The generalization claims are quite strong, as experiments primarily focus on zero-shot depth benchmarks and a limited variety of model variants.
Questions

I would like the author to address the major weaknesses outlined above.

Limitations

The authors had provided the limitation section, but it is more of a future direction rather than a limitation of the proposed method.

Final justification

The novelty is limited and the response provided is not convincing.

Formatting concerns

No formatting concerns

7 comments
Authors · RebuttalOpenReview ↗
Rebuttal

W1: The novelty is incremental: it combines attention-aware calibration and feature alignment techniques, which already exist in the literature.

A1: We partly acknowledge the point that attention-aware calibration and channel-wise feature alignment are not new as mechanisms. What we consider new is the specific form each component takes, and each form follows from its own observation of how quantization harms depth prediction.

For APC, the starting point is that the attention map is essential to the spatial structure of the depth map. In MDE, every spatial token contributes to the dense output, and the attention map governs how information is aggregated across these tokens, so distortion of the attention distribution directly damages the spatial structure of the prediction. Figure 1 then presents an analysis that has not been reported before. Conventional calibration does not account for the interaction between query and key, a limitation that has motivated recent work to instead improve the pre-softmax logits. Our analysis shows that adopting the pre-softmax logits as the calibration objective improves the logit error while degrading the error of the individual projections, and that this improvement does not carry through the softmax into an improvement of the attention distribution. APC follows directly from this finding. It determines the quantization parameters of the query and key projections with the attention distribution as the objective, measured by KL divergence.

The choice of KL divergence follows from the nature of the attention map. Post-softmax attention lies not in a magnitude space but in a probability space where each row is normalized, so magnitude-based objectives such as MSE are not suited to this space. To see the difference concretely, let pp denote a row of the full-precision attention and qq its quantized counterpart, with ϵi=qi−pi\epsilon_i = q_i - p_i. When the error is small, a second-order expansion together with ∑iϵi=0\sum_i \epsilon_i = 0 gives

DKL(p∥q)≈12∑i(qi−pi)2pi,D_{\mathrm{KL}}(p \| q) \approx \frac{1}{2} \sum_i \frac{(q_i - p_i)^2}{p_i},

whereas MSE is ∑i(qi−pi)2\sum_i (q_i - p_i)^2. KL divergence therefore behaves locally like a squared error weighted by 1/pi1/p_i: an error of the same size is penalized far more heavily where the probability mass is small, which amounts to measuring relative rather than absolute distortion. Since attention distributions concentrate their mass on a few tokens while the rest form a long tail near zero, a magnitude-based objective allows the quantizer to flatten this tail at little cost, whereas KL divergence forces the entire structure of the distribution to be preserved.

CWDA addresses a different distortion. As shown in Figure 2, accumulated quantization error progressively distorts the encoder features that the DPT decoder directly uses to reconstruct depth map, which makes this distortion particularly damaging in MDE. CWDA corrects it by aligning these features with their full-precision counterparts through per-channel affine parameters, learned by distillation from the full-precision model without labels. Only the affine parameters are optimized, and after optimization they fold into the preceding weights and biases (Eq. 10), so the deployed model is identical to the original quantized network. We do not claim feature alignment itself as new. What we claim is identifying the feature distortion that directly harms depth reconstruction, and correcting it with a small number of learned parameters at no inference overhead.


W2: The proposed approach is architecture-dependent and relies heavily on DPT-style encoder-decoder structures, limiting its applicability to broader transformer-based vision models.

A2: APC and CWDA differ in how they relate to the architecture. APC calibrates the quantization parameters of the query and key projections against the attention distribution, so it applies to any transformer with self-attention and does not depend on the DPT structure. CWDA aligns the encoder features that the decoder uses for prediction. The alignment mechanism, per-channel affine parameters folded into the preceding weights, is likewise architecture-independent. What is specific to DPT-style models is only the choice of which features to align. Since MDE foundation models including MiDaS, Depth Anything, and ZoeDepth commonly adopt DPT-style decoders that aggregate multi-stage encoder features, this choice covers the current landscape of MDE foundation models rather than restricting it. Applying SPA-Q to a different architecture therefore requires identifying which features the prediction depends on in that architecture, rather than redesigning the method.


W3: As a PTQ method, the approach requires additional calibration parameter optimization using training data, and the computational cost relative to QAT has not been sufficiently analyzed.

A3: First, our optimization follows the standard PTQ setting. The submitted version omitted the word "unlabeled," and we will restore it throughout Sec 4.1. CWDA is optimized on an unlabeled subset of the training images by aligning the quantized model with the output of the full-precision model, so no depth labels are used at any stage. CWDA does not update any pretrained weight and learns only the per-channel affine parameters, which are folded into the preceding weights and biases after optimization (Eq. 10).

Second, we add a comparison of optimization time against a representative QAT method (LSQ) as well as the other optimization-based PTQ baselines, measured under the same hardware:

Approach Method Optimization time (s), ViT-S Optimization time (s), ViT-B
QAT LSQ 39492 51408
PTQ BRECQ 3435 4354
PTQ QDrop 3935 6227
PTQ QSCA 221 391
PTQ SPA-Q 150 294

Because LSQ trains the full network end to end, its optimization takes far longer than the PTQ methods. SPA-Q is the fastest among the optimization-based PTQ baselines, and this efficiency follows from the design, which optimizes only the per-channel affine parameters rather than the full network weights, so the number of optimized parameters is small and the optimization converges quickly.


W4: The article fails to provide an extensive analysis of the sensitivity of calibration data, making it unclear how the performance varies with different calibration set sizes.

A4: To address this point, we conducted two sensitivity studies on the calibration and optimization data. SPA-Q involves two sets of data, namely the calibration set used by APC and the unlabeled optimization subset used by CWDA. We vary each while holding the other fixed. Both studies use Depth Anything v1 on NYUv2 under the W4A4 setting.

The first study varies the calibration set while fixing the optimization subset at 5%:

ViT-S

Metric 4 8 16 (paper) 32
AbsRel ↓ 0.1104 0.1088 0.1090 0.1092
δ₁ ↑ 0.8741 0.8782 0.8771 0.8758

ViT-B

Metric 4 8 16 (paper) 32
AbsRel ↓ 0.0992 0.0987 0.1021 0.1009
δ₁ ↑ 0.9077 0.9078 0.8991 0.9028

Performance remains stable across all sizes, indicating that APC does not require careful tuning of the calibration set.

The second study varies the optimization subset while fixing the calibration set at 16 images:

ViT-S

Metric 0.1% 0.5% 1% 3% 5% (paper)
AbsRel ↓ 0.1277 0.1130 0.1083 0.1065 0.1090
δ₁ ↑ 0.7167 0.8356 0.8716 0.8831 0.8771

ViT-B

Metric 0.1% 0.5% 1% 3% 5% (paper)
AbsRel ↓ 0.1233 0.1113 0.1034 0.1006 0.1021
δ₁ ↑ 0.8527 0.8814 0.8983 0.9030 0.8991

Performance improves quickly up to 1% and then saturates. Notably, even the smallest subset of 0.1% already outperforms every W4A4 baseline in Table 1. We report 5% in the paper to follow the training pipeline of QSCA for a fair comparison.

Taken together, the two studies show that SPA-Q is insensitive to both the calibration set and the optimization subset over wide ranges.

Authors · CommentOpenReview ↗

Rebuttal by Authors (Minor weakness 2,5)

Minor Weakness 2 (generalization to other MDE architectures)

We evaluate SPA-Q on three additional MDE architectures, MiDaS, DPT, and ZoeDepth, on both NYUv2 and KITTI in the W4A4 setting, compared against RepQ-ViT and QSCA.

MiDaS-BeiT-B-384

Dataset Method W/A AbsRel ↓ δ1 ↑
NYUv2 FP 32/32 0.0663 0.9568
NYUv2 RepQ-ViT 4/4 0.2603 0.5254
NYUv2 QSCA 4/4 0.2253 0.5998
NYUv2 SPA-Q 4/4 0.1803 0.7081
KITTI FP 32/32 0.1928 0.7076
KITTI RepQ-ViT 4/4 0.3761 0.3580
KITTI QSCA 4/4 0.3740 0.3628
KITTI SPA-Q 4/4 0.3250 0.4383

DPT-large-384

Dataset Method W/A AbsRel ↓ δ1 ↑
NYUv2 FP 32/32 0.0947 0.9112
NYUv2 RepQ-ViT 4/4 0.1394 0.8139
NYUv2 QSCA 4/4 0.1380 0.8192
NYUv2 SPA-Q 4/4 0.1276 0.8425
KITTI FP 32/32 0.1079 0.8858
KITTI RepQ-ViT 4/4 0.1661 0.7824
KITTI QSCA 4/4 0.1650 0.7810
KITTI SPA-Q 4/4 0.1427 0.8379

ZoeDepth-BeiT-Large (metric depth)

Dataset Method W/A δ1 ↑ δ2 ↑ δ3 ↑ AbsRel ↓ RMSE ↓ Log10 ↓
NYUv2 FP 32/32 0.9544 0.9951 0.9991 0.0755 0.2717 0.0326
NYUv2 RepQ-ViT 4/4 0.1033 0.2366 0.4242 0.4949 1.7866 0.3271
NYUv2 QSCA 4/4 0.2054 0.4319 0.6641 0.3969 1.5238 0.2357
NYUv2 SPA-Q 4/4 0.3894 0.6982 0.8785 0.3051 1.1500 0.1499
KITTI FP 32/32 0.9664 0.9964 0.9994 0.0589 2.4591 0.0258
KITTI RepQ-ViT 4/4 0.1529 0.3436 0.5339 0.4650 13.0673 0.3155
KITTI QSCA 4/4 0.5237 0.8177 0.9235 0.2701 8.0132 0.1200
KITTI SPA-Q 4/4 0.6171 0.8340 0.9284 0.2551 7.6877 0.1051

SPA-Q achieves the best results among the quantized models on all three architectures, on both datasets, and on every metric. These models differ from Depth Anything in encoder pretraining, and ZoeDepth further differs in predicting metric depth. The consistent gains across them indicate that SPA-Q is not tied to Depth Anything.


Minor Weakness 5 (geometric evaluations: boundary accuracy, surface consistency)

We add the evaluation below, covering depth boundary accuracy (edge F1 and boundary F1), depth ordering consistency (ORD), and surface geometry (planarity error εPEplan\varepsilon_{\mathrm{PE}}^{\mathrm{plan}} and orientation error εPEorie\varepsilon_{\mathrm{PE}}^{\mathrm{orie}}, denoted PE-plan and PE-orie below, which reflect surface normal consistency). Edge, boundary, and ordering metrics are measured on NYUv2, and the planarity and orientation errors follow the iBims-1 protocol, all with Depth Anything v1.

ViT-S

Method W/A Edge [email protected] ↑ Boundary F1 ↑ ORD ↓ PE-plan (cm) ↓ PE-orie (°) ↓
FP 32/32 0.1862 0.0438 0.1177 1.3337 4.4868
RepQ-ViT 4/4 0.1025 0.0018 0.5405 11.4530 35.0064
QSCA 4/4 0.1292 0.0126 0.2956 10.5740 24.1218
SPA-Q 4/4 0.1286 0.0161 0.2423 13.1100 19.8219
RepQ-ViT 4/6 0.1251 0.0174 0.2795 5.4846 14.5692
QSCA 4/6 0.1915 0.0475 0.1627 4.0663 9.8937
SPA-Q 4/6 0.1907 0.0436 0.1627 4.2679 9.0219

ViT-B

Method W/A Edge [email protected] ↑ Boundary F1 ↑ ORD ↓ PE-plan (cm) ↓ PE-orie (°) ↓
FP 32/32 0.1991 0.0477 0.1005 1.0963 4.1992
RepQ-ViT 4/4 0.1011 0.0011 0.7412 14.1688 44.1632
QSCA 4/4 0.1069 0.0018 0.4732 14.0001 34.3514
SPA-Q 4/4 0.1111 0.0091 0.2441 13.6755 20.1182
RepQ-ViT 4/6 0.1172 0.0180 0.2418 4.1241 15.4422
QSCA 4/6 0.1658 0.0328 0.1672 5.6829 11.1425
SPA-Q 4/6 0.1938 0.0404 0.1377 3.7100 7.7550

SPA-Q achieves the best results on most metrics on both backbones, and under W4A4 it attains the best ordering consistency and orientation accuracy. We also include W4A6 to isolate the cause of the remaining degradation. Since the two settings differ only in activation precision, and at W4A6 SPA-Q comes close to the full-precision model on the edge and boundary metrics, the boundary degradation at W4A4 stems primarily from the limited representational capacity of 4-bit activations, while ordering consistency and planarity are limited by factors beyond activation precision, which we regard as an important direction for future work.

Authors · CommentOpenReview ↗

Rebuttal by Authors (Minor weakness 8,9)

Minor Weakness 8 (results at other bit-widths)

We add results at two additional precision levels, W3A3 and W4A8, on NYUv2 with Depth Anything v1, compared against the same baselines as in Table 1.

ViT-S

Method W/A AbsRel ↓ δ1\delta_1 ↑
FP32 32/32 0.0525 0.9720
RepQ-ViT 3/3 0.2738 0.5015
QSCA 3/3 0.2314 0.5832
SPA-Q 3/3 0.1853 0.6847
RepQ-ViT 4/8 0.1066 0.8833
QSCA 4/8 0.0682 0.9551
SPA-Q 4/8 0.0664 0.9574

ViT-B

Method W/A AbsRel ↓ δ1\delta_1 ↑
FP32 32/32 0.0459 0.9791
RepQ-ViT 3/3 0.2815 0.4856
QSCA 3/3 0.2475 0.5526
SPA-Q 3/3 0.2229 0.5977
RepQ-ViT 4/8 0.0864 0.9259
QSCA 4/8 0.0657 0.9542
SPA-Q 4/8 0.0560 0.9672

SPA-Q achieves the best results on both backbones at both precision levels. Under the aggressive W3A3 setting, where every method degrades substantially, SPA-Q retains the highest accuracy. Under W4A8, the gap to full precision narrows substantially. These results indicate that the advantage of SPA-Q is not specific to the 4-bit setting but holds across precision levels.


Minor Weakness 9 (calibration time and practical deployment)

We quantify both the calibration and optimization cost of SPA-Q. All measurements use Depth Anything v1 on NYUv2 under the same hardware.

SPA-Q has two stages, namely APC calibration and CWDA optimization, and we report their cost separately. The first table gives the APC calibration time in seconds for different calibration set sizes, with the Local and Logit-level objectives included for comparison.

Encoder Objective 4 images 8 images 16 images 32 images
ViT-S Local 64 82 129 173
ViT-S Logit-level 81 120 200 296
ViT-S APC 96 164 298 443
ViT-B Local 132 181 270 413
ViT-B Logit-level 169 256 409 601
ViT-B APC 213 346 561 833

APC costs more than the Local and Logit-level objectives because it evaluates the post-softmax attention distribution. This is also what makes it more accurate, as the ablation in Table 2 shows that APC improves over both alternatives, while the added calibration time remains a few minutes at most.

The second table gives the CWDA optimization time in seconds for different optimization subset sizes.

Encoder 0.1% 0.5% 1% 3% 5%
ViT-S 4 18 32 93 150
ViT-B 6 29 56 174 294

Regarding practical deployment, both stages are performed only once and offline, and they introduce no test-time overhead.

Reviewer 56Z1OpenReview ↗
Rating
4/6
Confidence
2/5
Quality
3/4
Clarity
3/4
Significance
2/4
Originality
2/4
Contribution type
use_inspired
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper studies low-bit post-training quantization for transformer-based monocular depth estimation models, mainly Depth Anything v1/v2. The proposed SPA-Q framework contains two components: Attention-Preserving Calibration, which calibrates query/key quantizers by matching full-precision attention distributions, and Channel-Wise Distribution Alignment, which uses learnable affine transformations to reduce quantization-induced feature distribution shifts. Experiments on several depth benchmarks show consistent improvements over existing PTQ baselines under W4A4 quantization.

Strengths and weaknesses

The paper addresses a timely and practically important problem: efficient deployment of large monocular depth estimation foundation models. The motivation is clearly presented, especially the observation that independently minimizing query/key quantization errors may not preserve the resulting attention map. The proposed framework is simple, technically sound, and empirically effective. The experimental section is relatively comprehensive, covering multiple benchmarks, model variants, baselines, ablations, and efficiency comparisons.

However, the main technical concern is that the method appears only weakly coupled with monocular depth estimation. Both attention-level calibration and channel-wise feature distribution alignment are largely generic quantization techniques for transformer-based dense prediction models. The MDE-specific contribution is mainly reflected in the evaluation setting and the use of a depth-level distillation loss, rather than in a mechanism that explicitly exploits depth geometry, relative depth ordering, boundary consistency, surface normals, or scene structure. As a result, the paper is better positioned as a general PTQ method for transformer-based dense prediction, with MDE as a testbed, rather than a truly depth-specific quantization framework.

Questions
  1. Since APC and CWDA seem applicable to many transformer-based dense prediction tasks, what is the essential MDE-specific design in SPA-Q beyond the SILog distillation loss and evaluation protocol?

  2. CWDA still fall strictly under post-training quantization, given that it optimizes learnable channel-wise affine parameters using 5% of the training set? Were all baselines allowed the same data budget, optimization budget, and hyperparameter tuning?

  3. If the paper emphasizes “structure-preserving” quantization, can the authors provide more direct structure-aware evidence, such as depth boundary accuracy, relative depth ranking consistency, surface normal consistency, or error analysis near occlusion/object boundaries?

  4. How well does SPA-Q generalize beyond Depth Anything v1/v2? Results on additional MDE architectures such as MiDaS, DPT, or ZoeDepth would make the claimed generality more convincing.

  5. Can the authors report real deployment metrics, such as latency, throughput, and memory usage on practical hardware, rather than only model size and BOPs?

Limitations

The paper demonstrates strong empirical gains, but its novelty is somewhat limited by the generic nature of the proposed modules. The connection to monocular depth estimation is not sufficiently deep: the method preserves attention and feature distributions, but does not explicitly preserve depth-specific geometric structures. The evaluation is also concentrated on Depth Anything variants, which limits the evidence for broader applicability. Finally, the use of additional optimization data for CWDA should be more carefully discussed, as it affects the interpretation of the method as PTQ and the fairness of comparison with existing baselines.

Final justification

Post-rebuttal update: My remaining concern is that APC and CWDA are still largely generic PTQ mechanisms, while the MDE specificity mainly lies in identifying task-sensitive distortions rather than introducing explicitly depth-specific modeling.

Formatting concerns

The paper is mostly well formatted and readable. However, some figures and tables are overly compact, especially the large quantitative tables and qualitative comparisons. Enlarging key visual results, improving table readability, and polishing equation/notation presentation would improve the clarity of the manuscript.

5 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Q1: Since APC and CWDA seem applicable to many transformer-based dense prediction tasks, what is the essential MDE-specific design in SPA-Q beyond the SILog distillation loss and evaluation protocol?

A1: The MDE-specific design lies in what we chose to correct and why, rather than in the correction mechanisms themselves.

This choice is motivated by how quantization distortions reach the output in MDE. Attention and feature distortions arise in any quantized transformer, but their consequences depend on the task. In classification, the prediction is driven by a pooled representation, which absorbs much of the spatial distortion. In MDE, every spatial token contributes to the dense output and the attention map governs how information is aggregated across tokens, so distortion of the attention distribution directly damages the spatial structure of the depth map. The DPT decoder reconstructs depth directly from multi-stage encoder features, so distortion accumulated in these features propagates to the output without being absorbed. Depth is moreover continuous regression, so distortion that reaches the output appears directly as depth error and disturbs relations across pixels such as ordering and planarity. Figures 1 and 2 report these two distortions, and APC and CWDA are designed to correct each at the point where it harms the spatial structure of the prediction.

To examine how sensitive depth prediction is to attention distortion, we conducted a controlled experiment with two configurations: one quantizes only the attention modules while keeping the MLPs at full precision, and the other quantizes only the MLPs while keeping the attention modules at full precision. We report depth accuracy on Depth Anything v1 with ViT-B, and the boundary and ordering metrics at W4A4 on NYUv2.

ViT-B

Dataset W/A Attn-only-Q AbsRel ↓ Attn-only-Q δ₁ ↑ MLP-only-Q AbsRel ↓ MLP-only-Q δ₁ ↑
NYUv2 8/8 0.0457 0.9788 0.0442 0.9794
NYUv2 4/4 0.1174 0.8577 0.0795 0.9416
NYUv2 3/3 0.2596 0.5288 0.1722 0.7211
KITTI 8/8 0.0794 0.9403 0.0761 0.9399
KITTI 4/4 0.1880 0.7088 0.1428 0.8069
KITTI 3/3 0.3337 0.4504 0.2625 0.5891
Dataset Metric FP Attn-only-Q MLP-only-Q
NYUv2 Edge [email protected] ↑ 0.1991 0.1041 0.1443
NYUv2 Boundary F1 ↑ 0.0477 0.0137 0.0346
NYUv2 ORD ↓ 0.1005 0.2789 0.1815

Quantizing the attention modules degrades depth accuracy and the structural metrics far more than quantizing the MLPs at the same bit-width, and the gap widens as the bit-width shrinks. This confirms that depth prediction is disproportionately sensitive to attention distortion, which supports correcting the attention modules in the first place. The form of the correction follows from Figure 1: conventional calibration does not account for the interaction between query and key, and improving the pre-softmax logits instead does not carry over to the attention distribution, so APC adopts the attention distribution itself as the calibration objective.

Figure 2 shows that the distortion of the encoder features grows as it accumulates through the layers, and the ablation in Table 2 shows that correcting these features with CWDA yields a substantial further improvement on top of APC. Since APC already preserves the attention distribution in this comparison, the additional gain comes from restoring the features that the decoder consumes, which is what motivated CWDA.

We agree that the correction mechanisms could transfer to other dense prediction tasks. Doing so, however, would require identifying which distortions harm the output of that task and which features its prediction depends on. Our contribution is establishing this for MDE.


Q2: CWDA still fall strictly under post-training quantization, given that it optimizes learnable channel-wise affine parameters using 5% of the training set? Were all baselines allowed the same data budget, optimization budget, and hyperparameter tuning?

A2: We believe this concern arises from an omission in our wording. In the submitted version we wrote that CWDA is optimized on 5% of the training set, but we omitted the key word "unlabeled," and we will add it throughout Sec 4.1 in the revision. CWDA is optimized on an unlabeled subset of the training images by aligning the quantized model with the output of the full-precision model, so no ground-truth depth is involved at any stage.

CWDA does not retrain or update any pretrained weight. It learns only the per-channel affine parameters, which are folded into the preceding weights and biases after optimization (Eq. 10), leaving the deployed model identical in architecture and parameter count to the original quantized network (Table 3). Optimizing against full-precision outputs on an unlabeled subset is standard practice in PTQ, as in reconstruction-based methods such as BRECQ and QDrop.

We assigned each baseline the data budget consistent with its own methodology:

  • BRECQ and QDrop are reconstruction-based methods that require an unlabeled training subset, so they use the same 5% unlabeled subset as CWDA.
  • RepQ-ViT relies only on calibration, so it uses the same 16 calibration images as APC.
  • QSCA adopts a distillation-based scheme, so it uses the same 5% unlabeled subset as CWDA.

Q3: If the paper emphasizes “structure-preserving” quantization, can the authors provide more direct structure-aware evidence, such as depth boundary accuracy, relative depth ranking consistency, surface normal consistency, or error analysis near occlusion/object boundaries?

A3: We add the evaluation below, covering depth boundary accuracy (edge F1 and boundary F1), relative depth ranking consistency (depth ordering error, ORD), and surface geometry (planarity error εPEplanε_{PE}^{plan} and orientation error εPEorieε_{PE}^{orie}, which measure the flatness and 3D orientation of planar regions and reflect surface normal consistency). Edge, boundary, and ordering metrics are measured on NYUv2, and the planarity and orientation errors follow the iBims-1 protocol, all with Depth Anything v1.

ViT-S

Method W/A Edge [email protected] ↑ Boundary F1 ↑ ORD ↓ εPEplanε_{PE}^{plan} (cm) ↓ εPEorieε_{PE}^{orie} (°) ↓
FP 32/32 0.1862 0.0438 0.1177 1.3337 4.4868
RepQ-ViT 4/4 0.1025 0.0018 0.5405 11.4530 35.0064
QSCA 4/4 0.1292 0.0126 0.2956 10.5740 24.1218
SPA-Q 4/4 0.1286 0.0161 0.2423 13.1100 19.8219
RepQ-ViT 4/6 0.1251 0.0174 0.2795 5.4846 14.5692
QSCA 4/6 0.1915 0.0475 0.1627 4.0663 9.8937
SPA-Q 4/6 0.1907 0.0436 0.1627 4.2679 9.0219

ViT-B

Method W/A Edge [email protected] ↑ Boundary F1 ↑ ORD ↓ εPEplanε_{PE}^{plan} (cm) ↓ εPEorieε_{PE}^{orie} (°) ↓
FP 32/32 0.1991 0.0477 0.1005 1.0963 4.1992
RepQ-ViT 4/4 0.1011 0.0011 0.7412 14.1688 44.1632
QSCA 4/4 0.1069 0.0018 0.4732 14.0001 34.3514
SPA-Q 4/4 0.1111 0.0091 0.2441 13.6755 20.1182
RepQ-ViT 4/6 0.1172 0.0180 0.2418 4.1241 15.4422
QSCA 4/6 0.1658 0.0328 0.1672 5.6829 11.1425
SPA-Q 4/6 0.1938 0.0404 0.1377 3.7100 7.7550

SPA-Q achieves the best results on most metrics on both backbones. Under W4A4 it attains the best ordering consistency and orientation accuracy on both backbones. These are the properties that reflect scene structure, namely where surfaces lie relative to one another and how object boundaries are placed.

We also include W4A6 to isolate the cause of the remaining degradation. Since the two settings differ only in activation precision, and at W4A6 SPA-Q comes close to the full-precision model on the edge and boundary metrics, the boundary degradation at W4A4 stems primarily from the limited representational capacity of 4-bit activations. Ordering consistency and planarity recover less, which indicates that they are limited by factors beyond activation precision, and we regard this as an important direction for future work.

Authors · CommentOpenReview ↗

Rebuttal by Authors (Q4, Q5)

Q4: How well does SPA-Q generalize beyond Depth Anything v1/v2? Results on additional MDE architectures such as MiDaS, DPT, or ZoeDepth would make the claimed generality more convincing.

A4: We evaluate SPA-Q on the three architectures suggested, MiDaS, DPT, and ZoeDepth, on both NYUv2 and KITTI in the W4A4 setting, compared against RepQ-ViT and QSCA.

MiDaS-BeiT-B-384

Dataset Method W/A AbsRel ↓ δ₁ ↑
NYUv2 FP 32/32 0.0663 0.9568
NYUv2 RepQ-ViT 4/4 0.2603 0.5254
NYUv2 QSCA 4/4 0.2253 0.5998
NYUv2 SPA-Q 4/4 0.1803 0.7081
KITTI FP 32/32 0.1928 0.7076
KITTI RepQ-ViT 4/4 0.3761 0.3580
KITTI QSCA 4/4 0.3740 0.3628
KITTI SPA-Q 4/4 0.3250 0.4383

DPT-large-384

Dataset Method W/A AbsRel ↓ δ₁ ↑
NYUv2 FP 32/32 0.0947 0.9112
NYUv2 RepQ-ViT 4/4 0.1394 0.8139
NYUv2 QSCA 4/4 0.1380 0.8192
NYUv2 SPA-Q 4/4 0.1276 0.8425
KITTI FP 32/32 0.1079 0.8858
KITTI RepQ-ViT 4/4 0.1661 0.7824
KITTI QSCA 4/4 0.1650 0.7810
KITTI SPA-Q 4/4 0.1427 0.8379

ZoeDepth-BeiT-Large (metric depth)

Dataset Method W/A δ₁ ↑ δ₂ ↑ δ₃ ↑ AbsRel ↓ RMSE ↓ Log10 ↓
NYUv2 FP 32/32 0.9544 0.9951 0.9991 0.0755 0.2717 0.0326
NYUv2 RepQ-ViT 4/4 0.1033 0.2366 0.4242 0.4949 1.7866 0.3271
NYUv2 QSCA 4/4 0.2054 0.4319 0.6641 0.3969 1.5238 0.2357
NYUv2 SPA-Q 4/4 0.3894 0.6982 0.8785 0.3051 1.1500 0.1499
KITTI FP 32/32 0.9664 0.9964 0.9994 0.0589 2.4591 0.0258
KITTI RepQ-ViT 4/4 0.1529 0.3436 0.5339 0.4650 13.0673 0.3155
KITTI QSCA 4/4 0.5237 0.8177 0.9235 0.2701 8.0132 0.1200
KITTI SPA-Q 4/4 0.6171 0.8340 0.9284 0.2551 7.6877 0.1051

SPA-Q achieves the best results among the quantized models on all three architectures, on both datasets, and on every metric. These models differ from Depth Anything in encoder pretraining, and ZoeDepth further differs in predicting metric depth. The consistent gains across them indicate that SPA-Q is not tied to Depth Anything.

Quantizing ZoeDepth is considerably harder for every method, since its metric head must represent absolute depth over the full range of the scene and the quantization step size scales with this range. Narrowing the remaining gap to full precision in metric-depth models is an important direction for future work.


Q5: Can the authors report real deployment metrics, such as latency, throughput, and memory usage on practical hardware, rather than only model size and BOPs?

A5: We report latency, throughput, and peak memory measured with TensorRT in the W8A8 setting. Low-bit (4-bit) matrix multiplication kernels are not yet efficiently supported on general-purpose GPUs, so we measure at W8A8 and BOPs remain a proxy for the W4A4 case. SPA-Q* denotes the model before fusing the CWDA parameters, and SPA-Q the fused model.

ViT-S

Method W/A Params (M) Latency (ms) Throughput (img/s) Peak Mem (MiB)
FP 32/32 24.79 4.492 222.6 ~251
SPA-Q* 8/8 24.87 1.126 887.8 ~56
SPA-Q 8/8 24.79 1.068 936.6 ~54

ViT-B

Method W/A Params (M) Latency (ms) Throughput (img/s) Peak Mem (MiB)
FP 32/32 97.47 12.130 82.4 ~660
SPA-Q* 8/8 99.24 2.107 474.5 ~144
SPA-Q 8/8 97.47 1.954 511.8 ~141

These measurements confirm that fusion introduces no inference overhead. The fused SPA-Q is in fact faster and lighter than the unfused SPA-Q*, since the learned affine parameters are absorbed into the existing weights rather than adding computation.

Authors · CommentOpenReview ↗

Response to weakness, limitation

Response to the Major Weakness (weak coupling with MDE; generic techniques)

The concern is that the components are generic and do not explicitly exploit depth geometry, and that SPA-Q is therefore better positioned as a general PTQ method with MDE as a testbed.

We agree that the correction mechanisms are generic as categories, and A1 locates the MDE-specific design in what SPA-Q chooses to preserve and why. PTQ methods validated on classification degrade severely on MDE under W4A4 (Table 1), which shows that identifying what the depth output depends on is a necessary part of quantizing MDE. The controlled experiment in A1 establishes this empirically.

Rather than attaching geometric objectives to the output, SPA-Q preserves the quantities from which the depth map is constructed, namely the attention distribution and the encoder features that the decoder uses to reconstruct the depth map. Optimizing ordering or surface normals directly would require ground-truth geometry, which conflicts with the label-free PTQ setting that A2 clarifies. The structural evaluation in A3 shows that this choice is sufficient in practice: SPA-Q attains the best ordering consistency and orientation accuracy among the quantized models, so the scene structure is preserved even though it is not an explicit optimization target. We regard label-free geometric objectives as a promising direction for future work.


Response to the Limitations (novelty, evaluation coverage, CWDA optimization data)

What we claim as new is not the mechanism categories but the specific form each component takes and the choice of what to correct, as detailed in A1. The evaluation is no longer concentrated on Depth Anything: A4 adds MiDaS, DPT, and ZoeDepth on both NYUv2 and KITTI, and the consistent gains across them indicate that the results are not tied to a single model family. The CWDA data setting is discussed in A2, which clarifies that the optimization uses only unlabeled images, explains why this remains within the standard PTQ setting, and details the data budget assigned to each baseline for a fair comparison.

We will include the additional results suggested in the review, including the structural evaluation and the results on the additional MDE architectures, in the appendix of the revised paper. We will also enlarge the key tables and figures and polish the notation, as suggested in the formatting comments.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…