{"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/arxiv-2601-21159","title":"Spatial-Regularization-Aware Dual-Branch Collaborative Inference for Training-Free OVSS in Remote Sensing Imagery","arxiv_id":"2601.21159","date":"2026-01-29","proceeding":null,"authors":["Jianzheng Wang","Huan Ni"],"abstract":"High-resolution remote sensing images contain densely distributed objects with pronounced scale variations and complex boundaries, which impose higher demands on both the geometric localization and semantic prediction capabilities of semantic segmentation models. Existing training-free open-vocabulary semantic segmentation (OVSS) methods typically fuse Contrastive Language-Image Pretraining (CLIP) and vision foundation models (VFMs) using one-way injection and shallow post-processing strategies, making it difficult to satisfy these requirements. To address this issue, we propose a spatial-regularization-aware dual-branch collaborative inference framework for training-free OVSS, termed SDCI. First, during feature encoding, SDCI introduces a cross-model attention fusion (CAF) module, which guides collaborative inference by injecting self-attention maps into each other. Second, we propose a bidirectional cross-graph diffusion refinement (BCDR) module that enhances the reliability of dual-branch segmentation scores through iterative random-walk diffusion. Finally, we incorporate low-level superpixel structures and develop a convex-optimization-based superpixel collaborative prediction (CSCP) mechanism to further refine object boundaries. Experiments on multiple remote sensing semantic segmentation benchmarks demonstrate that our method achieves better performance than existing approaches. Our code is available at https://github.com/yu-ni1989/SDCI.","url_abs":"https://arxiv.org/abs/2601.21159","url_pdf":"https://arxiv.org/pdf/2601.21159","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2601.21159","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2601.21159"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/yu-ni1989/SDCI","reach":null}],"summary":{"ran_fixture":2,"unverified":10},"by_repo_kind":{"found_in_text":{"samples":12,"ran":2,"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":"55120f2026b56aa2","entry":"drop_path","repo":"yu-ni1989/SDCI","repo_kind":"found_in_text","path":"modified_clip/vision_transformer.py","file_url":"https://github.com/yu-ni1989/SDCI/blob/HEAD/modified_clip/vision_transformer.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"55120f2026b56aa2"}},{"code_sha256_prefix":"fabe0899316ffaa5","entry":"trunc_normal_","repo":"yu-ni1989/SDCI","repo_kind":"found_in_text","path":"modified_clip/vision_transformer.py","file_url":"https://github.com/yu-ni1989/SDCI/blob/HEAD/modified_clip/vision_transformer.py","link_basis":"plan_row","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fabe0899316ffaa5"}},{"code_sha256_prefix":"28fbb08ac4592534","entry":"cam_to_label","repo":"yu-ni1989/SDCI","repo_kind":"found_in_text","path":"util/miou.py","file_url":"https://github.com/yu-ni1989/SDCI/blob/HEAD/util/miou.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":"28fbb08ac4592534"}},{"code_sha256_prefix":"8b0474ce348169e2","entry":"compute_ap","repo":"yu-ni1989/SDCI","repo_kind":"found_in_text","path":"util/tools.py","file_url":"https://github.com/yu-ni1989/SDCI/blob/HEAD/util/tools.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":"8b0474ce348169e2"}},{"code_sha256_prefix":"c3562972f2ab9e25","entry":"compute_f1","repo":"yu-ni1989/SDCI","repo_kind":"found_in_text","path":"util/tools.py","file_url":"https://github.com/yu-ni1989/SDCI/blob/HEAD/util/tools.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":"c3562972f2ab9e25"}},{"code_sha256_prefix":"941793a3319fabd3","entry":"div_backward","repo":"yu-ni1989/SDCI","repo_kind":"found_in_text","path":"ovs/label_utils.py","file_url":"https://github.com/yu-ni1989/SDCI/blob/HEAD/ovs/label_utils.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":"941793a3319fabd3"}},{"code_sha256_prefix":"1142943d7b9c8398","entry":"felzenszwalb_img2labels","repo":"yu-ni1989/SDCI","repo_kind":"found_in_text","path":"ovs/label_utils.py","file_url":"https://github.com/yu-ni1989/SDCI/blob/HEAD/ovs/label_utils.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":"1142943d7b9c8398"}},{"code_sha256_prefix":"d95287e5755c6662","entry":"get_true_label","repo":"yu-ni1989/SDCI","repo_kind":"found_in_text","path":"util/miou.py","file_url":"https://github.com/yu-ni1989/SDCI/blob/HEAD/util/miou.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":"d95287e5755c6662"}},{"code_sha256_prefix":"03bc00c3e031c484","entry":"grad_forward","repo":"yu-ni1989/SDCI","repo_kind":"found_in_text","path":"ovs/label_utils.py","file_url":"https://github.com/yu-ni1989/SDCI/blob/HEAD/ovs/label_utils.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":"03bc00c3e031c484"}},{"code_sha256_prefix":"7ecf19d7f6016dce","entry":"load_yaml","repo":"yu-ni1989/SDCI","repo_kind":"found_in_text","path":"util/tools.py","file_url":"https://github.com/yu-ni1989/SDCI/blob/HEAD/util/tools.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":"7ecf19d7f6016dce"}},{"code_sha256_prefix":"5aeffcaa5e40f745","entry":"str2bool","repo":"yu-ni1989/SDCI","repo_kind":"found_in_text","path":"util/args.py","file_url":"https://github.com/yu-ni1989/SDCI/blob/HEAD/util/args.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":"5aeffcaa5e40f745"}},{"code_sha256_prefix":"0b8fa7e1c9f0aa21","entry":"vit_tiny","repo":"yu-ni1989/SDCI","repo_kind":"found_in_text","path":"modified_clip/vision_transformer.py","file_url":"https://github.com/yu-ni1989/SDCI/blob/HEAD/modified_clip/vision_transformer.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":"0b8fa7e1c9f0aa21"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.CV","source":"arxiv_2026.jsonl"},"syntology_extracted_results":null}