arXiv:2610.41190cs.CVOct 2026

Manuscript Offprint

arXiv:2610.41190

FlowMoDE: Coarse-to-fine Flow Matching for Detail-aware Sim-to-Real Monocular Depth Estimation

Liangjing Shao, Wanhao Liu, Jinsong Lin, Zhiwei Fang, Hongliang Ren

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Liangjing Shao1,2^{1,2}, Wanhao Liu2^{2}, Jinsong Lin1^{1}, Zhiwei Fang1^{1}, Hongliang Ren1,2,#^{1,2,\#}

Abstract—Monocular depth estimation is a fundamental capability for 3D spatial perception in robotic and intelligent systems. While data-driven discriminative methods have achieved compelling performance for monocular depth estimation, generative approaches can reconstruct fine structural details with stronger generalization. However, most existing generative diffusion models suffer from low inference efficiency caused by multi-step sampling, whereas single-step diffusion models struggle to recover high-fidelity depth maps. To mitigate these drawbacks, this paper presents FlowMoDE, a coarse-to-fine flow-matching-based framework for efficient, structure-aware monocular depth estimation supporting sim-to-real and cross-scene generalization. The core architecture first conducts coarse-level decoding conditioned on diffused features extracted from a pre-trained semantic encoder, and subsequently restores fine-grained structural patterns via expanded decoding layers. Trained exclusively on a single synthetic indoor dataset, our proposed method outperforms prior methods across five real-world indoor and outdoor datasets, yielding an average 14.1% reduction in relative error against state-of-the-art works as well as 9.9% reduction in chamfer distance for point cloud reconstruction. We further validate the generalization capability of FlowMoDE on realistic robotic scenes, with qualitative comparisons against state-of-the-art methods. The project page is https://flowmode-shao.netlify.app/.

I. INTRODUCTION

Monocular Depth Estimation (MDE) is a core 3D perception technique that underpins a wide range of robotic downstream tasks, including scene reconstruction, robotic manipulation, and autonomous navigation. [1], [2] Due to its practical significance, numerous MDE methods have been developed, which are generally divided into discriminative and generative paradigms. Despite delivering promising overall depth prediction performance, discriminative methods inherently suffer from inaccurate depth estimation at object boundaries and fine-grained scene details, which severely degrades the geometric consistency of predicted depth maps. In contrast, generative models alleviate such local detail degradation issues yet introduce inevitable limitations: high computational cost and poor global scene contextual information, resulting in constrained overall prediction accuracy and robustness in complex scenarios.

Discriminative architectures [3], [4], [5], [6] commonly adopt a large-patch Vision Transformer encoder, paired with a convolutional up-sampling decoder. The encoder encodes

Figure

Methods More + BetterStructural DetailsData EfficiencyComputational Cost
Discriminative--++
SOTA Generative++-
Ours+++++

Fig. 1. Comparison with existing works. Qualitative comparison in green box demonstrates the outstanding structural details from our method, compared with state-of-the-art discriminative model MoGe-2 and generative model PPD. Bubble graph with purple box denotes comparison of performance, data efficiency and computational cost of the proposed model and existing models.

input images into a low-resolution token grid and leverages global self-attention to capture comprehensive semantic information and scene layout. Such tokenization inevitably degrades pixel-level signals and fine-grained high-frequency details in the encoding phase. [7] Once these fine details are discarded in early encoding stages, convolutional up-sampling modules alone cannot completely restore them. As illustrated by the qualitative results within the green box in Fig. 1, this issue yields erroneous depth predictions for fine-scale structures including wires, holes, and edges of distant objects. Moreover, discriminative depth models typically require large-scale training datasets covering diverse scenarios to achieve competitive performance. [8], [9] This imposes substantial costs for data collection and hinders their deployment in specialized scenarios where data acquisition is

¹ Liangjing Shao, Jinsong Lin, Zhiwei Fang and Hongliang Ren are with Department of Electronic Engineering, The Chinese University of Hong Kong. ² Liangjing Shao, Wanhao Liu and Hongliang Ren are also with Shenzhen Loop Area Institute. #Corresponding Author: hlren@ee.cuhk.edu.hk challenging, such as surgical environments. The comparison of data efficiency between generative models and discriminative models is demonstrated in purple box of Fig. 1.

Current generative models [10], [11] commonly fine-tune Stable Diffusion to perform depth estimation. These approaches rely on a Variational Autoencoder (VAE) to project depth maps into a latent space. Such compression inherently sacrifices edge sharpness and structural fidelity. Therefore, recent studies have attempted to conduct diffusion directly in the pixel space for better recovery of structural details.[7] Nevertheless, the multi-step pixel-wise diffusion process introduces high computational overhead. While several existing approaches [12], [13] adopt single-step Stable Diffusion for depth estimation, the heavy VAE encoder and decoder still create significant computation bottlenecks. Meanwhile, single-step denoising can limit the performance of depth estimation.

In this work, we propose FlowMoDE, a coarse-to-fine flow matching model for computationally efficient sim-to-real pixel-accurate depth estimation. A lightweight decoder named as Semantic Decoder extracts global semantic features from a pre-trained discriminative encoder. Guided by global features, our model performs efficient decoding to establish a coarse depth distribution through Coarse Decoder. A subsequent Fine-grained Decoder with few wide Transformers further recovers delicate structural details to produce the final pixel-perfect depth map. Our main contributions can be summarized as the following:

  1. We propose a novel flow matching framework for sim-to-real monocular depth estimation, which can provide structure-aware depth maps with lower computational cost.

  2. We introduce coarse-to-fine semantic-guided velocity prediction which efficiently extracts coarse features based on semantic prior and further recover delicate details.

  3. The proposed model is only trained on synthetic indoor dataset, but achieve state-of-the-art performance across five diverse datasets including both indoor and outdoor scenes. Further application of the proposed model in robotic scenes demonstrate the generalization and potential ability for spatial perception of robots.

References (33)