{"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/self-supervised-graph-level-representation-1","title":"Self-supervised Graph-level Representation Learning with Local and Global Structure","arxiv_id":"2106.04113","date":"2021-06-08","proceeding":null,"authors":["Minghao Xu","Hang Wang","Bingbing Ni","Hongyu Guo","Jian Tang"],"abstract":"This paper studies unsupervised/self-supervised whole-graph representation learning, which is critical in many tasks such as molecule properties prediction in drug and material discovery. Existing methods mainly focus on preserving the local similarity structure between different graph instances but fail to discover the global semantic structure of the entire data set. In this paper, we propose a unified framework called Local-instance and Global-semantic Learning (GraphLoG) for self-supervised whole-graph representation learning. Specifically, besides preserving the local similarities, GraphLoG introduces the hierarchical prototypes to capture the global semantic clusters. An efficient online expectation-maximization (EM) algorithm is further developed for learning the model. We evaluate GraphLoG by pre-training it on massive unlabeled graphs followed by fine-tuning on downstream tasks. Extensive experiments on both chemical and biological benchmark data sets demonstrate the effectiveness of the proposed approach.","url_abs":"https://arxiv.org/abs/2106.04113v1","url_pdf":"https://arxiv.org/pdf/2106.04113v1.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":"self-supervised-graph-level-representation-1","repo_url":"https://github.com/DeepGraphLearning/GraphLoG","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"graph-representation-learning","task_name":"Graph Representation Learning"},{"task_slug":"representation-learning","task_name":"Representation Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2106.04113","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2106.04113"}},"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/DeepGraphLearning/GraphLoG","reach":null}],"summary":{"ran_draft_wrong":3,"ran_fixture":1,"unverified":2},"by_repo_kind":{"official":{"samples":6,"ran":4,"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":6,"samples":[{"code_sha256_prefix":"3d4516e40f3086cf","entry":"inter_NCE_loss","repo":"DeepGraphLearning/GraphLoG","repo_kind":"official","path":"pretrain_graphlog.py","file_url":"https://github.com/DeepGraphLearning/GraphLoG/blob/HEAD/pretrain_graphlog.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3d4516e40f3086cf"}},{"code_sha256_prefix":"0f929998082e6de7","entry":"intra_NCE_loss","repo":"DeepGraphLearning/GraphLoG","repo_kind":"official","path":"pretrain_graphlog.py","file_url":"https://github.com/DeepGraphLearning/GraphLoG/blob/HEAD/pretrain_graphlog.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"0f929998082e6de7"}},{"code_sha256_prefix":"22c33ba989bdf71c","entry":"mask_nodes","repo":"DeepGraphLearning/GraphLoG","repo_kind":"official","path":"pretrain_graphlog.py","file_url":"https://github.com/DeepGraphLearning/GraphLoG/blob/HEAD/pretrain_graphlog.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"22c33ba989bdf71c"}},{"code_sha256_prefix":"10dc19bf3bdb4788","entry":"pool_func","repo":"DeepGraphLearning/GraphLoG","repo_kind":"official","path":"pretrain_graphlog.py","file_url":"https://github.com/DeepGraphLearning/GraphLoG/blob/HEAD/pretrain_graphlog.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"10dc19bf3bdb4788"}},{"code_sha256_prefix":"f6e29229f7916056","entry":"eval","repo":"DeepGraphLearning/GraphLoG","repo_kind":"official","path":"finetune.py","file_url":"https://github.com/DeepGraphLearning/GraphLoG/blob/HEAD/finetune.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":"f6e29229f7916056"}},{"code_sha256_prefix":"cd2c46be5c6d24e2","entry":"pretrain","repo":"DeepGraphLearning/GraphLoG","repo_kind":"official","path":"pretrain_graphlog.py","file_url":"https://github.com/DeepGraphLearning/GraphLoG/blob/HEAD/pretrain_graphlog.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":"cd2c46be5c6d24e2"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}