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

一个token足够吗?基于LLM的图QA的图池化token

Is One Token All It Takes? Graph Pooling Tokens for LLM-based GraphQA

Ankit Grover, Lodovico Giaretta, Rémi Bourgerie, Sarunas Girdzijauskas

AI总结:

本文提出通过多token池化和全局注意力机制改进图与LLM的接口,通过实验表明LoRA可稳定特定层次投影,使压缩表示在WebQSP上达到73%的Hit@1,揭示图QA基准存在表示饱和问题。

摘要:

图神经网络(GNN)与大语言模型(LLM)的结合已成为图问答(GraphQA)的有前景范式。然而,将复杂结构信息编码到LLM的潜在空间中仍是一个开放挑战。当前最先进的架构,如G-Retriever,通常依赖标准GNN和激进的平均池化将整个图子结构压缩成一个token,造成严重的信息瓶颈。本文通过研究两个正交策略缓解这一瓶颈:(1)通过多token池化增加图到LLM的接口带宽;(2)通过全局注意力机制提升图编码器的语义质量。我们评估了多种层次剪枝和聚类池化操作符,包括Top-k、SAGPool、DiffPool、MinCutPool和虚拟节点池化(VNPool),将图数据投影到多个可学习token。实验表明,尽管池化在软提示微调中引入了显著的不稳定性,但LoRA的应用有效稳定了特定层次投影(特别是VNPool和剪枝方法),尽管密集聚类操作符仍具挑战性。这种稳定性使压缩表示能够与全图基线竞争(在WebQSP上达到约73%的Hit@1)。概念上,我们证明图变压器通过VNPool实现的功能结构上等同于单层Perceiver IO编码器。最后,我们将FandE(特征和边)得分适应到生成图QA领域。我们的分析揭示图QA基准存在表示饱和问题,其中目标答案往往与孤立节点特征高度相关。实现代码可在https://github.com/Agrover112/G-Retriever/tree/all_good/获取。

英文摘要:

The integration of Graph Neural Networks (GNNs) with Large Language Models (LLMs) has emerged as a promising paradigm for Graph Question Answering (GraphQA). However, effective methods for encoding complex structural information into the LLM's latent space remain an open challenge. Current state-of-the-art architectures, such as G-Retriever, typically rely on standard GNNs and aggressive mean pooling to compress entire graph substructures into a single token, creating a severe information bottleneck. This work mitigates this bottleneck by investigating two orthogonal strategies: (1) increasing the bandwidth of the graph-to-LLM interface via multi-token pooling, and (2) enhancing the semantic quality of the graph encoder via global attention mechanisms. We evaluate a suite of hierarchical pruning and clustering-based pooling operators including Top-k, SAGPool, DiffPool, MinCutPool, and Virtual Node Pooling (VNPool) to project graph data into multiple learnable tokens. Empirically, we demonstrate that while pooling introduces significant instability during soft prompt tuning, the application of Low-Rank Adaptation (LoRA) effectively stabilizes specific hierarchical projections (notably VNPool and pruning methods), though dense clustering operators remain challenging. This stabilization allows compressed representations to rival full-graph baselines (achieving ~73% Hit@1 on WebQSP). Conceptually, we demonstrate that a Graph Transformer with VNPool implementation functions structurally as a single-layer Perceiver IO encoder. Finally, we adapt the FandE (Features and Edges) Score to the generative GraphQA domain. Our analysis reveals that the GraphQA benchmark suffers from representational saturation, where target answers are often highly correlated with isolated node features. The implementation is available at https://github.com/Agrover112/G-Retriever/tree/all_good/

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

↑