{"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/the-general-theory-of-permutation-equivarant","title":"The general theory of permutation equivarant neural networks and higher order graph variational encoders","arxiv_id":"2004.03990","date":"2020-04-08","proceeding":null,"authors":["Erik Henning Thiede","Truong Son Hy","Risi Kondor"],"abstract":"Previous work on symmetric group equivariant neural networks generally only considered the case where the group acts by permuting the elements of a single vector. In this paper we derive formulae for general permutation equivariant layers, including the case where the layer acts on matrices by permuting their rows and columns simultaneously. This case arises naturally in graph learning and relation learning applications. As a specific case of higher order permutation equivariant networks, we present a second order graph variational encoder, and show that the latent distribution of equivariant generative models must be exchangeable. We demonstrate the efficacy of this architecture on the tasks of link prediction in citation graphs and molecular graph generation.","url_abs":"https://arxiv.org/abs/2004.03990v1","url_pdf":"https://arxiv.org/pdf/2004.03990v1.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":"the-general-theory-of-permutation-equivarant","repo_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"graph-generation","task_name":"Graph Generation"},{"task_slug":"graph-learning","task_name":"Graph Learning"},{"task_slug":"link-prediction","task_name":"Link Prediction"},{"task_slug":"molecular-graph-generation","task_name":"Molecular Graph Generation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2004.03990","atlas_url":"https://app.syntology.ai/?focus=2004.03990","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2004.03990"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran":7,"unverified":10},"by_repo_kind":{"listed":{"samples":17,"ran":7,"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":"4113e73b8e651245","entry":"contractions_1_to_2","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"layers/equivariant_linear_pytorch.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/layers/equivariant_linear_pytorch.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4113e73b8e651245"}},{"code_sha256_prefix":"41b894391f32ef3f","entry":"contractions_2_to_1","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"layers/equivariant_linear_pytorch.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/layers/equivariant_linear_pytorch.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"41b894391f32ef3f"}},{"code_sha256_prefix":"99dea333f1ce36a4","entry":"contractions_2_to_2","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"layers/equivariant_linear_pytorch.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/layers/equivariant_linear_pytorch.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"99dea333f1ce36a4"}},{"code_sha256_prefix":"3f8d0c8cb6a5095a","entry":"create_experiment_results_plot","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"utils/doc_utils.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/utils/doc_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"3f8d0c8cb6a5095a"}},{"code_sha256_prefix":"bbc60ae90dd59aa6","entry":"get_config_from_json","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"utils/config.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/utils/config.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"bbc60ae90dd59aa6"}},{"code_sha256_prefix":"cafbbd753bd6b8ef","entry":"get_folders_list","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"utils/doc_utils.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/utils/doc_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cafbbd753bd6b8ef"}},{"code_sha256_prefix":"cc544ec1bdf41536","entry":"process_config","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"utils/config.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/utils/config.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cc544ec1bdf41536"}},{"code_sha256_prefix":"dbb32e482cdfa29f","entry":"create_dirs","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"utils/dirs.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/utils/dirs.py","link_basis":"harvester_set","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":"dbb32e482cdfa29f"}},{"code_sha256_prefix":"b637b741fdd6538e","entry":"diag_offdiag_maxpool","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"layers/layers_tensorflow.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/layers/layers_tensorflow.py","link_basis":"harvester_set","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":"b637b741fdd6538e"}},{"code_sha256_prefix":"c089ca28caf1a6a0","entry":"equi_1_to_2","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"layers/equivariant_linear_tensorflow.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/layers/equivariant_linear_tensorflow.py","link_basis":"harvester_set","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":"c089ca28caf1a6a0"}},{"code_sha256_prefix":"4e2c13b0790eec98","entry":"equi_2_to_1","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"layers/equivariant_linear_tensorflow.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/layers/equivariant_linear_tensorflow.py","link_basis":"harvester_set","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":"4e2c13b0790eec98"}},{"code_sha256_prefix":"4cd16870808e812e","entry":"equi_2_to_2","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"layers/equivariant_linear_tensorflow.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/layers/equivariant_linear_tensorflow.py","link_basis":"harvester_set","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":"4cd16870808e812e"}},{"code_sha256_prefix":"1374773c3779cad4","entry":"get_parameter_split","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"data_loader/data_helper.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/data_loader/data_helper.py","link_basis":"harvester_set","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":"1374773c3779cad4"}},{"code_sha256_prefix":"b1c9223c4b465f96","entry":"get_train_val_indexes","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"data_loader/data_helper.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/data_loader/data_helper.py","link_basis":"harvester_set","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":"b1c9223c4b465f96"}},{"code_sha256_prefix":"55e50ba79f0412ba","entry":"load_dataset","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"data_loader/data_helper.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/data_loader/data_helper.py","link_basis":"harvester_set","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":"55e50ba79f0412ba"}},{"code_sha256_prefix":"362c182fd87c2f6d","entry":"spatial_dropout","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"layers/layers_tensorflow.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/layers/layers_tensorflow.py","link_basis":"harvester_set","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":"362c182fd87c2f6d"}},{"code_sha256_prefix":"2e78228460e2c02f","entry":"spatial_dropout_imp","repo":"HyTruongSon/InvariantGraphNetworks-Pytorch","repo_kind":"listed","path":"layers/layers_tensorflow.py","file_url":"https://github.com/HyTruongSon/InvariantGraphNetworks-Pytorch/blob/HEAD/layers/layers_tensorflow.py","link_basis":"harvester_set","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":"2e78228460e2c02f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}