Manuscript Offprint

arXiv:2608.30129

Efficient and High-Quality Depth Estimation via Pixel-Space Diffusion with Linear Attention

Bingde Liu, Wu Ran, Jinglei Zhang, Huanhuan Yuan, Chao Ma

Bingde Liu 1,2^{1,2}, Wu Ran 1^{1}, Jinglei Zhang 1^{1}, Huanhuan Yuan 1^{1}, and Chao Ma 1,∗^{1,*}

1^{1} MoE Key Lab of Artificial Intelligence, Institute of AI, Shanghai Jiao Tong University, Shanghai, China

2^{2} Zhiyuan College, Shanghai Jiao Tong University, Shanghai, China

{cylarus1024, bonjourlemonde, zhangjinglei168, yuanhuanhuan,

chaoma}@sjtu.edu.cn

Code: https://github.com/VISION-SJTU/Lapis

Figure

Fig. 1: Lapis: a one-step pixel-space diffusion framework with linear attention for efficient and high-quality monocular depth estimation. Lapis delivers precise geometry and intricate structures across resolutions, consistently outperforming SOTA models in accuracy and boundary sharpness with competitive latency.

Abstract. This work presents Lapis, a linear-attention-based pixel-space generative framework that achieves efficient and high-fidelity depth estimation with one-step diffusion. While generative frameworks have significantly advanced monocular depth estimation with superior detail fidelity, the O(N2)\mathcal{O}(N^{2}) complexity of standard attention and the multi-step denoising process introduce prohibitive computational costs when scaling them to high-resolution image applications. Although linear attention and one-step prediction are intuitively viable, directly applying them

∗^{*} Corresponding author.

B. Liu et al.

leads to poor structural consistency, detail loss, and noise. Lapis rectifies these limitations through a coarse-to-fine hierarchy. Specifically, a Patch-level Consistency Module restores structural coherence by integrating semantic and spatial priors. Subsequently, a Pixel-level Refinement Module recovers sharp geometric boundaries via skip-connection-based pixel correspondence. Furthermore, to mitigate sampling noise inherent in one-step diffusion, we leverage the manifold assumption and adopt a direct x-prediction strategy to target the clean data manifold. Extensive evaluations on multiple benchmarks demonstrate that Lapis consistently achieves state-of-the-art (SOTA) accuracy and boundary sharpness across various resolutions, reducing inference latency by up to 7.6× at 1080P and 10.9× at 1440P resolution compared to previous SOTA generative models.

Keywords: Monocular Depth Estimation · Diffusion Models · Linear Attention

1 Introduction

Monocular depth estimation is a cornerstone of computer vision, powering critical applications in real-world 3D/4D perception and reconstruction [28, 33, 37, 40, 67, 72, 80]. Driven by the demand for fine-grained geometric perception, the field has recently transitioned from discriminative regression [41, 54, 64, 65, 74, 75] to generative frameworks [18, 20, 25, 30, 31, 46, 70, 71]. Compared to their discriminative counterparts, generative models significantly advance fine-grained structural details. However, as applications increasingly demand higher resolutions to capture intricate, pixel-level geometry, as illustrated in Fig. 2, existing generative frameworks inevitably face a fundamental trade-off between fidelity and efficiency. On the one hand, most models [18, 20, 25, 30, 31, 46, 71] inherit latent-space U-Net [57] architectures from pre-trained image generators [56] for efficiency. Such a modeling paradigm is not only restricted by the irreversible information loss of the VAE [32] bottleneck, but also struggles to capture long-range dependencies necessary for global consistency at high resolutions. On the other hand, while recent works [70] employ pixel-space Diffusion Transformers (DiTs) [50] to eliminate the latent bottleneck and maintain long-range coherence, their O(N2)\mathcal{O}(N^2) complexity becomes computationally prohibitive at high resolutions. Moreover, the iterative multi-step sampling in both paradigms multiplies these overheads. Under these constraints, achieving a trajectory that harmonizes pixel-level precision with inference efficiency remains an open challenge.

In search of an architecture capable of capturing long-range consistency in pixel-space without quadratic complexity or multi-step overhead, an intuitively viable choice is to adopt linearized alternatives [29] for attention mechanisms [63] in DiTs with a one-step sampling strategy. Yet, such naive adaptation incurs significant precision loss compared to vanilla DiTs [50]. Specifically, we identify this degradation as stemming from two distinct scales: a patch-level structural misalignment that disrupts global consistency, and a pixel-level fidelity loss that

Figure

Fig. 2: Visualization of test-time resolution scaling using our model. A depth estimation model produces more fine-grained details as input resolution increases.

hampers fine-grained geometric recovery. Beyond these architectural weaknesses, the widely-adopted v-prediction trajectories [1, 42, 43] exhibit severe instability in pixel-space when restricted to a single forward pass, yielding noise-corrupted results without iterative refinement.

To address these multifaceted challenges, we propose three core innovations. First, we introduce the Patch-level Consistency Module (PCM) to rectify structural misalignment. The PCM leverages pre-trained semantic priors [49] to enforce global coherence while incorporating local convolutional biases to ensure seamless structural continuity across adjacent patches. Second, to mitigate pixel-level fidelity loss, we develop the Pixel-level Refinement Module (PRM), which employs skip-connection-based pixel correspondence to recover sharp boundaries and intricate structures. Third, we stabilize one-step inference by adopting direct pixel-space x-prediction over the volatile v-prediction. Grounded in the manifold assumption [38], which posits that natural data resides on a low-dimensional manifold, whereas noise-corrupted quantities do not, this strategy targets the clean data manifold directly, effectively suppressing the sampling instability inherent in one-step generation. Building on these components, we present Lapis, the first linear-attention-based pixel-space generative framework to enable consistent and high-fidelity depth reconstruction in a single forward pass while maintaining O(N)\mathcal{O}(N) computational scaling in the diffusion process.

Experiments across 12 benchmarks demonstrate that Lapis achieves SOTA accuracy and boundary sharpness, consistently surpassing leading discriminative and generative baselines across varying resolutions with competitive efficiency, as shown in Fig. 1. For instance, at 1080P resolution, Lapis maintains a 5.1 average AbsRel (Tab. 2), a 10% relative improvement over the strongest competitor, while requiring only 13% of its latency (Tab. 4). These results underscore Lapis as an efficient and high-quality solution for high-resolution 3D perception.

Our main contributions are summarized as follows:

  • We present Lapis, the first linearized pixel-space diffusion model for monocular depth estimation. It enables linear-time depth diffusion within a single forward pass, significantly outperforming generative alternatives in efficiency.

B. Liu et al.

– We introduce a coarse-to-fine strategy to rectify the structural and detail degradation of linear attention. This includes a Patch-level Consistency Module that restores global structural coherence by integrating semantic and spatial priors, and a Pixel-level Refinement Module that recovers fine-grained geometric details via skip-connection-based pixel correspondence.

– We leverage the manifold assumption to address the unstable one-step pixel-space sampling via a direct x-prediction strategy. This approach effectively suppresses sampling noise and produces clean depth maps.

– Extensive evaluations show that Lapis achieves SOTA accuracy and boundary sharpness across multiple benchmarks while maintaining competitive latency, offering a holistic solution for high-resolution 3D perception.

References (77)