{"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/open-world-instance-segmentation-exploiting","title":"Open-World Instance Segmentation: Exploiting Pseudo Ground Truth From Learned Pairwise Affinity","arxiv_id":"2204.06107","date":"2022-04-12","proceeding":"CVPR 2022 1","authors":["Weiyao Wang","Matt Feiszli","Heng Wang","Jitendra Malik","Du Tran"],"abstract":"Open-world instance segmentation is the task of grouping pixels into object instances without any pre-determined taxonomy. This is challenging, as state-of-the-art methods rely on explicit class semantics obtained from large labeled datasets, and out-of-domain evaluation performance drops significantly. Here we propose a novel approach for mask proposals, Generic Grouping Networks (GGNs), constructed without semantic supervision. Our approach combines a local measure of pixel affinity with instance-level mask supervision, producing a training regimen designed to make the model as generic as the data diversity allows. We introduce a method for predicting Pairwise Affinities (PA), a learned local relationship between pairs of pixels. PA generalizes very well to unseen categories. From PA we construct a large set of pseudo-ground-truth instance masks; combined with human-annotated instance masks we train GGNs and significantly outperform the SOTA on open-world instance segmentation on various benchmarks including COCO, LVIS, ADE20K, and UVO. Code is available on project website: https://sites.google.com/view/generic-grouping/.","url_abs":"https://arxiv.org/abs/2204.06107v1","url_pdf":"https://arxiv.org/pdf/2204.06107v1.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":"open-world-instance-segmentation-exploiting","repo_url":"https://github.com/facebookresearch/Generic-Grouping","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"diversity","task_name":"Diversity"},{"task_slug":"instance-segmentation","task_name":"Instance Segmentation"},{"task_slug":"open-world-instance-segmentation","task_name":"Open-World Instance Segmentation"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2204.06107","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2204.06107"}},"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/facebookresearch/Generic-Grouping","reach":null}],"summary":{"ran_fixture":1,"ran_draft_wrong":6,"ran_honours":2,"ran":2,"unverified":9},"by_repo_kind":{"official":{"samples":20,"ran":11,"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":20,"samples":[{"code_sha256_prefix":"ad2f06d9c2561fac","entry":"_add_edge_filter","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ad2f06d9c2561fac"}},{"code_sha256_prefix":"e141be5cc9f2f968","entry":"_edge_generator_from_csr","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.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":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"e141be5cc9f2f968"}},{"code_sha256_prefix":"3452d85555d5df2b","entry":"avg_weight","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.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":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"3452d85555d5df2b"}},{"code_sha256_prefix":"d9d7baa98161ff25","entry":"compute_edge_orientations","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d9d7baa98161ff25"}},{"code_sha256_prefix":"589b100e9366c41f","entry":"construct_affinity_matrix","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.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":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"589b100e9366c41f"}},{"code_sha256_prefix":"b23b750e3cc1c8f4","entry":"construct_diagonal_matrix","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.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":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"b23b750e3cc1c8f4"}},{"code_sha256_prefix":"609db105efee525f","entry":"eigenvec2edge","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"609db105efee525f"}},{"code_sha256_prefix":"29eba38ecc1eab95","entry":"get_globalized_boundary","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"29eba38ecc1eab95"}},{"code_sha256_prefix":"c07b0fc106b71ad1","entry":"hierarchy2segments","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.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":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"c07b0fc106b71ad1"}},{"code_sha256_prefix":"7e572f8024ed4755","entry":"min_weight","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.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":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"7e572f8024ed4755"}},{"code_sha256_prefix":"1cb5290c4206a939","entry":"triangle_kernel","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"1cb5290c4206a939"}},{"code_sha256_prefix":"d00a4870d707fcca","entry":"RAG","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d00a4870d707fcca"}},{"code_sha256_prefix":"1f4d9dec6bb6d6d8","entry":"_invalidate_edge","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"1f4d9dec6bb6d6d8"}},{"code_sha256_prefix":"f557f6e517ec39c3","entry":"_rename_node","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"f557f6e517ec39c3"}},{"code_sha256_prefix":"d43aae2127e7efbe","entry":"_revalidate_node_edges","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d43aae2127e7efbe"}},{"code_sha256_prefix":"a817292db6953154","entry":"construct_finest_partition_watershed","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"a817292db6953154"}},{"code_sha256_prefix":"493bda105e4eec47","entry":"merge_func","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"493bda105e4eec47"}},{"code_sha256_prefix":"3957f0fec32a48b3","entry":"merge_hierarchical","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"3957f0fec32a48b3"}},{"code_sha256_prefix":"49910240b2fbd564","entry":"potential2masks_ucm_hierarchy","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"49910240b2fbd564"}},{"code_sha256_prefix":"996fe45874fcace1","entry":"rag_boundary","repo":"facebookresearch/Generic-Grouping","repo_kind":"official","path":"pa_lib/affinity2mask.py","file_url":"https://github.com/facebookresearch/Generic-Grouping/blob/HEAD/pa_lib/affinity2mask.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"996fe45874fcace1"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}