Structural Outlier-Aware Post-Training Quantization for Monocular Depth Estimation

Yun-Seong Jeong, Jincheol Yang, Nahyun Lim, Jaemin Choi, Matti Alexander Zinke, Sungwook Choi, Sung-Sik Cho, Suk-Ju KangAdaptFM @ ICML 2026

TL;DR

ORA-Q (Operator-Role-Aware Quantization) is a new post-training quantization framework that enables high-accuracy 4-bit monocular depth estimation. By diagnosing whether activation outliers in a model are "noise" to be clipped or "signal" to be preserved, ORA-Q achieves state-of-the-art results while being significantly faster and more memory-efficient than previous methods.

What Problem Does This Paper Address?

Monocular Depth Estimation (MDE)—the task of predicting a 3D depth map from a single 2D image—is essential for robotics and AR. While Vision Transformer (ViT) models like "Depth Anything" have set new accuracy records, they are computationally expensive to deploy on edge devices.

Quantization (converting 32-bit floating-point numbers into low-bit integers like 4-bit) is the standard way to shrink these models. However, 4-bit quantization usually causes a massive drop in accuracy for depth models, leading to blurred object boundaries and "collapsed" depth maps. Existing Post-Training Quantization (PTQ) methods often fail because they treat every layer in the network with a "one-size-fits-all" strategy, ignoring the fact that different parts of a transformer model handle data outliers in very different ways.

Methods

The authors introduce ORA-Q, which moves away from uniform strategies to an operator-specific approach. The method consists of two diagnostic steps:

  1. Structural Analysis: The authors measure "cross-input range stability." They found that most operators have stable activation ranges across different images, but the attention-value product (matmul2) is highly input-dependent.
  2. Distributional Analysis: They test "clipping sensitivity" by intentionally cutting off the top 0.5% of activations. If the depth map remains accurate, the operator is "clip-tolerant"; if accuracy plummets, it is "clip-sensitive."

Based on these diagnoses, ORA-Q assigns a custom strategy to each operator:

  • Clip-tolerant operators (e.g., MLP layers): Use Percentile Calibration to clip outliers and focus precision on the bulk of the data.
  • Clip-sensitive operators (e.g., Convolutions): Use Min-Max Calibration to ensure no critical depth information is lost.
  • Input-dependent operators (matmul2): Use Dynamic Scaling, recalculating the quantization range for every new image at runtime.

Datasets

The researchers evaluated ORA-Q using the Depth Anything (v1 and v2) foundation models across several major benchmarks:

  • Indoor: NYUv2
  • Outdoor: KITTI
  • Zero-shot Generalization: Sintel, ETH3D, and DIODE.

Key Insights and Ideas

  • Outliers have "Roles": The most striking insight is that outliers aren't always errors. In decoder convolutions, outliers carry the "signal" for fine spatial details. In contrast, in the MLP layers, outliers are often just "range-dominators" that squeeze the precision of more important values.
  • The Matmul2 Bottleneck: The attention-value product (matmul2) is the primary reason static quantization fails in ViTs. Because its range shifts wildly depending on the image content, it must be quantized dynamically.
  • Efficiency over Complexity: Unlike previous state-of-the-art methods (like QSCA) that require training extra "compensation" parameters, ORA-Q is a "pure" quantization approach. It achieves better results simply by making smarter choices about granularity and clipping.

Key Results

  • Accuracy: Under 4-bit quantization, ORA-Q improved the $\delta_1$ accuracy metric (a standard depth measure) by an average of 0.106 over prior methods.
  • Visual Quality: Qualitative results show that ORA-Q preserves sharp object boundaries and correct depth ordering (e.g., knowing which object is in front of another), whereas other 4-bit methods often produce "flat" or distorted maps.
  • Speed: ORA-Q is incredibly fast. It completes calibration in 55–100 seconds on a single GPU, making it 4x faster than its closest competitor (QSCA) and over 40x faster than block-reconstruction methods like BRECQ.
  • Memory: It adds negligible overhead (only ~11-16 KB of metadata), compared to the megabytes of extra parameters required by other "aware" methods.

Limitations and Future Work

  • Hardware Implementation: The paper uses "fake quantization" (simulated in software) to measure accuracy. The authors note that developing optimized hardware kernels to realize the actual latency speedups on mobile chips is the next logical step.
  • Model Scope: While tested on Depth Anything v1 and v2, the authors mention that extending this to the even newer "Depth Anything 3" or multi-view stereo models remains an open challenge.
  • Real-time Video: The current analysis focuses on static images; future work could explore how temporal consistency in video affects outlier roles.

Summary updated

BibTeX
@inproceedings{jeong2026structural,
  author = {Yun-Seong Jeong and Jincheol Yang and Nahyun Lim and Jaemin Choi and Matti Alexander Zinke and Sungwook Choi and Sung-Sik Cho and Suk-Ju Kang},
  title = {{Structural Outlier-Aware Post-Training Quantization for Monocular Depth Estimation}},
  booktitle = {AdaptFM @ ICML},
  year = {2026},
  url = {https://openreview.net/forum?id=oqacjavnry},
}
Figure