cs.LGMar 16, 2026

LLM as Graph Kernel: Rethinking Message Passing on Text-Rich Graphs

Authors: Ying Zhang, Hang Yu, Haipeng Zhang, Peng Di

Organizations: Ant Group · ShanghaiTech University

Abstract

Text-rich graphs, which integrate complex structural dependencies with abundant textual information, are ubiquitous yet remain challenging for existing learning paradigms. Conventional methods and even LLM-hybrids compress rich text into static embeddings or summaries before structural reasoning, creating an information bottleneck and detaching updates from the raw content. We argue that in text-rich graphs, the text is not merely a node attribute but the primary medium through which structural relationships are manifested. We introduce RAMP, a Raw-text Anchored Message Passing approach that moves beyond using LLMs as mere feature extractors and instead recasts the LLM itself as a graph-native aggregation operator. RAMP exploits the text-rich nature of the graph via a novel dual-representation scheme: it anchors inference on each node's raw text during each iteration while propagating dynamically optimized messages from neighbors. It further handles both discriminative and generative tasks under a single unified generative formulation. Extensive experiments show that RAMP effectively bridges the gap between graph propagation and deep text reasoning, achieving competitive performance and offering new insights into the role of LLMs as graph kernels for general-purpose graph learning.

Figures & tables

Appendix figures & tables8 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Teaching LLMs to See Graphs: Unifying Text and Structural Reasoning

    May 11, 2026Dario VajdaLLM Reasoning with GraphsText-Attributed Graph Learning

  2. GRAIN: Bridging Name and Narrative Shifts in Real-World Graph Reasoning through Invariance-Rewarded Agentic RL

    Aug 27, 2026Zike Yuan, Han Zhang, Jianzhi Yan +10LLM Reasoning with GraphsLanguage Model Robustness

  3. Position: How can Graphs Help Large Language Models?

    May 4, 2026Xiyuan Wang, Yi Hu, Yanbo Wang +2LLM GroundingKnowledge Augmentation for Language Models