[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-490580-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-490580-en":131},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","open-vocabulary-sam-paper-segment-and-recognize-twenty-thousand-classes-interactively","Open-Vocabulary SAM - Paper - Segment and Recognize Twenty-thousand Classes Interactively","","CLIP and the Segment Anything Model (SAM) are combined to address SAM’s lack of recognition and CLIP’s difficulty with dense prediction. The framework introduces Open-Vocabulary SAM, enabling simultaneous interactive segmentation and recognition via two knowledge-transfer modules: SAM2CLIP and CLIP2SAM. SAM2CLIP distills SAM knowledge into a frozen CLIP encoder using pixel-wise distillation and transformer-like adapters, while CLIP2SAM transfers CLIP knowledge into a SAM decoder with a feature pyramid adapter and RoIAlign. Experiments on multiple datasets and detectors show strong gains over naive SAM+CLIP baselines, and with classification data training the method reaches segmentation and recognition of about 22,000 classes.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/open-vocabulary-sam-paper-segment-and-recognize-twenty-thousand-classes-interactively/490580/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/open-vocabulary-sam-paper-segment-and-recognize-twenty-thousand-classes-interactively/490580.png","ImageObject",300,407,{"name":42,"@type":43},"Kurz","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-17","2026-10-01",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",13,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"What problem does Open-Vocabulary SAM aim to solve?","Question",{"text":63,"@type":64},"SAM can segment with prompts but cannot recognize the identified segments, while CLIP’s representations are harder to adapt for dense prediction. Open-Vocabulary SAM integrates both to achieve interactive segmentation and recognition in one framework.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How do SAM2CLIP and CLIP2SAM work?",{"text":68,"@type":64},"SAM2CLIP distills knowledge from the SAM encoder into a frozen CLIP encoder using a lightweight transformer-like adapter and pixel-wise distillation loss. CLIP2SAM transfers CLIP knowledge into the SAM decoder using a feature pyramid adapter with a RoIAlign operator for joint training.",{"name":70,"@type":61,"acceptedAnswer":71},"How is the method evaluated and what improvement is reported?",{"text":72,"@type":64},"Extensive experiments on various datasets and detectors compare Open-Vocabulary SAM against naive SAM+CLIP combination baselines, showing significantly better performance for both segmentation and recognition. With additional image classification training, it can segment and recognize approximately 22,000 classes.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},490580,1791031409,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":128,"language":140,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":12,"update_tm":144,"read_time":145,"preview_page_count":33,"preview_urls":146},2336478945635,"https://ap-avatar.wpscdn.com/davatar_6f874abed73319feea01a86fa6f0fab8","Open-Vocabulary SAM: Segment and Recognize Twenty-thousand Classes Interactively  \nHaobo Yuan 1 , Xiangtai Li 1 , Chong Zhou 1 , Yining Li2 , Kai Chen2 ,  \nand Chen Change Loy 1   \n1 S-Lab, Nanyang Technological University  \n2 Shanghai AI Laboratory  \nProject Page: [https://www.mmlab-ntu.com/project/ovsam](https://www.mmlab-ntu.com/project/ovsam)  \nE-mail: [yuanhaobo@whu.edu.cn](yuanhaobo@whu.edu.cn) , [xiangtai94@gmail.com](xiangtai94@gmail.com)  \nAbstract. The CLIP and Segment Anything Model (SAM) are remarkable vision foundation models (VFMs) . SAM excels in segmentation tasks across diverse domains, whereas CLIP is renowned for its zero-shot recognition capabilities. This paper presents an in-depth exploration of integrating these two models into a unified framework. Specifically, we introduce the Open-Vocabulary SAM, a SAM-inspired model designed for simultaneous interactive segmentation and recognition, leveraging two unique knowledge transfer modules: SAM2CLIP and CLIP2SAM. The former adapts SAM’s knowledge into the CLIP via distillation and learnable transformer adapters, while the latter transfers CLIP knowledge into SAM, enhancing its recognition capabilities. Extensive experiments on various datasets and detectors show the effectiveness of Open-Vocabulary SAM in both segmentation and recognition tasks, significantly outperforming the naïve baselines of simply combining SAM and CLIP. Furthermore, aided with image classification data training, our method can segment and recognize approximately 22,000 classes.  \nKeywords: Scene Understanding · Promptable Segmentation  \n1 Introduction  \nThe Segment Anything Model (SAM) [30] and CLIP [53] have made significant strides in various vision tasks, showcasing remarkable generalization capabilities in segmentation and recognition, respectively. SAM, in particular, has been trained with a massive dataset of mask labels, making it highly adaptable toa wide range of downstream tasks through interactive prompts. On the other hand, CLIP’s training with billions of text-image pairs has given it an unprecedented ability in zero-shot visual recognition. This has led to numerous studies [18,64,72,78] exploring the extension of CLIP to open vocabulary tasks, such as detection and segmentation.  \nWhile SAM and CLIP offer considerable advantages, they also have inherent limitations in their original designs. SAM, for instance, lacks the capability to recognize the segments it identifies. Efforts to overcome this by integrating a  \n2 H. Yuan et al.  \nFig. 1: Open-Vocabulary SAM not only can segment anything with prompts just like SAM but also has the capability of recognition in the real world, like CLIP. With drastically lower computational cost, Open-Vocabulary SAM has a higher recognition performance than directly combining SAM and CLIP with image or feature cropping (measured on the COCO open vocabulary benchmark) .  \nclassification head have been made [32,83], but these solutions are constrained to specific datasets or closed-set settings. On the other hand, CLIP, which is trained using image-level contrastive losses, faces challenges in adapting its representations for dense prediction tasks. To address this, several studies [18, 57, 66, 67, 76] have investigated ways to align CLIP’s representation for dense predictions. However, these approaches tend to be dataset-specific and not universally applicable. For example, some research has focused on open vocabulary segmentation on the ADE-20k [84] dataset, using the COCO [43] dataset for pre-training. Merging SAM and CLIP in a naïve manner, as illustrated in Fig. 2 (a) and (b), proves to be inefficient. This approach incurs substantial computational expenses and yields subpar results, including recognition of small-scale objects, as evidenced by our experimental results.  \nIn this study, we address these challenges with a unified encoder-decoder framework that integrates a CLIP encoder and a SAM decoder, as depicted in Fig. 2 (c) . To br","cbCaik0XQl5EdsuU","https://ap.wps.com/l/cbCaik0XQl5EdsuU","pdf",3559757,"English","# Introduction\n## Unified encoder-decoder motivation\n## Knowledge transfer modules: SAM2CLIP and CLIP2SAM","[{\"question\":\"What problem does Open-Vocabulary SAM aim to solve?\",\"answer\":\"SAM can segment with prompts but cannot recognize the identified segments, while CLIP’s representations are harder to adapt for dense prediction. Open-Vocabulary SAM integrates both to achieve interactive segmentation and recognition in one framework.\"},{\"question\":\"How do SAM2CLIP and CLIP2SAM work?\",\"answer\":\"SAM2CLIP distills knowledge from the SAM encoder into a frozen CLIP encoder using a lightweight transformer-like adapter and pixel-wise distillation loss. CLIP2SAM transfers CLIP knowledge into the SAM decoder using a feature pyramid adapter with a RoIAlign operator for joint training.\"},{\"question\":\"How is the method evaluated and what improvement is reported?\",\"answer\":\"Extensive experiments on various datasets and detectors compare Open-Vocabulary SAM against naive SAM+CLIP combination baselines, showing significantly better performance for both segmentation and recognition. With additional image classification training, it can segment and recognize approximately 22,000 classes.\"}]","Open-Vocabulary SAM - Paper - Segment and Recognize Twenty-thousand Classes Interactively | PDF",1790839582,48,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/d00a8043229b1b4285ef32c9064314b6.webp",983,1272,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/71963fff66efd8ff4ac8ce5fa8148fd9.webp",982,1270,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/504f135d8d08d47e825a05b37b002814.webp",981,1269,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-17/f6606a0728b0ff8dabea5eb32a12cc28.webp",980,1268]