伪装目标检测(COD)由于目标与背景高度相似,在计算机视觉中构成重大挑战。现有方法通常依赖大量训练和庞大的计算资源。虽然 Segment Anything Model (SAM) 等基础模型提供了强大的泛化能力,但它们在未经微调的情况下仍难以处理 COD 任务,且需要高质量提示才能获得良好性能。然而,手动生成此类提示成本高昂且效率低下。为应对这些挑战,我们提出了 First RAG, Second SEG (RAG-SEG),这是一种免训练范式,将 COD 解耦为两个阶段:检索增强生成(RAG)用于生成粗略掩码作为提示,随后进行基于 SAM 的分割(SEG)以进行细化。RAG-SEG 通过无监督聚类构建紧凑的检索数据库,实现快速有效的特征检索。在推理期间,检索到的特征生成伪标签,利用 SAM2 指导精确掩码生成。我们的方法消除了传统训练的需求,同时保持了具有竞争力的性能。在基准 COD 数据集上的大量实验表明,RAG-SEG 的表现与最先进的方法持平或超越它们。值得注意的是,所有实验均在个人笔记本电脑上进行,突显了我们方法的计算效率和实用性。我们在附录中提供了进一步分析,涵盖局限性、显著目标检测扩展以及可能的改进。代码:https://github.com/Lwt-diamond/RAG-SEG。
英文摘要:
Camouflaged object detection (COD) poses a significant challenge in computer vision due to the high similarity between objects and their backgrounds. Existing approaches often rely on heavy training and large computational resources. While foundation models such as the Segment Anything Model (SAM) offer strong generalization, they still struggle to handle COD tasks without fine-tuning and require high-quality prompts to yield good performance. However, generating such prompts manually is costly and inefficient. To address these challenges, we propose \textbf{First RAG, Second SEG (RAG-SEG)}, a training-free paradigm that decouples COD into two stages: Retrieval-Augmented Generation (RAG) for generating coarse masks as prompts, followed by SAM-based segmentation (SEG) for refinement. RAG-SEG constructs a compact retrieval database via unsupervised clustering, enabling fast and effective feature retrieval. During inference, the retrieved features produce pseudo-labels that guide precise mask generation using SAM2. Our method eliminates the need for conventional training while maintaining competitive performance. Extensive experiments on benchmark COD datasets demonstrate that RAG-SEG performs on par with or surpasses state-of-the-art methods. Notably, all experiments are conducted on a \textbf{personal laptop}, highlighting the computational efficiency and practicality of our approach. We present further analysis in the Appendix, covering limitations, salient object detection extension, and possible improvements. \textcolor{blue} {Code: https://github.com/Lwt-diamond/RAG-SEG.}
Northwestern Polytechnical University(西北工业大学);Australian National University(澳大利亚国立大学);CSIRO(澳大利亚联邦科学与工业研究组织);Inception Institute of AI (IIAI)(Inception人工智能研究院)
Camouflage is a key defence mechanism across species that is critical to survival. Common strategies for camouflage include background matching, imitating the color and pattern of the environment, and disruptive coloration, disguising body outlines [35]. Camouflaged object detection (COD) aims to segment camouflaged objects hiding in their surroundings. Existing COD models are built upon binary ground truth to segment the camouflaged objects without illustrating the level of camouflage. In this paper, we revisit this task and argue that explicitly modeling the conspicuousness of camouflaged ob…
A Unified Query-based Paradigm for Camouflaged Instance Segmentation
Zhejiang University(浙江大学);The Chinese University of Hong Kong(香港中文大学);The Hong Kong University of Science and Technology(香港科技大学);G42;ETH Zurich(苏黎世联邦理工学院);MBZUAI(穆罕默德·本·扎耶德人工智能大学)
Expose Camouflage in the Water: Underwater Camouflaged Instance Segmentation and Dataset
School of Information and Communication Engineering, Hainan University(海南大学信息与通信工程学院);School of Electronic and Information Engineering, Guangdong Ocean University(广东海洋大学电子与信息工程学院);School of Computer Science and Technology, Hainan University(海南大学计算机科学与技术学院);School of Computer Science, Nankai University(南开大学计算机科学学院);Institute of Software, Chinese Academy of Science(中国科学院软件研究所);School of Data Science, Lingnan University(岭南大学数据科学学院)
We present OSFormer, the first one-stage transformer framework for camouflaged instance segmentation (CIS). OSFormer is based on two key designs. First, we design a location-sensing transformer (LST) to obtain the location label and instance-aware parameters by introducing the location-guided queries and the blend-convolution feedforward network. Second, we develop a coarse-to-fine fusion (CFF) to merge diverse context information from the LST encoder and CNN backbone. Coupling these two components enables OSFormer to efficiently blend local features and long-range context dependencies for pre…
Learning Camouflaged Object Detection from Noisy Pseudo Label
Beijing Institute of Technology(北京理工大学);Shanghai Institute of Technology(上海应用技术大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);Linköping University(林雪平大学)
University of Dayton(代顿大学);National Institute of Informatics(信息学研究所);Vietnam National University, Ho Chi Minh City(胡志明市越南国家大学);University of Information Technology, VNU-HCM(胡志明市越南国家大学信息技术大学);University of Science, Ho Chi Minh City, Vietnam(越南胡志明市科学大学);John von Neumann Institute, VNU-HCM(胡志明市越南国家大学约翰·冯·诺依曼研究所);Monash University(莫纳什大学)
Camouflaged objects are generally difficult to be detected in their natural environment even for human beings. In this paper, we propose a novel bio-inspired network, named the MirrorNet, that leverages both instance segmentation and mirror stream for the camouflaged object segmentation. Differently from existing networks for segmentation, our proposed network possesses two segmentation streams: the main stream and the mirror stream corresponding with the original image and its flipped image, respectively. The output from the mirror stream is then fused into the main stream's result for the fi…
Catch Me If You Can Describe Me: Open-Vocabulary Camouflaged Instance Segmentation with Diffusion
The Hong Kong University of Science and Technology(香港科学与技术大学);CFAR & IHPC, A*STAR(CFAR与IHPC,A*STAR);Deakin University(德克萨斯大学);Nankai University(南开大学);National University of Singapore(新加坡国立大学);Trinity College Dublin(都柏林大学)
Northwestern Polytechnical University(西北工业大学);Xidian University(西安电子科技大学);the Australian National University(澳大利亚国立大学);Nankai University(南开大学)
Preys in the wild evolve to be camouflaged to avoid being recognized by predators. In this way, camouflage acts as a key defence mechanism across species that is critical to survival. To detect and segment the whole scope of a camouflaged object, camouflaged object detection (COD) is introduced as a binary segmentation task, with the binary ground truth camouflage map indicating the exact regions of the camouflaged objects. In this paper, we revisit this task and argue that the binary segmentation setting fails to fully understand the concept of camouflage. We find that explicitly modeling the…
School of Computer Science, Nankai University(南开大学计算机学院);BNRist, Department of Computer Science and Technology, Tsinghua University(清华大学计算机科学与技术系BNRist(注:BNRist为北京信息科学与技术国家研究中心的英文缩写))
How to identify and segment camouflaged objects from the background is challenging. Inspired by the multi-head self-attention in Transformers, we present a simple masked separable attention (MSA) for camouflaged object detection. We first separate the multi-head self-attention into three parts, which are responsible for distinguishing the camouflaged objects from the background using different mask strategies. Furthermore, we propose to capture high-resolution semantic representations progressively based on a simple top-down decoder with the proposed MSA to attain precise segmentation results.…
The Art of Camouflage: Few-Shot Learning for Animal Detection and Segmentation
University of Information Technology(信息科技大学);Faculty of Computer Science(计算机学院);Faculty of Information Technology(信息学院);University of Science(科学大学);John von Neumann Institute(约翰·冯·诺依曼研究所);Vietnam National University(越南国家大学);Monash University(莫纳什大学);University of Dayton(代顿大学)
Northwestern Polytechnical University(西北工业大学);Australian National University(澳大利亚国立大学);SenseTime(商汤科技)
Camouflaged object detection (COD) aims to segment camouflaged objects hiding in the environment, which is challenging due to the similar appearance of camouflaged objects and their surroundings. Research in biology suggests depth can provide useful object localization cues for camouflaged object discovery. In this paper, we study the depth contribution for camouflaged object detection, where the depth maps are generated with existing monocular depth estimation (MDE) methods. Due to the domain gap between the MDE dataset and our COD dataset, the generated depth maps are not accurate enough to …
CamoFA: A Learnable Fourier-based Augmentation for Camouflage Segmentation
University of Science, Ho Chi Minh City(胡志明市科学大学);Vietnam National University, Ho Chi Minh City(胡志明市越南国家大学);Stony Brook University(石溪大学);John von Neumann Institute(约翰·冯·诺依曼研究所);University of Dayton(代顿大学);Monash University(莫纳什大学)
ZS-VCOS: Zero-Shot Video Camouflaged Object Segmentation By Optical Flow and Open Vocabulary Object Detection
Department of CMPS, University of British Columbia(计算机科学与软件工程系,不列颠哥伦比亚大学);Group of Methane Emission Observation & Warning (MEOW) , Weathon Software(甲烷排放观测与预警小组,Weathon软件)
A Survey of Camouflaged Object Detection and Beyond
Tsinghua University(清华大学);Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院);Peking University(北京大学);School of Electrical and Computer Engineering, Peking University(北京大学电气与计算机工程学院);Duke University(杜克大学)
Monash University(莫纳什大学);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学);ETH Zurich(苏黎世联邦理工学院);SenseTime Research(商汤科技研究院);Shanghai AI Laboratory(上海人工智能实验室);Data61, CSIRO(联邦科学与工业研究组织Data61);Airdoc Research Australia(澳大利亚鹰瞳研究院)
We propose a new video camouflaged object detection (VCOD) framework that can exploit both short-term dynamics and long-term temporal consistency to detect camouflaged objects from video frames. An essential property of camouflaged objects is that they usually exhibit patterns similar to the background and thus make them hard to identify from still images. Therefore, effectively handling temporal dynamics in videos becomes the key for the VCOD task as the camouflaged objects will be noticeable when they move. However, current VCOD methods often leverage homography or optical flows to represent…
A Revisit to the Decoder for Camouflaged Object Detection
Graduate School of Data Science, Seoul National University(首尔国立大学数据科学研究生院);Department of Intelligence and Information, Seoul National University(首尔国立大学智能与信息系);Department of Industrial Engineering, Seoul National University(首尔国立大学工业工程系);LG AI Research(LG人工智能研究院);LG Electronics(LG电子);Google Research(谷歌研究院)
Nanjing University of Science and Technology(南京理工大学);Southeast University(东南大学);Lehigh University(理海大学)
Camouflaged object detection (COD) aims to detect/segment camouflaged objects embedded in the environment, which has attracted increasing attention over the past decades. Although several COD methods have been developed, they still suffer from unsatisfactory performance due to the intrinsic similarities between the foreground objects and background surroundings. In this paper, we propose a novel Feature Aggregation and Propagation Network (FAP-Net) for camouflaged object detection. Specifically, we propose a Boundary Guidance Module (BGM) to explicitly model the boundary characteristic, which …
CamoSAM2: SAM2-oriented Prompt Auto-Refinement for Video Camouflaged Object Detection
National Key Laboratory of Fundamental Science on Synthetic Vision, Sichuan University(合成视觉基础科学国家重点实验室,四川大学);College of Computer Science, Sichuan University(计算机学院,四川大学)
Toward Realistic Camouflaged Object Detection: Benchmarks and Method
School of Cyber Science and Engineering, Huazhong University of Science and Technology(华中科技大学网络空间科学与工程学院);School of Electronic Information and Communications, Huazhong University of Science and Technology(华中科技大学电子信息与通信学院);School of Computer Science & Technology, Huazhong University of Science and Technology(华中科技大学计算机科学与技术学院);Intelligent Science and Technology Academy of CASIC(中国航天科工集团有限公司智能科技研究院)
Modality-Agnostic Prompt Learning for Multi-Modal Camouflaged Object Detection
Information Science and Technology College, Dalian Maritime University(大连海事大学信息科学与技术学院);Beijing University of Technology(北京理工大学);Dalian University of Technology(大连理工大学)
Explicit Motion Handling and Interactive Prompting for Video Camouflaged Object Detection
National Key Laboratory of Fundamental Science on Synthetic Vision, Sichuan University(合成视觉基础科学国家重点实验室,四川大学);College of Computer Science(计算机学院);School of Computing(计算学院);Australian National University(澳大利亚国立大学)
Debate-Enhanced Pseudo Labeling and Frequency-Aware Progressive Debiasing for Weakly-Supervised Camouflaged Object Detection with Scribble Annotations
School of Cyber Science and Engineering, Southeast University(东南大学计算机科学与工程学院);Jiangsu Provincial Key Laboratory of Computer Networking Technology(江苏省计算机网络技术重点实验室);Jiangsu Provincial Key Laboratory of Network and Information Security(江苏省网络与信息安全重点实验室);Key Laboratory of Computer Network and Information Integration of Ministry of Education of China(教育部计算机网络与信息集成重点实验室);Nanjing Purple Mountain Laboratories(南京紫金山实验室);Fintech and Big Data Laboratory of Southeast University(东南大学金融科技与大数据实验室);Department of Aeronautical and Aviation Engineering, The Hong Kong Polytechnic University(香港理工大学航空与航空工程系);School of Computer Science and Engineering, Southeast University(东南大学计算机科学与工程学院);School of Electronics, Electrical Engineering and Computer Science, Queen’s University Belfast(贝尔法斯特女王大学电子、电气与计算机科学学院)
SAM-TTT: Segment Anything Model via Reverse Parameter Configuration and Test-Time Training for Camouflaged Object Detection
College of Computer Science and Artificial Intelligence, Wenzhou University(计算机科学与人工智能学院,温州大学);College of Computer Science and Technology, Tongji University(计算机科学与技术学院,同济大学);College of Information Science and Technology, Zhejiang Shuren University(信息科学与技术学院,浙江师大)
本文提出 SAM-TTT 模型,通过反向参数配置模块抑制不利参数,并引入 T-Visioner 模块利用测试时训练层强化有利参数,显著提升了 SAM 在伪装目标检测任务中的语义理解能力,并在多个基准上达到最先进性能。
MSRNet: A Multi-Scale Recursive Network for Camouflaged Object Detection
King Fahd University of Petroleum and Minerals(国王法赫德石油与矿物大学);Ontario Tech University(安大略技术大学);National University of Computer and Emerging Sciences(国家计算机与新兴科学大学);The University of Regina(里贾纳大学);The University of Western Australia(西澳大学)
Frequency-Guided Spatial Adaptation for Camouflaged Object Detection
National Engineering Laboratory for Integrated Aero-Space-Ground-Ocean Big Data Application Technology(空天地一体化大数据应用技术国家工程实验室);School of Computer Science, Northwestern Polytechnical University(西北工业大学计算机学院);Research & Development Institute of Northwestern Polytechnical University in Shenzhen(西北工业大学深圳研究院);School of Information and Technology, Northwest University(西北大学信息与技术学院);Xi’an Key Laboratory of Human-Machine Integration and Control Technology for Intelligent Rehabilitation, Xijing University(西京学院智能康复人机融合控制技术西安市重点实验室)
Yonsei University(延世大学);Korea Institute of Science and Technology (KIST)(韩国科学技术院)
The camouflaged object detection (COD) task aims to identify and segment objects that blend into the background due to their similar color or texture. Despite the inherent difficulties of the task, COD has gained considerable attention in several fields, such as medicine, life-saving, and anti-military fields. In this paper, we propose a novel solution called the Deformable Point Sampling network (DPS-Net) to address the challenges associated with COD. The proposed DPS-Net utilizes a Deformable Point Sampling transformer (DPS transformer) that can effectively capture sparse local boundary info…
Existing camouflaged object detection (COD) methods rely heavily on large-scale datasets with pixel-wise annotations. However, due to the ambiguous boundary, annotating camouflage objects pixel-wisely is very time-consuming and labor-intensive, taking ~60mins to label one image. In this paper, we propose the first weakly-supervised COD method, using scribble annotations as supervision. To achieve this, we first relabel 4,040 images in existing camouflaged object datasets with scribbles, which takes ~10s to label one image. As scribble annotations only describe the primary structure of objects …