{"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/remamber-referring-image-segmentation-with","title":"ReMamber: Referring Image Segmentation with Mamba Twister","arxiv_id":"2403.17839","date":"2024-03-26","proceeding":null,"authors":["Yuhuan Yang","Chaofan Ma","Jiangchao Yao","Zhun Zhong","Ya zhang","Yanfeng Wang"],"abstract":"Referring Image Segmentation~(RIS) leveraging transformers has achieved great success on the interpretation of complex visual-language tasks. However, the quadratic computation cost makes it resource-consuming in capturing long-range visual-language dependencies. Fortunately, Mamba addresses this with efficient linear complexity in processing. However, directly applying Mamba to multi-modal interactions presents challenges, primarily due to inadequate channel interactions for the effective fusion of multi-modal data. In this paper, we propose ReMamber, a novel RIS architecture that integrates the power of Mamba with a multi-modal Mamba Twister block. The Mamba Twister explicitly models image-text interaction, and fuses textual and visual features through its unique channel and spatial twisting mechanism. We achieve competitive results on three challenging benchmarks with a simple and efficient architecture. Moreover, we conduct thorough analyses of ReMamber and discuss other fusion designs using Mamba. These provide valuable perspectives for future research. The code has been released at: https://github.com/yyh-rain-song/ReMamber.","url_abs":"https://arxiv.org/abs/2403.17839v2","url_pdf":"https://arxiv.org/pdf/2403.17839v2.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":"remamber-referring-image-segmentation-with","repo_url":"https://github.com/yyh-rain-song/ReMamber","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"image-segmentation","task_name":"Image Segmentation"},{"task_slug":"mamba","task_name":"Mamba"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2403.17839","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.17839"}},"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":"deterministic:regex_extraction","url":"https://github.com/yyh-rain-song/ReMamber","reach":{"status":"ok"}}],"summary":{"ran_honours":1,"ran_draft_wrong":2,"ran":3,"unverified":3},"by_repo_kind":{"official":{"samples":9,"ran":6,"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":9,"samples":[{"code_sha256_prefix":"f50a8d20efb35c68","entry":"broadcat","repo":"yyh-rain-song/ReMamber","repo_kind":"official","path":"vmamba_model/rope.py","file_url":"https://github.com/yyh-rain-song/ReMamber/blob/HEAD/vmamba_model/rope.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f50a8d20efb35c68"}},{"code_sha256_prefix":"dbfe3357dc25ca5f","entry":"conv_layer","repo":"yyh-rain-song/ReMamber","repo_kind":"official","path":"model/utils.py","file_url":"https://github.com/yyh-rain-song/ReMamber/blob/HEAD/model/utils.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dbfe3357dc25ca5f"}},{"code_sha256_prefix":"d7e43aa7f7423fd2","entry":"dice_loss","repo":"yyh-rain-song/ReMamber","repo_kind":"official","path":"model/utils.py","file_url":"https://github.com/yyh-rain-song/ReMamber/blob/HEAD/model/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d7e43aa7f7423fd2"}},{"code_sha256_prefix":"58823d9435a8751b","entry":"rotate_half","repo":"yyh-rain-song/ReMamber","repo_kind":"official","path":"vmamba_model/rope.py","file_url":"https://github.com/yyh-rain-song/ReMamber/blob/HEAD/vmamba_model/rope.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"58823d9435a8751b"}},{"code_sha256_prefix":"36be76eee5039426","entry":"sigmoid_focal_loss","repo":"yyh-rain-song/ReMamber","repo_kind":"official","path":"model/utils.py","file_url":"https://github.com/yyh-rain-song/ReMamber/blob/HEAD/model/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"36be76eee5039426"}},{"code_sha256_prefix":"74544ce8541def5a","entry":"trainMetricGPU","repo":"yyh-rain-song/ReMamber","repo_kind":"official","path":"engine.py","file_url":"https://github.com/yyh-rain-song/ReMamber/blob/HEAD/engine.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"74544ce8541def5a"}},{"code_sha256_prefix":"9a3adc8e6de35ac1","entry":"flops_selective_scan_fn","repo":"yyh-rain-song/ReMamber","repo_kind":"official","path":"vmamba_model/csms6s.py","file_url":"https://github.com/yyh-rain-song/ReMamber/blob/HEAD/vmamba_model/csms6s.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9a3adc8e6de35ac1"}},{"code_sha256_prefix":"4b9af31cf72b3d4a","entry":"flops_selective_scan_ref","repo":"yyh-rain-song/ReMamber","repo_kind":"official","path":"vmamba_model/csms6s.py","file_url":"https://github.com/yyh-rain-song/ReMamber/blob/HEAD/vmamba_model/csms6s.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"4b9af31cf72b3d4a"}},{"code_sha256_prefix":"eda8d821a5689bf0","entry":"selective_scan_flop_jit","repo":"yyh-rain-song/ReMamber","repo_kind":"official","path":"vmamba_model/csms6s.py","file_url":"https://github.com/yyh-rain-song/ReMamber/blob/HEAD/vmamba_model/csms6s.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"eda8d821a5689bf0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}