GLANCE for Context: Learning When to Leverage LLMs for Node-Aware GNN-LLM Fusion
Mobile reading edition. English text is reflowed for small screens; original figures and semantic tables stay inline, and mathematical notation remains source-faithful for no-JavaScript viewing.
Department of Computer Science and Engineering
University of Michigan
Ann Arbor, MI, USA
{dlovelan, ayayang, dkoutra}@umich.edu
ABSTRACT
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 Neighborand 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.
1 INTRODUCTION
Text is rarely consumed in isolation: scientific papers cite related work (Ciotti et al., 2015; Mccallum et al., 2000; Cohan et al., 2018), users browse descriptions of co-purchased e-commerce items (Jin et al., 2024; McAuley & Yang, 2016; Ezeife & Karlapalepu, 2023), and social media posts reply to one another (Wu et al., 2017; Yang & Leskovec, 2011). These interactions form text-attributed graphs (TAGs), where nodes represent text and edges capture relationships, enabling joint reasoning over content and structure (Yang et al., 2015; Zhao et al., 2023). Historically, TAGs have been processed by feeding shallow text features, such as TF–IDF or static word embeddings (Stephen et al., 2022; Mikolov et al., 2013), into Graph Neural Networks (GNNs). Recently, the success of Large Language Models (LLMs) has motivated hybrid architectures that leverage LLMs for graph learning, combining LLMs’ semantic reasoning with GNNs’ structural learning (Chen et al., 2024a; Wang et al., 2025). However, the majority of hybrid systems typically apply a single fusion strategy across all nodes in a graph, overlooking per-node variations in semantic quality and structural attributes (Wu et al., 2024). This uniform application of LLMs across a graph can waste expensive LLM calls on nodes already well modeled by the GNN, producing poor accuracy-efficiency tradeoffs (Liu et al., 2025).
A key weakness of uniform fusion is its failure to leverage the complementary strengths of GNNs and LLMs. GNNs tend to perform well when nodes have a high degree and their neighbors exhibit homophily (i.e., connected nodes share labels). (McPherson et al., 2001; Yan et al., 2022). Yet, these properties do not typically hold in real-world TAGs (Ma et al., 2020; Loveland et al., 2024; Zhou et al., 2020). While advanced GNN designs have attempted to address these concerns (Zhu et al., 2020; Abu-El-Haija et al., 2019; Veliˇckovi´c et al., 2018), recent evidence shows they remain insufficient for handling these challenging structures (Loveland & Koutra, 2025; Mao et al., 2023; Du et al., 2022). On the other hand, LLMs exhibit strong generalization in low-shot settings, making them well suited for the challenging nodes that degrade GNNs (Chen et al., 2024a;
Peng et al., 2024). However, leveraging LLMs for graphs often leads to the distortion of structural relationships due to serializing the graph into text (Liu et al., 2023; Firooz et al., 2025; Wang et al., 2025). This limitation is particularly detrimental for graphs governed by simpler structural signals where the LLM may add unnecessary complexity and even degrade performance relative to GNNs (Liu et al., 2025; Wang et al., 2025).
While incremental performance gains with high computational costs make LLMs seem ill-suited for graph learning, we argue this stems not from inherent deficiencies, but how LLMs are used. Our hypothesis is that gains in regions difficult for GNNs are offset by losses elsewhere. Thus, we focus on utilizing LLMs only where GNNs struggle, prioritizing structurally difficult nodes whose errors are often masked in aggregate metrics. This emphasis promotes equity across the graph, countering harmful GNN inductive biases (Wang et al., 2022; Agarwal et al., 2021). This leads us to our core research question: How, and for which nodes, should we leverage LLMs to complement and bolster GNNs?
To answer this question, we first identify signals that inform when GNNs vs. LLMs succeed. Since LLM routing has only recently been studied, we systematically assess existing methods (Qiao et al., 2025; Jaiswal et al., 2024; Chen et al., 2024b), finding highly variable performance, sometimes worse than random routing. Through a node-level analysis on local homophily and relative degree, two properties known to impact GNNs (Yan et al., 2022; Subramonian et al., 2024), we find GNNs excel in high-homophily, well-connected regions, while LLMs dominate as homophily or degree decreases. Notably, local homophily emerges as a strong predictor of model advantage, offering a principled prior for routing.
Motivated by this, we propose GLANCE (GNN with LLM Assistance for Neighborand Context-aware Embeddings), a fusion strategy that preserves GNN efficiency on easy nodes while selectively leveraging LLMs on hard ones. GLANCE first encodes nodes with a pre-trained GNN, then passes lightweight routing features to a cost-aware policy that decides whether to query the LLM – figuratively “glancing” at the LLM for additional context. For routed nodes, LLM embeddings are fused with GNN embeddings via a small refiner head. To train the non-differentiable router, we introduce an advantage-based strategy that rewards beneficial queries to the LLM. We find that GLANCE is able to consistently outperform previous benchmarks, producing more robust predictions across the spectrum of homophily levels. This ability to achieve higher performance while reducing LLM usage, and thus computational cost, highlights the value of node-aware GNN-LLM fusion when scaling to large, diverse TAGs. Our contributions are below:
- Current Limitations: Which Nodes to Route. We provide a systematic look at LLM routing and show that current heuristics are brittle. By stratifying nodes by different properties, we reveal the complementary performance of GNNs and LLMs over local homophily and identify for which nodes LLMs are beneficial.
- New GNN-LLM Method: How to Select Nodes. We introduce GLANCE, a cost-aware framework that learns when to query the LLM, minimizing unnecessary LLM calls and preserving scalability.
- Comprehensive Empirical Analysis. Across four diverse TAG datasets, GLANCE consistently outperforms state-of-the-art GNNs and GNN-LLM hybrids, yielding robust predictions across homophily levels with gains of up to +13.0% on heterophilous pockets and overall performance gains of up to +0.9%.
2 RELATED WORK
We briefly discuss the most relevant work here, and provide more details in Appendix A.
Static GNN-LLM Fusion. Prior work largely follows two paradigms: LLMs-as-Enhancers and LLMs-as-Predictors (Chen et al., 2024a; Li et al., 2024). Enhancer methods enrich node features with text embeddings or external knowledge (Wu et al., 2024; He et al., 2024), while predictor methods replace the GNN with the LLM, directly classifying serialized graph inputs (Wu et al., 2024; Wang et al., 2025). LLM-as-Predictor methods can overcome GNN biases, but struggle with topology encoding and prompt length (Firooz et al., 2025). Other fusion strategies draw from Mixture-of-Experts (MoE) (Cai et al., 2025; Wang et al., 2023), but have not explored mixing GNNs and LLMs. Recent work has considered LLMs to route among GNNs (Jiang & Luo, 2025), yet this still confines performance to GNN biases. In contrast, our approach adopts a selective paradigm, invoking the LLM where it is expected to help, combining the strengths of both models.
Adaptive GNN-LLM Fusion. A challenge for LLM–GNN models is inference cost, especially when LLMs are used in the forward pass for all nodes (Wu et al., 2024). While cost reduction via sampling or distillation helps (Fang et al., 2023; Chen et al., 2024a), scalability remains limited by universal LLM calls. Only a few recent works explore adaptive GNN-LLM fusion, where the LLM is invoked selectively. E-LLaGNN
routes nodes with fixed heuristics (e.g., degree, centrality) (Jaiswal et al., 2024), but requires manual tuning. LOGIN uses GNN uncertainty to rewire difficult nodes (Qiao et al., 2025), though this can erase useful heterophilous links (Luan et al., 2021). LLM-GNN uses clustering density as a proxy for difficulty (Chen et al., 2024b). Our approach differs by: (1) systematically identifying structural properties predictive of LLM benefit, learning to route without preset thresholds; (2) preserving graph structure rather than editing it; and (3) directly training a router under non-differentiable queries, rather than altering data to create influence.
3 PRELIMINARIES
A TAG is defined as
for a node
Large Language Models. Let
4 WHICH NODES TO ROUTE: CURRENT LIMITATIONS & OPPORTUNITIES
We begin by examining which nodes should be routed, reviewing prior routing strategies and highlighting their limitations. Then, building on insights from the GNN literature, particularly the challenges with GNNs applied to low-degree nodes and heterophilous neighborhoods (Yan et al., 2022; Tang et al., 2020), we show that LLMs can complement GNNs under these conditions. Ultimately, we find that homophily emerges as a strong indicator for LLM benefit, offering a promising opportunity to improve graph learning.
4.1 LIMITATIONS OF CURRENT ROUTING STRATEGIES
Based on previous work, we analyze strategies to route nodes to an LLM. We consider node degree
Experimental Setup. We evaluate on Cora (Mccallum et al., 2000), Pubmed (Sen et al., 2008a), and Arxiv23 (He et al., 2024) with processing details in Section D. We train two backbones, GCN and GCNII, using the dataset’s original features (denoted as “Std.”) and enhanced features (denoted as “Enh.”) generated via Qwen3-8B. GCN serves as a traditional baseline, while GCNII introduces new designs to better handle over-smoothing and other challenging graph properties. Together, they provide a contrast between a simple message-passing framework and a stronger state-of-the-art backbone. For LLM-as-predictor, we fine-tune Qwen3-8B with an MLP head for node classification. LLM prompting and training for both LLM-as-Enhancer and LLM-as-Predictor are given in Section B. Training details and hyperparameters for the LLMs and GNNs are provided in Section C. For the routing strategies in Table 1, we freeze the GNN and LLMs and route using the metric.
We assess heuristics with a net correction score (NCS), capturing the
benefit of routing. For a routed set
Table 1: NCS for C-density,
| Routing Strat. | Cora | Pubmed | Arxiv23 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| 10% (68) | 15% (102) | 20% (136) | 10% (493) | 15% (740) | 20% (986) | 10% (489) | 15% (734) | 20% (978) | |
| GCN Enh. — Random | -0.02 | -0.06 | -0.04 | 0.06 | 0.05 | 0.04 | 0.05 | 0.04 | 0.04 |
| GCN Enh. — C-density | -0.02 | -0.03 | -0.03 | 0.05 | 0.06 | 0.05 | 0.07 | 0.07 | 0.06 |
| GCN Enh. — Degree | -0.04 | -0.01 | -0.02 | 0.04 | 0.04 | 0.04 | 0.04 | 0.05 | 0.05 |
| GCN Enh. — Uncertainty | -0.09 | -0.03 | -0.01 | 0.20 | 0.18 | 0.17 | 0.15 | 0.13 | 0.13 |
| GCNII Enh. — Random | 0.00 | 0.01 | -0.01 | 0.01 | 0.01 | 0.01 | -0.01 | 0.00 | 0.00 |
| GCNII Enh. — C-density | 0.00 | -0.03 | -0.03 | 0.02 | 0.02 | 0.02 | 0.03 | 0.03 | 0.03 |
| GCNII Enh. — Degree | -0.03 | -0.03 | -0.02 | 0.03 | 0.03 | 0.03 | -0.03 | -0.02 | -0.01 |
| GCNII Enh. — Uncertainty | -0.04 | -0.02 | -0.03 | 0.09 | 0.08 | 0.08 | 0.05 | 0.04 | 0.05 |
Findings. Table 1 highlights the difficulty to identify a single routing signal that generalizes across datasets. On Pubmed and Arxiv23, uncertainty appears promising, achieving the best NCS in every setting. Yet on Cora, the same strategy consistently produces negative NCS, often performing worse than a random router. Other heuristics such as degree and C-density similarly fluctuate in effectiveness, with no strategy performing robustly across all datasets. Together, these results underscore the limitations of static heuristics: while they can succeed in isolated cases, their performance is dataset-dependent. This motivates the need for a more principled and transferable routing signal, rather than manually chosen rules.
4.2 STRUCTURAL OPPORTUNITIES FOR ROUTING
Given that heuristic quality can be dataset-dependent, we aim to find a routing signal that aligns with the strengths of GNNs and LLMs. We first analyze metrics known to degrade GNN performance and then utilize these to route, showing that homophily is a strong indicator for when LLMs improve performance.
4.2.1 ON THE COMPLEMENTARY CAPABILITIES OF LLMS AND GNNS
To characterize the unique benefits of LLMs and GNNs, we take the
models from Table 1 and perform a stratified analysis using relative
degree
Both properties are known to influence GNNs (Yan et al., 2022; Subramonian et al., 2024), but have received less attention for LLM-graph reasoning. We compare models across these properties to understand how each paradigm responds.

Figure 1: Stratified performance for
Findings. In Figure 1, we study performance for groups of nodes stratified by
Table 2: (Left) NCS for
| Strat. | Cora | Pubmed | Arxiv23 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| 10% | 15% | 20% | 10% | 15% | 20% | 10% | 15% | 20% | |
| GCN Enh. — hᵥ | 0.24 | 0.11 | 0.05 | 0.29 | 0.30 | 0.26 | 0.15 | 0.14 | 0.15 |
| GCN Enh. — ĥᵥ | -0.07 | -0.04 | -0.04 | 0.20 | 0.20 | 0.19 | 0.14 | 0.14 | 0.15 |
| GCN Enh. — d̄ᵥ | -0.07 | -0.07 | -0.06 | 0.05 | 0.04 | 0.04 | 0.03 | 0.05 | 0.03 |
| GCNII Enh. — hᵥ | 0.09 | 0.03 | 0.00 | 0.10 | 0.11 | 0.09 | 0.04 | 0.05 | 0.06 |
| GCNII Enh. — ĥᵥ | -0.06 | -0.03 | -0.03 | 0.07 | 0.07 | 0.06 | 0.04 | 0.04 | 0.05 |
| GCNII Enh. — d̄ᵥ | -0.06 | -0.07 | -0.05 | 0.03 | 0.02 | 0.02 | -0.03 | -0.01 | -0.01 |
Mean rank across routing strategies, lower is better.
| Routing strategy | Avg. Ranking | Label Free For Inference |
|---|---|---|
| Random | 4.50 | ✓ |
| C-density | 4.14 | ✓ |
| Degree | 4.33 | ✓ |
| Uncertainty | 3.28 | ✓ |
| d̄ᵥ | 5.94 | ✓ |
| ĥᵥ | 3.22 | ✓ |
| hᵥ | 1.03 | ✗ |
4.2.2 ROUTING WITH LOCAL HOMOPHILY
Unlike degree, which can be derived directly from the graph
structure, homophily depends on class labels that are not accessible
during training. This makes it challenging to directly exploit the
performance gains LLMs provide on heterophilous nodes (Figure 1).
Motivated by prior work on classifying edges as homophilous or
heterophilous (Du et al., 2022; Wu et al., 2024), we extend this idea to
estimate a node-level homophily score. Concretely, we train an MLP
This proxy enables us to leverage the benefits of homophily for routing without requiring ground-truth labels. We employ an MLP to avoid the structural biases that GNNs impose during homophily estimation (Zhu et al., 2021).
Findings. Table 2 shows that homophily is a useful routing signal. First, we find that true local homophily,
5 HOW TO ROUTE: ADAPTIVELY FUSING LLMS AND GNNS WITH GLANCE
To address the limitations of existing routing strategies, we propose GLANCE, a framework that adaptively fuses GNNs and LLMs. Rather than relying on handcrafted rules, GLANCE employs a lightweight router trained to decide, on a per-node basis, whether to invoke the LLM. This design ensures that the LLM is used only when it provides improvement to justify its cost. GLANCE is comprised of three components: (i) frozen GNN and LLM encoders, (ii) a trainable router using cheap features for routing, and (iii) a combiner that fuses structure and text embeddings into a final prediction.
5.1 COMPONENTS OF GLANCE
We now detail the components of GLANCE, as depicted in Figure 2. We first outline how nodes are chosen for routing. Then, we specify how the LLM generates new embeddings for routed nodes. Finally, we define the refinement process that merges the GNN and LLM information. As this is a non-differentiable pipeline, we include details on how the router is trained to encourage effective usage of the LLM.
5.1.1 STEP 1: GENERATING AND PROCESSING ROUTING FEATURES.
Routing Features. We begin by using a pre-trained GNN

Figure 2: GLANCE Overview. Step 1: GLANCE generates routing features to derive a decision. Step 2: A routed node’s text is fed into the LLM to generate embeddings. Step 3: A routed node’s GNN & LLM embeddings are used to refine predictions. For nodes not routed, the GNN prediction is used. Only the router and refiner MLP are trained.
This soft estimate provides the router with a measure of neighborhood alignment. While Table 2 shows that
Node Router. We define a router
5.1.2 STEP 2: PRE-TRAINED LLM TO PROCESS ROUTED NEIGHBORHOODS
For the routed node set
This encoding preserves both ego and neighbor information, while ensuring the prompt length remains manageable. Additionally, this design aligns with the aggregation typically seen in advanced GNNs (Zhu et al., 2020; Yan et al., 2022). Using LLM embeddings also offers computational advantages, as it avoids the costly generation step required by prior approaches (Qiao et al., 2025; Wu et al., 2024).
5.1.3 STEP 3: REFINE THE GNN PREDICTIONS USING LLM EMBEDDINGS.
For nodes not routed, we retain their original GNN predictions by feeding the GNN-based node embeddings into the original MLP head used during GNN training. For nodes that are routed, we want to utilize both the GNN and LLM embeddings to capture structure and contextual information. Thus, we define a refiner MLP C that integrates the GNN and LLM embedding as:
where
5.2 TRAINING OBJECTIVES
Because routing decisions are discrete and require prompt construction, routing weights cannot be directly learned via backpropagation. Below, we detail how we translate the routing signal into weight updates.
Counterfactual Comparison and Rewards. When routing to the LLM, we measure the value of invoking it by computing a counterfactual prediction using the GNN and measuring the difference in losses produced by the two computations. Specifically, with
where
The first term captures the decrease in loss provided by querying the LLM and the cost of invoking the LLM (hyperparameter
Training Objective. The router is optimized with a policy gradient-inspired loss, treating routing as a contextual bandit problem and encouraging alignment with counterfactual advantage:
While this objective is inspired by REINFORCE (Sutton et al., 1999), we employ deterministic top-k selection during training to ensure stable use of the limited LLM query budget. The final objective jointly trains C and
We use
6 EMPIRICAL ANALYSIS
We now empirically study GLANCE, demonstrating how selectively using LLMs can improve performance. We first analyze GLANCE’s performance, showing that it achieves significantly more balanced performance compared to the baselines. Then, we provide a series of supplemental analyses to understand what GLANCE learns during training. Finally, we extend GLANCE to larger TAGs to demonstrate its scalability.
Table 3: Per-bin accuracy for homophily levels. Training Strategies: O for Original features, E for Enhanced features, and L for LOGIN. Bold denotes best method. GLANCE achieves the strongest and most balanced performance across local homophily levels, as evidenced by its lowest average rank across datasets and homophily bins (rightmost column).
| Strat. | Cora | Pubmed | Arxiv23 | Avg rank | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.00–0.25 | 0.25–0.50 | 0.50–0.75 | 0.75–1.00 | 0.00–0.25 | 0.25–0.50 | 0.50–0.75 | 0.75–1.00 | 0.00–0.25 | 0.25–0.50 | 0.50–0.75 | 0.75–1.00 | ||
| GCN O | 18.7±6.7 | 38.6±3.6 | 77.1±3.9 | 98.5±1.2 | 48.2±4.2 | 50.0±1.5 | 83.1±1.1 | 97.2±0.1 | 25.1±0.4 | 47.1±2.0 | 77.0±5.6 | 93.0±2.9 | 10.3 |
| GCN E | 17.9±6.9 | 49.6±6.7 | 78.5±3.3 | 98.7±0.3 | 55.9±3.7 | 51.8±3.8 | 84.9±0.8 | 97.9±0.1 | 27.8±3.0 | 46.4±2.0 | 79.1±4.4 | 95.1±2.1 | 8.0 |
| GCN L | 17.6±4.3 | 44.7±2.0 | 78.9±3.4 | 97.8±0.3 | 47.0±0.7 | 45.5±4.1 | 83.1±1.6 | 98.1±0.2 | 24.9±0.5 | 37.6±1.0 | 64.6±1.1 | 83.2±0.1 | 10.4 |
| SAGE O | 21.1±2.9 | 45.2±3.3 | 76.2±4.8 | 97.9±0.5 | 58.4±2.7 | 66.1±1.4 | 85.3±0.6 | 96.6±0.2 | 32.6±0.3 | 53.3±0.4 | 80.5±0.7 | 93.9±0.4 | 8.6 |
| SAGE E | 30.6±6.9 | 48.6±6.1 | 75.4±3.2 | 96.1±0.6 | 69.5±2.0 | 70.5±3.5 | 89.2±0.5 | 97.4±0.1 | 36.3±0.4 | 56.1±0.4 | 81.2±0.7 | 93.8±0.3 | 6.6 |
| SAGE L | 26.8±2.6 | 43.6±5.0 | 75.4±3.8 | 97.8±0.4 | 67.1±1.3 | 69.6±1.8 | 88.5±0.9 | 97.6±0.4 | 37.0±2.7 | 51.6±3.1 | 76.0±1.1 | 89.8±1.0 | 8.2 |
| GCNII O | 20.0±7.5 | 41.7±3.7 | 83.1±2.0 | 98.9±0.3 | 54.3±4.9 | 54.5±6.1 | 85.8±0.3 | 97.0±0.1 | 31.9±1.1 | 49.8±3.1 | 78.5±4.4 | 92.9±2.2 | 8.9 |
| GCNII E | 32.0±7.9 | 53.5±3.5 | 77.6±1.5 | 97.1±0.9 | 69.7±2.1 | 68.1±4.6 | 88.9±0.9 | 97.4±0.4 | 41.6±1.2 | 58.0±2.7 | 83.2±1.9 | 94.8±0.7 | 4.7 |
| GCNII L | 33.4±1.9 | 50.8±2.4 | 77.8±4.1 | 96.6±1.0 | 71.0±1.5 | 68.7±2.1 | 88.6±1.1 | 97.1±0.2 | 46.6±0.6 | 62.0±0.7 | 81.2±0.9 | 92.5±0.9 | 5.4 |
| FAGCN E | 27.1±7.2 | 50.9±4.8 | 83.2±4.4 | 98.9±0.5 | 69.7±2.2 | 65.3±3.2 | 88.5±1.2 | 97.1±0.4 | 37.8±2.5 | 56.4±2.7 | 82.9±1.1 | 94.6±1.0 | 5.2 |
| GGCN E | 27.7±8.4 | 50.2±9.5 | 71.4±1.8 | 95.8±0.9 | 68.8±1.6 | 66.0±2.8 | 89.4±0.5 | 97.7±0.1 | 42.3±0.5 | 62.1±0.4 | 85.0±2.0 | 95.3±0.3 | 5.3 |
| GBK-GNN E | 28.6±4.8 | 51.0±2.1 | 74.4±2.8 | 96.7±0.8 | 67.5±1.9 | 67.9±4.3 | 87.9±1.7 | 97.9±0.0 | 38.7±0.9 | 58.8±1.2 | 83.8±1.2 | 94.3±0.1 | 5.8 |
| GLANCE | 46.4±2.4 | 54.4±1.6 | 79.7±0.9 | 98.1±0.2 | 71.5±0.5 | 65.9±0.4 | 89.4±0.4 | 97.7±0.1 | 45.2±0.7 | 63.2±0.2 | 85.9±0.3 | 95.3±0.0 | 2.4 |
6.1 EXPERIMENTAL SETUP
Datasets. We first evaluate across Cora (Mccallum et al., 2000), Pubmed (Sen et al., 2008b), Arxiv23 (He et al., 2024), studying overall and stratified performance, as well as performing numerous sensitivity and ablation analyses. Then, to demonstrate GLANCE’s scalability, we evaluate on two large-scale datasets, Arxiv-Year (Lim et al., 2021) and OGB-Products, with details provided in Section D. For each dataset, we follow the same training set up as outlined in the Section 4.1.
Baselines & Training. We compare GLANCE to a series of state-of-the-art baselines for scalable LLMGNN fusion. We start by considering standard GNN backbones, including GCN (Kipf & Welling, 2017), GraphSAGE (Hamilton et al., 2017), and GCNII (Chen et al., 2020). We study their performance over three settings, original features, LLM-enhanced features, and LOGIN-filtered graphs. As GLANCE’s core design is to bolster challenging heterophilous nodes, we also include high-performing heterophilous GNNs, including FAGCN, GGCN, and GBK-GNN. To imbue them with LLM knowledge, we utilize LLMenhanced features. We do not apply LOGIN on these models as they are designed to utilize heterophily, whereas LOGIN’s design intends to remove it. Across all baselines, we use identical data splits, training protocols, and text encoders. Training details and hyperparameters are provided in Section C. Unless otherwise stated, we route the top 12 nodes per batch of 32 nodes for GLANCE for reported metrics. For OGB-Products, we evaluate against the top 3 model combinations found in our initial study.
Table 4: Acc for 3 runs. Bold is best
| Cora | Pubmed | Arxiv23 | |
|---|---|---|---|
| GCN O | 87.1±1.9 | 88.1±0.6 | 74.2±2.5 |
| GCN E | 87.9±1.3 | 89.9±0.6 | 76.2±1.2 |
| GCN L | 86.8±0.4 | 88.6±0.2 | 65.7±0.0 |
| SAGE O | 86.9±1.0 | 89.7±0.4 | 77.2±0.2 |
| SAGE E | 86.4±1.1 | 92.2±0.4 | 78.1±0.1 |
| SAGE L | 86.4±0.3 | 91.8±0.1 | 74.7±1.5 |
| GCNII O | 88.4±0.8 | 89.1±0.6 | 75.9±2.1 |
| GCNII E | 87.7±1.3 | 92.1±0.2 | 80.2±0.7 |
| GCNII L | 86.8±0.7 | 91.9±0.1 | 79.7±0.5 |
| FAGCN E | 89.4±0.5 | 91.8±0.2 | 79.2±1.3 |
| GGCN E | 85.4±0.9 | 92.2±0.2 | 81.2±0.5 |
| GBK-GNN E | 86.6±1.0 | 92.1±0.3 | 79.5±0.4 |
| GLANCE | 89.5±0.4 | 92.6±0.1 | 82.1±0.1 |
6.2 CAN GLANCE ACHIEVE THE BENEFITS OF LLMS AND GNNS IN ONE MODEL?
As shown in Figure 1, selectively using the LLM on challenging nodes can enhance GNN performance. To evaluate GLANCE’s capabilities, we report both overall accuracy (Table 4) and stratified results (Table 3). GLANCE attains the best performance on all three datasets, achieving 89.5% on Cora, 92.6% on Pubmed, and 82.1% on Arxiv23, leading to an average gain of +0.5% over the next best model. Notably, GLANCE requires significantly fewer LLM queries to attain similar performance gains found in previous work (Wang et al., 2025; Chen et al., 2024a). GLANCE also consistently outperforms LLM-enhanced and LOGIN baselines, often by several percent, as well as GNNs designed for heterophily. From a stratified perspective, the largest improvements emerge on heterophilous nodes, where GLANCE delivers +13% on Cora and +0.5% on Pubmed. Importantly, when averaging across bins, GLANCE achieves the strongest overall balance with an average rank of 2.4, compared to 4.7 for the next best. Together, these findings demonstrate that GLANCE’s routing reliably leverages the LLM where it is most beneficial while preserving the strengths of the GNN.
Properties of Routed Nodes. In Figure 3, we analyze the local homophily of routed nodes, splitting them into benefited (GNN wrong, LLM right) and non-benefited sets. Across datasets, we observe substantial mass at low homophily, showing that GLANCE preferentially routes heterophilous nodes. Crucially, the benefit distribution is skewed toward low homophily, indicating that routed heterophilous nodes deliver performance gains. This supports our hypothesis that heterophily captures GNN failure modes where LLMs are most valuable, and shows that these nodes drive GLANCE’s improvement. We also highlight that the median beneficial homophily value is not identical across datasets, e.g., on Arxiv23 the largest gains occur around

Figure 3: Local homophily for routed nodes, split by benefit. Blue lines denote median.
Sensitivity to
6.3 ROUTER: LEARNED PROPERTIES AND ROBUSTNESS
Routing Feature Ablation. To assess the value of the routing features, we disable each feature one at a time and train new GLANCE models, measuring
6.4 LARGE-SCALE LEARNING WITH GLANCE
Datasets. GLANCE’s selective utilization of the LLM enables the processing of large TAGs by only applying the LLM to nodes that benefit. Now that we have demonstrated the effectiveness of GLANCE, we study the scalability by applying GLANCE to two large benchmark datasets, Arxiv-Year (Lim et al., 2021) and OGB-Products (Hu et al., 2020). Details for these datasets can be found in Section D. Notably, Arxiv-Year and OGB-Products are multiple orders of magnitude larger than the datasets typically studied in GNN-LLM papers (Qiao et al., 2025; Wu et al., 2024; Wang et al., 2025). Furthermore, to motivate GLANCE’s scalability, we show in Figure 9 that the routing and refinement components of GLANCE create very little overhead, enabling it to handle larger datasets when querying less nodes with the LLM.
Results. In Table 5, we provide per-bin and overall accuracy for the top 3 average rank models from Table 3 and compare them to GLANCE. Given these datasets are significantly larger than the previous datasets, we utilize a query rate of
Table 5: Per-bin accuracy for homophily levels and overall performance on larger datasets. We compare GLANCE to the next 3 best ranking models from Table 3, all using the enhanced feature strategy (E). OOM for GGCN discussed in Section C.1. Bold denotes best. We find the benefits carry to large-scale datasets with higher overall performance.
| Arxiv-Year | OGB-Products | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| 0.00–0.25 | 0.25–0.50 | 0.50–0.75 | 0.75–1.00 | Overall | 0.00–0.25 | 0.25–0.50 | 0.50–0.75 | 0.75–1.00 | Overall | |
| GCNII E | 42.7±0.0 | 51.1±0.0 | 54.5±0.0 | 72.4±0.1 | 49.6±0.1 | 29.0±0.1 | 43.9±0.3 | 69.3±0.0 | 91.9±0.1 | 81.8±0.1 |
| FAGCN E | 36.0±0.9 | 45.0±0.5 | 52.7±0.2 | 72.0±0.5 | 44.3±0.5 | 29.8±1.8 | 42.3±1.3 | 64.7±1.1 | 88.3±1.4 | 78.6±0.9 |
| GGCN E | 36.8±0.5 | 46.3±0.6 | 51.6±1.4 | 69.3±1.2 | 44.6±0.1 | OOM | OOM | OOM | OOM | OOM |
| GLANCE | 43.1±0.1 | 51.3±0.1 | 54.2±0.0 | 72.1±0.1 | 49.8±0.1 | 29.7±0.3 | 44.4±0.0 | 69.9±0.1 | 92.3±0.0 | 82.3±0.1 |
the best baselines while achieving strong performance across the spectrum of homophily levels. These results demonstrate that selective LLM queries, even at very low query rates, can enable gains and supplement GNNs where they struggle. Given the results seen above with regards to sensitivity to
7 CONCLUSION
In this work we focused on how LLMs can be selectively utilized to bolster GNNs, an understudied area in the LLM-GNN literature. Through a detailed analysis of structural properties, we showed that homophily provides a reliable signal for routing, capturing where GNNs tend to fail and LLMs excel. To operationalize this finding, we proposed GLANCE, a cost-aware fusion strategy that learns when to route, calling the LLM on difficult nodes. Empirical results across multiple benchmarks demonstrate that GLANCE achieves well-balanced performance while selectively invoking the LLM only when useful. Our findings argue for structure-aware routing as a foundation for future work on efficient GNN-LLM integration.
8 ACKNOWLEDGMENTS
The material in this work is supported by the National Science Foundation under IIS 2504090, IIS 2212143, and CAREER Grant No.IIS 1845491. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the National Science Foundation or other funding parties.
REFERENCES
Sami Abu-El-Haija, Bryan Perozzi, Amol Kapoor, Hrayr Harutyunyan, Nazanin Alipourfard, Kristina Lerman, Greg Ver Steeg, and Aram Galstyan. Mixhop: Higher-order graph convolution architectures via sparsified neighborhood mixing. In International Conference on Machine Learning (ICML), 2019.
Chirag Agarwal, Himabindu Lakkaraju, and Marinka Zitnik. Towards a unified framework for fair and stable graph representation learning, 2021. URL https://arxiv.org/abs/2102.13186.
Weilin Cai, Juyong Jiang, Fan Wang, Jing Tang, Sunghun Kim, and Jiayi Huang. A survey on mixture of experts in large language models. IEEE Transactions on Knowledge and Data Engineering, pp. 1–20, 2025. ISSN 2326-3865. doi: 10.1109/tkde.2025.3554028. URL http://dx.doi.org/10.1109/ TKDE.2025.3554028.
Ming Chen, Zhewei Wei, Zengfeng Huang, Bolin Ding, and Yaliang Li. Simple and deep graph convolutional networks. In International Conference on Machine Learning, 2020.
Zhikai Chen, Haitao Mao, Hang Li, Wei Jin, Hongzhi Wen, Xiaochi Wei, Shuaiqiang Wang, Dawei Yin, Wenqi Fan, Hui Liu, and Jiliang Tang. Exploring the potential of large language models (llms) in learning on graphs, 2024a. URL https://arxiv.org/abs/2307.03393.
Zhikai Chen, Haitao Mao, Hongzhi Wen, Haoyu Han, Wei Jin, Haiyang Zhang, Hui Liu, and Jiliang Tang. Label-free node classification on graphs with large language models (llms), 2024b. URL https://arxiv.org/abs/2310.04668.
Valerio Ciotti, Moreno Bonaventura, Vincenzo Nicosia, Pietro Panzarasa, and Vito Latora. Homophily and missing links in citation networks. EPJ Data Science, 5, 11 2015.
Arman Cohan, Franck Dernoncourt, Doo Soon Kim, Trung Bui, Seokhwan Kim, Walter Chang, and Nazli Goharian. A discourse-aware attention model for abstractive summarization of long documents. In Marilyn Walker, Heng Ji, and Amanda Stent (eds.), Proceedings of the 2018 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies, Volume 2 (Short Papers), pp. 615–621, New Orleans, Louisiana, June 2018. Association for Computational Linguistics. doi: 10.18653/v1/N18-2097. URL https://aclanthology.org/N18-2097/.
Lun Du, Xiaozhou Shi, Qiang Fu, Xiaojun Ma, Hengyu Liu, Shi Han, and Dongmei Zhang. Gbk-gnn: Gated bi-kernel graph neural networks for modeling both homophily and heterophily. In Proceedings of the ACM Web Conference 2022, pp. 1550–1558, 2022.
Christie I. Ezeife and Hemni Karlapalepu. A survey of sequential pattern based e-commerce recommendation systems. Algorithms, 16(10), 2023. ISSN 1999-4893. doi: 10.3390/a16100467. URL https://www.mdpi.com/1999-4893/16/10/467.
Taoran Fang, Yunchao Mercer Zhang, Yang Yang, Chunping Wang, and Lei CHEN. Universal prompt tuning for graph neural networks. In Thirty-seventh Conference on Neural Information Processing Systems, 2023. URL https://openreview.net/forum?id=0LmWBhIYLi.
Hamed Firooz, Maziar Sanjabi, Wenlong Jiang, and Xiaoling Zhai. Lost-in-distance: Impact of contextual proximity on llm performance in graph tasks, 2025. URL https://arxiv.org/abs/2410. 01985.
Will Hamilton, Zhitao Ying, and Jure Leskovec. Inductive representation learning on large graphs. In Advances in Neural Information Processing Systems, 2017.
Xiaoxin He, Xavier Bresson, Thomas Laurent, Adam Perold, Yann LeCun, and Bryan Hooi. Harnessing explanations: Llm-to-lm interpreter for enhanced text-attributed graph representation learning, 2024. URL https://arxiv.org/abs/2305.19523.
Weihua Hu, Matthias Fey, Marinka Zitnik, Yuxiao Dong, Hongyu Ren, Bowen Liu, Michele Catasta, and Jure Leskovec. Open graph benchmark: datasets for machine learning on graphs. In Proceedings of the 34th International Conference on Neural Information Processing Systems, NIPS ’20, Red Hook, NY, USA, 2020. Curran Associates Inc. ISBN 9781713829546.
Ajay Jaiswal, Nurendra Choudhary, Ravinarayana Adkathimar, Muthu P. Alagappan, Gaurush Hiranandani, Ying Ding, Zhangyang Wang, Edward W Huang, and Karthik Subbian. All against some: Efficient integration of large language models for message passing in graph neural networks, 2024. URL https://arxiv.org/abs/2407.14996.
Dapeng Jiang and Xiao Luo. Marrying LLMs with dynamic forecasting: A graph mixture-of-expert perspective. In Luis Chiruzzo, Alan Ritter, and Lu Wang (eds.), Findings of the Association for Computational Linguistics: NAACL 2025, pp. 396–410, Albuquerque, New Mexico, April 2025. Association for Computational Linguistics. ISBN 979-8-89176-195-7. doi: 10.18653/v1/2025.findings-naacl.24. URL https://aclanthology.org/2025.findings-naacl.24/.
Wei Jin, Haitao Mao, Zheng Li, Haoming Jiang, Chen Luo, Hongzhi Wen, Haoyu Han, Hanqing Lu, Zhengyang Wang, Ruirui Li, et al. Amazon-m2: A multilingual multi-locale shopping session dataset for recommendation and text generation. Advances in Neural Information Processing Systems, 36, 2024.
Thomas N. Kipf and Max Welling. Semi-supervised classification with graph convolutional networks. In International Conference on Learning Representations, 2017.
Yuhan Li, Zhixun Li, Peisong Wang, Jia Li, Xiangguo Sun, Hong Cheng, and Jeffrey Xu Yu. A survey of graph meets large language model: Progress and future directions, 2024. URL https: //arxiv.org/abs/2311.12399.
Derek Lim, Felix Hohne, Xiuyu Li, Sijia Linda Huang, Vaishnavi Gupta, Omkar Bhalerao, and Ser Nam Lim. Large scale learning on non-homophilous graphs: New benchmarks and strong simple methods. In NeurIPS, volume 34. Curran Associates, Inc., 2021.
Jiacheng Lin, Kun Qian, Haoyu Han, Nurendra Choudhary, Tianxin Wei, Zhongruo Wang, Sahika Genc, Edward W Huang, Sheng Wang, Karthik Subbian, Danai Koutra, and Jimeng Sun. Gt2vec: Large language models as multi-modal encoders for text and graph-structured data, 2025. URL https://arxiv.org/abs/2410.11235.
Jiajin Liu, Dongzhe Fan, Jiacheng Shen, Chuanhao Ji, Daochen Zha, and Qiaoyu Tan. Graph-mllm: Harnessing multimodal large language models for multimodal graph learning, 2025. URL https: //arxiv.org/abs/2506.10282.
Nelson F. Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. Lost in the middle: How language models use long contexts, 2023. URL https: //arxiv.org/abs/2307.03172.
Donald Loveland and Danai Koutra. Unveiling the impact of local homophily on gnn fairness: In-depth analysis and new benchmarks. SDM, 2025.
Donald Loveland, Jiong Zhu, Mark Heimann, Benjamin Fish, Michael T Schaub, and Danai Koutra. On performance discrepancies across local homophily levels in graph neural networks. In LoG, volume 231. PMLR, 27–30 Nov 2024.
Sitao Luan, Chenqing Hua, Qincheng Lu, Jiaqi Zhu, Mingde Zhao, Shuyuan Zhang, Xiao-Wen Chang, and Doina Precup. Is heterophily a real nightmare for graph neural networks to do node classification?, 2021. URL https://arxiv.org/abs/2109.05641.
Jiaqi Ma, Shuangrui Ding, and Qiaozhu Mei. Towards more practical adversarial attacks on graph neural networks. Advances in neural information processing systems, 2020.
Haitao Mao, Zhikai Chen, Wei Jin, Haoyu Han, Yao Ma, Tong Zhao, Neil Shah, and Jiliang Tang. Demystifying structural disparity in graph neural networks: Can one size fit all? In NeurIPS, volume 36, 2023.
Julian McAuley and Alex Yang. Addressing complex and subjective product-related queries with customer reviews. In Proceedings of the 25th International Conference on World Wide Web, WWW ’16, pp. 625–635, Republic and Canton of Geneva, CHE, 2016. International World Wide Web Conferences Steering Committee. ISBN 9781450341431. doi: 10.1145/2872427.2883044. URL https://doi. org/10.1145/2872427.2883044.
Andrew Mccallum, Kamal Nigam, Jason Rennie, and Kristie Seymore. Automating the construction of internet portals with machine learning. Information Retrieval, 3(2), 11 2000.
Miller McPherson, Lynn Smith-Lovin, and James M Cook. Birds of a feather: Homophily in social networks. Annual review of sociology, 2001.
Tomas Mikolov, Kai Chen, Greg Corrado, and Jeffrey Dean. Efficient estimation of word representations in vector space, 2013. URL https://arxiv.org/abs/1301.3781.
Jingyu Peng, Qi Liu, Linan Yue, Zaixi Zhang, Kai Zhang, and Yunhao Sha. Towards few-shot selfexplaining graph neural networks, 2024. URL https://arxiv.org/abs/2408.07340.
Yiran Qiao, Xiang Ao, Yang Liu, Jiarong Xu, Xiaoqian Sun, and Qing He. Login: A large language model consulted graph neural network training framework. In Proceedings of the Eighteenth ACM International Conference on Web Search and Data Mining, WSDM ’25, pp. 232–241, New York, NY, USA, 2025. Association for Computing Machinery. ISBN 9798400713293. doi: 10.1145/3701551.3703488. URL https://doi.org/10.1145/3701551.3703488.
Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Galligher, and Tina Eliassi-Rad. Collective classification in network data. AI Magazine, 29(3):93, Sep. 2008a. doi: 10.1609/aimag. v29i3.2157. URL https://ojs.aaai.org/aimagazine/index.php/aimagazine/ article/view/2157.
Prithviraj Sen, Galileo Namata, Mustafa Bilgic, Lise Getoor, Brian Galligher, and Tina Eliassi-Rad. Collective classification in network data. AI Magazine, 29(3):93, Sep. 2008b. doi: 10.1609/aimag. v29i3.2157. URL https://ojs.aaai.org/aimagazine/index.php/aimagazine/ article/view/2157.
Akuma Stephen, Tyosar Lubem, and Isaac Adom. Comparing bag of words and tf-idf with different models for hate speech detection from live tweets. International Journal of Information Technology, 14, 09 2022. doi: 10.1007/s41870-022-01096-4.
Arjun Subramonian, Jian Kang, and Yizhou Sun. Theoretical and empirical insights into the origins of degree bias in graph neural networks. In The Thirty-eighth Annual Conference on Neural Information Processing Systems, 2024. URL https://openreview.net/forum?id=1mAaewThcz.
Richard S Sutton, David McAllester, Satinder Singh, and Yishay Mansour. Policy gradient methods for reinforcement learning with function approximation. In S. Solla, T. Leen, and
Xianfeng Tang, Huaxiu Yao, Yiwei Sun, Yiqi Wang, Jiliang Tang, Charu C. Aggarwal, Prasenjit Mitra, and Suhang Wang. Investigating and mitigating degree-related biases in graph convolutional networks. Proceedings of the 29th ACM International Conference on Information and Knowledge Management, 2020.
Petar Veliˇckovi´c, Guillem Cucurull, Arantxa Casanova, Adriana Romero, Pietro Li`o, and Yoshua Bengio. Graph attention networks. In International Conference on Learning Representations, 2018.
Haotao Wang, Ziyu Jiang, Yuning You, Yan Han, Gaowen Liu, Jayanth Srinivasa, Ramana Kompella, and Zhangyang ”Atlas” Wang. Graph mixture of experts: Learning on large-scale graphs with explicit diversity modeling. In A. Oh, T. Naumann, A. Globerson,
Yu Wang, Yuying Zhao, Yushun Dong, Huiyuan Chen, Jundong Li, and Tyler Derr. Improving fairness in graph neural networks via mitigating sensitive attribute leakage. In Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, KDD ’22, pp. 1938–1948. ACM, August 2022. doi: 10.1145/3534678.3539404. URL http://dx.doi.org/10.1145/3534678. 3539404.
Yuxiang Wang, Xinnan Dai, Wenqi Fan, and Yao Ma. Exploring graph tasks with pure llms: A comprehensive benchmark and investigation, 2025. URL https://arxiv.org/abs/2502.18771.
Bo Wu, Wen-Huang Cheng, Yongdong Zhang, Qiushi Huang, Jintao Li, and Tao Mei. Sequential prediction of social media popularity with deep temporal context networks. arXiv preprint arXiv:1712.04443, 2017.
Yuxia Wu, Shujie Li, Yuan Fang, and Chuan Shi. Exploring the potential of large language models for heterophilic graphs. arXiv preprint arXiv:2408.14134, 2024.
Yujun Yan, Milad Hashemi, Kevin Swersky, Yaoqing Yang, and Danai Koutra. Two sides of the same coin: Heterophily and oversmoothing in graph convolutional neural networks. In 2022 IEEE International Conference on Data Mining (ICDM), pp. 1287–1292, 2022.
Cheng Yang, Zhiyuan Liu, Deli Zhao, Maosong Sun, and Edward Y Chang. Network representation learning with rich text information. In IJCAI, pp. 2111–2117, 2015.
Jaewon Yang and Jure Leskovec. Patterns of temporal variation in online media. In Proceedings of the Fourth ACM International Conference on Web Search and Data Mining, WSDM ’11, pp. 177–186, New York, NY, USA, 2011. Association for Computing Machinery. ISBN 9781450304931. doi: 10.1145/1935826.1935863. URL https://doi.org/10.1145/1935826.1935863.
Jianan Zhao, Meng Qu, Chaozhuo Li, Hao Yan, Qian Liu, Rui Li, Xing Xie, and Jian Tang. Learning on large-scale text-attributed graphs via variational inference, 2023. URL https://arxiv.org/abs/ 2210.14709.
Bin Zhou, Xiangyi Meng, and H. Eugene Stanley. Power-law distribution of degree–degree distance: A better representation of the scale-free property of complex networks. Proceedings of the National Academy of Sciences, 117(26):14812–14818, 2020. doi: 10.1073/pnas.1918901117. URL https: //www.pnas.org/doi/abs/10.1073/pnas.1918901117.
Jiong Zhu, Yujun Yan, Lingxiao Zhao, Mark Heimann, Leman Akoglu, and Danai Koutra. Beyond homophily in graph neural networks: Current limitations and effective designs. In NeurIPS, volume 33. Curran Associates, Inc., 2020.
Jiong Zhu, Ryan A. Rossi, Anup Rao, Tung Mai, Nedim Lipka, Nesreen
A DETAILED RELATED WORK
Static GNN-LLM Fusion. Recent work has focused on two main paradigms for graph learning with LLMs: LLMs-as-Enhancers and LLMs-as-Predictors (Chen et al., 2024a; Li et al., 2024). For LLM-asEnhancers, LLMs generate enriched node features, ranging from simple text embeddings (Wu et al., 2024) to additional external knowledge (He et al., 2024; Chen et al., 2024a), effectively performing automated feature engineering to bolster GNN performance. For LLM-as-Predictors, the LLM replaces the GNN as the final classifier, processing serialized graph structure and text as prompts (Wu et al., 2024; Wang et al., 2025). Some variants retain a GNN encoder (Lin et al., 2025), but the LLM still produces the prediction. While both paradigms benefit from the reasoning of LLMs, they also suffer from distinct limitations. Enhancer methods are limited by their static, frozen features while also inheriting the inductive biases of the GNN, retaining the challenges seen with certain structural properties (e.g., heterophily). In contrast, LLM-as-Predictor methods can overcome the GNN inductive biases, but may also struggle to encode topology efficiently given prompt length limits and serialization mismatches (Firooz et al., 2025; Wang et al., 2025). Another common approach to fusing models together is through Mixture of Experts (MoE) which ensemble a set of models, each with expert knowledge. While prominent in LLM design (Cai et al., 2025) and graph MoE Wang et al. (2023), this strategy has yet to be applied to a mixture of LLMs and GNNs. Relatedly, LLMs have been shown capable to route to different GNNs (Jiang & Luo, 2025), yet, this still limits the pipeline to the inductive biases of the GNNs. Our approach adopts a hybrid paradigm that selectively invokes the LLM, using expert knowledge from both models, only when it is expected to help performance.
Adaptive GNN-LLM Fusion. A challenge for LLM-GNN models is high inference cost, especially when LLMs are used during training. While the static methods above are scalable by treating the LLM as a pre-processer, many methods consider using the LLM within their forward pass, calling the LLM across training and inference (Wu et al., 2024). While attempts to reduce LLM cost via neighborhood sampling or small language model distillation show promise (Fang et al., 2023; Chen et al., 2024a), the bottleneck remains where the LLM must be applied to all nodes. Only a few recent works explore adaptive GNN-LLM fusion, where the LLM is invoked selectively rather than universally. E-LLaGNN is one of the first in this space, selecting nodes for LLM augmentation using fixed heuristics based on graph properties such as degree, centrality, or text length (Jaiswal et al., 2024). While effective in some settings, these handcrafted rules require manual tuning and can vary in effectiveness across datasets. LOGIN (Qiao et al., 2025) introduces a more automated approach, using GNN uncertainty to identify challenging nodes to rewire and simplify message passing. However, this rewiring can disrupt structurally informative but challenging patterns, such as heterophilous links, which can be beneficial in real-world graphs (Luan et al., 2021). LLM-GNN is a label-free approach that leverages a similar principle as LOGIN, but uses clustering density as a proxy of difficulty as opposed to uncertainty (Chen et al., 2024b). Our approach differs from these methods in three key ways. First, while different metrics have been proposed to route, our systematic study identifies specific structural characteristics that benefit from LLM processing. Additionally, GLANCE does not require prespecified thresholds on these properties, instead learning how to utilize them to route. Second, instead of editing the underlying data to favor GNNs, we preserve its characteristics and invoke the LLM where the GNN struggles. Third, while LOGIN and LLM-GNN address non-differentiability by editing the underlying data to provide signal from the LLM, we retain the true graph signal and directly train the routing policy.
B LARGE LANGUAGE MODEL PROMPTING
In this section, we detail how we generate enhanced features for the base GNN models. Additionally, we provide prompts used to generate LLM embeddings within GLANCE. For both settings, we focus on the Qwen3 family of models, specifically using the Qwen3-Embed-8B model to generate embeddings.
B.1 LLM-AS-ENHANCER PROMPTS
We generate node-level text embeddings using Qwen3-Embed-8B by directly processing the node text (e.g., title and abstract for Cora). We use a max prompt length of 1024. Following the model’s official configuration, we use last-token pooling and then apply
We keep Qwen’s include prompt behavior enabled, which prepends a short instruction prompt internally before the text. The resulting zi is used as an enhanced feature in place of the shallow features outlined above.
B.2 LOGIN PROMPTS
Following the format introduced in LOGIN, we construct prompts for each node by including the text of the ego node, a template that describes the graph and the instructions for the LLM, and the ground-truth labels and GNN predicted labels for nodes in the one-hop and two-hop neighborhood of the ego node.
LOGIN Example for Cora:
NODE 0: <ego-node text>Given a citation graph NODE-IDX: <node_id>, NODE-LIST: [List of all node_id in two-hop neighborhood], ONE-HOP-NEIGHBORS: [List of node_id of one-hop neighbors], TWO-HOP-NEIGHBORS: [List of node_id of two-hop neighbors] NODE-LABELS: [List of ground truth labels] GNN-PREDICTED-NODE-LABEL: <GNN-predicted ego node label> where node 0 is the target paper and you see the true labels under ‘node_label‘.
Question: Which category does this paper belong to? Choose exactly one from [list of class labels].
Return JSON {{classification result: <choice>, explanation: <your reasoning>}} </END>
B.3 LLM-AS-PREDICTOR AND GLANCE PROMPTS
When using the LLM as predictor, we construct prompts for different hops of the neighborhood (ego-only, ego+1-hop, ego+2-hop) and encode them with Qwen3-Embed-8B. Doing this enables the LLM to retain per-hop information, a key design found in heterophilous graph learning, while also helping keep prompt lengths manageable. We utilize the same parameterizations as the LLM-as-Enhancer setting for each of these embeddings, but use a prompt length of 512 for the ego node, and 4096 for the oneand two-hop embeddings. Each prompt is formatted in a instruction–query layout compatible with Qwen3 embedding prompts and utilizes last-token pooling of the sequence.
The overall strategy in prompt design was to provide the classes and serialized neighborhood structure for a node. We do not over-engineer the prompt design, however, this can be one area for further opportunity in graph learning with LLMs. Additionally, providing additional context on a per-dataset basis (e.g. highlighting the domain of the dataset), could provide additional value.
Ego-Only Example:
Instruct: Predict the node’s category from the provided context. Possible categories: [list of class labels]. Query: EGO: <ego-node text> Category? </END>
Ego+1 Hop Example:
Instruct: Predict the node’s category from the provided context. Possible categories: [list of class labels]. Query: EGO: <ego-node text> HOP1: - <1 hop neighbor 1 text> - <1 hop neighbor 2 text>... Category? </END>
Ego+2 Hop Example:
Instruct: Predict the node’s category from the provided context. Possible categories: [list of class labels]. Query: EGO: <ego-node text> HOP2: - <2 hop neighbor 1 text> - <2 hop neighbor 2 text>... Category? </END>
As the degree of the datasets can be large, we use a neighbor sampling strategy during prompt construction to further maintain manageable prompt sizes. Specifically, we limit the size of each neighborhood to be up to 5 neighbors per node. Thus, the ego-only text contains one node, the ego + 1-hop can contain up to 6 nodes (1 + 5 neighbors), and the ego + 2-hop can contain up to 26 nodes (1 + 5*5). We use a prompt length of 1024 for the ego-node, and 4096 for the ego + 1-hop and ego + 2-hop. On a per-node basis, text is capped to a fixed character budget (2000 characters). We process the embeddings using
When originally fine-tuning the LLM (such as the results in Figure 1, we apply a 2-layer MLP to map the concatenated embeddings to the label space for each model. Then, when incorporating the pre-trained LLM into GLANCE, we remove the MLP head and use the concatenated embeddings directly with the refiner MLP.
C MODEL TRAINING AND HYPERPARAMETERS
We describe here the training protocols for the base GNNs, the LLM-as-Predictor baseline, and our proposed GLANCE model. Across all models, we tune the learning rate from
C.1 GNN (AND MLP) TRAINING
For the GNN backbones, we use implementations integrated into PyTorch Geometric when available. Otherwise, for GBK-GNN 1 and GGCN2 we use their official implementations. For all GNNs, we use a hidden dimension of 64 and a batch size of 128. We search over network depths of
1https://github.com/Xzh0u/GBK-GNN 2https://github.com/Yujun-Yan/Heterophily_and_oversmoothing
produces the final predictions and allows the learned GNN embeddings to be reused within GLANCE. For heterophilous architectures such as FAGCN, GGCN, and GBK-GNN, we adopt the hyperparameter settings recommended in their official repositories. For the MLP local homophily estimator, we follow a similar strategy as the GNNs, using a depth of 2 and hidden dimension of 64. Both the GNN and MLP additionally use ReLU activations and a dropout of 0.2. For OGB-Products, we limit to 20 epochs with a patience of 5, and limit the neighbor sampling rate to 30 nodes per neighbor. Additionally, we highlight that the official implementation of GGCN runs out of memory for OGB-Products due to requiring access to the full graph upon initialization. Even with sparse tensors, this is found to be impossible for the OGB-Products dataset.
C.2 LOGIN TRAINING
For LOGIN, we use GNN backbones with setups described in the previous section. We then estimate the uncertainty of nodes by doing five forward passes with random dropout at a 0.3 dropout rate. We take the top
to query the LLM, where
C.3 LLM TRAINING
For the LLM baseline, we fine-tune Qwen3-Embed-8B to serve as an LLM-as-Predictor. To reduce both memory and compute, we employ parameter-efficient adaptation via Low-Rank Adaptation (LoRA), inserting adapters into the attention projection layers with a rank of 16 and scaling factor
We use a batch size of 1 with gradient accumulation over 8 steps, yielding an effective batch size of 8. Training proceeds for a maximum of 10 epochs with early stopping applied if validation accuracy fails to improve for 2 epochs. Since training on all available nodes is infeasible, we cap the training set at 3,000 randomly sampled nodes. As with the GNNs, we include a one-layer MLP head to project embeddings into the label space.
C.4 GLANCE TRAINING
When training GLANCE, we first independently train a GNN, LLM, and shallow MLP via the training processes explained in Section C.1 and Section C.3. Specifically, each backbone model is trained to optimize the node classification task and is then frozen to ensure its modeling capabilities are maintained within GLANCE. Thus, when training GLANCE, only the router and the refiner models that fuse the two pathways are updated. The router is implemented as a logistic regression model to predict the likelihood of routing, while the refiner is a 2-layer MLP following the same configuration as the MLP local homophily estimator. Routing decisions are made by selecting the top-
where
We train with mixed-precision using bfloat16, and since no gradients are propagated through the LLM, the memory footprint is greatly reduced, allowing us to use a batch size of 32. For the different datasets, we
set
D DATASET DETAILS
To characterize the limitations of current heuristics to route, as well as evaluate GLANCE, we utilize three widely studied TAG benchmarks: Cora (Mccallum et al., 2000), Pubmed (Sen et al., 2008a), and Arxiv23 (He et al., 2024). Then, for our study on scalability, we utilize OGB-Products (Hu et al., 2020), representing a multiple order of magnitude increase in dataset size compared to typically studied TAGs. These datasets also differ significantly in homophily levels, allowing us to probe routing decisions under diverse conditions.
- Cora. Cora is a citation network consisting of machine learning papers. Papers share an edge if they share a citation. The data is from https://github.com/myflashbarry/ LLM-benchmarking (Wang et al., 2025). The canonical feature vector for each paper is a bag-of-words feature vector. The nodes are categorized into 7 different AI subfields. Cora possesses the highest global homophily level out of the datasets (
).
- Pubmed. Pubmed is a larger citation graph on biomedical articles, where papers share an edge if they share a citation. The data is from https://github.com/myflashbarry/ LLM-benchmarking. Each article is represented by a TF–IDF word vector, with labels corresponding to 3 different disease types. Similar to Cora, Pubmed exhibits high global homophily (
), but also posseses a larger pocket of heterophilous nodes (see Figure 1).
- Arxiv23. Arxiv23 is a recently curated citation subgraph of arXiv covering computer science papers published after 2023, surpassing the knowledge cutoff of flagship models like ChatGPT- 3.5. The data is from https://github.com/XiaoxinHe/tape_arxiv_2023. We find that the original proposed Arxiv23 dataset has a large number of isolated nodes, which can confound the evaluation metrics given over half of the nodes do not possess a graph structure. Thus, we subset Arxiv23 to only include the largest connected component. Each article is represented by a Word2vec embedding, with each class corresponding to a computer science subfield. Unlike Cora and Pubmed, Arxiv23 displays a wider array of homophilous and heterophilous edges, with (
), making it a challenging benchmark for neighborhood-averaging GNNs.
- Arxiv-Year Arxiv-Year is a heterophilous variant of OGB-Arxiv, using the publication year as the label. The data is from https://ogb.stanford.edu, but with the labels created via quantile ranges (see https://github.com/CUAI/Non-Homophily-Large-Scale/ blob/master/data_utils.py, producing 5 labels. The dataset is roughly an order of magnitude larger compared to the three previous datasets. For this dataset, we only use enhanced features from the raw text. Arxiv-year is heterophilous (
).
- OGB-Products OGB-Products is a large-scale e-commerce TAG provided from the OGB https://ogb.stanford.edu. The task is to predict the category of e-commerce items, where items share a link if co-purchased. The dataset is roughly two orders of magnitude larger than the TAGs seen in previous literature, with 47 classes. We only use enhanced features for this dataset. OGB-Products is homophilous (
)
The explicit number of features, classes, and other key metrics are summarized in the table below. Notably, the datasets we study contain a wide variety of sizes, densities, and homophily levels.
Table 6: Summary statistics of the datasets used in our experiments.
| Dataset | #Nodes | #Edges | Original Feature Dim | #Classes | Global h |
|---|---|---|---|---|---|
| Cora | 2,708 | 5,278 | 1433 | 7 | 0.81 |
| Pubmed | 19,717 | 44,324 | 500 | 3 | 0.80 |
| Arxiv23 | 19,550 | 55,350 | 300 | 40 | 0.67 |
| Arxiv-Year | 169,343 | 1,166,243 | - | 5 | 0.22 |
| OGB-Products | 2,449,029 | 61,859,140 | - | 47 | 0.81 |
Table 7: NCS for difficulty-,
| Routing Strat. | Cora | Pubmed | Arxiv23 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| 10% (68) | 15% (102) | 20% (136) | 10% (493) | 15% (740) | 20% (986) | 10% (489) | 15% (734) | 20% (978) | |
| GCN — Random | -0.029 | -0.01 | -0.029 | 0.049 | 0.062 | 0.062 | 0.145 | 0.083 | 0.092 |
| GCN — C-density | -0.044 | -0.069 | -0.074 | 0.065 | 0.07 | 0.065 | 0.096 | 0.091 | 0.092 |
| GCN — Degree (dᵥ) | -0.029 | -0.02 | -0.037 | 0.059 | 0.059 | 0.064 | 0.084 | 0.094 | 0.105 |
| GCN — Uncertainty | -0.147 | -0.088 | -0.044 | 0.183 | 0.15 | 0.141 | 0.139 | 0.144 | 0.14 |
| GCNII — Random | -0.044 | -0.069 | -0.029 | 0.041 | 0.028 | 0.053 | 0.078 | 0.038 | 0.058 |
| GCNII — C-density | -0.015 | -0.049 | -0.044 | 0.041 | 0.045 | 0.045 | 0.08 | 0.079 | 0.077 |
| GCNII — Degree (dᵥ) | -0.029 | -0.02 | -0.029 | 0.059 | 0.055 | 0.053 | 0.063 | 0.068 | 0.078 |
| GCNII — Uncertainty | -0.147 | -0.088 | -0.051 | 0.132 | 0.107 | 0.117 | 0.117 | 0.134 | 0.127 |
Table 8: NCS for estimated and true homophily routing strategies with different routing top-k percentages. Higher NCS is better. Numbers in parenthesis denotes number of nodes routed. Homophily is shown to produce high NCS values, with both the estimated and true variants producing larger NCS values as k increases.
| Routing Strat. | Cora | Pubmed | Arxiv23 | ||||||
|---|---|---|---|---|---|---|---|---|---|
| 10% (68) | 15% (102) | 20% (136) | 10% (493) | 15% (740) | 20% (986) | 10% (489) | 15% (734) | 20% (978) | |
| GCN — hᵥ | 0.265 | 0.118 | 0.081 | 0.314 | 0.299 | 0.266 | 0.217 | 0.217 | 0.212 |
| GCN — ĥᵥ | -0.059 | -0.078 | -0.074 | 0.215 | 0.199 | 0.193 | 0.196 | 0.192 | 0.187 |
| GCN — d̄ᵥ | -0.059 | -0.069 | -0.051 | 0.055 | 0.041 | 0.038 | 0.02 | 0.059 | 0.057 |
| GCNII — hᵥ | 0.235 | 0.098 | 0.066 | 0.213 | 0.2 | 0.168 | 0.176 | 0.159 | 0.15 |
| GCNII — ĥᵥ | -0.074 | -0.069 | -0.074 | 0.154 | 0.131 | 0.123 | 0.137 | 0.114 | 0.122 |
| GCNII — d̄ᵥ | 0.0 | -0.039 | -0.037 | 0.045 | 0.026 | 0.022 | 0.033 | 0.064 | 0.056 |
E ROUTING FOR GCN AND GCNII
In addition to our enhanced results provided in the main section of the paper, we include supplemental results with routing on the base GCN and GCNII architectures with their original features.
E.1 ROUTING WITH PRIOR METHODS
Similar to the results seen on the enhanced model variants, we see that in Table 7, across Cora, Pubmed, and Arxiv23, uncertainty-based routing consistently delivers the strongest NCS among the heuristic baselines for both backbones, with degree and C-density lagging behind (often near or below the random baseline on Cora). This result confirms our original finding that, when routing into an LLM, predictive uncertainty is the most reliable heuristic from the prior methods, while the other signals alone can even harm performance.
E.2 HOMOPHILY-BASED ROUTING (ESTIMATED VS. TRUE)
We begin by evaluating the effectiveness of the true local homophily,
Table 9: Correlation between model uncertainty and (true) homophily.
| Dataset | Corr(uncertainty, ĥᵥ) | Corr(uncertainty, hᵥ) |
|---|---|---|
| Cora | -0.468 | -0.334 |
| Pubmed | -0.383 | -0.331 |
| Arxiv23 | -0.407 | -0.381 |

Figure 4: Stratified Performance Based on Homophily and Degree. Darker red denotes instances where the LLM performs best, and darker blue denotes instances where the GNN performs best. Across methods, we see further deviation in performance as compared to the individual metrics
E.3 CORRELATION BETWEEN HOMOPHILY AND UNCERTAINTY
Table 9 shows a moderate correlation (inverse) between model uncertainty and local homophily across all datasets. Intuitively, as homophily decreases (i.e., more label conflict in neighborhoods), uncertainty increases. This empirically links the two most effective routing cues where regions of low homophily tend to be high-uncertainty. However, this correlation is relatively weak, thus we hypothesize including both metrics can provide complimentary information, i.e. the signals are not providing redundant information.
E.4 STRATIFIED ANALYSIS ON PUBMED
In Figure 5, we observe consistent trends with those reported on Cora and Arxiv23. Specifically, while performance across models converges in the high homophily regime, LLM models deliver pronounced gains in the low-homophily and low-degree settings, outperforming strong GNN backbones by substantial margins. For example, LLM-based predictions exceed the next best GNN-enhanced variant by as much as 10.4% on heterophilous nodes (
E.5 HOMOPHILY AND DEGREE INTERPLAY
While homophily and degree display diverging trends between LLM and GNN training, highlighting their complimentary strengths, it also known that their interplay can further inform GNN behavior. In Figure 4, we stratify across both properties for each model and dataset, further demonstrating increased divergence in

Figure 6: Stratified Performance for Different
performance differences. For instance, while Pubmed attains a 10% difference when looking at homophily in isolation, this difference can go as high as ∼30% under the same setting (e.g., for GCNII (enhanced) on Cora, low homophily and low degree can experience a significant improvement as compared to high homophily and high degree).
F ADDITIONAL ABLATION AND SENSITIVITY ANALYSES
In this section, we present supplemental analyses introduced in Section 6.3. We begin by examining the sensitivity of GLANCE to the parameter

Figure 5: Stratified Performance. Performance is given for local homophily (top) and relative degree (bottom); bars denote property distributions (right y-axis).
F.1 PERCENT CHANGE DURING ROUTING
As introduced in Section 6.3, we analyze the effect of varying the routing budget
Table 10: Stratified and Overall Performance for Standard Routing (
| Dataset / K | 0.00–0.25 | 0.25–0.50 | 0.50–0.75 | 0.75–1.00 | Overall |
|---|---|---|---|---|---|
| Cora — K = 12 | 46.4±2.4 | 54.4±1.6 | 79.7±0.9 | 98.1±0.2 | 89.5±0.4 |
| Cora — K = 32 | 49.2±2.4 | 68.9±3.2 | 76.9±2.1 | 96.9±0.8 | 88.3±1.7 |
| Cora — Δ | +2.8 | +14.5 | –2.8 | –1.2 | –1.2 |
| PubMed — K = 12 | 71.5±0.5 | 65.9±0.4 | 89.4±0.4 | 97.7±0.1 | 92.6±0.1 |
| PubMed — K = 32 | 82.4±0.7 | 79.2±3.3 | 91.1±0.9 | 98.0±0.09 | 94.1±0.2 |
| PubMed — Δ | +10.9 | +13.3 | +1.7 | +0.3 | +1.5 |
| Arxiv23 — K = 12 | 45.2±0.7 | 63.2±0.2 | 85.9±0.3 | 95.3±0.0 | 82.1±0.1 |
| Arxiv23 — K = 32 | 49.7±1.84 | 65.8±1.2 | 82.5±1.6 | 94.0±0.2 | 81.6±0.4 |
| Arxiv23 — Δ | +4.5 | +2.6 | –3.4 | –1.3 | –0.5 |
Table 11: Routed Accuracy Breakdown: GLANCE vs. GCNII. We use
| Model on Routed Set R | Cora | Pubmed | Arxiv23 |
|---|---|---|---|
| GLANCE (Routed to LLM) | 87.6±0.9 | 91.6±0.5 | 77.1±0.8 |
| GCNII (Routed to GCNII) | 82.7±1.6 | 85.2±0.9 | 72.6±2.4 |
| Improvement (GLANCE vs. GCNII) | +4.9 | +6.4 | +4.5 |
Full Routing. To further illustrate the value of selective routing, we evaluate the setting where every node in a batch is routed to the LLM (denoted as
F.2 GRANULAR ANALYSIS ON ROUTING PERFORMANCE
In this section, we provide a deeper analysis on the performance differences between routed and non-routed nodes. Moreover, we offer additional studies to characterize performance under a random router.
F.2.1 PERFORMANCE IMPROVEMENTS FROM LLM ROUTING
To characterize the effectiveness of GLANCE’s routing, we evaluate the predictive accuracy specifically on the subset of nodes routed to the LLM, denoted R. We compare the performance of GLANCE against a baseline where predictions for this exact same set R are made solely by the GCNII backbone. This direct comparison provides clear evidence for whether invoking the LLM improves prediction accuracy for the nodes selected by our router. The results are shown in Table 11.
Findings. We compare the accuracies on the routed nodes R using predictions from the GCNII backbone versus the LLM. Across all datasets, routing these selected nodes to the LLM yields substantially higher
Table 12: Comparison of Standard vs. Random Routing for GLANCE. Random routing selects nodes randomly from each batch for LLM refinement, while Standard uses the router learned within GLANCE. The ∆accuracy rows report the difference in accuracy for each method across overall, routed, and non-routed accuracy. Positive ∆s (green) indicate improvement with learned routing over random routing. Overall, GLANCE’s learned router consistently improves performance, particularly on the non-routed subsets where standard GNNs excel.
| Routing Strategy / Metric | Cora | Pubmed | Arxiv23 |
|---|---|---|---|
| Random — Overall Acc | 86.4±1.1 | 91.4±0.8 | 80.3±0.9 |
| Random — Routed R Accuracy | 83.3±2.3 | 91.9±1.7 | 74.8±0.9 |
| Random — Non-routed | 87.5±0.2 | 91.2±0.3 | 82.1±0.8 |
| Standard — Overall Acc | 89.5±0.4 | 92.6±0.1 | 82.1±0.1 |
| Standard — Routed R Accuracy | 87.6±0.9 | 91.6±0.5 | 77.1±0.8 |
| Standard — Non-routed | 90.2±1.2 | 92.9±0.6 | 84.0±0.7 |
| Δ — Overall | +3.1 | +1.2 | +1.8 |
| Δ — Routed R | +4.3 | –0.3 | +2.3 |
| Δ — Non-routed | +2.7 | +1.7 | +1.9 |
accuracy. Specifically, GLANCE improves performance on
F.2.2 RANDOM ROUTING PERFORMANCE
To contextualize the routing improvements further, we evaluate a random routing baseline that, for the same query budget (
Findings. We first compare GLANCE’s learned router (denoted Standard) against a random routing baseline. Under random routing, overall performance degrades across all datasets, with accuracy dropping by up to 3.1% (Cora). More importantly, accuracy on the routed subset R is generally lower than with the learned router, suffering drops of 4.3% and 2.3% on Cora and Arxiv23, respectively. This result demonstrates that randomly selected nodes benefit less from LLM refinement. While PubMed exhibits a marginal 0.3% increase on R under random routing, the non-routed accuracy

Figure 7: Ablation Study Over Routing Features - Overall Performance. Each plot denotes the performance changes, relative to full GLANCE performance, when training without one of the routing features. Performance typically decays across datasets and features, highlighting the benefit of each feature for GLANCE’s robust performance.

Figure 8: Ablation Study Over Routing Features - Stratified Performance. Each set of bars denotes the stratified performance of GLANCE when training without one of the routing features. The gray bar denotes full GLANCE training. We find that the largest performance drops occur in the heterophilous regions, highlighting that GLANCE is specifically targeting these difficult nodes.
Table 13: Per-bin accuracy across homophily levels for GLANCE trained with different
| β | Cora | Pubmed | Arxiv23 | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0.00–0.25 | 0.25–0.50 | 0.50–0.75 | 0.75–1.00 | 0.00–0.25 | 0.25–0.50 | 0.50–0.75 | 0.75–1.00 | 0.00–0.25 | 0.25–0.50 | 0.50–0.75 | 0.75–1.00 | |
| GLANCE | ||||||||||||
| 0.0 | 45.1 | 53.3 | 79.0 | 97.8 | 68.0 | 67.2 | 89.7 | 97.5 | 42.4 | 60.9 | 86.8 | 95.6 |
| 0.1 | 46.4 | 54.4 | 79.7 | 98.1 | 70.1 | 68.7 | 89.2 | 97.6 | 45.2 | 63.2 | 86.0 | 95.3 |
| 0.2 | 47.1 | 53.3 | 80.0 | 97.8 | 70.6 | 65.7 | 88.6 | 97.7 | 45.2 | 62.9 | 85.2 | 95.5 |
| 0.3 | 51.0 | 53.3 | 79.0 | 97.8 | 71.3 | 65.7 | 89.2 | 97.8 | 45.5 | 63.2 | 85.1 | 95.6 |
F.3 ROUTING FEATURE SENSITIVITY
While each routing feature is motivated either by prior work or our analysis in Section 4.1, we quantify their contribution through an ablation study. For each dataset, we retrain GLANCE while removing each feature in turn and measure the resulting change in accuracy. Figure 7 reports the performance drop relative to the full model, showing that overall accuracy consistently declines when any feature is removed. Notably, the impact varies across datasets where no single feature dominates universally, underscoring that different structural signals matter in different settings. This trend is further evident in Figure 8, where, within stratified bins, removing a single feature produces substantial degradations in performance.
F.4 DIFFERENT ROUTING PENALTIES
In this section, we provide an additional sensitivity analysis on
G SCALING GLANCE TO LARGER DATASETS
Having evaluated GLANCE’s performance on smallto medium-scale TAG benchmarks, we now turn to scalability. A concern with LLM–GNN fusion is whether additional components introduced by a method introduce significant overheads, especially when moving to much larger datasets. To address this, we first break down the runtime of GLANCE into its major components: (i) GNN computation, (ii) LLM computation, and (iii) GLANCE-specific modules, namely the router, feature generation, and refinement stages. As shown in Figure 9, the results reveal a clear trend where the LLM dominates the overall runtime,
the GLANCE-specific components are extremely lightweight, constituting only a negligible fraction of total cost. Both routing and refinement involve simple feed-forward operations over low-dimensional features, while feature generation is largely pre-computed within the pipeline. This finding has two key implications. First, it validates our design choice to offload expensive reasoning exclusively to the LLM, while keeping routing and refinement efficient. Second, it demonstrates that scaling GLANCE to larger graphs is primarily limited by the LLM’s cost, rather than by the fusion mechanism itself. We therefore use this as motivation to apply GLANCE to the substantially larger dataset OGB-Products seen in Table 5, showcasing its ability to scale while retaining efficiency and accuracy.

Figure 9: Runtime breakdown of GLANCE. LLM computation dominates overall runtime, while GLANCE-specific modules add only negligible overhead, confirming the framework’s scalability to larger datasets.
Computational Cost. We analyze the computational complexity of GLANCE by isolating the costs of its three key components: (1) the routing features, (2) the router, and (3) the refiner. As GLANCE operates on top of frozen GNN and LLM encoders and is agnostic to their internal architectures, we do not define a specific GNN or LLM cost. Instead, we focus on the GLANCE-specific elements. For each component, we denote the cost of a forward and backward pass, when applicable, by
Notation. Let
: cost of applying the frozen GNN encoder to one node,
: cost of an LLM forward pass for one routed node,
: cost of applying the homophily MLP to one node,
: cost of applying the refiner MLP to one routed node.
Building Routing Features (Per Batch). Routing features consist of: (1) GNN embeddings, (2) GNN uncertainty, (3) degree information, (4) original node features, and (5) homophily estimates. Using the above per-node costs, this results in the per-batch cost:
where
Router. The router applies a linear transformation to the features and selects the top-k nodes to route:
Selective LLM Queries. GLANCE queries the LLM for the k routed nodes (with no backward pass):
Refiner MLP. For each routed node, GLANCE applies the refiner MLP:
Overall Per-Batch Complexity. Combining all components yields:
Interpretation. GLANCE’s complexity is comprised of two core terms: (1) the full batch processing that creates routing features leveraging the GNN, and (2) the LLM and refiner computation applied only to the