{"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/linguistic-structure-guided-context-modeling-1","title":"Linguistic Structure Guided Context Modeling for Referring Image Segmentation","arxiv_id":"2010.00515","date":"2020-10-01","proceeding":"ECCV 2020 8","authors":["Tianrui Hui","Si Liu","Shaofei Huang","Guanbin Li","Sansi Yu","Faxi Zhang","Jizhong Han"],"abstract":"Referring image segmentation aims to predict the foreground mask of the object referred by a natural language sentence. Multimodal context of the sentence is crucial to distinguish the referent from the background. Existing methods either insufficiently or redundantly model the multimodal context. To tackle this problem, we propose a \"gather-propagate-distribute\" scheme to model multimodal context by cross-modal interaction and implement this scheme as a novel Linguistic Structure guided Context Modeling (LSCM) module. Our LSCM module builds a Dependency Parsing Tree suppressed Word Graph (DPT-WG) which guides all the words to include valid multimodal context of the sentence while excluding disturbing ones through three steps over the multimodal feature, i.e., gathering, constrained propagation and distributing. Extensive experiments on four benchmarks demonstrate that our method outperforms all the previous state-of-the-arts.","url_abs":"https://arxiv.org/abs/2010.00515v3","url_pdf":"https://arxiv.org/pdf/2010.00515v3.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":"linguistic-structure-guided-context-modeling-1","repo_url":"https://github.com/spyflying/LSCM-Refseg","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"dependency-parsing","task_name":"Dependency Parsing"},{"task_slug":"image-segmentation","task_name":"Image Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"},{"task_slug":"sentence","task_name":"Sentence"},{"task_slug":null,"task_name":"valid"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2010.00515","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2010.00515"}},"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":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/spyflying/LSCM-Refseg","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":1,"unverified":16},"by_repo_kind":{"official":{"samples":17,"ran":1,"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":"2d946250dd2f5a4f","entry":"load_json","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/io.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/io.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2d946250dd2f5a4f"}},{"code_sha256_prefix":"194457507e72807b","entry":"compute_accuracy","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/processing_tools.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/processing_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":"194457507e72807b"}},{"code_sha256_prefix":"f450953318e6ee92","entry":"compute_bbox_iou","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/eval_tools.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/eval_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":"f450953318e6ee92"}},{"code_sha256_prefix":"09efe975daf592dc","entry":"compute_mask_IU","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/eval_tools.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/eval_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":"09efe975daf592dc"}},{"code_sha256_prefix":"d2e8a2e2ab967bb5","entry":"crop_bboxes_subtract_mean","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/im_processing.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/im_processing.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":"d2e8a2e2ab967bb5"}},{"code_sha256_prefix":"f7989872fc271fc0","entry":"generate_bilinear_filter","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/processing_tools.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/processing_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":"f7989872fc271fc0"}},{"code_sha256_prefix":"59f5606fd0309cbf","entry":"generate_spatial_batch","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/processing_tools.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/processing_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":"59f5606fd0309cbf"}},{"code_sha256_prefix":"64e03b60c7102569","entry":"l2_regularization_loss","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/loss.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/loss.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":"64e03b60c7102569"}},{"code_sha256_prefix":"530fed7535d13582","entry":"load_referit_gt_mask","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/io.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/io.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":"530fed7535d13582"}},{"code_sha256_prefix":"0b90dfa6d16c4a7a","entry":"load_str_list","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/io.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/io.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":"0b90dfa6d16c4a7a"}},{"code_sha256_prefix":"f63e65fc417999ae","entry":"load_vocab_dict_from_file","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/text_processing.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/text_processing.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":"f63e65fc417999ae"}},{"code_sha256_prefix":"40605e728317c5b0","entry":"logistic_loss_cond","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/loss.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/loss.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":"40605e728317c5b0"}},{"code_sha256_prefix":"5d0a6645f212e560","entry":"preprocess_sentence","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/text_processing.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/text_processing.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":"5d0a6645f212e560"}},{"code_sha256_prefix":"25b3bc3dcf28fdbc","entry":"resize_and_crop","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/im_processing.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/im_processing.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":"25b3bc3dcf28fdbc"}},{"code_sha256_prefix":"abcefd336b9b2406","entry":"resize_and_pad","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/im_processing.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/im_processing.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":"abcefd336b9b2406"}},{"code_sha256_prefix":"c01f6b0c8f72794c","entry":"sentence2vocab_indices","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/text_processing.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/text_processing.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":"c01f6b0c8f72794c"}},{"code_sha256_prefix":"9c14d97dc852ea26","entry":"weighed_logistic_loss","repo":"spyflying/LSCM-Refseg","repo_kind":"official","path":"util/loss.py","file_url":"https://github.com/spyflying/LSCM-Refseg/blob/HEAD/util/loss.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":"9c14d97dc852ea26"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}