{"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-2606-22914","title":"PromptDyG: Test-Time Prompt Adaptation on Dynamic Graphs","arxiv_id":"2606.22914","date":"2026-06-22","proceeding":"ICML","authors":["Guoguo Ai","Chaoxi Niu","Hui Yan","Joey Tianyi Zhou","Yew-Soon Ong","Guansong Pang"],"abstract":"Activities in numerous evolving systems can be represented as dynamic graphs in snapshot form at different time intervals, i.e., discrete-time dynamic graphs (DTDGs). Existing methods show impressive advances in capturing historical temporal evolution patterns in DTDGs, but they focus on addressing an offline learning setting, where models are trained using historical snapshots once and then evaluated to all subsequent graph snapshots without further updating. This fails to capture 1) the nature of evolving complexities across graph snapshots and 2) the distribution shift in the testing graph snapshots. To address these problems, we propose PromptDyG, a novel framework that leverages unsupervised test-time Prompt adaptation for Dynamic Graph learning under a live-update online setting. The key insight is that an expressive dynamic graph prompt can be learned on a frozen backbone via minimization of feature-wise, label-free entropy to efficiently and continuously model the evolving patterns. We show theoretically that this unsupervised prompt adaptation can guarantee a larger similarity margin between positive and negative pairs, facilitating more accurate dynamic predictions. It is further confirmed by our extensive empirical results on six benchmark datasets that show consistent and significant improvements of PromptDyG over state-of-the-art baselines.","url_abs":"https://arxiv.org/abs/2606.22914","url_pdf":"https://arxiv.org/pdf/2606.22914","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":{"syntology_url":"https://syntology.ai/paper/2606.22914","atlas_url":"https://app.syntology.ai/?focus=2606.22914","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2606.22914"}},"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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/snap-stanford/roland","reach":null},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/mala-lab/PromptDyG","reach":null}],"summary":{"ran":16,"unverified":2},"by_repo_kind":{"found_in_text":{"samples":18,"ran":16,"repositories":2}},"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":18,"samples":[{"code_sha256_prefix":"1478f5be811e4aba","entry":"collapse_over_seed","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"roland_raw_records/generate_tables.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/roland_raw_records/generate_tables.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"1478f5be811e4aba"}},{"code_sha256_prefix":"245ee8d1b00fa77f","entry":"construct_additional_features","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"graphgym/contrib/loader/roland_bsi_v3.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/graphgym/contrib/loader/roland_bsi_v3.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"245ee8d1b00fa77f"}},{"code_sha256_prefix":"6ee6319829c483fa","entry":"dayofyear","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"graphgym/contrib/loader/roland_bsi_hetero_v1.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/graphgym/contrib/loader/roland_bsi_hetero_v1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"6ee6319829c483fa"}},{"code_sha256_prefix":"1951897c2a79f684","entry":"entropy","repo":"mala-lab/PromptDyG","repo_kind":"found_in_text","path":"PromptDyG.py","file_url":"https://github.com/mala-lab/PromptDyG/blob/HEAD/PromptDyG.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":"1951897c2a79f684"}},{"code_sha256_prefix":"f5ad177b0780e646","entry":"features2float","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"graphgym/contrib/loader/roland.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/graphgym/contrib/loader/roland.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"f5ad177b0780e646"}},{"code_sha256_prefix":"ff8ac5764afe23c2","entry":"features2float","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"graphgym/contrib/loader/roland_bsi.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/graphgym/contrib/loader/roland_bsi.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ff8ac5764afe23c2"}},{"code_sha256_prefix":"7e17b80a1eddf269","entry":"features2int","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"graphgym/contrib/loader/roland.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/graphgym/contrib/loader/roland.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"7e17b80a1eddf269"}},{"code_sha256_prefix":"2703f4dd99f23c71","entry":"features2int","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"graphgym/contrib/loader/roland_bsi.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/graphgym/contrib/loader/roland_bsi.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"2703f4dd99f23c71"}},{"code_sha256_prefix":"d2d59d4f1850457d","entry":"file2timestamp","repo":"mala-lab/PromptDyG","repo_kind":"found_in_text","path":"dataset_AS.py","file_url":"https://github.com/mala-lab/PromptDyG/blob/HEAD/dataset_AS.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":"d2d59d4f1850457d"}},{"code_sha256_prefix":"ff240122ec3e6b20","entry":"get_parent_dir","repo":"mala-lab/PromptDyG","repo_kind":"found_in_text","path":"config.py","file_url":"https://github.com/mala-lab/PromptDyG/blob/HEAD/config.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":"ff240122ec3e6b20"}},{"code_sha256_prefix":"ef476902203de0d6","entry":"monthofyear","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"graphgym/contrib/loader/roland_bsi_hetero_v1.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/graphgym/contrib/loader/roland_bsi_hetero_v1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ef476902203de0d6"}},{"code_sha256_prefix":"91c9b17caed9c461","entry":"softmax_entropy","repo":"mala-lab/PromptDyG","repo_kind":"found_in_text","path":"PromptDyG.py","file_url":"https://github.com/mala-lab/PromptDyG/blob/HEAD/PromptDyG.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":"91c9b17caed9c461"}},{"code_sha256_prefix":"4b4dbfa391c61858","entry":"squeeze_dict","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"roland_raw_records/generate_tables.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/roland_raw_records/generate_tables.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"4b4dbfa391c61858"}},{"code_sha256_prefix":"7c360ac4207884cb","entry":"tabulate_events","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"roland_raw_records/generate_tables.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/roland_raw_records/generate_tables.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"7c360ac4207884cb"}},{"code_sha256_prefix":"11e2281a1aa4a39d","entry":"timeit","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"graphgym/contrib/loader/roland_bsi.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/graphgym/contrib/loader/roland_bsi.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"11e2281a1aa4a39d"}},{"code_sha256_prefix":"7625a6e0020b9aac","entry":"weekofyear","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"graphgym/contrib/loader/roland_bsi_hetero_v1.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/graphgym/contrib/loader/roland_bsi_hetero_v1.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"7625a6e0020b9aac"}},{"code_sha256_prefix":"4a533ced8e2ad9d5","entry":"feature2time","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"graphgym/contrib/loader/roland.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/graphgym/contrib/loader/roland.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"4a533ced8e2ad9d5"}},{"code_sha256_prefix":"56b43d99f8c6806e","entry":"get_node_feature","repo":"snap-stanford/roland","repo_kind":"found_in_text","path":"graphgym/contrib/loader/roland_bsi_v3.py","file_url":"https://github.com/snap-stanford/roland/blob/HEAD/graphgym/contrib/loader/roland_bsi_v3.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"56b43d99f8c6806e"}}]},"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_2026.jsonl"},"syntology_extracted_results":{"kind":"leaderboard_placements","source":"Syntology's leaderboard-shaped extractor over the paper's own arXiv-HTML tables: a model pointed at a cell, the number was read from that cell and checked against the board's metric, dataset, split and scale, and an independent check accepted the entry; not reviewed by the paper's authors or the archive's editors","extractor_model":"global.anthropic.claude-sonnet-4-5-20250929-v1:0","verifier_model":null,"prompt_sha":"fa63d4bb9d755694","coverage":{"sentence":"Syntology has checked 6,885 of the 9,623 papers on this site that are newer than the archive; results from the others appear after they are checked.","papers_newer_than_archive":9623,"papers_checked":6885},"entries":[],"not_placed":{"boards":1,"rejected_by_independent_check":0,"refused_by_a_rule":1,"check_did_not_answer":0,"proposed_without_a_cell":0,"declined_by_site":0}}}