Introduction
The advancement of vision foundation models (VFMs) has seen notable proliferation, notably through models like CLIP and Segment Anything Model (SAM). These models have provided great strides in the field of computer vision, with SAM becoming a pivotal tool for segmentation tasks and CLIP for its striking zero-shot recognition capabilities. However, each model bears its limitations when operating in isolation, such as SAM's lack of recognition ability and CLIP's challenges with dense predictions. Addressing these shortcomings, this paper introduces the Open-Vocabulary SAM, an inventive framework that fuses the functionality of SAM and CLIP, enhancing both segmentation and recognition across a vast range of classes.
Knowledge Transfer Modules
The paper details two novel knowledge transfer modules central to this integration: SAM2CLIP and CLIP2SAM. The SAM2CLIP module enables the transfer of knowledge from SAM to CLIP using a distillation process and transformer-like adapters, allowing for knowledge alignment without modifying the robust CLIP encoder. Meanwhile, CLIP2SAM applies the reverse, transferring knowledge from CLIP to SAM to augment the model’s recognition capabilities while maintaining effective segmentation. These modules work synergistically in a unified encoder-decoder framework, substantially outperforming baseline models that naively combine SAM and CLIP without considering their architectural differences and knowledge compatibility.
Experiments and Results
Extensive experiments conducted across a spectrum of datasets, including COCO and LVIS, demonstrate the superior performance of the Open-Vocabulary SAM. The method showcases over a 20% improvement in recognizing previously unseen objects on the LVIS dataset and enhanced segmentation and classification performance on the COCO dataset. The key is the joint training with both segmentation mask and label annotations, leading to a synergy between SAM's and CLIP's functionalities. This combination allows Open-Vocabulary SAM to interactively segment and recognize approximately 22,000 classes, a significant upscale from its predecessors.
Implications and Future Directions
Open-Vocabulary SAM presents a robust AI architecture that has practical applications in image analysis, including interactive segmentations such as those used in autonomous driving or medical imaging. By effectively segmenting and recognizing a wide range of objects, the model sets the stage for more accurate and efficient image annotation tools. Additionally, the model’s open-vocabulary capabilities potentiate widespread use in fields requiring domain-specific recognition, from wildlife conservation to smart city surveillance, by learning from a vast and variable dataset. While this paper marks a leap forward, it also opens avenues for further research to fine-tune models for specific domains and expand their interactive capabilities.