arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.10849cs.LG
收藏

上下文一瞥:学习何时利用 LLMs 实现节点感知的 GNN-LLM 融合

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

Department of Computer Science and Engineering University of Michigan(计算机科学与工程系 密歇根大学)

Donald Loveland, Yao-An Yang, Danai Koutra

AI总结:

针对图学习中 GNN 与 LLM 融合策略应用均匀化导致收益微小的问题,提出 GLANCE 框架,通过轻量级路由器基于节点信号自适应决定是否调用 LLM 优化 GNN 预测,在异配节点上实现高达 13% 的性能提升并保持整体最优。

摘要:

在文本属性图上的学习推动了大语言模型(LLMs)在图学习中的应用。然而,大多数融合策略被均匀地应用于所有节点,仅获得很小的整体性能提升。我们认为该结果源于聚合指标掩盖了 LLMs 何时提供收益,从而抑制了新策略的可执行信号。在本研究中,我们围绕 GNNs 通常失效的节点重新审视 LLM-GNN 融合。我们首先表明,GNNs 和 LLMs 之间的性能可能存在显著差异,各自在不同的结构模式(如局部同质性)上表现优异。为了利用这一发现,我们提出了 GLANCE(具有 LLM 辅助的邻居和上下文感知嵌入的 GNN),这是一个调用 LLM 来优化 GNN 预测的框架。GLANCE 采用一个轻量级路由器,该路由器根据低廉的逐节点信号决定是否查询 LLM。由于 LLM 调用是不可微的,路由器使用基于优势的目标进行训练,该目标将查询 LLM 的效用与仅依赖 GNN 进行比较。在多个基准测试中,GLANCE 在各节点子组上实现了最佳性能平衡,在异配节点上取得了显著收益(高达 $+13\%$),同时实现了顶级的整体性能。我们的发现凸显了自适应、节点感知的 GNN-LLM 架构的价值,其中选择性调用 LLM 能够在不产生高计算成本的情况下实现大图上的可扩展部署。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑