{"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/neural-relational-inference-with-fast-modular-1","title":"Neural Relational Inference with Fast Modular Meta-learning","arxiv_id":"2310.07015","date":"2023-10-10","proceeding":"NeurIPS 2019 12","authors":["Ferran Alet","Erica Weng","Tomás Lozano Pérez","Leslie Pack Kaelbling"],"abstract":"\\textit{Graph neural networks} (GNNs) are effective models for many dynamical systems consisting of entities and relations. Although most GNN applications assume a single type of entity and relation, many situations involve multiple types of interactions. \\textit{Relational inference} is the problem of inferring these interactions and learning the dynamics from observational data. We frame relational inference as a \\textit{modular meta-learning} problem, where neural modules are trained to be composed in different ways to solve many tasks. This meta-learning framework allows us to implicitly encode time invariance and infer relations in context of one another rather than independently, which increases inference capacity. Framing inference as the inner-loop optimization of meta-learning leads to a model-based approach that is more data-efficient and capable of estimating the state of entities that we do not observe directly, but whose existence can be inferred from their effect on observed entities. To address the large search space of graph neural network compositions, we meta-learn a \\textit{proposal function} that speeds up the inner-loop simulated annealing search within the modular meta-learning algorithm, providing two orders of magnitude increase in the size of problems that can be addressed.","url_abs":"https://arxiv.org/abs/2310.07015v1","url_pdf":"https://arxiv.org/pdf/2310.07015v1.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":"neural-relational-inference-with-fast-modular-1","repo_url":"https://github.com/FerranAlet/modular-metalearning","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"graph-neural-network","task_name":"Graph Neural Network"},{"task_slug":"meta-learning","task_name":"Meta-Learning"}],"methods":[{"method_slug":"graph-neural-network","method_name":"Graph Neural Network"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2310.07015","atlas_url":"https://app.syntology.ai/?focus=2310.07015","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2310.07015"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/FerranAlet/modular-metalearning","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":3,"unverified":2},"by_repo_kind":{"official":{"samples":5,"ran":3,"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":0,"samples":[{"code_sha256_prefix":"b92731b55be235fa","entry":"conv2d","repo":"FerranAlet/modular-metalearning","repo_kind":"official","path":"layers.py","file_url":"https://github.com/FerranAlet/modular-metalearning/blob/HEAD/layers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b92731b55be235fa"}},{"code_sha256_prefix":"c5e794825d1e6ee1","entry":"linear","repo":"FerranAlet/modular-metalearning","repo_kind":"official","path":"layers.py","file_url":"https://github.com/FerranAlet/modular-metalearning/blob/HEAD/layers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c5e794825d1e6ee1"}},{"code_sha256_prefix":"8dd8a8e3eac0253a","entry":"relu","repo":"FerranAlet/modular-metalearning","repo_kind":"official","path":"layers.py","file_url":"https://github.com/FerranAlet/modular-metalearning/blob/HEAD/layers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8dd8a8e3eac0253a"}},{"code_sha256_prefix":"4edc80407ebe0206","entry":"main","repo":"FerranAlet/modular-metalearning","repo_kind":"official","path":"create_functions_datasets.py","file_url":"https://github.com/FerranAlet/modular-metalearning/blob/HEAD/create_functions_datasets.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":"4edc80407ebe0206"}},{"code_sha256_prefix":"ae13de2bfdc5c47c","entry":"special_sine","repo":"FerranAlet/modular-metalearning","repo_kind":"official","path":"create_functions_datasets.py","file_url":"https://github.com/FerranAlet/modular-metalearning/blob/HEAD/create_functions_datasets.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":"ae13de2bfdc5c47c"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}