PXDepth: Pixel-Space Modeling for Structure Preserving Monocular Depth Estimation

Zhiyuan Yuan, Guanying Chen, Lingteng Qiu, Ruimao Zhang, Shuguang Cui, Xiaochun CaoarXiv 2026

TL;DR

PXDepth is a novel monocular depth estimation model that bridges the gap between fast-but-blurry discriminative models and detailed-but-slow generative models. By separating global context modeling from a dedicated pixel-space depth predictor, it delivers highly accurate depth maps with sharp, structure-preserving object boundaries in a single feed-forward pass. It achieves state-of-the-art boundary fidelity while running up to 3.7× faster than recent diffusion-based alternatives.

What Problem Does This Paper Address?

Monocular depth estimation (MDE)—predicting 3D depth from a single 2D image—is crucial for applications like 3D reconstruction, robotics, and AR/VR. Currently, the field is split into two paradigms:

  1. Discriminative Models: These pair a large-patch Vision Transformer (ViT) encoder with a convolutional decoder. They are fast and capture global layout well, but the early "coarse tokenization" discards high-frequency pixel-level cues, leading to blurry object boundaries and structural distortions (like "flying pixels") when projected into 3D point clouds.
  2. Generative Models: These use diffusion processes directly in pixel space. They produce beautifully sharp details and excellent structural fidelity, but they require iterative, multi-step denoising, making them computationally expensive and too slow for real-time applications.

PXDepth addresses this fundamental trade-off, aiming to deliver the crisp, structure-preserving local details of generative pixel-space modeling at the high-speed inference rates of discriminative networks.

Figure 2. Architecture comparison of monocular depth estimators. Conventional discriminative models decode depth from low-resolution ViT features using a convolutional decoder [Ranftl et al., 2021], PPD performs iterative pixel-space denoising Xu et al. [2025], and PXDEPTH predicts depth with a Pixel-Space Depth Predictor conditioned on global context in a single feed-forward pass.

Methods

The core innovation of PXDepth is its architectural separation of global context and local pixel-level prediction:

  • Global Context Encoder: A frozen or pretrained large-patch ViT (like ViT-L/14) that processes the image at a coarse resolution to capture rich semantic layouts and global scene structure.
  • Pixel-Space Depth Predictor: A parallel stream that starts with a $1 \times 1$ convolution to embed raw RGB pixels into a high-resolution feature stream. This spatial resolution is strictly maintained throughout the network.
  • Context-Modulated Pixel Transformer (CM-PiT) Blocks: To allow the global context to guide the pixel-space features without losing spatial alignment, the authors introduce Context-Guided Adaptive Normalization. Instead of expensive cross-attention layers, a token-wise MLP projects the global context features into pixel-wise scale, shift, and gate parameters that directly modulate the pixel-space features.
Detailed diagram of the CM-PiT Block showing the Context-Guided Adaptive Normalization and token compaction flow.

To prevent the computational explosion of running self-attention over a full-resolution pixel grid, PXDepth utilizes a Coarse-to-Fine Pixel Compaction mechanism. Early CM-PiT blocks temporarily compact local $P \times P$ pixel regions into single tokens for efficient global interaction, while later blocks reduce the compaction size to $(P/2) \times (P/2)$ to progressively refine fine-grained geometric details.

Datasets

The model is trained exclusively on a diverse mixture of synthetic RGB-D datasets to ensure clean ground-truth boundaries:

  • Training Datasets: Hypersim, MVS-Synth, TartanAir, TartanGround, UnrealStereo4K, GTA-SfM, Structured3D, UrbanSyn, ParallelDomain-4D, VKITTI2, SceneNetRGBD, RobbySim, and Synscapes.
  • Evaluation Benchmarks: Zero-shot generalization is tested across multiple challenging benchmarks, including the MoGe Benchmark (comprising NYUv2, KITTI, ETH3D, iBims-1, Sintel, DDAD, DIODE, and HAMMER) and the MDA Benchmark (NRGBD, 7Scenes, HiRoom).

Key Insights and Ideas

  • Separation of Concerns: Global layout and local pixel boundaries don't need to compete in the same feature representation. Letting a ViT handle the "where and what" globally while a pixel-stream handles the "exactly where" locally avoids the smoothing artifacts typical of standard encoders.
  • Explicit Alignment beats Implicit Attention: Modulating pixel features via adaptive normalization explicitly preserves spatial correspondences. This proves more effective and efficient than letting cross-attention layers implicitly learn how to map low-resolution tokens back to high-resolution pixels.
  • The Power of Synthetic Data for Boundaries: Real-world depth sensors (like LiDAR or Kinect) often produce noisy or blurred boundaries. Training strictly on high-fidelity synthetic data allows the network to learn mathematically perfect step-discontinuities at object edges.

Key Results

PXDepth achieves an exceptional balance of accuracy, boundary sharpness, and speed:

  • Boundary Fidelity: On the MDA Benchmark, PXDepth achieved the best mean Chamfer Distance (70.6 mm), significantly outperforming other structure-aware methods like InfiniDepth (98.9 mm) and PPD (93.7 mm).
  • Global Accuracy: It maintains highly competitive global depth accuracy, achieving a $\delta_1$ accuracy of 94.8% on the MoGe Benchmark.
  • Inference Speed: Because it predicts depth in a single feed-forward pass rather than relying on iterative diffusion steps, PXDepth boasts a latency of just 56.4 ms on an RTX 5880 GPU—making it roughly 3.7× faster than the pixel-space generative model PPD (209.8 ms).
Figure 1. We present PXDEPTH, a discriminative monocular depth estimation model that performs pixel- space modeling for structure-preserving depth prediction. Compared with structure-aware methods [Yu et al., 2026a, Bian et al., 2026, Xu et al., 2025], PXDEPTH better preserves local structures without sacri- ficing global accuracy, while requiring less inference time.

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Challenging Materials: The model can still produce inaccurate depth maps on highly transparent or reflective surfaces (like glass or polished metal) due to ambiguous visual cues.
  • Relative Depth Constraints: The current formulation predicts relative depth rather than absolute metric scale, meaning it requires an external reference or post-processing scale alignment for real-world physical measurements.

Future work will focus on improving supervision strategies for complex materials and incorporating explicit metric scale cues directly into the pixel-space prediction pipeline.

Summary updated

BibTeX
@misc{yuan2026pxdepth,
  author = {Zhiyuan Yuan and Guanying Chen and Lingteng Qiu and Ruimao Zhang and Shuguang Cui and Xiaochun Cao},
  title = {{PXDepth: Pixel-Space Modeling for Structure Preserving Monocular Depth Estimation}},
  year = {2026},
  eprint = {2608.16984},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2608.16984},
}
Figure