Papers
Topics
Authors
Recent
Search
2000 character limit reached

Seg-Wild: Interactive 3D Segmentation

Updated 6 July 2026
  • Seg-Wild is an interactive 3D segmentation method that employs 3D Gaussian Splatting to jointly reconstruct and segment in-the-wild photo collections.
  • It integrates multi-dimensional affinity features, a Scale-Adaptive Segmentation Masking module, and a Spiky 3D Gaussian Cutter to enhance segmentation consistency across views.
  • Evaluations on landmark and smartphone datasets demonstrate improved IoU and pixel accuracy over traditional 3D segmentation pipelines.

Searching arXiv for the primary Seg-Wild paper and a small set of directly related 3DGS segmentation/reconstruction works to ground citations. Seg-Wild is an interactive segmentation method for unconstrained image collections that is built on 3D Gaussian Splatting and targets joint 3D reconstruction and segmentation in in-the-wild scenes. It is designed for Internet-scale or casually captured photo sets with different cameras, highly varying viewpoints and sparsity, inconsistent lighting and appearance, and transient occluders such as people, cars, and scaffolding. Within this setting, Seg-Wild combines a GS-W reconstruction backbone, multi-dimensional feature embeddings for each 3D Gaussian, a Scale-Adaptive Segmentation Masking module, and a Spiky 3D Gaussian Cutter to obtain 3D segments that can be rendered consistently across views and from novel viewpoints (Bao et al., 10 Jul 2025).

1. Problem setting and scope

Seg-Wild addresses joint 3D reconstruction and interactive segmentation from unconstrained photo collections. The input is a set of images

I={I1,I2,,IN},I = \{ I_1, I_2, \ldots, I_N \},

with different cameras and intrinsic parameters, highly varying viewpoints and sparsity, inconsistent lighting and appearance, transient occluders, and post-processing artifacts such as HDR and JPG compression (Bao et al., 10 Jul 2025).

The method is positioned against a failure mode common to prior segmentation pipelines on reconstructed 3D scenes. Classical multi-view segmentation typically assumes controlled capture, while NeRF- and 3DGS-based segmentation methods such as SAGA, Feature 3DGS, and SA3D are described as assuming clean, well-captured multi-view sequences with consistent lighting and no transient occlusions. In such in-the-wild settings, photometric inconsistencies induce noisy optimization and ghost geometry, Gaussians may mix static structure with transient clutter, and semantic consistency across views deteriorates (Bao et al., 10 Jul 2025).

A second part of the motivation concerns the insufficiency of purely 2D segmentation. SAM and SAM2 can segment individual images, but the resulting masks are view-specific, and mapping them into 3D is non-trivial when geometry is inconsistent. The data also state that fixed-scale SAM masks are inconsistent across images with different camera distances. Seg-Wild therefore targets a regime in which reconstruction robustness, feature lifting into 3D, interactive selection, and post-processing for unconstrained reconstructions must be handled within a single pipeline (Bao et al., 10 Jul 2025).

2. Representation and reconstruction backbone

Seg-Wild uses a 3D Gaussian Splatting scene representation

G={Gi(pi,Σi,ci,αi)}i=1N,\mathcal{G} = \{ G_i(p_i, \Sigma_i, c_i, \alpha_i)\}_{i=1}^N,

where each Gaussian has a center piR3p_i \in \mathbb{R}^3, covariance ΣiR3×3\Sigma_i \in \mathbb{R}^{3 \times 3}, opacity αi\alpha_i, and color represented by zero-order and higher-order spherical harmonics coefficients. The covariance is parameterized as

Σ=RSSTRT,\Sigma = R S S^T R^T,

and the Gaussian density is

G(x)=exp(12(xp)TΣ1(xp)).G(x) = \exp\left( -\frac{1}{2} (x - p)^T \Sigma^{-1} (x - p) \right).

Under projection with view transform WW and Jacobian JJ, the covariance becomes

Σ=JWΣWTJT,\Sigma' = J W \Sigma W^T J^T,

and the projected center is

G={Gi(pi,Σi,ci,αi)}i=1N,\mathcal{G} = \{ G_i(p_i, \Sigma_i, c_i, \alpha_i)\}_{i=1}^N,0

Rendering uses ordered alpha compositing in screen space: G={Gi(pi,Σi,ci,αi)}i=1N,\mathcal{G} = \{ G_i(p_i, \Sigma_i, c_i, \alpha_i)\}_{i=1}^N,1 These definitions are central because Seg-Wild inherits the editability and explicitness of 3DGS while attaching segmentation-oriented features to each Gaussian (Bao et al., 10 Jul 2025).

The reconstruction backbone is GS-W. In the supplied description, GS-W adds a UNet that extracts feature maps from reference images to model dynamic appearance, together with a per-image transient occlusion mask G={Gi(pi,Σi,ci,αi)}i=1N,\mathcal{G} = \{ G_i(p_i, \Sigma_i, c_i, \alpha_i)\}_{i=1}^N,2 taking values in G={Gi(pi,Σi,ci,αi)}i=1N,\mathcal{G} = \{ G_i(p_i, \Sigma_i, c_i, \alpha_i)\}_{i=1}^N,3. The mask is regularized by

G={Gi(pi,Σi,ci,αi)}i=1N,\mathcal{G} = \{ G_i(p_i, \Sigma_i, c_i, \alpha_i)\}_{i=1}^N,4

and the color loss is

G={Gi(pi,Σi,ci,αi)}i=1N,\mathcal{G} = \{ G_i(p_i, \Sigma_i, c_i, \alpha_i)\}_{i=1}^N,5

with G={Gi(pi,Σi,ci,αi)}i=1N,\mathcal{G} = \{ G_i(p_i, \Sigma_i, c_i, \alpha_i)\}_{i=1}^N,6 weights. This backbone is described as explicitly accounting for transient occluders and modeling appearance variations through learned appearance features, thereby improving robustness to inconsistent lighting before segmentation-specific objectives are introduced (Bao et al., 10 Jul 2025).

3. Feature field and training objective

Seg-Wild extends each Gaussian to

G={Gi(pi,Σi,ci,αi)}i=1N,\mathcal{G} = \{ G_i(p_i, \Sigma_i, c_i, \alpha_i)\}_{i=1}^N,7

where G={Gi(pi,Σi,ci,αi)}i=1N,\mathcal{G} = \{ G_i(p_i, \Sigma_i, c_i, \alpha_i)\}_{i=1}^N,8 denotes a static or intrinsic appearance feature, G={Gi(pi,Σi,ci,αi)}i=1N,\mathcal{G} = \{ G_i(p_i, \Sigma_i, c_i, \alpha_i)\}_{i=1}^N,9 a dynamic appearance feature, and piR3p_i \in \mathbb{R}^30 an affinity feature used for segmentation. The affinity feature is the key embedding used for semantic similarity during interactive segmentation (Bao et al., 10 Jul 2025).

For each image, the SAM image encoder provides a feature map

piR3p_i \in \mathbb{R}^31

To reduce memory and computation, the features are compressed by PCA from 256 dimensions to

piR3p_i \in \mathbb{R}^32

yielding piR3p_i \in \mathbb{R}^33. A piR3p_i \in \mathbb{R}^34 convolution later decompresses them back to 256 dimensions for alignment, while the stored per-Gaussian affinity features remain 64-dimensional (Bao et al., 10 Jul 2025).

Feature rendering parallels color rendering: piR3p_i \in \mathbb{R}^35 A per-pixel feature alignment loss ties the 3D feature field to SAM’s feature space: piR3p_i \in \mathbb{R}^36

The method further introduces a compactness loss guided by SAM masks. For each pixel piR3p_i \in \mathbb{R}^37, SAM yields a mask piR3p_i \in \mathbb{R}^38, from which an IoU-based similarity is computed: piR3p_i \in \mathbb{R}^39 with ΣiR3×3\Sigma_i \in \mathbb{R}^{3 \times 3}0. Cosine similarity between rendered features is defined as

ΣiR3×3\Sigma_i \in \mathbb{R}^{3 \times 3}1

and the compactness objective is

ΣiR3×3\Sigma_i \in \mathbb{R}^{3 \times 3}2

The full training objective is

ΣiR3×3\Sigma_i \in \mathbb{R}^{3 \times 3}3

with ΣiR3×3\Sigma_i \in \mathbb{R}^{3 \times 3}4 and ΣiR3×3\Sigma_i \in \mathbb{R}^{3 \times 3}5 (Bao et al., 10 Jul 2025).

The intended effect of this design is explicit in the supplied material: ΣiR3×3\Sigma_i \in \mathbb{R}^{3 \times 3}6 is learned so that projected Gaussian features match SAM features for a given view, while Gaussians corresponding to the same SAM region share similar affinity features. This produces what the paper describes as a compact 3D feature field, which is then used as the substrate for interactive segmentation (Bao et al., 10 Jul 2025).

4. Interactive segmentation and segmentation-specific modules

Interactive segmentation is driven by prompt points on a reference image. If the prompt set is

ΣiR3×3\Sigma_i \in \mathbb{R}^{3 \times 3}7

the rendered feature map ΣiR3×3\Sigma_i \in \mathbb{R}^{3 \times 3}8 is sampled at these prompt locations. For each prompt and each Gaussian, Seg-Wild computes cosine similarity

ΣiR3×3\Sigma_i \in \mathbb{R}^{3 \times 3}9

where αi\alpha_i0 is the stacked matrix of all Gaussian affinity features (Bao et al., 10 Jul 2025).

Multiple prompt similarities are fused by a softmax-weighted combination,

αi\alpha_i1

and SAM is also queried with the same prompt points to produce a prompt-conditioned 2D mask

αi\alpha_i2

Each Gaussian center αi\alpha_i3 is projected to the image by

αi\alpha_i4

and a Gaussian is selected if its fused similarity exceeds a threshold αi\alpha_i5 and its projected center lies inside the 2D mask: αi\alpha_i6 The default threshold is αi\alpha_i7 (Bao et al., 10 Jul 2025).

A distinct component, the Scale-Adaptive Segmentation Masking module, adapts SAM’s global segmentation to each view. The module uses average scene depth for the camera, depth distribution of projected 3D Gaussians, and a sky mask from DeepLabv3+ to avoid sky dominating depth statistics. In the implementation details, the segmentation scale is computed as

αi\alpha_i8

The same description lists filtered depth maps αi\alpha_i9, grid-wise average depths Σ=RSSTRT,\Sigma = R S S^T R^T,0, and per-grid numbers of prompt points Σ=RSSTRT,\Sigma = R S S^T R^T,1 as part of the SASM procedure (Bao et al., 10 Jul 2025). This suggests that Seg-Wild treats 2D mask generation not as a fixed preprocessing step, but as a view-conditioned regularizer synchronized with reconstruction geometry.

5. Spiky 3D Gaussian Cutter and boundary refinement

The Spiky 3D Gaussian Cutter is introduced to address a characteristic artifact of in-the-wild reconstructions: slender Gaussians whose long axes extend beyond the true object boundary. The data emphasize that simply deleting such Gaussians can remove useful geometry, since much of the Gaussian mass may still lie inside the target region (Bao et al., 10 Jul 2025).

For a spiky Gaussian Σ=RSSTRT,\Sigma = R S S^T R^T,2 with covariance Σ=RSSTRT,\Sigma = R S S^T R^T,3, projection to 2D yields

Σ=RSSTRT,\Sigma = R S S^T R^T,4

Let Σ=RSSTRT,\Sigma = R S S^T R^T,5 and Σ=RSSTRT,\Sigma = R S S^T R^T,6 be the principal eigenpair of Σ=RSSTRT,\Sigma = R S S^T R^T,7, and let Σ=RSSTRT,\Sigma = R S S^T R^T,8 be the projected center. The two endpoints of the long axis are defined as

Σ=RSSTRT,\Sigma = R S S^T R^T,9

Intermediate pixels are sampled along this axis, and the fraction of sampled points lying inside the 2D segmentation mask is

G(x)=exp(12(xp)TΣ1(xp)).G(x) = \exp\left( -\frac{1}{2} (x - p)^T \Sigma^{-1} (x - p) \right).0

This ratio is interpreted in the supplied description as the portion of the Gaussian’s long axis covered by the 2D segmentation (Bao et al., 10 Jul 2025).

The Gaussian is then shifted and shrunk: G(x)=exp(12(xp)TΣ1(xp)).G(x) = \exp\left( -\frac{1}{2} (x - p)^T \Sigma^{-1} (x - p) \right).1 The updated 2D center is back-projected to 3D, and the scale parameters in G(x)=exp(12(xp)TΣ1(xp)).G(x) = \exp\left( -\frac{1}{2} (x - p)^T \Sigma^{-1} (x - p) \right).2 are updated accordingly. The stated effect is to trim the protruding part while retaining the portion inside the object, thereby smoothing the segmentation boundary without removing valuable coverage (Bao et al., 10 Jul 2025).

The ablation summary in the supplied details attributes a marked contribution to SGC: removing it reduces IoU by approximately G(x)=exp(12(xp)TΣ1(xp)).G(x) = \exp\left( -\frac{1}{2} (x - p)^T \Sigma^{-1} (x - p) \right).3 and Acc by approximately G(x)=exp(12(xp)TΣ1(xp)).G(x) = \exp\left( -\frac{1}{2} (x - p)^T \Sigma^{-1} (x - p) \right).4 on average, and the visual comparison is described as showing visibly spikier boundaries without it (Bao et al., 10 Jul 2025).

6. Evaluation, ablations, and limitations

Seg-Wild is evaluated on two datasets. The first is Photo Tourism, comprising Internet photos of landmarks such as Trevi Fountain, Taj Mahal, and Brandenburg Gate, with 800–1500 unconstrained images per scene. The second is NeRF-On-the-go, comprising handheld smartphone videos with 200–300 frames per sequence (Bao et al., 10 Jul 2025).

The paper also introduces a benchmark for in-the-wild segmentation based on the Photo Tourism dataset. The benchmark includes Brandenburg Gate, Taj Mahal, and Trevi Fountain, with multiple segmentation targets per scene and manually refined 2D ground-truth masks generated using ISAT together with SAM. The evaluation metrics are Intersection over Union and Pixel Accuracy, and segmented 3D Gaussians are rendered back into reference images for comparison with the ground-truth masks (Bao et al., 10 Jul 2025).

The quantitative comparison includes Feature 3DGS, SAGA, and GS-W + Projection as baselines. The supplied details state that, in every metric and target, Seg-Wild outperforms the baselines. Representative values given in the data include IoU ranges of G(x)=exp(12(xp)TΣ1(xp)).G(x) = \exp\left( -\frac{1}{2} (x - p)^T \Sigma^{-1} (x - p) \right).5–G(x)=exp(12(xp)TΣ1(xp)).G(x) = \exp\left( -\frac{1}{2} (x - p)^T \Sigma^{-1} (x - p) \right).6 on Brandenburg Gate, G(x)=exp(12(xp)TΣ1(xp)).G(x) = \exp\left( -\frac{1}{2} (x - p)^T \Sigma^{-1} (x - p) \right).7–G(x)=exp(12(xp)TΣ1(xp)).G(x) = \exp\left( -\frac{1}{2} (x - p)^T \Sigma^{-1} (x - p) \right).8 on Trevi Fountain, and G(x)=exp(12(xp)TΣ1(xp)).G(x) = \exp\left( -\frac{1}{2} (x - p)^T \Sigma^{-1} (x - p) \right).9–WW0 on Taj Mahal, with Pixel Accuracy reaching approximately WW1–WW2 on Brandenburg Gate and up to WW3 on Taj Mahal (Bao et al., 10 Jul 2025).

The training configuration reported in the data uses PyTorch with Adam, WW4 iterations on a single Nvidia RTX 4060 GPU, and on-the-fly feature extraction with SAM mask generation taking approximately WW5 hours. Gaussian parameters, appearance features, affinity features, the UNet, and PCA-related modules are all optimized jointly (Bao et al., 10 Jul 2025).

Ablation studies identify the main contributors. Removing WW6 reduces IoU from WW7 to WW8 on Brandenburg Gate, from WW9 to JJ0 on Taj Mahal, and from JJ1 to JJ2 on Trevi Fountain. Removing SASM causes a further drop, removing the sky mask causes a slight drop, and removing SGC causes an approximately JJ3–JJ4 IoU reduction. Regarding affinity dimensionality, 32D is worse, while 64D and 128D are similar; 64D is therefore used as the default tradeoff. Threshold values JJ5, JJ6, and JJ7 show moderate variation, with JJ8 reported to work well (Bao et al., 10 Jul 2025).

The stated limitations are also tied closely to the segmentation prior. Segmentation quality depends partly on SAM’s 2D masks, and the supplied failure example involves the “left hippocampus” statue at Trevi Fountain, where SAM mis-segments the winged horse and the resulting 3D segmentation becomes incomplete. The details further indicate that with very sparse views, feature lifting and compactness constraints may be insufficient, that large scenes increase memory and training time, and that SGC may still leave artifacts under extreme geometry distortions or occlusion patterns (Bao et al., 10 Jul 2025).

7. Relation to surrounding research

Within the supplied related-work framing, Seg-Wild is situated among 3DGS and NeRF segmentation methods such as ISRF, SA3D, Feature 3DGS, SAGA, Click-Gaussian, and Gaussian Grouping, and among in-the-wild reconstruction systems such as NeRF-W, K-planes, GS-W, WE-GS, Wild-GS, WildGaussians, and SLS (Bao et al., 10 Jul 2025). The description distinguishes Seg-Wild from these lines of work by emphasizing its specialization to unconstrained photo collections and its integration of segmentation-specific losses and modules with a reconstruction backbone already designed for transient occlusions and variable appearance (Bao et al., 10 Jul 2025).

Three components define that positioning. The first is the 3D affinity feature field optimized against SAM embeddings with compactness regularization. The second is the Scale-Adaptive Segmentation Masking module, which adapts global SAM segmentation to camera depth and projected Gaussian statistics. The third is the Spiky 3D Gaussian Cutter, which repairs boundary artifacts associated with unconstrained 3DGS reconstructions (Bao et al., 10 Jul 2025).

A plausible implication is that the method’s contribution is as much architectural as it is algorithmic: rather than replacing 3DGS or SAM, it inserts a geometry-aware feature-learning and refinement layer between them. In this reading, Seg-Wild can be understood as a system for making 2D foundation-model priors operational in unstable 3D reconstructions, rather than a purely new segmentation objective.

The paper’s own summary is consistent with that interpretation. It presents Seg-Wild as a full pipeline for interactive 3D segmentation on 3D Gaussian splats reconstructed from unconstrained photo collections, combining GS-W’s appearance and transient modeling with a 3D affinity feature field, SASM, and SGC, and showing improved segmentation results and reconstruction quality on in-the-wild data (Bao et al., 10 Jul 2025).

Definition Search Book Streamline Icon: https://streamlinehq.com
References (1)

Topic to Video (Beta)

No one has generated a video about this topic yet.

Whiteboard

No one has generated a whiteboard explanation for this topic yet.

Follow Topic

Get notified by email when new papers are published related to Seg-Wild.