{"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/arxiv-2510-04567","title":"GILT: An LLM-Free, Tuning-Free Graph Foundational Model for In-Context Learning","arxiv_id":"2510.04567","date":"2025-10-06","proceeding":"ICML","authors":["Weishuo Ma","Yanbo Wang","Xiyuan Wang","Lei Zou","Muhan Zhang"],"abstract":"Graph Neural Networks (GNNs) are powerful tools for processing relational data but often struggle to generalize to unseen graphs, giving rise to the development of Graph Foundational Models (GFMs). However, current GFMs are challenged by the extreme heterogeneity of graph data, where each graph can possess a unique feature space, label set, and topology. To address this, two main paradigms have emerged. The first leverages Large Language Models (LLMs), but is fundamentally text-dependent, thus struggles to handle the numerical features in vast graphs. The second pre-trains a structure-based model, but the adaptation to new tasks typically requires a costly, per-graph tuning stage, creating a critical efficiency bottleneck. In this work, we move beyond these limitations and introduce \\textbf{G}raph \\textbf{I}n-context \\textbf{L}earning \\textbf{T}ransformer (GILT), a framework built on an LLM-free and tuning-free architecture. GILT introduces a novel token-based framework for in-context learning (ICL) on graphs, reframing classification tasks spanning node, edge and graph levels in a unified framework. This mechanism is the key to handling heterogeneity, as it is designed to operate on generic numerical features. Further, its ability to understand class semantics dynamically from the context enables tuning-free adaptation. Comprehensive experiments show that GILT achieves stronger few-shot performance with significantly less time than LLM-based or tuning-based baselines, validating the effectiveness of our approach. Our code is available at: https://github.com/yiming421/inductnode/.","url_abs":"https://arxiv.org/abs/2510.04567","url_pdf":"https://arxiv.org/pdf/2510.04567","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2510.04567","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2510.04567"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/yiming421/inductnode","reach":{"status":"ok"}}],"summary":{"ran_violates":1,"unverified":18},"by_repo_kind":{"found_in_text":{"samples":19,"ran":1,"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":19,"samples":[{"code_sha256_prefix":"7c508037b40522af","entry":"str2bool","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/config.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/config.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":1,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7c508037b40522af"}},{"code_sha256_prefix":"0acbca89e9cc74a0","entry":"apply_incremental_pca_cpu","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_utils.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_utils.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":"0acbca89e9cc74a0"}},{"code_sha256_prefix":"8c37f3dda5d1bcc1","entry":"apply_quantile_normalization","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_utils.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_utils.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":"8c37f3dda5d1bcc1"}},{"code_sha256_prefix":"02d50566c9ca1acc","entry":"auto_download_flickr_files","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_nc.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_nc.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":"02d50566c9ca1acc"}},{"code_sha256_prefix":"aba51efedc8e8567","entry":"check_pca_cache_availability","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_graph_cache_aware.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_graph_cache_aware.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":"aba51efedc8e8567"}},{"code_sha256_prefix":"bdfe50edc9cd467a","entry":"create_gpse_node_lookup_table","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_gc.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_gc.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":"bdfe50edc9cd467a"}},{"code_sha256_prefix":"2644d7fcf77d34be","entry":"download_dataset","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_nc.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_nc.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":"2644d7fcf77d34be"}},{"code_sha256_prefix":"58f6c0e08cde7109","entry":"ensure_dataset_available","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_nc.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_nc.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":"58f6c0e08cde7109"}},{"code_sha256_prefix":"437f2aaad862f500","entry":"is_dataset_complete","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/dataset_config.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/dataset_config.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":"437f2aaad862f500"}},{"code_sha256_prefix":"5ce05c8af0616327","entry":"load_checkpoint","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/checkpoint_utils.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/checkpoint_utils.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":"5ce05c8af0616327"}},{"code_sha256_prefix":"4444a321ca677e2e","entry":"load_checkpoint_config","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/checkpoint_utils.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/checkpoint_utils.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":"4444a321ca677e2e"}},{"code_sha256_prefix":"29263ecfe1eaad3d","entry":"load_gpse_embeddings","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_gc.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_gc.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":"29263ecfe1eaad3d"}},{"code_sha256_prefix":"1cf33a9452845dce","entry":"load_tu_original_features","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_fug.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_fug.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":"1cf33a9452845dce"}},{"code_sha256_prefix":"ad2e60806741605a","entry":"random_split_edges","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_lp.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_lp.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":"ad2e60806741605a"}},{"code_sha256_prefix":"a568c236c1c3c89b","entry":"safe_get_edge_split","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_lp.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_lp.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":"a568c236c1c3c89b"}},{"code_sha256_prefix":"ddcea96033d86f57","entry":"safe_load_dataset","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_lp.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_lp.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":"ddcea96033d86f57"}},{"code_sha256_prefix":"7ec3e23a89419def","entry":"save_checkpoint","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/checkpoint_utils.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/checkpoint_utils.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":"7ec3e23a89419def"}},{"code_sha256_prefix":"f6a80e3a16cdd00e","entry":"select_k_shot_context","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_utils.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_utils.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":"f6a80e3a16cdd00e"}},{"code_sha256_prefix":"9af8a152e8ebffe8","entry":"update_dataset_with_gpse_embeddings","repo":"yiming421/inductnode","repo_kind":"found_in_text","path":"src/data_gc.py","file_url":"https://github.com/yiming421/inductnode/blob/HEAD/src/data_gc.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":"9af8a152e8ebffe8"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.LG","source":"arxiv_api"},"syntology_extracted_results":null}