Papers › Glance for Context: Learning When to Leverage LLMs for Node-Aware GNN-LLM Fusion

Glance for Context: Learning When to Leverage LLMs for Node-Aware GNN-LLM Fusion

12 Oct 2025arXiv:2510.10849added by Syntology

Donald Loveland, Yao-An Yang, Danai Koutra

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Learning on text-attributed graphs has motivated the use of Large Language Models (LLMs) for graph learning. However, most fusion strategies are applied uniformly across all nodes and attain only small overall performance gains. We argue this result stems from aggregate metrics that obscure when LLMs provide benefit, inhibiting actionable signals for new strategies. In this work, we reframe LLM-GNN fusion around nodes where GNNs typically falter. We first show that performance can significantly differ between GNNs and LLMs, with each excelling on distinct structural patterns, such as local homophily. To leverage this finding, we propose GLANCE (GNN with LLM Assistance for Neighbor- and Context-aware Embeddings), a framework that invokes an LLM to refine a GNN's prediction. GLANCE employs a lightweight router that, given inexpensive per-node signals, decides whether to query the LLM. Since the LLM calls are non-differentiable, the router is trained with an advantage-based objective that compares the utility of querying the LLM against relying solely on the GNN. Across multiple benchmarks, GLANCE achieves the best performance balance across node subgroups, achieving significant gains on heterophilous nodes (up to +13%) while simultaneously achieving top overall performance. Our findings highlight the value of adaptive, node-aware GNN-LLM architectures, where selectively invoking the LLM enables scalable deployment on large graphs without incurring high computational costs.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2510.10849")

Code

Syntology Ran 2 of 17 code samples harvested from 2 repositories linked to this paper; 15 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong.

By repository: found in paper text by Syntology: 17 samples from 2 repositories, 2 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

CUAI/Non-Homophily-Large-Scale found in paper text by Syntology report
XiaoxinHe/tape_arxiv_2023 found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

17 samples harvested; 2 ran; 1 honoured the contract we drafted; 15 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
15unverified

Licence: 17 of the 17 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: 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. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

load_twitch_gamer CUAI/Non-Homophily-Large-Scale/load_data.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · d4e6fd9f6cd8a3ad · report
word2vec XiaoxinHe/tape_arxiv_2023/src/process.py found in paper text by Syntology ran · honoured contract no licence file found · pointer only · a3113ed80fa9619b · report
clean CUAI/Non-Homophily-Large-Scale/wiki_scraping/wiki_homophily.py found in paper text by Syntology unverified no licence file found · pointer only · 8234bde327876289 · report
compat_matrix CUAI/Non-Homophily-Large-Scale/homophily.py found in paper text by Syntology unverified no licence file found · pointer only · 606e13d2f58cd737 · report
edge_homophily CUAI/Non-Homophily-Large-Scale/homophily.py found in paper text by Syntology unverified no licence file found · pointer only · 07270c9ae73d7519 · report
even_quantile_labels CUAI/Non-Homophily-Large-Scale/data_utils.py found in paper text by Syntology unverified no licence file found · pointer only · be162bddd27d9fac · report
general_outcome_correlation CUAI/Non-Homophily-Large-Scale/correct_smooth.py found in paper text by Syntology unverified no licence file found · pointer only · 0a98892b68db0dab · report
get_raw_text_arxiv_2023 XiaoxinHe/tape_arxiv_2023/src/load_arxiv_2023.py found in paper text by Syntology unverified no licence file found · pointer only · 286ece71e0e147f7 · report
load_fb100 CUAI/Non-Homophily-Large-Scale/load_data.py found in paper text by Syntology unverified no licence file found · pointer only · 0765a875204d931d · report
load_twitch CUAI/Non-Homophily-Large-Scale/load_data.py found in paper text by Syntology unverified no licence file found · pointer only · 563a5ce4dce55a17 · report
make_loader CUAI/Non-Homophily-Large-Scale/batch_utils.py found in paper text by Syntology unverified no licence file found · pointer only · 7801b54d43fe03e1 · report
nc_dataset_to_torch_geo CUAI/Non-Homophily-Large-Scale/batch_utils.py found in paper text by Syntology unverified no licence file found · pointer only · c3a81b1903e55e46 · report
node_homophily CUAI/Non-Homophily-Large-Scale/homophily.py found in paper text by Syntology unverified no licence file found · pointer only · 42ea8a2b9adf3c0e · report
pre_outcome_correlation CUAI/Non-Homophily-Large-Scale/correct_smooth.py found in paper text by Syntology unverified no licence file found · pointer only · 0fe1182ebc3369c4 · report
pre_residual_correlation CUAI/Non-Homophily-Large-Scale/correct_smooth.py found in paper text by Syntology unverified no licence file found · pointer only · 1f80b4c94d260da3 · report
rand_train_test_idx CUAI/Non-Homophily-Large-Scale/data_utils.py found in paper text by Syntology unverified no licence file found · pointer only · 13234652741e2264 · report
to_planetoid CUAI/Non-Homophily-Large-Scale/data_utils.py found in paper text by Syntology unverified no licence file found · pointer only · 01e5c1887f86d840 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2510.10849, was issued in October 2025, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections