cs.LGApr 1, 2026

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

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

Organizations: KTH Royal Institute of Technology, Stockholm, Sweden · RISE Research Institutes of Sweden, Stockholm, Sweden

Abstract

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/

Figures & tables

Explore similar work

CardsList
  1. On the Token Collapse Phenomenon in Textual Graph Soft Prompting

    Oct 22, 2026Andrea Giuseppe Di Francesco, Rishabh Jain, Franco Maria Nardini +3Graph Prompt LearningLLM Reasoning with Graphs

  2. Revisiting Graph-Tokenizing Large Language Models: A Systematic Evaluation of Graph Token Understanding

    May 5, 2026Zhongjian Zhang, Yue Yu, Mengmei Zhang +3LLM EvaluationLLM Reasoning with Graphs

  3. When Graph Tokens Sink: A Mechanistic Analysis of Graph Language Models

    Jun 2, 2026Ding Zhang, Runtao Zhou, Wenqing Zheng +3LLM InterpretabilityMechanistic Interpretability