{"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/composition-based-multi-relational-graph","title":"Composition-based Multi-Relational Graph Convolutional Networks","arxiv_id":"1911.03082","date":"2019-11-08","proceeding":"ICLR 2020 1","authors":["Shikhar Vashishth","Soumya Sanyal","Vikram Nitin","Partha Talukdar"],"abstract":"Graph Convolutional Networks (GCNs) have recently been shown to be quite successful in modeling graph-structured data. However, the primary focus has been on handling simple undirected graphs. Multi-relational graphs are a more general and prevalent form of graphs where each edge has a label and direction associated with it. Most of the existing approaches to handle such graphs suffer from over-parameterization and are restricted to learning representations of nodes only. In this paper, we propose CompGCN, a novel Graph Convolutional framework which jointly embeds both nodes and relations in a relational graph. CompGCN leverages a variety of entity-relation composition operations from Knowledge Graph Embedding techniques and scales with the number of relations. It also generalizes several of the existing multi-relational GCN methods. We evaluate our proposed method on multiple tasks such as node classification, link prediction, and graph classification, and achieve demonstrably superior results. We make the source code of CompGCN available to foster reproducible research.","url_abs":"https://arxiv.org/abs/1911.03082v2","url_pdf":"https://arxiv.org/pdf/1911.03082v2.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":"composition-based-multi-relational-graph","repo_url":"https://github.com/malllabiisc/CompGCN","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"composition-based-multi-relational-graph","repo_url":"https://github.com/anilakash/indkgc","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"composition-based-multi-relational-graph","repo_url":"https://github.com/pykeen/ilpc2022","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"composition-based-multi-relational-graph","repo_url":"https://github.com/dmlc/dgl/tree/master/examples/pytorch/compGCN","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"classification","task_name":"General Classification"},{"task_slug":"graph-classification","task_name":"Graph Classification"},{"task_slug":"graph-embedding","task_name":"Graph Embedding"},{"task_slug":"knowledge-graph-embedding","task_name":"Knowledge Graph Embedding"},{"task_slug":"link-prediction","task_name":"Link Prediction"},{"task_slug":"node-classification","task_name":"Node Classification"}],"methods":[{"method_slug":"gcn","method_name":"GCN"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/link-prediction-on-fb15k-237","task":"Link Prediction","dataset":"FB15k-237","model":"CompGCN","rank_in_archive_order":25,"of":75,"metrics":{"Hits@1":"0.264","Hits@10":"0.535","Hits@3":"0.390","MR":"197","MRR":"0.355"},"uses_additional_data":false},{"leaderboard":"/sota/link-prediction-on-wn18rr","task":"Link Prediction","dataset":"WN18RR","model":"CompGCN","rank_in_archive_order":54,"of":75,"metrics":{"Hits@1":"0.443","Hits@10":"0.546","Hits@3":"0.494","MR":"3533","MRR":"0.479"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1911.03082","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1911.03082"}},"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/pykeen/ilpc2022","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/dmlc/dgl/tree/master/examples/pytorch/compGCN","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/anilakash/indkgc","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/malllabiisc/CompGCN","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":2,"unverified":4},"by_repo_kind":{"official":{"samples":3,"ran":0,"repositories":1},"listed":{"samples":3,"ran":2,"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":3,"samples":[{"code_sha256_prefix":"92482118031a5b26","entry":"process_nbfnet_rank","repo":"anilakash/indkgc","repo_kind":"listed","path":"script/eval_anyburl.py","file_url":"https://github.com/anilakash/indkgc/blob/HEAD/script/eval_anyburl.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"92482118031a5b26"}},{"code_sha256_prefix":"cf1e4406130d8693","entry":"shuffle_batch","repo":"anilakash/indkgc","repo_kind":"listed","path":"script/eval_anyburl.py","file_url":"https://github.com/anilakash/indkgc/blob/HEAD/script/eval_anyburl.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"cf1e4406130d8693"}},{"code_sha256_prefix":"1693e0374b56cfbc","entry":"get_combined_results","repo":"malllabiisc/CompGCN","repo_kind":"official","path":"helper.py","file_url":"https://github.com/malllabiisc/CompGCN/blob/HEAD/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":"1693e0374b56cfbc"}},{"code_sha256_prefix":"4ecef8549fab0398","entry":"get_logger","repo":"malllabiisc/CompGCN","repo_kind":"official","path":"helper.py","file_url":"https://github.com/malllabiisc/CompGCN/blob/HEAD/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":"4ecef8549fab0398"}},{"code_sha256_prefix":"892c466d12dfb05b","entry":"get_param","repo":"malllabiisc/CompGCN","repo_kind":"official","path":"helper.py","file_url":"https://github.com/malllabiisc/CompGCN/blob/HEAD/helper.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":"892c466d12dfb05b"}},{"code_sha256_prefix":"d5f75c3eba2a7d63","entry":"process_nbfnet_score","repo":"anilakash/indkgc","repo_kind":"listed","path":"script/eval_anyburl.py","file_url":"https://github.com/anilakash/indkgc/blob/HEAD/script/eval_anyburl.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":"d5f75c3eba2a7d63"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}