{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/zoom-in-and-out-a-mixed-scale-triplet-network","title":"Zoom In and Out: A Mixed-scale Triplet Network for Camouflaged Object Detection","arxiv_id":"2203.02688","date":"2022-03-05","proceeding":"CVPR 2022 1","authors":["Pang Youwei","Zhao Xiaoqi","Xiang Tian-Zhu","Zhang Lihe","Lu Huchuan"],"abstract":"The recently proposed camouflaged object detection (COD) attempts to segment objects that are visually blended into their surroundings, which is extremely complex and difficult in real-world scenarios. Apart from high intrinsic similarity between the camouflaged objects and their background, the objects are usually diverse in scale, fuzzy in appearance, and even severely occluded. To deal with these problems, we propose a mixed-scale triplet network, \\textbf{ZoomNet}, which mimics the behavior of humans when observing vague images, i.e., zooming in and out. Specifically, our ZoomNet employs the zoom strategy to learn the discriminative mixed-scale semantics by the designed scale integration unit and hierarchical mixed-scale unit, which fully explores imperceptible clues between the candidate objects and background surroundings. Moreover, considering the uncertainty and ambiguity derived from indistinguishable textures, we construct a simple yet effective regularization constraint, uncertainty-aware loss, to promote the model to accurately produce predictions with higher confidence in candidate regions. Without bells and whistles, our proposed highly task-friendly model consistently surpasses the existing 23 state-of-the-art methods on four public datasets. Besides, the superior performance over the recent cutting-edge models on the SOD task also verifies the effectiveness and generality of our model. The code will be available at \\url{https://github.com/lartpang/ZoomNet}.","url_abs":"https://arxiv.org/abs/2203.02688v1","url_pdf":"https://arxiv.org/pdf/2203.02688v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"zoom-in-and-out-a-mixed-scale-triplet-network","repo_url":"https://github.com/lartpang/zoomnet","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"camouflaged-object-segmentation","task_name":"Camouflaged Object Segmentation"},{"task_slug":"image-segmentation","task_name":"Image Segmentation"},{"task_slug":"object-detection","task_name":"Object Detection"},{"task_slug":null,"task_name":"Triplet"},{"task_slug":"object-detection-1","task_name":"object-detection"}],"methods":[{"method_slug":"zoomnet","method_name":"ZoomNet"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/camouflaged-object-segmentation-on-pcod-1200","task":"Camouflaged Object Segmentation","dataset":"PCOD_1200","model":"ZoomNet","rank_in_archive_order":4,"of":16,"metrics":{"S-Measure":"0.897"},"uses_additional_data":false},{"leaderboard":"/sota/image-segmentation-on-mas3k","task":"Image Segmentation","dataset":"MAS3K","model":"ZoomNet","rank_in_archive_order":4,"of":4,"metrics":{"E-measure":"0.898","MAE":"0.032","S-measure":"0.862","mIoU":"0.736"},"uses_additional_data":false},{"leaderboard":"/sota/image-segmentation-on-rmas","task":"Image Segmentation","dataset":"RMAS","model":"ZoomNet","rank_in_archive_order":4,"of":4,"metrics":{"E-measure":"0.915","MAE":"0.022","S-measure":"0.855","mIoU":"0.728"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2203.02688","atlas_url":"https://app.syntology.ai/?focus=2203.02688","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2203.02688"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lartpang/zoomnet","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/lartpang/ZoomNet","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":7,"ran_draft_wrong":4,"ran_honours":1,"unverified":1},"by_repo_kind":{"official":{"samples":13,"ran":12,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"baaa14215b7042ce","entry":"ASPP","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"baaa14215b7042ce"}},{"code_sha256_prefix":"05985573b34cdbec","entry":"BasicModelClass","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"05985573b34cdbec"}},{"code_sha256_prefix":"862d137d282a2bab","entry":"ConvBNReLU","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"862d137d282a2bab"}},{"code_sha256_prefix":"7643f062b521c4d3","entry":"HMU","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7643f062b521c4d3"}},{"code_sha256_prefix":"4a417a63c358c5ab","entry":"Registry","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"4a417a63c358c5ab"}},{"code_sha256_prefix":"aec31add8468eb86","entry":"SIU","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"aec31add8468eb86"}},{"code_sha256_prefix":"0fa380f44af066ff","entry":"TransLayer","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0fa380f44af066ff"}},{"code_sha256_prefix":"22f8cb77f8cc8af2","entry":"_get_act_fn","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"22f8cb77f8cc8af2"}},{"code_sha256_prefix":"1c4040dd702dbed1","entry":"cal_ual","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1c4040dd702dbed1"}},{"code_sha256_prefix":"a1699c744bd715fd","entry":"formatter_for_dict","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"a1699c744bd715fd"}},{"code_sha256_prefix":"1ed4fe7e2e6020fa","entry":"get_coef","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1ed4fe7e2e6020fa"}},{"code_sha256_prefix":"ce165bae8262bf4c","entry":"item2str","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ce165bae8262bf4c"}},{"code_sha256_prefix":"6e01acf2e56ffb95","entry":"ZoomNet","repo":"lartpang/ZoomNet","repo_kind":"official","path":"methods/zoomnet/zoomnet.py","file_url":"https://github.com/lartpang/ZoomNet/blob/HEAD/methods/zoomnet/zoomnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6e01acf2e56ffb95"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}