The devil is in the object boundary: towards annotation-free instance segmentation using Foundation Models
Cheng Shi, Sibei Yang
TL;DR
The paper addresses the annotation bottleneck in instance segmentation by identifying that existing foundation-models like DINO and SAM fail to separate closely packed instances due to boundary ambiguity. It proposes Zip, a classification-first-then-discovery pipeline that leverages CLIP-derived dense semantic clues and a boundary-prior from a specific CLIP middle layer to guide clustering, fragment selection, and SAM-based mask refinement for annotation-free, open-vocabulary detection and segmentation. The approach yields substantial zero-shot gains on COCO, enables open-vocabulary detection competitive with supervised baselines after self-training, and demonstrates data-efficient tuning with limited labels. Overall, Zip provides a practical, scalable path to annotate-free instance segmentation by effectively coupling CLIP boundary discovery with SAM segmentation in a multi-stage framework.
Abstract
Foundation models, pre-trained on a large amount of data have demonstrated impressive zero-shot capabilities in various downstream tasks. However, in object detection and instance segmentation, two fundamental computer vision tasks heavily reliant on extensive human annotations, foundation models such as SAM and DINO struggle to achieve satisfactory performance. In this study, we reveal that the devil is in the object boundary, \textit{i.e.}, these foundation models fail to discern boundaries between individual objects. For the first time, we probe that CLIP, which has never accessed any instance-level annotations, can provide a highly beneficial and strong instance-level boundary prior in the clustering results of its particular intermediate layer. Following this surprising observation, we propose $\textbf{Zip}$ which $\textbf{Z}$ips up CL$\textbf{ip}$ and SAM in a novel classification-first-then-discovery pipeline, enabling annotation-free, complex-scene-capable, open-vocabulary object detection and instance segmentation. Our Zip significantly boosts SAM's mask AP on COCO dataset by 12.5% and establishes state-of-the-art performance in various settings, including training-free, self-training, and label-efficient finetuning. Furthermore, annotation-free Zip even achieves comparable performance to the best-performing open-vocabulary object detecters using base annotations. Code is released at https://github.com/ChengShiest/Zip-Your-CLIP
