{"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/closure-assessing-systematic-generalization","title":"CLOSURE: Assessing Systematic Generalization of CLEVR Models","arxiv_id":"1912.05783","date":"2019-12-12","proceeding":null,"authors":["Dzmitry Bahdanau","Harm de Vries","Timothy J. O'Donnell","Shikhar Murty","Philippe Beaudoin","Yoshua Bengio","Aaron Courville"],"abstract":"The CLEVR dataset of natural-looking questions about 3D-rendered scenes has recently received much attention from the research community. A number of models have been proposed for this task, many of which achieved very high accuracies of around 97-99%. In this work, we study how systematic the generalization of such models is, that is to which extent they are capable of handling novel combinations of known linguistic constructs. To this end, we test models' understanding of referring expressions based on matching object properties (such as e.g. \"another cube that is the same size as the brown cube\") in novel contexts. Our experiments on the thereby constructed CLOSURE benchmark show that state-of-the-art models often do not exhibit systematicity after being trained on CLEVR. Surprisingly, we find that an explicitly compositional Neural Module Network model also generalizes badly on CLOSURE, even when it has access to the ground-truth programs at test time. We improve the NMN's systematic generalization by developing a novel Vector-NMN module architecture with vector-valued inputs and outputs. Lastly, we investigate how much few-shot transfer learning can help models that are pretrained on CLEVR to adapt to CLOSURE. Our few-shot learning experiments contrast the adaptation behavior of the models with intermediate discrete programs with that of the end-to-end continuous models.","url_abs":"https://arxiv.org/abs/1912.05783v2","url_pdf":"https://arxiv.org/pdf/1912.05783v2.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":"closure-assessing-systematic-generalization","repo_url":"https://github.com/rizar/CLOSURE","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"closure-assessing-systematic-generalization","repo_url":"https://github.com/raeidsaqur/mgn","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"closure-assessing-systematic-generalization","repo_url":"https://github.com/vanessadamario/understanding_reasoning","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"few-shot-learning","task_name":"Few-Shot Learning"},{"task_slug":"systematic-generalization","task_name":"Systematic Generalization"},{"task_slug":"transfer-learning","task_name":"Transfer Learning"}],"methods":[{"method_slug":"test","method_name":"Test"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1912.05783","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1912.05783"}},"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/rizar/CLOSURE","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/raeidsaqur/mgn","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/vanessadamario/understanding_reasoning","reach":null}],"summary":{"ran_draft_wrong":3,"ran_honours":2,"unverified":5},"by_repo_kind":{"official":{"samples":2,"ran":2,"repositories":1},"listed":{"samples":8,"ran":3,"repositories":2}},"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":2,"samples":[{"code_sha256_prefix":"3fcd91b7695dd7e6","entry":"get_index","repo":"rizar/CLOSURE","repo_kind":"official","path":"scripts/run_model.py","file_url":"https://github.com/rizar/CLOSURE/blob/HEAD/scripts/run_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"3fcd91b7695dd7e6"}},{"code_sha256_prefix":"08cd6598ccb1e857","entry":"one_or_list","repo":"vanessadamario/understanding_reasoning","repo_kind":"listed","path":"original_library/systematic-generalization-sqoop/scripts/train_model.py","file_url":"https://github.com/vanessadamario/understanding_reasoning/blob/HEAD/original_library/systematic-generalization-sqoop/scripts/train_model.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"08cd6598ccb1e857"}},{"code_sha256_prefix":"e7d281257c225992","entry":"parse_float_list","repo":"vanessadamario/understanding_reasoning","repo_kind":"listed","path":"original_library/systematic-generalization-sqoop/scripts/train_model.py","file_url":"https://github.com/vanessadamario/understanding_reasoning/blob/HEAD/original_library/systematic-generalization-sqoop/scripts/train_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e7d281257c225992"}},{"code_sha256_prefix":"db09fab2902ef1f9","entry":"parse_int_list","repo":"vanessadamario/understanding_reasoning","repo_kind":"listed","path":"original_library/systematic-generalization-sqoop/scripts/train_model.py","file_url":"https://github.com/vanessadamario/understanding_reasoning/blob/HEAD/original_library/systematic-generalization-sqoop/scripts/train_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"db09fab2902ef1f9"}},{"code_sha256_prefix":"4d6893e38a989635","entry":"save_grad","repo":"rizar/CLOSURE","repo_kind":"official","path":"scripts/run_model.py","file_url":"https://github.com/rizar/CLOSURE/blob/HEAD/scripts/run_model.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":"4d6893e38a989635"}},{"code_sha256_prefix":"8fc4042c8274c184","entry":"logical_not","repo":"raeidsaqur/mgn","repo_kind":"listed","path":"mgn/models/decoder.py","file_url":"https://github.com/raeidsaqur/mgn/blob/HEAD/mgn/models/decoder.py","link_basis":"harvester_set","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":"8fc4042c8274c184"}},{"code_sha256_prefix":"454f9b451952228a","entry":"logical_or","repo":"raeidsaqur/mgn","repo_kind":"listed","path":"mgn/models/decoder.py","file_url":"https://github.com/raeidsaqur/mgn/blob/HEAD/mgn/models/decoder.py","link_basis":"harvester_set","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":"454f9b451952228a"}},{"code_sha256_prefix":"7ef9429bb1707360","entry":"masked_softmax","repo":"raeidsaqur/mgn","repo_kind":"listed","path":"mgn/models/graph_matcher.py","file_url":"https://github.com/raeidsaqur/mgn/blob/HEAD/mgn/models/graph_matcher.py","link_basis":"harvester_set","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":"7ef9429bb1707360"}},{"code_sha256_prefix":"4d89c0ece4ba3159","entry":"to_dense","repo":"raeidsaqur/mgn","repo_kind":"listed","path":"mgn/models/graph_matcher.py","file_url":"https://github.com/raeidsaqur/mgn/blob/HEAD/mgn/models/graph_matcher.py","link_basis":"harvester_set","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":"4d89c0ece4ba3159"}},{"code_sha256_prefix":"2bf75d6c18b35a77","entry":"to_sparse","repo":"raeidsaqur/mgn","repo_kind":"listed","path":"mgn/models/graph_matcher.py","file_url":"https://github.com/raeidsaqur/mgn/blob/HEAD/mgn/models/graph_matcher.py","link_basis":"harvester_set","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":"2bf75d6c18b35a77"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}