{"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/decoupling-weighing-and-selecting-for","title":"Decoupling Weighing and Selecting for Integrating Multiple Graph Pre-training Tasks","arxiv_id":"2403.01400","date":"2024-03-03","proceeding":null,"authors":["Tianyu Fan","Lirong Wu","Yufei Huang","Haitao Lin","Cheng Tan","Zhangyang Gao","Stan Z. Li"],"abstract":"Recent years have witnessed the great success of graph pre-training for graph representation learning. With hundreds of graph pre-training tasks proposed, integrating knowledge acquired from multiple pre-training tasks has become a popular research topic. In this paper, we identify two important collaborative processes for this topic: (1) select: how to select an optimal task combination from a given task pool based on their compatibility, and (2) weigh: how to weigh the selected tasks based on their importance. While there currently has been a lot of work focused on weighing, comparatively little effort has been devoted to selecting. This paper proposes a novel instance-level framework for integrating multiple graph pre-training tasks, Weigh And Select (WAS), where the two collaborative processes, weighing and selecting, are combined by decoupled siamese networks. Specifically, it first adaptively learns an optimal combination of tasks for each instance from a given task pool, based on which a customized instance-level task weighing strategy is learned. Extensive experiments on 16 graph datasets across node-level and graph-level downstream tasks have demonstrated that by combining a few simple but classical tasks, WAS can achieve comparable performance to other leading counterparts. The code is available at https://github.com/TianyuFan0504/WAS.","url_abs":"https://arxiv.org/abs/2403.01400v1","url_pdf":"https://arxiv.org/pdf/2403.01400v1.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":"decoupling-weighing-and-selecting-for","repo_url":"https://github.com/tianyufan0504/was","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"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=2403.01400","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.01400"}},"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":"deterministic:regex_extraction","url":"https://github.com/TianyuFan0504/WAS","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tianyufan0504/was","reach":{"status":"ok"}}],"summary":{"ran":5,"unverified":2},"by_repo_kind":{"official":{"samples":7,"ran":5,"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":7,"samples":[{"code_sha256_prefix":"d741c615263a94db","entry":"evaluation","repo":"TianyuFan0504/WAS","repo_kind":"official","path":"node-level/src/utils.py","file_url":"https://github.com/TianyuFan0504/WAS/blob/HEAD/node-level/src/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d741c615263a94db"}},{"code_sha256_prefix":"53edd56df99970dd","entry":"get_num_task","repo":"TianyuFan0504/WAS","repo_kind":"official","path":"graph-level/tools.py","file_url":"https://github.com/TianyuFan0504/WAS/blob/HEAD/graph-level/tools.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"53edd56df99970dd"}},{"code_sha256_prefix":"e5d413a517864727","entry":"load_SMILES_list","repo":"TianyuFan0504/WAS","repo_kind":"official","path":"graph-level/prepare/src/GEOM_dataset_preparation.py","file_url":"https://github.com/TianyuFan0504/WAS/blob/HEAD/graph-level/prepare/src/GEOM_dataset_preparation.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e5d413a517864727"}},{"code_sha256_prefix":"82a142cac7b5616c","entry":"pse_softmax","repo":"TianyuFan0504/WAS","repo_kind":"official","path":"graph-level/models/molecule_gnn_model.py","file_url":"https://github.com/TianyuFan0504/WAS/blob/HEAD/graph-level/models/molecule_gnn_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"82a142cac7b5616c"}},{"code_sha256_prefix":"f8a66f1be2f3f8b6","entry":"pse_softmax","repo":"tianyufan0504/was","repo_kind":"official","path":"node-level/src/models.py","file_url":"https://github.com/tianyufan0504/was/blob/HEAD/node-level/src/models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f8a66f1be2f3f8b6"}},{"code_sha256_prefix":"b56084924d22f830","entry":"eval","repo":"TianyuFan0504/WAS","repo_kind":"official","path":"graph-level/prepare/src/molecule_finetune.py","file_url":"https://github.com/TianyuFan0504/WAS/blob/HEAD/graph-level/prepare/src/molecule_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":"b56084924d22f830"}},{"code_sha256_prefix":"bc93d3d773304c56","entry":"train","repo":"TianyuFan0504/WAS","repo_kind":"official","path":"graph-level/prepare/src/molecule_finetune.py","file_url":"https://github.com/TianyuFan0504/WAS/blob/HEAD/graph-level/prepare/src/molecule_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":"bc93d3d773304c56"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}