It’s late, your eyes are a bit heavy, and you’ve probably spent the day wrestling with model pipelines that feel like they’re held together with duct tape and hope. You know the drill: first, you run a depth estimator, then a normal predictor, then maybe a Segment Anything Model (SAM) to find the objects. By the time the third model finishes, your GPU is screaming, and the outputs don't even agree on what the camera was doing.
The researchers behind PINE (Point, Instance, and Normal Estimation) decided there had to be a better way. They’ve built a "one-stop shop" diffusion model that handles geometry and semantics in a single, lightning-fast forward pass.
TL;DR
PINE is a one-step "Omni Diffusion Transformer" that simultaneously predicts 3D point maps, surface normals, and object instances from a single image. By ditching multi-model chains and using clever "camera-aware" encoding, it achieves state-of-the-art results while running nearly 6 times faster than current top-tier pipelines.
What Problem Does This Paper Address?
In computer vision, we usually split scene understanding into two camps: geometry (where things are in 3D space) and semantics (what those things are).
Currently, if you want a full 3D parse of a room, you have to chain specialized models together. This is a headache for three reasons:
- Latency: Running three models takes three times as long.
- Inconsistency: The depth model might assume one camera focal length, while the normal estimator assumes another.
- Memory: Loading multiple heavy-duty models (like SAM + a Diffusion depth model) eats up VRAM.
PINE tackles this by asking: Can one transformer do it all at once, in a single step, without losing accuracy?
Methods
PINE is built on a Diffusion Transformer (DiT) architecture, but with a few "Omni" upgrades:
- Token Streams: Instead of processing one task, PINE treats the point map, normals, and instance map as three parallel "streams" of tokens. A stream mask controls how these streams interact—for example, letting the geometry streams (points and normals) talk to each other while keeping the instance stream focused on object boundaries.
- Camera-Aware Ray Encoding: This is the secret sauce. Standard transformers index pixels on a 2D grid $(x, y)$. PINE instead positions tokens based on camera rays. This means the model understands the underlying 3D geometry of the camera, making it robust even if you don't know the camera's focal length (intrinsics).
- Grounding Attention: To help the model group pixels into "instances" (objects), the authors use features from DINOv3. They inject the "affinity" (how similar two patches look to a pre-trained vision model) directly into the attention mechanism. This tells the model, "Hey, these two patches look like the same chair; keep them together."
- One-Step Flow Matching: Unlike traditional diffusion models that require 20–50 steps to "denoise" an image, PINE uses flow matching to produce its maps in a single deterministic step.
Datasets
PINE was trained on a relatively lean diet compared to some "foundation" models:
- Geometry: 139K synthetic images from datasets like Hypersim, Virtual KITTI 2, and Structured3D.
- Instances: 87K images from EntitySeg and ADE20K.
- Evaluation: A massive battery of benchmarks including NYUv2, KITTI, ETH3D, and COCO, testing everything from 3D point accuracy to how well it segments "in the wild" objects.
Key Insights and Ideas
- Rays > Pixels: By encoding tokens as rays, the model learns a physical representation of the world rather than just a 2D pattern. This allows it to recover the camera's field-of-view (FoV) directly from the image.
- Semantics and Geometry are Friends: Predicting instances and geometry together isn't just a convenience; the "grounding attention" from DINOv3 features significantly improves the surface normals because the model knows where one object ends and another begins.
- Efficiency through Sparsity: PINE outperforms SAM on large objects despite being trained on less than 1% of the data SAM used. This suggests that 3D geometric cues are incredibly powerful for segmentation.
Key Results
- Speed: PINE-H (the "Huge" version) runs in about 137ms on an A100. That is 5.7x faster than a pipeline combining MoGe-3 (geometry) and SAM (instances).
- Accuracy: It achieves state-of-the-art (SOTA) point maps and the best average rank on surface normal estimation across multiple datasets.
- Zero-Shot Prowess: Even on "in the wild" images with unknown cameras, PINE recovers geometry with high fidelity.
Limitations and Future Work
While PINE is a powerhouse, the authors note a few areas for growth:
- Metric Scale: Currently, PINE predicts "affine-invariant" geometry. It knows the shape of the room perfectly, but it doesn't necessarily know if the room is 3 meters or 30 meters wide.
- Small Objects: Because it operates on patches, it can sometimes struggle with very tiny objects compared to a full-resolution SAM.
- Semantic Labels: It identifies that something is an object (instance), but it doesn't yet tell you what it is (e.g., "this is a cat"). Adding semantic classification is a clear next step.
In short, PINE is a major step toward a "universal" vision backbone that understands the world as a 3D space filled with distinct objects, all in the time it takes to blink. Now, go get some sleep.
Summary updated