PINE: Point, Instance and Normal Estimation in One-Step Diffusion Model

Media reports Hugging Face Papers Source language: Chinese

PINE introduces a one-step Omni Diffusion Transformer that predicts point, normal, and instance maps simultaneously, achieving state‑of‑the‑art results with 5.7× speedup.

Full text

PINE: Point, Instance and Normal Estimation in One-Step Diffusion Model

Zeyu Ren1 Jie Ni2∗ Rui Qian3∗ Jiahao Wei3 Hao Tang4 Yongtai Liu5 Zeyu Zhang4† 1The University of Melbourne 2Southeast University 3Fudan University 4Peking University 5Hanyang University *Corresponding authors: njie@seu.edu.cn, qiianruii@gmail.com. †Project lead.

Abstract

Understanding a scene requires both geometry and semantics: geometry recovers its spatial structure, and semantics separates it into objects. Current models obtain the two from separate networks or separate passes. We present PINE, a one-step Omni Diffusion Transformer that predicts the point map, the surface normals, and the instance map of an image in one forward pass. PINE treats each map as a token stream, and a stream mask decides which streams interact. A camera-aware ray encoding positions every token by its camera ray rather than its pixel. Grounding attention adds the affinity of pretrained DINOv3 features to the attention logits. Trained on only 139K synthetic images for geometry, PINE achieves state-of-the-art point maps whether or not intrinsics are given and the best average rank on surface normals. It also exceeds SAM on large objects with less than 1% of its training images, and it predicts all three maps 5.7×\times faster than MoGe-3 with SAM. Website: https://aigeeksgroup.github.io/PINE

1 Introduction

Understanding a scene requires both geometry and semantics [17, 75]. Geometry describes where each surface lies and how it is oriented, and semantics describes which surfaces form one object. Specialist models [68, 82] now recover each part from a single image with high accuracy. The Depth Anything [71, 72, 30] and MoGe [58, 59, 24] series predict depth, point map and normals. Diffusion estimators such as Marigold [19, 42] and Lotus [14] predict detailed depth and surface normals, and GenPercept [64] and E2E-FT [37] reduce them to one sampling step. The SAM series [21, 49] segments any object under a prompt, and gen2seg [20] colors every instance with a generative model.

None of these models predicts all three maps in one forward pass. A full parse of one image chains a geometry model and a segmentation model. Their latencies and memory add up, and their maps do not share one camera. Point-map models [59, 24, 33, 45, 30] can take the intrinsics, whereas diffusion normal estimators [19, 11, 73, 14, 37] take the image alone, even when the intrinsics are given. Generalist models such as 4M [40], Unified-IO [35], DICEPTION [78] and OneDiffusion [25] cast multiple tasks into one network. They do not remove the cost: DICEPTION runs one forward pass per map, and OneDiffusion needs multiple sampling steps for each map. A direct solution is one Diffusion Transformer that predicts all maps together in one step. Yet a Diffusion Transformer [43] is designed for RGB images. The three maps break three of its assumptions. The instance map has no fixed target, because it is correct under any permutation of its colors. The point map places each depth along the camera ray of its pixel, but a transformer indexes its tokens by pixel [43]. A full view and a zoomed crop then give one scene point two positions. The normals and the instance map are constant over surfaces and objects, but attention recovers this grouping from the tokens alone. In practice, the attention of a patch spreads over other objects.

Based on these observations, we present PINE, a one-step Omni Diffusion Transformer that predicts the point map, the normals and the instance map in one forward pass, as shows. PINE revises these three assumptions. For the target, PINE represents each map as a token stream. The geometry streams follow flow matching at their own timesteps, while the instance stream regresses its map with a clustering loss. A stream mask keeps the instance stream apart from the geometry noise. For the position, the camera-aware ray encoding positions the tokens of every stream by the rays of one camera. When the intrinsics are unknown, a default camera takes their place. For the grouping, grounding attention writes the affinity of DINOv3 features [54] into the attention logits of the normal and instance streams. In summary, our contributions are as follows:

•

We present PINE, a one-step Omni Diffusion Transformer. One forward pass replaces one specialist model per map and multiple sampling steps of diffusion estimators.

•

We introduce a camera-aware ray encoding, which positions tokens by camera rays whether or not intrinsics are given, and grounding attention, which gives the normal and instance streams the grouping of their pixels.

•

PINE achieves state-of-the-art point maps whether or not intrinsics are given and the best average rank on surface normals, and it exceeds SAM on large objects with less than 1% of its training images. It runs 5.7 times faster than MoGe-3 combined with SAM.

2 Related Work

Figure 2: Overview of PINE. The point, normal and instance streams embed their maps with the frozen DINOv3 features and pass through DiT blocks as one sequence. In attention, the stream mask decides which streams interact, ray positions encode the intrinsics and grounding attention adds the DINOv3 affinity. Each stream decodes its own map, and one step at inference gives all three maps.
Figure 2: Overview of PINE. The point, normal and instance streams embed their maps with the frozen DINOv3 features and pass through DiT blocks as one sequence. In attention, the stream mask decides which streams interact, ray positions encode the intrinsics and grounding attention adds the DINOv3 affinity. Each stream decodes its own map, and one step at inference gives all three maps.

Figure 2: Overview of PINE. The point, normal and instance streams embed their maps with the frozen DINOv3 features and pass through DiT blocks as one sequence. In attention, the stream mask decides which streams interact, ray positions encode the intrinsics and grounding attention adds the DINOv3 affinity. Each stream decodes its own map, and one step at inference gives all three maps.

Monocular Geometry Estimation.

MiDaS [47, 48] and Depth Anything [71, 72] train on mixed or large unlabeled data to predict affine-invariant depth. DUSt3R [60] regresses point maps directly, and MoGe [58, 59, 24] predicts affine-invariant point maps from a single image. Without intrinsics, the field of view is ambiguous. Metric3D [74], UniDepth [44, 45], Depth Pro [3], DA3 [30] and FoundationGeo [33] estimate the intrinsics or take them as input. DSINE [1] feeds per-pixel ray directions to a normal estimator. All of these models index their features by pixels and predict geometry only. GTA [39] and PRoPE [28] encode the relative cameras of multiple views in attention, whereas PINE positions the tokens of one image by their rays.

Diffusion for Dense Prediction.

Marigold [19] fine-tunes a pretrained latent diffusion model [16, 51] into a zero-shot depth estimator. GeoWizard [11], StableNormal [73] and Marigold V2 [42] extend this recipe to normals. FE2E [56] starts from an image editing model. GeoNeXt [69] starts from a video generative model and predicts depth and normals as the next frames. GenPercept [64], Lotus [14] and E2E-FT [37] reduce the multiple sampling steps of these estimators to one deterministic step. TransNormal-2 [27] corrects the decoding errors of the autoencoder at object boundaries with pixel-space losses and a refinement module. PPD [65], PointDiT [66] and Lapis [32] avoid the detail loss of the autoencoder by denoising in pixel space [29]. Each of these estimators predicts one or two geometric maps, whereas PINE predicts all three maps in one step.

Instance Segmentation.

Instance segmentation has moved from closed label sets [15, 6] to class-agnostic entities [36]. SimpleClick [34] segments the object under a click. The SAM series [21, 49] accepts any prompt and scales this ability with a large mask corpus. TokenCut [63], Deep Spectral Methods [38] and CutLER [61] group pixels into objects by the affinities of self-supervised features [41, 54]. gen2seg [20] fine-tunes a generative model [51] to color every instance with a clustering loss [9]. PINE predicts instances as one stream of a geometry model and writes the affinity of DINOv3 features into its attention.

Omni Models for Dense Prediction.

Multi-task networks such as UberNet [23] and Omnidata [10] share one backbone across geometric and semantic tasks. Taskonomy [75] measures how these tasks transfer. Generalist models cast multiple tasks into one interface, such as images in Painter [62] and token sequences in 4M [40] and Unified-IO [35]. DICEPTION [78] trains one diffusion model for all tasks but runs one forward pass per task. GenCeption [57] turns a video generation model into one perception model, where a text prompt selects the task. UniDiffuser [2] and OneDiffusion [25] give each modality or view its own timestep, so that any of them can condition the others over multiple sampling steps. PINE is an omni model of a different form: each map is a token stream, each geometry stream has its own timestep, and one forward pass gives all maps.

3 Method

We introduce PINE, a one-step diffusion model that takes an RGB image and, optionally, its intrinsics, and predicts an affine-invariant point map, surface normals and an instance map. Figure 2 shows its pipeline. The Omni Diffusion Transformer of Sec. 3.1 processes the three maps as token streams in one sequence. The camera-aware ray encoding of Sec. 3.2 positions every token by its camera ray. Grounding attention in Sec. 3.3 adds the DINOv3 affinity to the attention logits of the normal and instance streams. Section 3.4 describes the training, and Algorithm 1 lists one training step and the one-step inference.

3.1 Omni Diffusion Transformer

Given an RGB image II and, optionally, its intrinsic matrix KK, PINE predicts the three maps as

(P,N,C)=Φθ​(I,K),(P,N,C)=\Phi_{\theta}(I,K), (1)

where PP is an affine-invariant point map whose zz channel is the depth, NN holds the surface normals and CC is an instance map that assigns every object its own color. PP and NN have one correct value per pixel, whereas CC is correct under any permutation of its colors and has no fixed target to denoise toward. We therefore learn PP and NN by flow matching and CC with a clustering loss, and Φθ\Phi_{\theta} represents the three maps as token streams to combine both objectives.

Pixel-Space Diffusion.

Latent diffusion estimators [19, 11] decode their maps through an autoencoder, whose lossy reconstruction smooths depth edges into flying points [65, 66]. PINE denoises the maps in pixel space and avoids this loss. We index the streams by s∈{p,n,i}s\in\{\text{p},\text{n},\text{i}\}. Each geometry map xsx_{s}, with xp=Px_{\text{p}}=P and xn=Nx_{\text{n}}=N, is noised at timestep ts∈[0,1]t_{s}\in[0,1] as

zs=ts​xs+(1−ts)​σ​ϵs,ϵs∼𝒩⁡(0,𝐈),z_{s}=t_{s}\,x_{s}+(1-t_{s})\,\sigma\epsilon_{s},\qquad\epsilon_{s}\sim\mathcal{N}(0,\mathbf{I}), (2)

where ts=1t_{s}=1 gives the clean map and σ\sigma is the noise scale. The network predicts the clean maps x^s\hat{x}_{s} from the inputs of all streams, and the predicted and target velocities are

v^s=x^s−zs1−ts,vs=xs−zs1−ts.\hat{v}_{s}=\frac{\hat{x}_{s}-z_{s}}{1-t_{s}},\qquad v_{s}=\frac{x_{s}-z_{s}}{1-t_{s}}. (3)

For the instance stream, the random start of Eq. 2 is unnecessary: CC has no fixed target to reach, and a deterministic map needs no sampling. We fix its start at zi=0z_{\text{i}}=0 and its timestep at ti=0t_{\text{i}}=0, the inference timestep of all streams. The stream regresses its prediction x^i\hat{x}_{\text{i}} of CC from image features in one step.

Stream Mask.

Each stream embeds its input map into LL patch tokens, concatenates them with the frozen DINOv3 features [54] of the same patches and projects them to tokens XsX_{s}. The three streams form one sequence X=[Xp;Xn;Xi]X=[X_{\text{p}};X_{\text{n}};X_{\text{i}}] of 3​L3L tokens, which passes through DiT blocks [43] with adaLN-Zero conditioned on the timestep of each stream. Each stream decodes its output tokens with its own linear layer. Let sjs_{j} denote the stream of token jj, and let qjq_{j} and klk_{l} be the query of token jj and the key of token ll. Every attention layer adds a stream mask Mj​lM_{jl} to the logits as

aj​l=softmaxl(ℓj​l),ℓj​l=qj⊤​kld+Mj​l,a_{jl}=\operatorname*{softmax}_{l}\big(\ell_{jl}\big),\qquad\ell_{jl}=\frac{q_{j}^{\top}k_{l}}{\sqrt{d}}+M_{jl}, (4)

where dd is the head dimension and

Mj​l={0,sj=slorsj,sl∈{p,n},−∞,otherwise.M_{jl}=\begin{cases}0,&s_{j}=s_{l}\ \text{or}\ s_{j},s_{l}\in\{\text{p},\text{n}\},\\ -\infty,&\text{otherwise}.\end{cases} (5)

The point map gives the position of every surface, and the normals give its orientation. The two geometry streams thus attend to each other. The mask blocks attention between the geometry and instance streams in both directions. The instance map thus does not depend on the noise of the geometry streams during training and stays a deterministic function of the image.

Algorithm 1 One training step of PINE

0: image II; intrinsics KK or ∅\varnothing; targets xpx_{\text{p}}, xnx_{\text{n}} and instance ids; reference intrinsics KrefK_{\text{ref}}; weights θ\theta

0: updated weights θ\theta

1: F←DINOv3​(I)F\leftarrow\text{DINOv3}(I) ⊳\triangleright frozen

2: if K=∅K=\varnothing then

3: K←K\leftarrow default camera, e←e\leftarrow learned embedding

4: else

5: e←0e\leftarrow 0

6: end if

7: ρj←\rho_{j}\leftarrow ray position of every patch jj ⊳\triangleright Eq. 6

8: for s∈{p,n}s\in\{\text{p},\text{n}\} do

9: sample ts∈[0,1]t_{s}\in[0,1] and ϵs∼𝒩⁡(0,𝐈)\epsilon_{s}\sim\mathcal{N}(0,\mathbf{I})

10: zs←ts​xs+(1−ts)​σ​ϵsz_{s}\leftarrow t_{s}\,x_{s}+(1-t_{s})\,\sigma\epsilon_{s} ⊳\triangleright Eq. 2

11: end for

12: zi←0z_{\text{i}}\leftarrow 0, ti←0t_{\text{i}}\leftarrow 0

13: Xs←Embeds​(zs,F,ρ)X_{s}\leftarrow\text{Embed}_{s}(z_{s},F,\rho) for s∈{p,n,i}s\in\{\text{p},\text{n},\text{i}\}

14: X←[Xp;Xn;Xi]X\leftarrow[X_{\text{p}};X_{\text{n}};X_{\text{i}}]

15: gj←Linear​(LayerNorm​(Fj))g_{j}\leftarrow\text{Linear}(\text{LayerNorm}(F_{j})) for every patch jj

16: for every DiT block and head do

17: rotate qjq_{j} and klk_{l} by ρj\rho_{j} and ρl\rho_{l}

18: ℓj​l←qj⊤​kl/d+Mj​l\ell_{jl}\leftarrow q_{j}^{\top}k_{l}/\sqrt{d}+M_{jl} ⊳\triangleright Eqs. 4 and 5

19: if sj=sl∈{n,i}s_{j}=s_{l}\in\{\text{n},\text{i}\} then

20: ℓj​l←ℓj​l+(U​gj)⊤​(V​gl)\ell_{jl}\leftarrow\ell_{jl}+(Ug_{j})^{\top}(Vg_{l}) ⊳\triangleright Eq. 8

21: end if

22: X←Block​(X,softmaxl⁡(ℓj​l),ts,e)X\leftarrow\text{Block}\big(X,\operatorname{softmax}_{l}(\ell_{jl}),t_{s},e\big)

23: end for

24: x^s←Linears​(Xs)\hat{x}_{s}\leftarrow\text{Linear}_{s}(X_{s}) for s∈{p,n,i}s\in\{\text{p},\text{n},\text{i}\}

25: update θ\theta with ∇θℒ\nabla_{\theta}\mathcal{L} ⊳\triangleright Eq. 9

Inference: set ts=0t_{s}=0 and zs=σ​ϵsz_{s}=\sigma\epsilon_{s} in lines 9 and 10, skip line 25 and return (P,N,C)=(x^p,x^n,x^i)(P,N,C)=(\hat{x}_{\text{p}},\hat{x}_{\text{n}},\hat{x}_{\text{i}}). If K=∅K=\varnothing, recover the focal length by Eq. 7.

3.2 Camera-Aware Ray Encoding

Figure 3: Camera-aware ray encoding. (a) The position ρj\rho_{j} of token jj is the point where its ray meets the image plane of a reference camera. (b) With ray positions, a zoomed crop lands inside the full view, and the point at the red cross keeps one position. (c) With patch indices, the crop has its own grid and gives the same point a second position.
Figure 3: Camera-aware ray encoding. (a) The position ρj\rho_{j} of token jj is the point where its ray meets the image plane of a reference camera. (b) With ray positions, a zoomed crop lands inside the full view, and the point at the red cross keeps one position. (c) With patch indices, the crop has its own grid and gives the same point a second position.

Figure 3: Camera-aware ray encoding. (a) The position ρj\rho_{j} of token jj is the point where its ray meets the image plane of a reference camera. (b) With ray positions, a zoomed crop lands inside the full view, and the point at the red cross keeps one position. (c) With patch indices, the crop has its own grid and gives the same point a second position.

A point map back-projects every pixel 𝐮\mathbf{u} along its camera ray, P⁡(𝐮)=Z⁡(𝐮)​K−1​[𝐮,1]⊤P(\mathbf{u})=Z(\mathbf{u})\,K^{-1}[\mathbf{u},1]^{\top} with depth ZZ. The intrinsics thus fix the direction along which each depth is placed. PINE therefore positions every token by the ray of its patch instead of its pixel.

Ray Positions.

The ray through the center 𝐮j\mathbf{u}_{j} of patch jj meets the image plane of a reference camera with intrinsics KrefK_{\text{ref}} at the pixel 𝐮j′\mathbf{u}^{\prime}_{j}, given by

[𝐮j′,1]⊤=Kref​K−1​[𝐮j,1]⊤.[\mathbf{u}^{\prime}_{j},1]^{\top}=K_{\text{ref}}K^{-1}[\mathbf{u}_{j},1]^{\top}. (6)

The position of token jj is this pixel in patch units, ρj=𝐮j′/p−12\rho_{j}=\mathbf{u}^{\prime}_{j}/p-\tfrac{1}{2}, where pp is the patch size. When K=KrefK=K_{\text{ref}}, ρj\rho_{j} is the integer patch index of token jj. Patch indices are thus the special case in which every image comes from one fixed camera. The positions replace the patch indices in the sine-cosine encodings that form XsX_{s} and in the 2D rotary encoding of the queries and keys. Since the rotary encoding makes the positional part of qj⊤​klq_{j}^{\top}k_{l} a function of ρl−ρj\rho_{l}-\rho_{j}, attention sees the offset between two rays rather than their distance in pixels. Figure 3a shows this construction. With ray positions in Fig. 3b, a zoomed crop lands inside the full view, and the point at the red cross keeps one position. With patch indices in Fig. 3c, the crop has its own grid and gives the same point a second position.

Unknown Intrinsics.

Without intrinsics, PINE uses a default camera with the field of view of the reference camera and its principal point at the image center. This camera places the tokens on a regular grid like patch indices. Given that these positions carry no information about the true intrinsics, a learned embedding added to the timestep condition of every stream marks the missing intrinsics. PINE trains on both cases, and one model serves images whether or not intrinsics are given. After prediction, PINE recovers the focal length from its own point map, as MoGe does [58]. With square pixels and the principal point at the image center, the shifted point map lies on the camera rays,

Kf​(P⁡(𝐮)+Δ)∝[𝐮,1]⊤for every pixel ​𝐮,K_{f}\big(P(\mathbf{u})+\Delta\big)\propto[\mathbf{u},1]^{\top}\quad\text{for every pixel }\mathbf{u}, (7)

where KfK_{f} is the intrinsic matrix with focal length ff and Δ∈ℝ3\Delta\in\mathbb{R}^{3} is the unknown shift of the affine-invariant point map. For a fixed Δz\Delta_{z}, Eq. 7 is linear in 1/f1/f, Δx\Delta_{x} and Δy\Delta_{y}, which we solve by least squares. A one-dimensional search over Δz\Delta_{z} completes the solution.

3.3 Grounding Attention

Figure 4: Grounding attention. Each row shows an image and the attention of the query patch at the red cross, without and with grounding attention. Grounding attention keeps the attention on the region of the query patch.
Figure 4: Grounding attention. Each row shows an image and the attention of the query patch at the red cross, without and with grounding attention. Grounding attention keeps the attention on the region of the query patch.

Figure 4: Grounding attention. Each row shows an image and the attention of the query patch at the red cross, without and with grounding attention. Grounding attention keeps the attention on the region of the query patch.

A normal is constant over a planar surface, and an instance label is constant over an object. Both maps thus depend on how pixels group into surfaces and objects. Self-supervised ViT features already encode this grouping in their affinities [63, 38]. Yet in Eq. 4, the DINOv3 features enter only the tokens, and attention infers from them which tokens should exchange information. PINE therefore writes the affinity into the attention logits as a bias. A layer normalization and a linear projection map the DINOv3 feature of patch jj to a grounding code gjg_{j}. For normal-normal and instance-instance pairs, every layer adds a bias to ℓj​l\ell_{jl} as

bj​l=(U​gj)⊤​(V​gl),b_{jl}=(Ug_{j})^{\top}(Vg_{l}), (8)

where each head of each block has its own learned low-rank projections UU and VV. The bias raises the attention between patches that look alike regardless of their positions and of the current geometry estimate. Figure 4 shows that grounding attention moves the attention of a patch onto its own object. The point stream does not use grounding attention, because depth also depends on the global layout: two walls that look alike can lie at different depths.

3.4 Training

Training Losses.

We train PINE end-to-end with

ℒ=ℒvel+λrel​ℒrel+λgrad​ℒgrad+ℒsink+λinst​ℒinst,\mathcal{L}=\mathcal{L}_{\text{vel}}+\lambda_{\text{rel}}\mathcal{L}_{\text{rel}}+\lambda_{\text{grad}}\mathcal{L}_{\text{grad}}+\mathcal{L}_{\text{sink}}+\lambda_{\text{inst}}\mathcal{L}_{\text{inst}}, (9)

where λrel\lambda_{\text{rel}}, λgrad\lambda_{\text{grad}} and λinst\lambda_{\text{inst}} weight the terms. Let Ω\Omega denote the valid non-sky pixels of a target and ⟨⋅⟩Ω\langle\cdot\rangle_{\Omega} the mean over them. The velocity loss supervises both streams via Eq. 3,

ℒvel=∑s∈{p,n}⟨‖v^s−vs‖2⟩Ω.\mathcal{L}_{\text{vel}}=\sum_{s\in\{\text{p},\text{n}\}}\big\langle\|\hat{v}_{s}-v_{s}\|^{2}\big\rangle_{\Omega}. (10)

The other losses act on the clean predictions. The relative point loss ℒrel=⟨‖x^p−xp‖1/‖xp‖⟩Ω\mathcal{L}_{\text{rel}}=\big\langle\|\hat{x}_{\text{p}}-x_{\text{p}}\|_{1}/\|x_{\text{p}}\|\big\rangle_{\Omega} divides the error of every point by its distance to the center. The gradient loss ℒgrad\mathcal{L}_{\text{grad}} follows MiDaS [47] and sharpens depth edges. The normal loss ℒsink\mathcal{L}_{\text{sink}} follows Marigold V2 [42], and the instance loss ℒinst\mathcal{L}_{\text{inst}} follows gen2seg [20], as detailed in Appendix A.

4 Experiments

4.1 Experimental Setups

Implementation Details.

PINE starts from the pretrained weights of PointDiT [66] and trains on the 139K synthetic and 24K real images of Tab. 7. Its B, L and H models use a frozen DINOv3 ViT-B/16, ViT-L/16 and ViT-H+/16 [54]. The reference camera has the focal length fref=420f_{\text{ref}}=420 pixels and its principal point at the image center. We clamp the denominator 1−ts1-t_{s} of Eq. 3 at 0.05. We crop each training image at a random aspect ratio in [0.5,3.5][0.5,3.5], flip it and jitter its color, and Appendix A lists the full augmentation. The loss weights are λrel=0.1\lambda_{\text{rel}}=0.1, λgrad=0.5\lambda_{\text{grad}}=0.5 and λinst=0.02\lambda_{\text{inst}}=0.02, and the sky pixels add the error of Eq. 10 with a weight of 0.01. We train for 20 epochs with AdamW, a constant learning rate of 10−510^{-5} and a batch size of 64 in bfloat16. Training PINE-L takes about 20 hours on 8 A100 GPUs.

Evaluation.

We evaluate point maps and depth on 3,444 images from DIODE [55], KITTI [12], NYUv2 [53], ETH3D [52], HAMMER [18], iBims-1 [22] and Booster [46], and we report the relative error Rel and the accuracy δ1\delta_{1}. We evaluate normals on NYUv2 [53], ScanNet [8], iBims-1 [22] and Sintel [4] with the protocol of DSINE [1], and we report the mean angular error and the accuracy within 11.25∘11.25^{\circ}. We evaluate instances on COCOexc{}_{\text{exc}} [31], DRAM [7], EgoHOS [76], iShape [70] and PIDRay [77], where COCOexc{}_{\text{exc}} holds the 46 COCO categories that gen2seg [20] excludes from training. Each method takes one point prompt per instance, and we report the mIoU of the resulting masks. Appendix B gives the alignment, the metric definitions and the prompt protocol.

Table 1: Average results on point maps and depth over the 3,444 images of the seven datasets. Params and Latency are from Tab. 13, and the latency of PINE includes its normals and instances. Best results are in bold, separately for the settings with and without intrinsics.

Method Point map Depth Params (B) Latency (ms)

Relp{}^{\text{p}} ↓\downarrow δ1p\delta_{1}^{\text{p}} ↑\uparrow Reld{}^{\text{d}} ↓\downarrow δ1d\delta_{1}^{\text{d}} ↑\uparrow

Without intrinsics

GeometryCrafter [67] 5.45 96.75 3.52 97.84 2.67 964.7

PPD [65] 5.54 96.59 3.88 97.78 0.80 691.9

Depth Pro [3] 5.71 96.71 3.72 97.74 0.95 909.3

UniDepthV2 [45] 4.45 97.35 2.86 98.52 0.35 23.3

DA3 [30] 4.77 96.63 3.22 97.81 1.36 97.3

MoGe [58] 4.21 97.45 3.10 98.01 0.31 86.0

MoGe-2 [59] 4.53 97.46 2.87 98.50 0.33 67.9

FoundationGeo [33] 4.57 97.71 2.95 98.52 0.31 90.1

MoGe-3 [24] 4.79 97.36 2.90 98.43 0.37 360.5

Marigold V2 [42] – – 3.55 98.59 21.4 491.6

PointDiT-B [66] 5.84 96.69 3.70 97.84 0.22 23.3

PointDiT-L [66] 4.90 97.42 3.15 98.22 0.77 45.8

PointDiT-H [66] 4.45 97.93 2.81 98.51 1.81 62.5

PINE-B 5.62 96.75 3.70 97.75 0.24 43.8

PINE-L 4.70 97.78 3.04 98.29 0.80 82.6

PINE-H 4.16 98.13 2.79 98.51 1.85 136.6

With intrinsics

Depth Pro [3] 4.53 97.35 3.72 97.74 0.95 909.3

UniDepthV2 [45] 3.70 97.95 2.87 98.52 0.35 23.3

DA3 [30] 3.96 97.10 3.17 97.89 1.36 97.3

MoGe-2 [59] 4.38 97.58 2.87 98.50 0.33 67.9

MoGe-3 [24] 4.70 97.35 2.90 98.43 0.37 360.5

FoundationGeo [33] 4.40 97.85 2.95 98.52 0.31 90.1

PINE-B 4.69 97.06 3.60 97.75 0.24 43.8

PINE-L 3.76 97.90 2.92 98.32 0.80 82.6

PINE-H 3.33 98.21 2.65 98.54 1.85 136.6

4.2 Main Results

Table 2: Quantitative comparison on zero-shot surface normal estimation. Mean angular error in degrees and accuracy within 11.25∘11.25^{\circ} under the full-frame protocol of DSINE. Best results are in bold, separately for the settings with and without intrinsics.

Method NYUv2 ScanNet iBims-1 Sintel Avg. Rank ↓\downarrow

Mean↓\downarrow 11.25∘↑11.25^{\circ}\uparrow Mean↓\downarrow 11.25∘↑11.25^{\circ}\uparrow Mean↓\downarrow 11.25∘↑11.25^{\circ}\uparrow Mean↓\downarrow 11.25∘↑11.25^{\circ}\uparrow

Without intrinsics

GeoWizard [11] 18.9 50.7 17.4 53.8 19.3 63.0 40.3 12.3 12.0

StableNormal [73] 18.6 53.5 17.1 57.4 18.2 65.0 36.7 14.1 11.0

DSINE [1] 16.4 59.6 16.2 61.0 17.1 67.4 34.9 21.5 9.3

Lotus-D [14] 16.2 59.8 14.7 64.0 17.1 66.4 32.3 22.4 7.8

E2E-FT [37] 16.5 60.4 14.7 66.1 16.1 69.7 33.5 22.3 7.6

FE2E [56] 16.2 59.6 13.8 67.2 15.1 70.6 31.2 22.3 5.5

Marigold V2 [42] 16.0 61.6 13.8 67.9 15.2 71.9 29.7 27.3 4.3

TransNormal-2 [27] 14.9 62.4 12.9 69.1 15.1 70.1 28.2 28.1 2.9

MoGe-3 [24] 14.7 62.3 12.8 68.9 14.8 70.1 26.4 29.1 2.4

PINE-B 16.4 59.2 15.3 63.0 16.5 68.5 30.4 24.1 8.0

PINE-L 15.7 61.9 14.1 66.4 15.5 70.9 27.5 29.6 4.3

PINE-H 15.3 63.1 13.3 69.2 15.1 71.8 25.6 32.5 1.8

With intrinsics

PINE-B 16.3 59.7 14.9 64.7 16.2 69.0 30.0 24.6 –

PINE-L 15.6 62.5 13.6 68.5 15.1 71.7 26.5 30.9 –

PINE-H 15.1 63.5 13.0 70.0 14.8 72.2 25.0 34.0 –

Table 3: Point-prompted instance segmentation. mIoU with one point prompt per instance, where L, M and S split COCOexc{}_{\text{exc}} into large, medium and small instances. ‡\ddagger: re-evaluated under our protocol; SimpleClick is taken from gen2seg, and †\dagger merges the instances of one class.

Method COCOexcL{}^{\text{L}}_{\text{exc}} COCOexcM{}^{\text{M}}_{\text{exc}} COCOexcS{}^{\text{S}}_{\text{exc}} DRAM EgoHOS iShape PIDRay

SAM (ViT-H) [21]‡ 58.7 60.5 57.2 49.8 58.2 40.9 44.2

SimpleClick [34] 1.4 0.6 0.2 2.4 1.6 1.6† 1.5

gen2seg [20]‡ 59.6 38.7 8.3 46.6 42.9 9.9 35.6

PINE-B 68.6 48.5 9.2 54.2 54.1 15.1 41.8

PINE-L 75.2 52.1 9.3 58.4 52.3 18.4 45.6

PINE-H 76.3 51.8 9.2 60.5 53.7 15.4 42.5

Table 4: Field-of-view estimation. Mean absolute error in degrees of the horizontal field of view recovered from the predicted point map without intrinsics. The Avg column is the sample-weighted mean over all 3,4443{,}444 images.

Method DIODE KITTI NYUv2 ETH3D HAMMER iBims-1 Booster Avg

MoGe-2 [59] 6.61 10.64 1.60 3.73 12.18 4.77 9.88 7.28

MoGe-3 [24] 7.70 12.02 1.61 4.00 13.75 5.54 11.78 8.22

FoundationGeo [33] 8.01 4.56 2.57 4.43 12.18 4.49 8.68 6.70

PointDiT-B [66] 8.11 17.65 5.54 20.11 17.48 6.70 8.12 13.08

PointDiT-L [66] 8.34 14.02 4.48 11.00 13.16 5.35 8.48 10.03

PointDiT-H [66] 9.38 19.70 6.88 12.92 19.30 6.81 7.26 13.46

PINE-B 7.97 5.76 7.30 9.90 6.66 6.26 7.59 7.33

PINE-L 7.34 5.45 7.69 7.80 4.97 4.93 5.16 6.48

PINE-H 7.76 4.91 4.01 6.97 3.70 3.86 5.63 5.35

Results on Point Maps and Depth.

PINE-H has the lowest average Relp\text{Rel}^{\text{p}} and the highest average δ1p\delta_{1}^{\text{p}} of all methods in Tab. 1 in both settings, although it also predicts normals and instances in the same forward pass. Without intrinsics, its largest gain is on HAMMER, where it lowers Relp\text{Rel}^{\text{p}} from 3.51 for PointDiT-H, the second-best method, to 2.96, by 16%. With intrinsics, it lowers the average Relp\text{Rel}^{\text{p}} to 3.33, against 3.70 for UniDepthV2. At every model size, PINE has a lower Relp\text{Rel}^{\text{p}} than PointDiT. This gain does not come from the additional training: PointDiT with our recipe reaches only 5.01 against 4.82 for PINE in Tab. 5. This shows the benefit of positioning tokens by camera rays rather than by pixels. The gain carries over to depth, where PINE-H has the lowest average Reld\text{Rel}^{\text{d}} in both settings, 2.79 without and 2.65 with intrinsics. Figure 5 compares the 3D shapes of PINE-H and the baselines.

Results on Surface Normals.

PINE-H has the best average rank of all methods in Tab. 2. Its largest gain is on Sintel, where it reaches a mean angular error of 25.6∘25.6^{\circ} against 26.4∘26.4^{\circ} for MoGe-3, the second-best method. It also raises the Sintel accuracy within 11.25∘11.25^{\circ} from 29.1% to 32.5%. PINE learns normals from only 139K synthetic images, while MoGe-3 trains on more than 8.9M frames. With intrinsics, PINE-H lowers its error further on all four datasets. Figure 5 shows the normals of PINE-H and baselines.

Figure 5: Qualitative comparison on point maps, depth, normals and instances. The red dot marks the point prompt of each instance. Arrows highlight the regions we significantly improved.
Figure 5: Qualitative comparison on point maps, depth, normals and instances. The red dot marks the point prompt of each instance. Arrows highlight the regions we significantly improved.

Figure 5: Qualitative comparison on point maps, depth, normals and instances. The red dot marks the point prompt of each instance. Arrows highlight the regions we significantly improved.

Results on Instances.

PINE-H exceeds SAM on large COCO objects and DRAM by 17.6 and 10.7 mIoU in Tab. 3. It also outperforms gen2seg, a diffusion-based instance model, on every benchmark. PINE learns instances from only 87K images, while SAM trains on 11M images with 1.1B masks. This shows that instances can be learned as an additional stream of a geometry model, without a large mask corpus. On small COCO objects, PINE-H trails SAM with 9.2 against 57.2 mIoU, since a small object covers only a few patches. Figure 5 shows that PINE-H gives more complete masks of large objects than gen2seg.

Results on Camera and Planes.

PINE-H recovers the field of view with the lowest average error in Tab. 4, 5.35∘5.35^{\circ} against 6.70∘6.70^{\circ} for FoundationGeo and 13.46∘13.46^{\circ} for PointDiT-H. Its largest gain is on HAMMER, where PINE-H reaches 3.70∘3.70^{\circ} against 19.30∘19.30^{\circ} for PointDiT-H and 12.18∘12.18^{\circ} for MoGe-2. At every model size, PINE lowers the field-of-view error of PointDiT, by up to 60% for PINE-H. The camera-aware ray encoding thus lets PINE recover the intrinsics. On iBims-1, PINE-H lowers the planarity error of PointDiT-H from 0.62 to 0.54 cm in Tab. 16.

Figure 6: Lateral and depth error with and without the camera-aware ray encoding. (a) Input image with five marked pixels on one row. (b) Top view of the points of this row. Each arrow points from the ground-truth point of a marked pixel to its predicted point. (c) The error of pixel 2, split into a lateral part εx​y\varepsilon_{xy} and a depth part εz\varepsilon_{z}.
Figure 6: Lateral and depth error with and without the camera-aware ray encoding. (a) Input image with five marked pixels on one row. (b) Top view of the points of this row. Each arrow points from the ground-truth point of a marked pixel to its predicted point. (c) The error of pixel 2, split into a lateral part εx​y\varepsilon_{xy} and a depth part εz\varepsilon_{z}.

Figure 6: Lateral and depth error with and without the camera-aware ray encoding. (a) Input image with five marked pixels on one row. (b) Top view of the points of this row. Each arrow points from the ground-truth point of a marked pixel to its predicted point. (c) The error of pixel 2, split into a lateral part εx​y\varepsilon_{xy} and a depth part εz\varepsilon_{z}.

4.3 Ablation Study

Table 5 ablates the three components of PINE: the camera-aware ray encoding, the stream mask and grounding attention. To limit the cost, we train each variant as a PINE-L model on Hypersim and Virtual KITTI 2 only, and the other settings follow Sec. 4.1. To separate the gain of PINE from the additional training, we also train the point-only PointDiT architecture with the same recipe. The point maps, the depth and the normals use the benchmarks of Sec. 4.1, and the instances use COCOexc{}_{\text{exc}} and DRAM.

Table 5: Ablation of the camera-aware ray encoding, the stream mask and grounding attention. The first row is the final recipe with the mean and standard deviation over three seeds. PEimg{}_{\text{img}} and PEgeo{}_{\text{geo}} are sine-cosine positions on the image features and the geometry tokens, and X←\leftarrowY means that the tokens of X attend to the tokens of Y.

Camera-aware ray encoding Stream mask Grounding Relp{}^{\text{p}} ↓\downarrow Reld{}^{\text{d}} ↓\downarrow Normal ↓\downarrow Instance ↑\uparrow

RoPE PEimg{}_{\text{img}} PEgeo{}_{\text{geo}} N←\leftarrowP I←\leftarrowG G←\leftarrowI w/o KK with KK w/o KK with KK w/o KK with KK COCOexc{}_{\text{exc}} DRAM

✓ ✓ ✓ ✓ ✗ ✗ Attn. 4.82±\pm.03 3.94±\pm.03 3.15±\pm.01 3.05±\pm.02 18.23±\pm.03 17.81±\pm.02 33.0±\pm.05 54.8±\pm.28

✗ ✗ ✗ ✓ ✗ ✗ Attn. 5.05 5.05 3.14 3.14 18.23 18.23 33.1 52.3

✓ ✗ ✗ ✓ ✗ ✗ Attn. 5.05 4.69 3.21 3.10 18.33 18.18 33.1 55.0

✓ ✓ ✗ ✓ ✗ ✗ Attn. 5.04 4.77 3.20 3.02 18.22 17.84 32.6 53.3

✓ ✓ ✓ ✗ ✗ ✗ Attn. 4.81 3.91 3.16 3.03 18.23 17.94 33.0 53.9

✓ ✓ ✓ ✓ ✓ ✗ Attn. 4.93 3.97 3.18 3.06 18.25 17.80 32.4 55.3

✓ ✓ ✓ ✓ ✓ ✓ Attn. 4.96 3.93 3.15 3.04 18.29 17.83 33.0 53.4

✓ ✓ ✓ ✓ ✗ ✗ ✗ 4.79 3.96 3.14 3.05 18.47 17.92 32.1 52.5

✓ ✓ ✓ ✓ ✗ ✗ adaLN 4.85 3.90 3.13 3.01 18.32 17.90 33.1 52.3

PointDiT [66] (our recipe) 5.01 – 3.20 – – – – –

Camera-Aware Ray Encoding.

In Tab. 5, without the encoding, intrinsics have no effect, and Relp\text{Rel}^{\text{p}} stays at 5.05 in both settings. With the encoding, intrinsics reduce Relp\text{Rel}^{\text{p}} from 4.82 to 3.94 and the mean angular error from 18.23 to 17.81. Without intrinsics, the encoding still reduces Relp\text{Rel}^{\text{p}} from 5.05 to 4.82. We split the error of each point into a lateral part εx​y\varepsilon_{xy} and a depth part εz\varepsilon_{z}. Averaged over the valid pixels with intrinsics, the encoding reduces εx​y\varepsilon_{xy} from 2.28 to 1.27, but εz\varepsilon_{z} only from 3.22 to 2.95. Figure 6 illustrates this split on one image row. The gap in lateral error grows with the distance to the principal point, where a wrong focal length moves a point the most. During training, Relp\text{Rel}^{\text{p}} with intrinsics stalls near 5.0 without the encoding but keeps dropping to 3.94 with it.

Figure 7: Average rank against latency for the three maps. Ranks are averaged over the columns of Tabs. 18, 2 and 3, with each PINE model ranked against the baselines only. Latency is measured on one A100 at 512×512512\times 512 with batch size one.

Table 6: Region mass with and without grounding attention. Region mass in percent, averaged over all blocks and all query patches of a benchmark. Chance is the region mass of uniform attention. The blue number is the gain, the relative increase of the region mass above chance.

Instance Normal

Model Grounding attention COCOexc{}_{\text{exc}} DRAM NYUv2 ScanNet

Chance 24.5 33.7 5.1 12.9

PINE-B ✗ 35.5 44.3 11.7 19.8

✓ 36.6↑9.6% 44.8↑4.5% 13.2↑22.4% 21.2↑21.0%

PINE-L ✗ 32.8 41.4 10.1 18.1

✓ 33.9↑13.8% 42.2↑11.0% 11.1↑20.3% 19.2↑22.0%

PINE-H ✗ 33.5 43.9 10.8 18.9

✓ 34.5↑11.6% 44.8↑8.8% 11.5↑13.5% 19.6↑11.3%

Stream Mask.

In Tab. 5, letting the instance tokens also attend to the geometry tokens raises Relp\text{Rel}^{\text{p}} without intrinsics from 4.82 to 4.93 and lowers the COCOexc{}_{\text{exc}} mIoU from 33.0 to 32.4. PINE therefore isolates the instance stream. Removing the normal-to-point attention raises the mean angular error with intrinsics from 17.81 to 17.94. The normal stream thus keeps its attention to the point stream.

Grounding Attention.

In Tab. 5, removing grounding attention lowers the COCOexc{}_{\text{exc}} mIoU from 33.0 to 32.1 and raises the mean angular error from 18.23 to 18.47. Injecting its code through adaLN instead lowers the DRAM mIoU from 54.8 to 52.3. The region mass of a query patch is the share of its attention that falls on its own region. Table 6 shows that grounding attention raises the region mass on all four benchmarks for all three models. For PINE-L, the gain is 13.8% on COCOexc{}_{\text{exc}} and 20.3% on NYUv2. Appendix D defines the regions and reports all nine benchmarks.

4.4 Runtime Analysis

PINE-H has the best average rank over the three maps in Fig. 7 and runs 5.7 times faster than MoGe-3 combined with SAM. PINE-L matches the rank of UniDepthV2, Marigold V2 and SAM combined and runs 11 times faster. PINE-H runs 3.1 times faster than SAM alone, while it also predicts the point map and the normals. Marigold V2 with SAM needs 22.3B parameters and 1399 ms, while PINE-H needs 1.85B and 137 ms. This shows the benefit of one forward pass over one model per map.

5 Conclusion

We have presented PINE, a one-step Omni Diffusion Transformer that predicts the point map, the normals and the instance map of an image in one forward pass. It achieves state-of-the-art point maps and the best average rank on normals. It exceeds SAM on large objects but still trails it on medium and small objects. Camera-aware ray encoding exploits intrinsics when given, and grounding attention groups pixels by object. Unlike chains of specialist models, its one-pass design suits interactive applications such as robotics. Its point maps lack metric scale. Future work can add metric scale and semantic classes as new streams.

LLM Usage Statement

We used ChatGPT (OpenAI) to edit and restructure the text, format the LaTeX source, tables and figure layout, and check citations and the consistency of reported numbers, and to refine code written by the authors. The research ideas, method, experiments and results were conceived, implemented and verified by the authors, and the tools only edited or refined author-produced content. The authors reviewed every suggestion and take full responsibility for the content of this paper.

References

[1] Gwangbin Bae and Andrew J Davison. Rethinking inductive biases for surface normal estimation. In 2024 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 9535–9545. IEEE, 2024.

[2] Fan Bao, Shen Nie, Kaiwen Xue, Chongxuan Li, Shi Pu, Yaole Wang, Gang Yue, Yue Cao, Hang Su, and Jun Zhu. One transformer fits all distributions in multi-modal diffusion at scale. In International Conference on Machine Learning, pages 1692–1717. PMLR, 2023.

[3] Alexey Bochkovskiy, Amaël Delaunoy, Hugo Germain, Marcel Santos, Yichao Zhou, Stephan Richter, and Vladlen Koltun. Depth pro: Sharp monocular metric depth in less than a second. In International Conference on Learning Representations, pages 75602–75637, 2025.

[4] Daniel J Butler, Jonas Wulff, Garrett B Stanley, and Michael J Black. A naturalistic open source movie for optical flow evaluation. In European conference on computer vision, pages 611–625. Springer, 2012.

[5] Yohann Cabon, Naila Murray, and Martin Humenberger. Virtual kitti 2. arXiv preprint arXiv:2001.10773, 2020.

[6] Bowen Cheng, Ishan Misra, Alexander G Schwing, Alexander Kirillov, and Rohit Girdhar. Masked-attention mask transformer for universal image segmentation. In 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 1280–1289. IEEE, 2022.

[7] Nadav Cohen, Yael Newman, and Ariel Shamir. Semantic segmentation in art paintings. In Computer graphics forum, pages 261–275. Wiley Online Library, 2022.

[8] Angela Dai, Angel X Chang, Manolis Savva, Maciej Halber, Thomas Funkhouser, and Matthias Nießner. Scannet: Richly-annotated 3d reconstructions of indoor scenes. In 2017 IEEE conference on computer vision and pattern recognition (CVPR), pages 2432–2443. IEEE, 2017.

[9] Bert De Brabandere, Davy Neven, and Luc Van Gool. Semantic instance segmentation with a discriminative loss function. arXiv preprint arXiv:1708.02551, 2017.

[10] Ainaz Eftekhar, Alexander Sax, Jitendra Malik, and Amir Zamir. Omnidata: A scalable pipeline for making multi-task mid-level vision datasets from 3d scans. In 2021 IEEE/CVF International Conference on Computer Vision (ICCV), pages 10766–10776. IEEE, 2021.

[11] Xiao Fu, Wei Yin, Mu Hu, Kaixuan Wang, Yuexin Ma, Ping Tan, Shaojie Shen, Dahua Lin, and Xiaoxiao Long. Geowizard: Unleashing the diffusion priors for 3d geometry estimation from a single image. In European Conference on Computer Vision, pages 241–258. Springer, 2024.

[12] Andreas Geiger, Philip Lenz, Christoph Stiller, and Raquel Urtasun. Vision meets robotics: The kitti dataset. The international journal of robotics research, 32(11):1231–1237, 2013.

[13] Jose L Gómez, Manuel Silva, Antonio Seoane, Agnes Borrás, Mario Noriega, Germán Ros, Jose A Iglesias-Guitian, and Antonio M López. All for one, and one for all: Urbansyn dataset, the third musketeer of synthetic driving scenes. Neurocomputing, 637:130038, 2025.

[14] Jing He, Haodong Li, Wei Yin, Yixun Liang, Leheng Li, Kaiqiang Zhou, Hongbo Zhang, Bingbing Liu, and YingCong Chen. Lotus: Diffusion-based visual foundation model for high-quality dense prediction. In International Conference on Learning Representations, pages 89454–89467, 2025.

[15] Kaiming He, Georgia Gkioxari, Piotr Dollár, and Ross Girshick. Mask r-cnn. In Proceedings of the IEEE international conference on computer vision, pages 2961–2969, 2017.

[16] Jonathan Ho, Ajay Jain, and Pieter Abbeel. Denoising diffusion probabilistic models. Advances in neural information processing systems, 33:6840–6851, 2020.

[17] Derek Hoiem, Alexei A Efros, and Martial Hebert. Putting objects in perspective. International Journal of Computer Vision, 80(1):3–15, 2008.

[18] HyunJun Jung, Patrick Ruhkamp, Guangyao Zhai, Nikolas Brasch, Yitong Li, Yannick Verdie, Jifei Song, Yiren Zh

Images from the source

Figure 10: Point error with and without the camera-aware ray encoding. Top: input image and predicted depth. Bottom: ground-truth depth and point error maps.
Figure 10: Point error with and without the camera-aware ray encoding. Top: input image and predicted depth. Bottom: ground-truth depth and point error maps.
Figure 12: Attention with and without grounding attention. Each row shows the image, the attention of the query patch without and with grounding attention, and their difference. The cross marks the query patch, and the contour marks its region.
Figure 12: Attention with and without grounding attention. Each row shows the image, the attention of the query patch without and with grounding attention, and their difference. The cross marks the query patch, and the contour marks its region.
Figure 13: Point maps (1/3). For each image, the first row shows the input and the predicted point maps, and the second row shows the ground-truth point map and the point error map of each method.
Figure 13: Point maps (1/3). For each image, the first row shows the input and the predicted point maps, and the second row shows the ground-truth point map and the point error map of each method.

Sources

← Back to Daily AI Report