Imagine looking at a cat sitting behind the slats of a wooden fence. Visually, the cat is split into a dozen distinct vertical stripes. Yet, your brain does not perceive a dozen tiny, independent cat-like entities; it automatically completes the shape, understanding it as one continuous object. This cognitive ability is known as amodal perception (Li).
For computer vision models, however, this "occlusion-induced fragmentation" presents a severe challenge. When a foreground object cuts across a background object, the two-dimensional projection splits a single physical entity into spatially disjoint regions. Traditional segmentation models often fail to associate these disparate fragments as a single entity, leading to incomplete masks, duplicate detections, or distorted boundaries.
To solve this, researchers have shifted from relying on local visual continuity toward architectures that reason about global context, depth layers, and explicit fragment association.
Why Local Continuity Fails
Most classical and early deep learning segmentation pipelines rely on spatial adjacency. Bottom-up strategies, such as the watershed transform (Deep Watershed Transform for Instance Segmentation) or greedy neighbor-aggregation cascades (Weiss et al. in SCALPEL: Segmentation Cascades with Localized Priors and Efficient Learning), operate on the assumption that pixels belonging to the same object must be spatially contiguous.
When an occluder breaks this continuity, local grouping mechanisms break down:
- Over-Segmentation and Duplicate Detections: Because the method relies on spatial connectivity to define instances, it tends to misidentify the separated fragments of a single object as multiple distinct entities (Huang et al.).
- Topological Constraints: Boundary-based models that represent objects as a single closed loop—such as polygonal transformers (Lazarow et al. in Instance Segmentation with Mask-supervised Polygonal Boundary Transformers) or graph convolutional contours (Ling et al. in Fast Interactive Object Annotation With Curve-GCN.)—cannot naturally represent multi-component objects. When confronted with fragmented instances, they erroneously stretch their boundaries across the occluder to force a connection, creating highly inaccurate shapes.
Traditional Boundary-Based Model:
[ Fragment A ] --------(Erroneous Bridge)--------> [ Fragment B ]
Result: Inaccurate, stretched mask that includes the occluder.
Fragment Association Model:
[ Fragment A ] <=======(Semantic Association)=======> [ Fragment B ]
Result: Two distinct masks assigned to a single object ID.
Non-Local Affinities and Global Priors
To bridge the physical gaps caused by occluders, models must look past immediate pixel neighborhoods. One approach is to expand the receptive field of pixel relationships using multi-scale connectivity.
Yiding Liu et al. (Affinity Derivation and Graph Merge for Instance Segmentation) demonstrated that by evaluating pixel affinities across multiple spatial distances, a system can successfully bridge and merge fragmented parts of a single object separated by foreground elements. If the affinity network recognizes that two disjoint patches share identical semantic and textural properties, it can maintain instance integrity despite the visual gap.
To guide these non-local connections, models inject top-down category knowledge or visual analogies. For example, Ji et al. (Semantic Locality-Aware Deformable Network for Clothing Segmentation) utilized exemplar shapes to maintain global structural context across regions that are visually separated by foreground obstacles (such as a shoulder bag bisecting a dress). By matching the fragmented visual input against a known, unoccluded shape prior, the network infers that the separated pixel clusters belong to the same underlying entity (Chen et al.).
Layered and Amodal Representations
Instead of treating occlusion as random noise or a missing data problem, a more robust strategy is to explicitly model the depth-ordered layers of the scene.
Ghosh (Bayesian Nonparametric Discovery of Layers and Parts from Scenes and Objects) showed that by accounting for depth-ordered layers, vision systems can maintain the identity of a single background object, preventing the model from misidentifying a single occluded entity as multiple disconnected segments.
This concept was formalized into deep learning architectures by Ke et al. (Occlusion-Aware Instance Segmentation Via BiLayer Network Architectures), who proposed a "bilayer" network architecture. This framework decouples overlapping objects into two distinct layers: the occluder (the object in front) and the occludee (the partially hidden object).
Input Image Layer ===> [ Decoupling Module ] ===> Layer 1: Occluder Mask (Foreground)
===> Layer 2: Occludee Mask (Background Fragments)
By explicitly modeling the boundaries of the foreground occluder, the network treats occlusion as a structured interaction. It learns where the background object should continue, allowing it to seamlessly propagate information across the gaps and maintain instance consistency for heavily fragmented objects in crowded scenes.
Post-Hoc Topological Merging
Rather than forcing the base segmentation network to maintain continuity through obstructions, an alternative paradigm treats fragment association as a distinct, dedicated sub-task at the end of the pipeline.
Shu Liu et al. (SGN: Sequential Grouping Networks for Instance Segmentation) tackled this by decomposing instance segmentation into a hierarchy of simpler grouping tasks: pixels to lines, lines to connected components, and finally, components to full instances. By placing a dedicated merging stage at the end of the pipeline, the model explicitly reasons about whether disconnected components belong to the same physical instance, treating occlusion as a specific topological problem.
This strategy also rescues contour-based methods. Peng et al. (Deep Snake for Real-Time Instance Segmentation) introduced a framework where disjoint parts of the same instance are initially processed as separate components with their own independent boundaries. A subsequent merging module unifies them based on global context. This allows contour-based methods, which traditionally assume a single continuous boundary, to successfully represent complex or interrupted object shapes without stretching or breaking.