mlsanityData to 7 Oct 2026

Path-LLM: A Shortest-Path-based LLM Learning for Unified Graph Representation

arXiv 2408.05456 ↗First posted 10 Aug 2024cs.CLcited by 2

Not on the map. Why?

Abstract (arXiv)

Unified graph representation learning aims to generate node embeddings, which can be applied to multiple downstream applications of graph analytics. However, existing studies based on graph neural networks and language models either suffer from the limitations of numerous training needs toward specific downstream predictions, poor generalization, or shallow semantic features. In this work, we propose a novel Path-LLM model to efficiently learn unified graph representation, which leverages a powerful large language model (LLM) to incorporate our proposed path features. Our Path-LLM framework consists of four well-designed techniques. First, we develop a new mechanism of long-to-short shortest path (L2SP) selection, which can cover key connections between different dense groups. An in-depth analysis and comparison of different path selections is conducted to justify the rationale behind our designed L2SP method. Next, we design path textualization to obtain L2SP-based training texts with key phrase selection from node text attributes. We then feed the texts into a self-supervised LLM training process to align next node/edge generation in L2SP with next token generation in causal language modeling for graph representation learning and finally extract the unified graph embeddings. We theoretically analyze the algorithm complexity of our Path-LLM approach. Extensive experiments on large-scale graph benchmarks validate the superiority of Path-LLM against state-of-the-art methods WalkLM, GraphGPT, OFA, and GraphTranslator on two classical graph learning tasks (node classification and edge validation) and one NP-hard graph query processing task (keyword search). Compared with WalkLM, our approach saves more than 90% of training paths on millions-scale graphs and runs at most 35x faster.

Key facts. Cited by 2 papers in the map (data through 7 Oct 2026). Builds on 35 of its 107 references that are in the map. First posted on arXiv 10 Aug 2024.

Builds on

35 of 107 references.

References · 35

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2022Training language models to follow instructions with human feedbackcited by 15,712
  4. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  5. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  6. 2016Semi-Supervised Classification with Graph Convolutional Networkscited by 11,282
  7. 2019Sentence-BERT: Sentence Embeddings using Siamese BERT-Networkscited by 9,049
  8. 2017Graph Attention Networkscited by 8,854
  9. 2017Inductive Representation Learning on Large Graphscited by 6,284
  10. 2017Neural Message Passing for Quantum Chemistrycited by 3,460
  11. 2019A Comprehensive Survey on Graph Neural Networkscited by 2,906
  12. 2020DeBERTa: Decoding-enhanced BERT with Disentangled Attentioncited by 2,157
23 more
  1. 2020Open Graph Benchmark: Datasets for Machine Learning on Graphscited by 2,148
  2. 2018Graph Neural Networks: A Review of Methods and Applicationscited by 1,571
  3. 2020Graph Contrastive Learning with Augmentationscited by 1,203
  4. 2017MoleculeNet: A Benchmark for Molecular Machine Learningcited by 1,037
  5. 2018Generalized Cross Entropy Loss for Training Deep Neural Networks with Noisy Labelscited by 994
  6. 2020Deep Graph Contrastive Representation Learningcited by 535
  7. 2020Graph Contrastive Learning with Adaptive Augmentationcited by 519
  8. 2020GPT-GNN: Generative Pre-Training of Graph Neural Networkscited by 302
  9. 2023ToolQA: A Dataset for LLM Question Answering with External Toolscited by 273
  10. 2023Exploring the Potential of Large Language Models (LLMs) in Learning on Graphscited by 271
  11. 2023One for All: Towards Training One Graph Model for All Classification Taskscited by 239
  12. 2021Self-Supervised Learning of Graph Neural Networks: A Unified Reviewcited by 184
  13. 2024LLaGA: Large Language and Graph Assistantcited by 177
  14. 2022Learning on Large-scale Text-attributed Graphs via Variational Inferencecited by 153
  15. 2020Labeling Trick: A Theory of Using Graph Neural Networks for Multi-Node Representation Learningcited by 148
  16. 2024To Believe or Not to Believe Your LLMcited by 120
  17. 2024ZeroG: Investigating Cross-dataset Zero-shot Transferability in Graphscited by 83
  18. 2024Can GNN be Good Adapter for LLMs?cited by 71
  19. 2024GraphTranslator: Aligning Graph Model to Large Language Model for Open-ended Taskscited by 63
  20. 2023Incorporating Structured Representations into Pretrained Vision & Language Models Using Scene Graphscited by 39
  21. 2024GLBench: A Comprehensive Benchmark for Graph with Large Language Modelscited by 36
  22. 2023GRENADE: Graph-Centric Language Model for Self-Supervised Representation Learning on Text-Attributed Graphscited by 28
  23. 2024A Survey of Large Language Models on Generative Graph Analytics: Query, Learning, and Applicationscited by 17

Built on by

Cited by year

Citing papers per year: 2025: 2.

2 papers.