{"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/can-graph-neural-networks-learn-language-with","title":"Can Graph Neural Networks Learn Language with Extremely Weak Text Supervision?","arxiv_id":"2412.08174","date":"2024-12-11","proceeding":null,"authors":["Zihao Li","Lecheng Zheng","Bowen Jin","Dongqi Fu","Baoyu Jing","Yikun Ban","Jingrui He","Jiawei Han"],"abstract":"While great success has been achieved in building vision models with Contrastive Language-Image Pre-training (CLIP) over internet-scale image-text pairs, building transferable Graph Neural Networks (GNNs) with CLIP pipeline is challenging because of the scarcity of labeled data and text supervision, different levels of downstream tasks, and the conceptual gaps between domains. In this work, to address these issues, we propose a multi-modal prompt learning paradigm to effectively adapt pre-trained GNN to downstream tasks and data, given only a few semantically labeled samples, each with extremely weak text supervision. Our new paradigm embeds the graphs directly in the same space as the Large Language Models (LLMs) by learning both graph prompts and text prompts simultaneously. We demonstrate the superior performance of our paradigm in few-shot, multi-task-level, and cross-domain settings. Moreover, we build the first CLIP-style zero-shot classification prototype that can generalize GNNs to unseen classes with extremely weak text supervision. The code is available at https://github.com/Violet24K/Morpher.","url_abs":"https://arxiv.org/abs/2412.08174v3","url_pdf":"https://arxiv.org/pdf/2412.08174v3.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":"can-graph-neural-networks-learn-language-with","repo_url":"https://github.com/violet24k/morpher","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"prompt-learning","task_name":"Prompt Learning"},{"task_slug":"zero-shot-learning","task_name":"Zero-Shot Learning"},{"task_slug":null,"task_name":"zero-shot-classification"}],"methods":[{"method_slug":"clip","method_name":"CLIP"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2412.08174","atlas_url":"https://app.syntology.ai/?focus=2412.08174","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.08174"}},"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/violet24k/morpher","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":5},"by_repo_kind":{"official":{"samples":5,"ran":0,"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":"17e8781f1646af5d","entry":"Gprompt_link_loss","repo":"violet24k/morpher","repo_kind":"official","path":"code/prompt_graph/utils/loss.py","file_url":"https://github.com/violet24k/morpher/blob/HEAD/code/prompt_graph/utils/loss.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":"17e8781f1646af5d"}},{"code_sha256_prefix":"421cd32e5b9fd054","entry":"ImprovedAllInOneEva","repo":"violet24k/morpher","repo_kind":"official","path":"code/prompt_graph/evaluation/ImprovedAllInOneEva.py","file_url":"https://github.com/violet24k/morpher/blob/HEAD/code/prompt_graph/evaluation/ImprovedAllInOneEva.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":"421cd32e5b9fd054"}},{"code_sha256_prefix":"edd6ca4c2110292c","entry":"ImprovedAllInOneEvaOnlyAnswering","repo":"violet24k/morpher","repo_kind":"official","path":"code/prompt_graph/evaluation/ImprovedAllInOneEva.py","file_url":"https://github.com/violet24k/morpher/blob/HEAD/code/prompt_graph/evaluation/ImprovedAllInOneEva.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":"edd6ca4c2110292c"}},{"code_sha256_prefix":"c7045932e975b921","entry":"ImprovedAllInOneEvaWithoutAnswer","repo":"violet24k/morpher","repo_kind":"official","path":"code/prompt_graph/evaluation/ImprovedAllInOneEva.py","file_url":"https://github.com/violet24k/morpher/blob/HEAD/code/prompt_graph/evaluation/ImprovedAllInOneEva.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":"c7045932e975b921"}},{"code_sha256_prefix":"5447e8b8763aef42","entry":"tempsigmoid","repo":"violet24k/morpher","repo_kind":"official","path":"code/prompt_graph/prompt/Morpher.py","file_url":"https://github.com/violet24k/morpher/blob/HEAD/code/prompt_graph/prompt/Morpher.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":"5447e8b8763aef42"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}