NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Segment Anything, Even Occluded

Wei-En Tai, Yu-Lin Shih, Cheng Sun, Yu-Chiang Frank Wang, Hwann-Tzong Chen

Abstract

SAMEO (Segment Anything Model Even under Occlusion) is a novel framework designed to adapt the Segment Anything Model (SAM) for amodal instance segmentation. By decoupling the detector from the mask generator and training on a massive new 1M-image dataset collection, SAMEO achieves state-of-the-art zero-shot performance. The model effectively predicts the full shape of objects even when they are partially hidden, addressing long-standing challenges in computer vision related to architectural rigidity and data scarcity.

Introduction

In standard computer vision tasks, "modal" segmentation identifies only the visible pixels of an object. However, human perception is naturally "amodal"—we instinctively "fill in the blanks" to understand the complete volume of an object even when it is partially obscured. For instance, if a car is half-hidden behind a tree, we still perceive the car as a complete rectangular entity. Replicating this capability in AI has been challenging due to two primary hurdles: the architectural rigidity of models that couple detection with segmentation, and the scarcity of high-quality, diverse amodal datasets.

The SAMEO Framework

To address these challenges, the authors introduce SAMEO, which leverages the architecture of EfficientSAM (a faster, lightweight version of Meta’s Segment Anything Model). A core insight of the research is that foundation models like SAM already contain latent spatial priors that make them "amodal-ready," requiring only targeted fine-tuning to predict hidden regions.

Key Innovations

  • Decoupled Architecture: SAMEO acts as a modular mask decoder. It receives a bounding box prompt from any off-the-shelf detector (e.g., RTMDet or ConvNeXt-V2), allowing it to benefit from future advances in object detection without requiring retraining of the segmentation head.
  • Prompt-Agnostic Training: The model is trained using a 50/50 mix of "modal" boxes (tight to visible parts) and "amodal" boxes (covering the whole object). This flexibility ensures the model can generate accurate full-shape masks regardless of how the front-end detector defines object boundaries.
  • IoU Prediction Branch: SAMEO includes a branch that predicts the Intersection over Union (IoU) of the generated mask. This quality score is used to refine the final detection confidence, significantly improving ranking performance across benchmarks.
  • Dual Annotation Mechanism: To prevent the model from hallucinating occlusions where none exist, it is trained on image pairs consisting of an original unoccluded object and a synthetically occluded version of the same object.

Data and Training Strategy

A significant contribution of this work is the introduction of Amodal-LVIS, a synthetic dataset of 300,000 images derived from LVIS and LVVIS. The authors employed a precise occlusion generation process to ensure natural-looking overlaps. Furthermore, they curated a massive training collection of 1 million images and 2 million instances by cleaning existing datasets (like COCOA and KINS) to remove low-signal architectural elements like floors and ceilings. This cleaning process proved vital, as filtering out objects with extreme visibility ratios (under 10% or over 90%) significantly improved the model's signal-to-noise ratio.

Key Results and Performance

SAMEO demonstrates exceptional zero-shot performance, outperforming previous state-of-the-art models on datasets it was not specifically trained on.

Qualitative comparison showing SAMEO's ability to predict full object shapes (bottom row) compared to standard modal segmentation (middle row) across diverse scenarios.

On the COCOA-cls benchmark, SAMEO achieved 54.4 AP, a substantial jump over the previous leader, AISFormer (40.6 AP). Similarly, on D2SA, it reached 75.0 AP. Qualitatively, as seen in the figure above, SAMEO produces sharper and more anatomically correct boundaries for hidden regions, avoiding the "blob-like" artifacts common in earlier amodal models.

Conclusion and Future Directions

SAMEO proves that foundation models possess significant spatial prior knowledge that can be adapted for amodal tasks with targeted fine-tuning. While highly effective, the model's performance remains tethered to the quality of the initial bounding box prompt. Future research may focus on handling extreme occlusions (where over 90% of the object is hidden), integrating temporal data from video to resolve shapes, and exploring complex multi-layer occlusions.

Summary updated

BibTeX
@inproceedings{tai2025segment,
  author = {Wei-En Tai and Yu-Lin Shih and Cheng Sun and Yu-Chiang Frank Wang and Hwann-Tzong Chen},
  title = {{Segment Anything, Even Occluded}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02736},
}
Figure