[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-86320-en":3,"doc-seo-86320-105":30,"detail-sidebar-cat-0-en-105":92},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":20,"is_deleted":4,"is_public":21,"is_downloadable":21,"audit_status":21,"page_count":22,"language":23,"language_code":24,"site_id":25,"html_lang":24,"table_of_contents":26,"faqs":27,"seo_title":13,"seo_description":14,"update_tm":28,"read_time":29},86320,13056703020460,"Valentina","https://ap-avatar.wpscdn.com/avatar/be000253dac470eee5d?_k=1778207105932848923",8,"Research & Report","GFR-SAM: Training-Free Referring Camouflaged Object Segmentation via Cross-Image Prompting","Referring Camouflaged Object Detection (Ref-COD) demands accurate segmentation of hidden targets using reference cues, yet supervised training is annotation-intensive and training-free point-prompting is vulnerable to prompt localization errors. GFR-SAM introduces a robust training-free three-stage pipeline that replaces fragile point matching with a Generate-Filter-Refine flow. It generates candidate masks via cross-image in-context exemplar guidance for SAM3, filters distractors through region-global contrastive ranking, then refines boundaries by geometric-semantic integration using box and text prompts. Evaluated on R2C7K, it improves weighted F-measure by 8.7% over prior training-free methods and rivals supervised state of the art.","GFR-SAM: Training-Free Referring Camouflaged Object Segmentation via Cross-Image Prompting  \nYilong Yang∗ [Yilong.Yang@xmu.edu.cn](Yilong.Yang@xmu.edu.cn)  \nKey Laboratory of Multimedia Trusted Perception and Efficient Computing, Ministry of Education of China, Xiamen University  \nXiamen, China  \nShengchuan Zhang  \n[zsc_2016@xmu.edu.cn](zsc_2016@xmu.edu.cn)[ ](zsc_2016@xmu.edu.cn)Key Laboratory of Multimedia Trusted Perception and Efficient Computing, Ministry of Education of China,  \nXiamen University  \nXiamen, China  \nJianxin Tian∗ [thetian666@stu.xmu.edu.cn](thetian666@stu.xmu.edu.cn)[ ](thetian666@stu.xmu.edu.cn)Key Laboratory of Multimedia Trusted Perception and Efficient Computing, Ministry of Education of China, Xiamen University  \nXiamen, China  \nLiujuan Cao†  \n[caoliujuan@xmu.edu.cn](caoliujuan@xmu.edu.cn)[ ](caoliujuan@xmu.edu.cn)Key Laboratory of Multimedia Trusted Perception and Efficient Computing, Ministry of Education of China,  \nXiamen University  \nXiamen, China  \narXiv :2607 . 11732v1 [ cs .CV] 13 Jul 2026  \nAbstract  \nReferring Camouflaged Object Detection (Ref-COD) requires segmenting hidden targets guided by reference cues. While supervised methods are annotation-heavy and training-free approaches via sparse point-prompting are sensitive to localization errors, we propose GFR-SAM, a robust three-stage training-free framework. GFR-SAM shifts the paradigm from fragile point-matching to a\"Generate-Filter-Refine\" pipeline. First, we introduce In-Context Exemplar-guided Segmentation, empowering SAM3 with crossimage inference to generate candidate masks via holistic visual exemplars, bypassing its native intra-image constraints. Second, a Region-Global Contrastive Filtering module ranks candidates through DINOv3-based prototypical alignment, effectively suppressing background distractors. Finally, a Geometric-Semantic Refinement module synergizes bounding box and text prompts to recover fine-grained boundaries and enhance instance recall. Evaluated on the R2C7K benchmark, GFR-SAM outperforms existing training-free methods by 8.7% in weighted F-measure (􀀛􀁆􀁖) and competes with supervised state-of-the-art counterparts. Ultimately, this work underscores the potential of unlocking SAM3’s latent capability for cross-image In-Context prompting, establishing a robust, training-free paradigm that effectively bridges the gap between general-purpose foundation models and specialized, label-intensive perception tasks without the need for task-specific fine-tuning.  \n∗ Equal contribution.†Corresponding author.  \nPermission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission [and/or a fee. Request permissions from permissions@acm.org](and/or a fee. Request permissions from permissions@acm.org).  \nMM’ 26, Rio de Janeiro, Brazil  \n© 2026 Copyright held by the owner/author(s) . Publication rights licensed to ACM. ACM ISBN 978-x-xxxx-xxxx-x/YYYY/MM  \n[https://doi.org/XXXXXXX.XXXXXXX](https://doi.org/XXXXXXX.XXXXXXX)  \nCCS Concepts  \n• Computing methodologies → Object detection; Image segmentation.  \nKeywords  \nRef-COD, Training-Free, SAM, In-Context Learning  \nACM Reference Format:  \nYilong Yang, Jianxin Tian, Shengchuan Zhang, and Liujuan Cao. 2026. GFRSAM: Training-Free Referring Camouflaged Object Segmentation via CrossImage Prompting. In Proceedings of MM’ 26 . ACM, New York, NY, USA, 10 pages. [https://doi.org/XXXXXXX.XXXXXXX](https://doi.org/XXXXXXX.XXXXXXX)  \n1 Introduction  \nCamouflaged object detection (COD) [5] segments objects embedded in natural surroundings by mim","cbCaitNuOpNXodZd","https://ap.wps.com/l/cbCaitNuOpNXodZd","pdf",15687518,7,1,10,"English","en",105,"# Introduction\n## Problem: Referring camouflaged object detection (Ref-COD)\n## Limitations of supervised and point-prompt training-free methods\n## Proposed approach: GFR-SAM and the Generate-Filter-Refine pipeline","[{\"question\":\"What problem does GFR-SAM address in referring camouflaged object segmentation?\",\"answer\":\"GFR-SAM targets Ref-COD, where models must segment camouflaged targets guided by reference cues. It aims to overcome annotation-heavy supervision and the prompt sensitivity of existing training-free point-prompt methods.\"},{\"question\":\"How does GFR-SAM differ from prior training-free approaches?\",\"answer\":\"GFR-SAM replaces fragile point-matching with a three-stage Generate-Filter-Refine pipeline. It decouples candidate generation, distractor suppression, and boundary recovery into distinct modules rather than relying on a single point-driven step.\"},{\"question\":\"What are the three stages of the proposed framework and what does each do?\",\"answer\":\"First, In-Context Exemplar-guided Segmentation (Ice-Seg) uses cross-image exemplars to generate candidate masks with SAM3. Second, Region-Global Contrastive Filtering (RGCF) ranks candidates using DINOv3-based prototypical alignment to suppress background distractors. Third, Geometric-Semantic Refinement (GSR) combines bounding box and text prompts to recover fine-grained boundaries and improve instance recall.\"}]",1784210461,25,{"code":4,"msg":31,"data":32},"ok",{"site_id":25,"language":24,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":87,"head_meta":89,"extra_data":91,"updated_unix":28},"gfr-sam-training-free-referring-camouflaged-object-segmentation-via-cross-image-prompting","",{"@graph":36,"@context":86},[37,54,69],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":21},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/gfr-sam-training-free-referring-camouflaged-object-segmentation-via-cross-image-prompting/86320/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":24,"description":14,"dateModified":62,"datePublished":63,"encodingFormat":61,"isAccessibleForFree":64,"interactionStatistic":65},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-07-27","2026-07-16",true,{"@type":66,"interactionType":67,"userInteractionCount":20},"InteractionCounter",{"@type":68},"ViewAction",{"@type":70,"mainEntity":71},"FAQPage",[72,78,82],{"name":73,"@type":74,"acceptedAnswer":75},"What problem does GFR-SAM address in referring camouflaged object segmentation?","Question",{"text":76,"@type":77},"GFR-SAM targets Ref-COD, where models must segment camouflaged targets guided by reference cues. It aims to overcome annotation-heavy supervision and the prompt sensitivity of existing training-free point-prompt methods.","Answer",{"name":79,"@type":74,"acceptedAnswer":80},"How does GFR-SAM differ from prior training-free approaches?",{"text":81,"@type":77},"GFR-SAM replaces fragile point-matching with a three-stage Generate-Filter-Refine pipeline. It decouples candidate generation, distractor suppression, and boundary recovery into distinct modules rather than relying on a single point-driven step.",{"name":83,"@type":74,"acceptedAnswer":84},"What are the three stages of the proposed framework and what does each do?",{"text":85,"@type":77},"First, In-Context Exemplar-guided Segmentation (Ice-Seg) uses cross-image exemplars to generate candidate masks with SAM3. Second, Region-Global Contrastive Filtering (RGCF) ranks candidates using DINOv3-based prototypical alignment to suppress background distractors. Third, Geometric-Semantic Refinement (GSR) combines bounding box and text prompts to recover fine-grained boundaries and improve instance recall.","https://schema.org",{"og:url":52,"og:type":88,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":90,"canonical":52},"index,follow",{"doc_id":7,"site_id":25},{"code":4,"msg":5,"data":93},[94,98,102,106,111,116,120,123,128,131,134],{"id":21,"doc_module":4,"doc_module_name":46,"category_name":95,"show_sort_weight":96,"slug":97},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":99,"show_sort_weight":100,"slug":101},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":103,"show_sort_weight":104,"slug":105},"Exam",70,"exam",{"id":107,"doc_module":4,"doc_module_name":46,"category_name":108,"show_sort_weight":109,"slug":110},5,"Comic",60,"comic",{"id":112,"doc_module":4,"doc_module_name":46,"category_name":113,"show_sort_weight":114,"slug":115},6,"Technology",50,"technology",{"id":20,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":124,"doc_module":4,"doc_module_name":46,"category_name":125,"show_sort_weight":126,"slug":127},9,"Religion & Spirituality",20,"religion-spirituality",{"id":126,"doc_module":4,"doc_module_name":46,"category_name":129,"show_sort_weight":126,"slug":130},"World Cup","world-cup",{"id":22,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":22,"slug":133},"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":107,"slug":137},19,"General","general"]