Two Arrows per Pixel: Zero-Shot Instance Separation of Overlapping Transparent Objects

When several glass objects overlap, a single image pixel can show light that has passed through two of them. Every dense instance-segmentation method that works by having each pixel point to the center of "its" object assumes the pixel has exactly one owner. We propose to drop that assumption. Each pixel will predict an unordered set of arrows, one toward the center of each transparent object the light crossed. The arrows are encoded so that the network never has to decide which arrow comes first. A small head trained on frozen self-supervised image features turns those arrows into separate, possibly overlapping, instance masks. The head is trained only on rendered data and tested on real cluttered glassware it has never seen.

This matters because transparent clutter is where robot perception currently collapses. On ClearPose, pose accuracy falls from about 58% ADD-S (a distance-based pose-correctness score) in easy scenes to as low as 13% when objects sit inside translucent containers or overlap heavily. The ClearPose authors themselves argue that the fix requires a representation in which one pixel indexes several surfaces. No method in the material provides one. Transparent segmentation methods are semantic, labelling a whole row of cups as "cup". Overlap-separation methods assume opaque contact, where each pixel has a single owner.

Core Claim

A centroid-relative displacement field can be made multi-valued without breaking smooth training. The trick is to regress symmetric functions of the arrows rather than the arrows themselves. Write $z_1, z_2$ for the 2D displacements, as complex numbers, from a pixel to the centroids of the (at most two) instances covering it. The network predicts

$$e_1 = z_1 + z_2, \qquad e_2 = z_1 z_2,$$

together with a per-pixel layer count $c \in \{0,1,2\}$. The arrows are recovered as the two roots of $z^2 - e_1 z + e_2 = 0$. When $c=1$ the pixel has one owner, with $z_1 = e_1$ and $e_2 = 0$.

Swapping $z_1$ and $z_2$ leaves $(e_1, e_2)$ unchanged. The loss is therefore continuous, and no ordering or matching step is needed. This generalizes the double-angle trick of Using Orientation to Distinguish Overlapping Chromosomes, which maps an orientation $\theta$ to $(\cos 2\theta, \sin 2\theta)$ so that a direction and its reverse coincide. For the unordered pair $\{u, -u\}$, the encoding gives $e_1 = 0$ and $e_2 = -u^2$, which is the double-angle vector up to sign.

The claim is that this representation, read out from frozen DINOv3 features, separates touching and see-through-overlapping transparent instances on unseen real objects better than three alternatives: single-valued arrow fields, prompting a promptable segmenter, and query-based mask heads given the same features and the same training data.

Why This Combination, and What Each Strand Contributes

The mechanism comes from the centroid-arrow literature.

Deep Watershed Transform predicts unit vectors toward instance centers and argues they are a more scale-stable training signal than absolute distances. We keep a unit-direction branch for exactly that reason. We drop its connected-component cut, which splits objects divided by an occluder. Instead we cluster pixels by where their decoded arrows vote, so disjoint visible pieces of one glass can still join.

CDNet detects touching nuclei by finding clashes between neighboring discretized directions (8 or 16 bins, reaching 0.6331 AJI on MoNuSeg). We regress continuous directions to avoid its binning error. We also need the clash signal to coexist with genuine double ownership, which CDNet's one-direction-per-pixel output cannot express.

The flow repulsion loss of Is PEFT Enough for Cell Segmentation? pushes boundary arrows of touching cells apart. We reuse it at single-owner contact edges.

The zero-shot strand supplies the features and also a warning.

GHOST motivates the choice of backbone. Its frozen-DINOv3 transparent segmenter reaches 92.44% mIoU on ClearGrasp, versus 64.99% for EBLNet. That suggests the features encode glass silhouettes even though the pixel colors inside the glass come from the background. GHOST, however, produces one binary mask and paints an opaque texture over it, and it never separates instances.

The same PEFT study constrains us. Adapters and full fine-tuning of Cellpose-SAM all plateau near 0.56 AP on LIVECell, which the authors read as a representational ceiling in features not pretrained for separation. We treat this as a falsifiable risk rather than ignore it.

Can SAM Segment Anything? motivates not relying on SAM. In low-contrast scenes, under 3% of SAM's everything-mode masks reach $F_\beta > 0.5$ on COD10K.

The transparent strand supplies the setting, the labels and the failure. ClearGrasp shows refraction is a stronger cue for surface shape than for depth, which suggests geometry-like targets such as arrows are learnable. Trans2Seg (72.15% mIoU on Trans10K-v2) and TransCues separate classes, not instances.

The overlap strand explains why existing separators do not transfer. Disco colors a contact graph and reaches 50.87% PQ on GBC-FS 2025. That graph presumes planar, single-owner regions, and stacked glass violates this.

Research Program

Model. We will build a frozen DINOv3 encoder with a lightweight convolutional head. The head has four outputs: a transparent-foreground map, the layer count $c$, the symmetric pair $(e_1, e_2)$, and a unit-direction map used for contact-edge detection. Displacements are normalized by image diagonal to keep the target ranges comparable across scales.

Decoding. Each pixel solves its quadratic and casts one or two votes. Votes are clustered by mean-shift. A pixel joins every instance whose center one of its roots lands near, so masks may overlap. We cap the count at two layers. Triple overlaps are counted as a known failure, not hidden, and we report how often they occur in ClearPose.

Supervision. The head is trained only on rendered data. For each synthetic scene in the ClearGrasp-style setup, we render every object's silhouette in isolation. The union of these silhouettes gives exact multi-owner membership and centroids.

Zero-shot test. Testing is on real ClearPose sequences whose objects and settings are held out. ClearPose ships CAD models and per-object poses, so we obtain multi-layer ground truth by rendering each annotated object's model at its pose, without new manual labels.

Ceiling diagnostic. Before building decoders, we fit a linear probe on frozen DINOv3 features. It predicts two things at real ClearPose pixels: which side of a contact edge the pixel lies on, and whether the pixel has one or two owners. If both probes are near chance, the frozen-feature premise is dead. The project then pivots to measuring how much adapter tuning recovers, which is a direct test of whether the LIVECell ceiling generalizes to optics.

Baselines

The naive reference keeps the same frozen DINOv3 features and trains only a foreground head, in the style of GHOST's segmenter. Instances are taken as connected components of the foreground mask. This number shows how often transparent clutter merges into blobs when no separation signal exists. It is the floor the proposal must clear by a wide margin on ClearPose's heavy-occlusion scenes.

The promptable-segmenter baseline runs SAM in two modes: everything mode, and box prompts from a detector trained on the same rendered data. Both modes use the same test images. Given the camouflage results in Can SAM Segment Anything?, we expect it to fail mainly on prompting. We also report it with ground-truth boxes, which separates prompt quality from mask quality, following the sketch finding in Instance Segmentation of Scene Sketches Using Natural Image Priors.

The strongest competitor is a query-based mask head on the same frozen DINOv3 features, in the style of Trans2Seg's prototype decoder but with per-instance queries. It is trained on the same rendered data with the same parameter budget and the same hyperparameter-search budget. It is the real threat because per-query masks can overlap natively, so it also "solves" multi-ownership. A fully supervised instance segmenter trained on real ClearPose training splits serves as an in-domain upper reference, not a competitor.

For context, we found no reported instance-segmentation result on Lacuna for ClearPose, Trans10K-v2 or ClearGrasp. The closest reported numbers are the semantic ones already given: GHOST's 92.44% mIoU on ClearGrasp, Trans2Seg's 72.15% mIoU on Trans10K-v2, and ClearPose's 58% to 13% ADD-S pose drop.

Beating the query head means a higher multi-layer mask AP on ClearPose's heavy-occlusion and translucent-cover subsets, with confidence intervals from separate scene sequences that do not overlap. The two key ablations use identical heads and data. The first replaces $(e_1, e_2)$ with a single-valued arrow, in the CDNet and Deep Watershed style. The second replaces it with an ordered pair trained by Hungarian matching. Both isolate the symmetric multi-valued encoding.

Why not just…?

Why not just prompt SAM? On camouflaged scenes, where boundaries blend into the background much as glass does, SAM's everything mode produced under 3% usable masks on COD10K and an MAE of 0.132 on CAMO, against 0.057 for a task-specific model (Can SAM Segment Anything?). Even with good box prompts, SAM returns one mask per prompt and has no mechanism for flagging pixels shared by two objects. The ground-truth-box run will show how much of the gap is prompting versus representation.

Why not just make the glass opaque with GHOST, then run an ordinary instance segmenter? GHOST synthesizes one continuous opaque texture over its single transparent mask (GHOST). That plausibly erases the refraction cues at contact edges, and the method assumes weak refraction, which its authors say fails on thick glass and liquids. If GHOST code is available, we will run GHOST followed by an opaque instance segmenter as an extra baseline. If it matches us on contact-only scenes but not on see-through overlap, that localizes our contribution to multi-ownership.

Why not just train a query-based mask head on the same features? This is a genuine threat, and the main comparison above is designed to settle it. Our hypothesis is that dense arrows scale better than a fixed query budget to scenes with more than 25 small, heavily stacked objects, and that they transfer better from renders to real images. The reason is that each pixel's target is local geometry rather than a global set assignment. If the query head matches us across all ClearPose subsets, we will report that the encoding is unnecessary and keep only the multi-layer benchmark as the contribution.

Why not just predict a distance map instead of arrows? Distance maps of touching objects blur together at the contact zone, while arrows flip direction across it (CDNet; Accurate Nuclear Segmentation with Center Vector Encoding). A scalar distance also cannot represent two owners at all. We include a distance-plus-watershed head as a secondary ablation rather than relying on this argument alone.

Proposed Experiments and Decisive Checks

Training uses rendered scenes only. Testing uses real ClearPose with objects and settings held out, stratified by the dataset's adversarial settings: heavy occlusion, translucent covers, liquid-filled and novel backgrounds. We also run a secondary visible-mask check on the "Things" classes of Trans10K-v2 against instance masks we derive there. The metrics are:

  • standard mask AP on visible masks;
  • multi-layer mask AP against CAD-rendered silhouettes;
  • per-pixel layer-count accuracy;
  • boundary F-score at contact edges.

As a downstream test, the predicted per-instance masks are fed to the ClearPose pose pipeline and ADD-S is reported. This tests whether instance separation recovers part of the drop to 13%.

Three results would decide the project:

  1. The frozen-feature linear probe must beat chance on owner count. If it does not, the zero-shot premise fails as the PEFT ceiling result predicts.
  2. The symmetric encoding must beat both the single-valued and the ordered-pair ablations specifically on the pixels that have two owners.
  3. The method must beat the query head on the translucent-cover and heavy-occlusion subsets.

If the first holds but the third does not, the honest conclusion is that frozen features carry the information and any overlap-aware decoder can use it. That is still a useful negative result for transparent clutter.