{"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/scale-localized-abstract-reasoning","title":"Scale-Localized Abstract Reasoning","arxiv_id":"2009.09405","date":"2020-09-20","proceeding":"CVPR 2021 1","authors":["Yaniv Benny","Niv Pekar","Lior Wolf"],"abstract":"We consider the abstract relational reasoning task, which is commonly used as an intelligence test. Since some patterns have spatial rationales, while others are only semantic, we propose a multi-scale architecture that processes each query in multiple resolutions. We show that indeed different rules are solved by different resolutions and a combined multi-scale approach outperforms the existing state of the art in this task on all benchmarks by 5-54%. The success of our method is shown to arise from multiple novelties. First, it searches for relational patterns in multiple resolutions, which allows it to readily detect visual relations, such as location, in higher resolution, while allowing the lower resolution module to focus on semantic relations, such as shape type. Second, we optimize the reasoning network of each resolution proportionally to its performance, hereby we motivate each resolution to specialize on the rules for which it performs better than the others and ignore cases that are already solved by the other resolutions. Third, we propose a new way to pool information along the rows and the columns of the illustration-grid of the query. Our work also analyses the existing benchmarks, demonstrating that the RAVEN dataset selects the negative examples in a way that is easily exploited. We, therefore, propose a modified version of the RAVEN dataset, named RAVEN-FAIR. Our code and pretrained models are available at https://github.com/yanivbenny/MRNet.","url_abs":"https://arxiv.org/abs/2009.09405v2","url_pdf":"https://arxiv.org/pdf/2009.09405v2.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":"scale-localized-abstract-reasoning","repo_url":"https://github.com/yanivbenny/MRNet","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"scale-localized-abstract-reasoning","repo_url":"https://github.com/yanivbenny/RAVEN_FAIR","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"relational-reasoning","task_name":"Relational Reasoning"}],"methods":[],"datasets_introduced":[{"slug":"raven-fair","name":"RAVEN-FAIR","full_name":null}],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2009.09405","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2009.09405"}},"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/yanivbenny/RAVEN_FAIR","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yanivbenny/MRNet","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":2,"unverified":15},"by_repo_kind":{"official":{"samples":17,"ran":2,"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":0,"samples":[{"code_sha256_prefix":"6c693fb7c03c87bd","entry":"conv1x1","repo":"yanivbenny/MRNet","repo_kind":"official","path":"src/networks/blocks.py","file_url":"https://github.com/yanivbenny/MRNet/blob/HEAD/src/networks/blocks.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6c693fb7c03c87bd"}},{"code_sha256_prefix":"52601677ce5d1634","entry":"conv3x3","repo":"yanivbenny/MRNet","repo_kind":"official","path":"src/networks/blocks.py","file_url":"https://github.com/yanivbenny/MRNet/blob/HEAD/src/networks/blocks.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"52601677ce5d1634"}},{"code_sha256_prefix":"7c4fa50082da02b4","entry":"calculate_acc","repo":"yanivbenny/MRNet","repo_kind":"official","path":"src/criteria.py","file_url":"https://github.com/yanivbenny/MRNet/blob/HEAD/src/criteria.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7c4fa50082da02b4"}},{"code_sha256_prefix":"c673f412e11d09bb","entry":"calculate_correct","repo":"yanivbenny/MRNet","repo_kind":"official","path":"src/criteria.py","file_url":"https://github.com/yanivbenny/MRNet/blob/HEAD/src/criteria.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c673f412e11d09bb"}},{"code_sha256_prefix":"dd4d64202796663f","entry":"check_consistency","repo":"yanivbenny/RAVEN_FAIR","repo_kind":"official","path":"src/solver.py","file_url":"https://github.com/yanivbenny/RAVEN_FAIR/blob/HEAD/src/solver.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":"dd4d64202796663f"}},{"code_sha256_prefix":"1dd8a5c97d899a22","entry":"check_num_pos","repo":"yanivbenny/RAVEN_FAIR","repo_kind":"official","path":"src/solver.py","file_url":"https://github.com/yanivbenny/RAVEN_FAIR/blob/HEAD/src/solver.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":"1dd8a5c97d899a22"}},{"code_sha256_prefix":"c6825a5c045307ea","entry":"contrast_loss","repo":"yanivbenny/MRNet","repo_kind":"official","path":"src/criteria.py","file_url":"https://github.com/yanivbenny/MRNet/blob/HEAD/src/criteria.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c6825a5c045307ea"}},{"code_sha256_prefix":"08d63b2cfd3e3139","entry":"conv1x1","repo":"yanivbenny/MRNet","repo_kind":"official","path":"src/networks/mrnet.py","file_url":"https://github.com/yanivbenny/MRNet/blob/HEAD/src/networks/mrnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"08d63b2cfd3e3139"}},{"code_sha256_prefix":"11fda3e1d6f755ae","entry":"conv3x3","repo":"yanivbenny/MRNet","repo_kind":"official","path":"src/networks/mrnet.py","file_url":"https://github.com/yanivbenny/MRNet/blob/HEAD/src/networks/mrnet.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"11fda3e1d6f755ae"}},{"code_sha256_prefix":"10ed5d2031a9bc68","entry":"init_acc_regime","repo":"yanivbenny/MRNet","repo_kind":"official","path":"src/report_acc_regime.py","file_url":"https://github.com/yanivbenny/MRNet/blob/HEAD/src/report_acc_regime.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"10ed5d2031a9bc68"}},{"code_sha256_prefix":"8db0b273506cda21","entry":"n_tree_serialize","repo":"yanivbenny/RAVEN_FAIR","repo_kind":"official","path":"src/serialize.py","file_url":"https://github.com/yanivbenny/RAVEN_FAIR/blob/HEAD/src/serialize.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":"8db0b273506cda21"}},{"code_sha256_prefix":"00bd265c90d10459","entry":"renormalize","repo":"yanivbenny/MRNet","repo_kind":"official","path":"src/trainer.py","file_url":"https://github.com/yanivbenny/MRNet/blob/HEAD/src/trainer.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"00bd265c90d10459"}},{"code_sha256_prefix":"80366123e633d920","entry":"rle_encode","repo":"yanivbenny/RAVEN_FAIR","repo_kind":"official","path":"src/api.py","file_url":"https://github.com/yanivbenny/RAVEN_FAIR/blob/HEAD/src/api.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":"80366123e633d920"}},{"code_sha256_prefix":"f07118b01c265872","entry":"sample_attr","repo":"yanivbenny/RAVEN_FAIR","repo_kind":"official","path":"src/sampling.py","file_url":"https://github.com/yanivbenny/RAVEN_FAIR/blob/HEAD/src/sampling.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":"f07118b01c265872"}},{"code_sha256_prefix":"4f3104a61ba3df12","entry":"sample_attr_avail","repo":"yanivbenny/RAVEN_FAIR","repo_kind":"official","path":"src/sampling.py","file_url":"https://github.com/yanivbenny/RAVEN_FAIR/blob/HEAD/src/sampling.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":"4f3104a61ba3df12"}},{"code_sha256_prefix":"9be696f331d13ff4","entry":"serialize_rules","repo":"yanivbenny/RAVEN_FAIR","repo_kind":"official","path":"src/serialize.py","file_url":"https://github.com/yanivbenny/RAVEN_FAIR/blob/HEAD/src/serialize.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":"9be696f331d13ff4"}},{"code_sha256_prefix":"b8c75f90a1932121","entry":"solve","repo":"yanivbenny/RAVEN_FAIR","repo_kind":"official","path":"src/solver.py","file_url":"https://github.com/yanivbenny/RAVEN_FAIR/blob/HEAD/src/solver.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":"b8c75f90a1932121"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}