{"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/unsupervised-foreground-extraction-via-deep","title":"Unsupervised Foreground Extraction via Deep Region Competition","arxiv_id":"2110.15497","date":"2021-10-29","proceeding":"NeurIPS 2021 12","authors":["Peiyu Yu","Sirui Xie","Xiaojian Ma","Yixin Zhu","Ying Nian Wu","Song-Chun Zhu"],"abstract":"We present Deep Region Competition (DRC), an algorithm designed to extract foreground objects from images in a fully unsupervised manner. Foreground extraction can be viewed as a special case of generic image segmentation that focuses on identifying and disentangling objects from the background. In this work, we rethink the foreground extraction by reconciling energy-based prior with generative image modeling in the form of Mixture of Experts (MoE), where we further introduce the learned pixel re-assignment as the essential inductive bias to capture the regularities of background regions. With this modeling, the foreground-background partition can be naturally found through Expectation-Maximization (EM). We show that the proposed method effectively exploits the interaction between the mixture components during the partitioning process, which closely connects to region competition, a seminal approach for generic image segmentation. Experiments demonstrate that DRC exhibits more competitive performances on complex real-world data and challenging multi-object scenes compared with prior methods. Moreover, we show empirically that DRC can potentially generalize to novel foreground objects even from categories unseen during training.","url_abs":"https://arxiv.org/abs/2110.15497v4","url_pdf":"https://arxiv.org/pdf/2110.15497v4.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":"unsupervised-foreground-extraction-via-deep","repo_url":"https://github.com/yupeiyu98/deep-region-competition","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"unsupervised-foreground-extraction-via-deep","repo_url":"https://github.com/yupeiyu98/drc","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":"inductive-bias","task_name":"Inductive Bias"},{"task_slug":"mixture-of-experts","task_name":"Mixture-of-Experts"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2110.15497","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2110.15497"}},"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/yupeiyu98/drc","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yupeiyu98/deep-region-competition","reach":null}],"summary":{"ran":11,"ran_draft_wrong":1,"ran_honours":1,"unverified":2},"by_repo_kind":{"official":{"samples":15,"ran":13,"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":15,"samples":[{"code_sha256_prefix":"37ab11d4ef14b8f6","entry":"BaseDecoder","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"37ab11d4ef14b8f6"}},{"code_sha256_prefix":"ae845e85f2ef80d6","entry":"BaseEncoder","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"ae845e85f2ef80d6"}},{"code_sha256_prefix":"56efdafc0dbea079","entry":"BaseModel","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"56efdafc0dbea079"}},{"code_sha256_prefix":"dafbfccb1de5171c","entry":"BaseNetwork","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dafbfccb1de5171c"}},{"code_sha256_prefix":"21e4e15b54ad6002","entry":"BgNet","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"21e4e15b54ad6002"}},{"code_sha256_prefix":"dcef53bf0a1a6cc5","entry":"CEBMNet","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"dcef53bf0a1a6cc5"}},{"code_sha256_prefix":"c4fe341c6592fa40","entry":"DownBlock","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.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":"c4fe341c6592fa40"}},{"code_sha256_prefix":"96e7b58edf19695a","entry":"FgNet","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"96e7b58edf19695a"}},{"code_sha256_prefix":"9325924e3a2c697d","entry":"ImageHead","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.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":"9325924e3a2c697d"}},{"code_sha256_prefix":"7678561ee0a95549","entry":"SpNet","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7678561ee0a95549"}},{"code_sha256_prefix":"e976201ab6c52f60","entry":"UpBlock","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.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":"e976201ab6c52f60"}},{"code_sha256_prefix":"eba2c6317798ab33","entry":"dce","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"eba2c6317798ab33"}},{"code_sha256_prefix":"439d344cd2787e31","entry":"ortho_reg","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.py","link_basis":"first_harvest_node","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":"439d344cd2787e31"}},{"code_sha256_prefix":"596615e52de1b80c","entry":"EABPModel","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.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":"596615e52de1b80c"}},{"code_sha256_prefix":"b287f331ca862510","entry":"tv_loss","repo":"yupeiyu98/deep-region-competition","repo_kind":"official","path":"drc_workspace/src/models.py","file_url":"https://github.com/yupeiyu98/deep-region-competition/blob/HEAD/drc_workspace/src/models.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":"b287f331ca862510"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}