- The paper introduces a novel transformer-based approach to predict depth maps and masks for zero-shot 3D shape completion from a single RGB-D image.
- It leverages a large synthetic dataset and DINOv2 features, achieving up to 44% lower Chamfer Distance and improved F1 scores compared to state-of-the-art baselines.
- Its efficient view merging strategy aggregates predictions from multiple novel viewpoints, enabling robust, real-time 3D reconstruction in robotics and XR applications.
"RaySt3R: Predicting Novel Depth Maps for Zero-Shot Object Completion" (2506.05285) presents a novel method for 3D shape completion from a single foreground-masked RGB-D image, particularly targeting multi-object cluttered real-world scenes relevant to robotics and extended reality (XR) applications. The core idea is to reframe 3D shape completion as a novel view synthesis problem, where a model predicts depth maps and masks for new viewpoints, and these predictions are then aggregated to reconstruct the full 3D geometry.
Existing methods for 3D shape completion often struggle with 3D consistency, high computational cost, capturing sharp details, or handling complex multi-object scenes in a zero-shot manner. RaySt3R addresses these by training a feedforward transformer to predict view-specific depth, object mask, and per-pixel confidence scores.
Approach and Architecture
The RaySt3R network takes a single RGB-D image with a foreground mask and a query viewpoint (encoded as a ray map) as input. The input depth map is unprojected to a point map Xinput. Both the input point map (transformed to the query camera frame Xcontext) and the query ray map R are processed through self-attention layers to obtain features (Fpoint_map,Fray). Visual features FDINO are extracted from the masked input RGB image using a frozen DINOv2 (Oquab et al., 2023) encoder, concatenating features from multiple intermediate layers (specifically 4, 11, 17, 23) and projecting them to the ViT token size. Cross-attention layers combine the ray features (Fray, as queries) with concatenated point map and DINOv2 features (concat(Fpoint_map,FDINO), as keys). Finally, two separate DPT heads (Ranftl et al., 2021) predict the depth map along with a confidence score, and the object mask for the queried view.
The architecture draws inspiration from multi-view transformers like DUSt3R (Lahoti et al., 2024), but uniquely adapts it to the single-view shape completion problem by replacing the second input image with a query ray map.
Training
RaySt3R is trained on a large-scale synthetic dataset comprising 1.1 million scenes and 12 million views, curated from FoundationPose (Eymaël et al., 2024) and OctMAE (Xie et al., 2024) data. The training objective involves predicting confidence-aware depth maps and object masks for novel views. The total loss is a weighted sum of a confidence-aware depth loss Ldepth​ and a binary cross-entropy mask loss Lmask​:
$\mathcal L_{\text{total} = \mathcal L_\text{depth} + \lambda_\text{mask} \mathcal L_\text{mask}$
The depth loss, inspired by DUSt3R (Lahoti et al., 2024), incorporates a confidence score Xcontext0 predicted for each pixel Xcontext1:
Xcontext2
The confidence Xcontext3 is computed as Xcontext4, where Xcontext5 is the raw network output, ensuring positivity and enabling unsupervised confidence learning. The mask loss Xcontext6 is a standard binary cross-entropy loss on the predicted mask Xcontext7 against the ground truth Xcontext8.
Data augmentation, including Gaussian noise, holes, pixel shifts for depth, and color/noise variations for RGB, is applied to bridge the sim-to-real gap. The model was trained for 18 epochs on 8x 80GB A100 GPUs.
Inference and Prediction Merging
During inference, RaySt3R predicts 3D points by querying novel views sampled on a sphere around the bounding box of the input object. A tunable radius parameter Xcontext9 and clipping based on camera distance R0 are used for sampling. The predicted depth maps from these novel views are unprojected to 3D points. To create a complete 3D shape, these point predictions are merged based on several criteria:
- Occlusion Handling: Points visible in a novel view are filtered if they would have been occluded by the foreground objects in the input view according to the input depth map R1 and mask R2. A point R3 from a novel view R4 is masked if its projection R5 in the input view has a depth R6 greater than R7 at the corresponding pixel and is within the input mask R8.
- Predicted Masks: The binary object mask predicted by RaySt3R for the novel view is thresholded (at 0.5) to filter points likely not belonging to the foreground object.
- Confidence Scores: The per-pixel confidence scores predicted by RaySt3R are used to further filter out unreliable points by thresholding R9 at a value Fpoint_map,Fray0 (set to 5 in experiments). This helps reduce noise and edge bleeding.
The final reconstruction is the aggregate of all points from all novel views that pass these filtering steps. Inference takes less than 1.2 seconds on a single RTX 4090 GPU when querying 22 views.
Evaluation and Results
RaySt3R was evaluated zero-shot on synthetic (OctMAE (Xie et al., 2024)) and real-world (YCB-Video (Lai et al., 2018), HOPE (Musser et al., 2022), HomebrewedDB (Fang et al., 2019)) datasets using Chamfer Distance (CD) and F1-Score@10mm (F1) metrics.
Quantitatively, RaySt3R significantly outperforms state-of-the-art baselines, including volumetric methods like OctMAE (Xie et al., 2024) and view-based methods like LaRI (Li et al., 25 Apr 2025), Unique3D (Wu et al., 2024), and TRELLIS (Xiang et al., 2024), as well as modular pipelines like SceneComplete (Agarwal et al., 2024). RaySt3R achieves the lowest CD and highest F1 across all evaluated datasets, with up to 44% lower CD compared to the best baseline. It also demonstrates the lowest standard deviation in CD across real-world datasets, indicating more consistent performance.
Qualitative results show that RaySt3R produces sharp, geometrically accurate, and complete 3D shapes, recovering the geometry of full objects in cluttered scenes despite only being trained on synthetic data. Baselines often exhibit oversmoothed predictions (OctMAE (Xie et al., 2024)), struggle with object placement and aspect ratios (LaRI (Li et al., 25 Apr 2025), Unique3D (Wu et al., 2024), TRELLIS (Xiang et al., 2024)), or are brittle to input mask quality (SceneComplete (Agarwal et al., 2024)).
Implementation Considerations and Ablations
- Computational Requirements: Training is computationally intensive, requiring multiple high-end GPUs (8x 80GB A100). Inference is fast enough for real-time robotics/XR applications on a single modern GPU (< 1.2s).
- Data Dependency: Training on a large, diverse synthetic dataset with appropriate augmentation is crucial for zero-shot generalization to real-world scenes. Ablations confirm the importance of data scale, diversity, and data augmentation.
- Network Architecture: Using a larger ViT model and incorporating DINOv2 (Oquab et al., 2023) features improve performance.
- Merging Strategy: Each component of the view merging strategy (querying input view, occlusion masking, predicted masks, confidence filtering) contributes to performance, with predicted masks having the largest impact.
- Confidence Filtering: The learned confidence scores provide a practical way to trade off accuracy (higher threshold reduces outliers) and completeness (lower threshold includes more points).
- Input Mask Sensitivity: RaySt3R is more robust to false positives than false negatives in the input foreground mask. Obtaining high-quality input masks is important, though the method shows some resilience.
- Baseline Alignment: The paper details the process of aligning canonical-space predictions of baselines (Unique3D (Wu et al., 2024), LaRI (Li et al., 25 Apr 2025), TRELLIS (Xiang et al., 2024)) for evaluation, showing that alignment parameters (like rotation search steps and initial scaling) impact their reported CD. RaySt3R predicts directly in the input camera frame, avoiding this step.
Conclusion
RaySt3R demonstrates that recasting single-view 3D shape completion as novel view synthesis and employing a transformer-based architecture trained on large-scale synthetic data is highly effective. The confidence-aware predictions and sophisticated merging strategy enable state-of-the-art zero-shot performance on challenging real-world multi-object scenes, making it a promising approach for applications requiring robust 3D perception. Future work includes exploring real-world data training and alternative architectures like diffusion transformers.