PatchRefiner V2: Fast and Lightweight Real-Domain High-Resolution Metric Depth Estimation

Zhenyu Li, Wenqing Cui, Shariq Farooq Bhat, Peter Wonka

TL;DR

PatchRefiner V2 (PRV2) makes high-resolution monocular depth estimation drastically faster and lighter by replacing heavy refiner backbones with lightweight encoders. To counteract the noisy features introduced by smaller models, the authors introduce a bidirectional coarse-to-fine fusion module and a novel "noisy pretraining" strategy, achieving state-of-the-art accuracy on 4K data while running up to 10.7x faster than previous methods.

What Problem Does This Paper Address?

Monocular depth estimation (predicting depth from a single image) has advanced rapidly thanks to large foundation models. However, these models typically operate at low resolutions (around 0.3 megapixels). When applied to high-resolution 4K imagery, they run into massive memory and computational bottlenecks.

To handle 4K images, state-of-the-art frameworks like PatchRefiner V1 use a tile-based approach: they run a heavy base model on a downsampled version of the image to get a global "coarse" depth map, and then run the same heavy model on dozens of local image patches to refine the details.

The catch? This requires at least 17 forward passes of a massive model for a single image. This leads to two major issues:

  1. High inference time: It takes over a second per image, making real-time deployment impossible.
  2. High memory footprint: The model is too heavy to be trained end-to-end, forcing a suboptimal, multi-stage training process.

Methods

PatchRefiner V2 introduces a lightweight architecture designed for fast inference and end-to-end training.

Figure 2. A comparison of (a) PatchRefiner and (b) our proposed PatchRefiner V2. We adopt a lightweight encoder for the refiner branch, which alleviates the inference speed bottleneck, reduces the number of parameters for high-resolution estimation, and fa- cilitates end-to-end training. A novel coarse-to-fine (C2F) module is proposed to denoise features from the lite model and further boost performance.

The framework consists of several novel components:

  • Lite Refiner Backbone: The authors replace the heavy foundation models in the patch-refinement branch with lightweight encoders like MobileNet or EfficientNet.
  • Coarse-to-Fine (C2F) Module: Smaller encoders naturally produce noisier, less depth-aligned features. To fix this, the C2F module uses the reliable global features from the coarse branch to guide and denoise the local patch features using Guided Denoising Units (GDUs). This creates a bidirectional fusion loop when combined with the existing Fine-to-Coarse (F2C) module.
  • Noisy Pretraining (NP): Because the fusion modules are trained from scratch, the authors propose a pretraining strategy where the coarse depth inputs are replaced with random Gaussian noise. This forces the lightweight refiner branch to learn how to extract depth-relevant features from the high-resolution patches without relying on a crutch.
  • Scale-and-Shift Invariant Gradient Matching (SSIGM) Loss: For transferring knowledge from synthetic training data to real-world scenes, the authors introduce a loss function that enforces gradient matching. This directly penalizes errors in high-frequency depth changes, resulting in much sharper object boundaries.
Overview of the Coarse-to-Fine (C2F) module and its Guided Denoising Unit (GDU).

Datasets

The model was trained and evaluated across a variety of synthetic and real-world datasets:

  • UnrealStereo4K: A high-resolution synthetic dataset providing 4K stereo images with complete ground-truth depth, used as the primary benchmark.
  • Cityscapes: A real-world outdoor urban driving dataset used to evaluate synthetic-to-real domain transfer.
  • ScanNet++: A real-world indoor dataset captured via LiDAR, used for qualitative boundary evaluation.
  • KITTI: A standard real-world outdoor driving dataset with sparse LiDAR ground truth.

Key Insights and Ideas

  • Coarse Guidance as a Denoising Filter: Lightweight models are notoriously bad at maintaining depth alignment on their own. The core "aha!" moment here is that you don't need a heavy model for local patches if you use the global, low-resolution depth map as a spatial prior to filter out the noise.
  • Pretraining the Fusion, Not Just the Backbone: Standard practice is to plug in an ImageNet-pretrained backbone and call it a day. PRV2 demonstrates that pretraining the entire refinement network (including the newly added fusion layers) via noisy pretraining is vital for maximizing the performance of lightweight architectures.
Visualizing how the C2F module successfully denoises the refiner feature maps to produce cleaner boundaries.

Key Results

PRV2 achieves an exceptional balance between speed, model size, and accuracy:

  • UnrealStereo4K Performance: The variant using a ConvNeXt backbone ($\text{PRV2}_C$) established a new state-of-the-art RMSE of 0.884, outperforming the original PatchRefiner while running 2.3x faster.
  • Extreme Speedups: The MobileNet variant ($\text{PRV2}_M$) reduces the parameter count by 9.2x and speeds up inference by 10.7x (down to just 0.32 seconds per image) compared to PatchFusion, with only a minor drop in depth quality.
  • Sharper Boundaries: Thanks to the SSIGM loss, PRV2 achieved a +17.2% improvement in boundary F1-score on the real-world Cityscapes dataset compared to previous methods, successfully delineating tricky, fine-grained structures.

Limitations and Future Work

While PRV2 enables end-to-end training of the refiner branch, the global coarse branch remains frozen and relies on an external heavy foundation model (like ZoeDepth or DepthAnything). Consequently, the overall system's efficiency is still partially bounded by the coarse model's architecture. Future work could explore optimizing or jointly training both branches simultaneously to create a completely lightweight end-to-end pipeline.

Summary updated

BibTeX
@inproceedings{li2026patchrefiner,
  author = {Zhenyu Li and Wenqing Cui and Shariq Farooq Bhat and Peter Wonka},
  title = {{PatchRefiner V2: Fast and Lightweight Real-Domain High-Resolution Metric Depth Estimation}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=AAqeYdGdn2},
}
Figure