Skip to main content
QUICK REVIEW

[论文解读] Exploring the Potential of Large Language Models (LLMs) in Learning on Graphs

Zhikai Chen, Haitao Mao|arXiv (Cornell University)|Jul 7, 2023
Advanced Graph Neural NetworksComputer Science被引用 20
一句话总结

该论文研究两种管道—将大语言模型作为增强者与作为预测者—将LLMs与文本属性图结合用于节点分类,比较特征级和文本级增强,并在各种设置下直接评估LLMs作为预测者。

ABSTRACT

Learning on Graphs has attracted immense attention due to its wide real-world applications. The most popular pipeline for learning on graphs with textual node attributes primarily relies on Graph Neural Networks (GNNs), and utilizes shallow text embedding as initial node representations, which has limitations in general knowledge and profound semantic understanding. In recent years, Large Language Models (LLMs) have been proven to possess extensive common knowledge and powerful semantic comprehension abilities that have revolutionized existing workflows to handle text data. In this paper, we aim to explore the potential of LLMs in graph machine learning, especially the node classification task, and investigate two possible pipelines: LLMs-as-Enhancers and LLMs-as-Predictors. The former leverages LLMs to enhance nodes' text attributes with their massive knowledge and then generate predictions through GNNs. The latter attempts to directly employ LLMs as standalone predictors. We conduct comprehensive and systematical studies on these two pipelines under various settings. From comprehensive empirical results, we make original observations and find new insights that open new possibilities and suggest promising directions to leverage LLMs for learning on graphs. Our codes and datasets are available at https://github.com/CurryTang/Graph-LLM.

研究动机与目标

  • 评估在文本属性图上,LLMs是否能弥补GNN管道的有限上下文知识。
  • 探索两种集成范式:LLMs-as-Enhancers(增强节点文本或特征)和LLMs-as-Predictors(LLMs直接预测)。
  • 在不同数据条件和数据集上评估不同类型的LLM及集成结构。
  • 为在图学习任务中利用LLMs提供实际见解与指南。

提出的方法

  • 在基准数据集如 Cora、PubMed、Ogbn-arxiv 和 Ogbn-products 上定义文本属性图和节点分类任务。
  • 比较可嵌入可见的LLMs与不可嵌入的LLMs,在特征层面和文本层面的增强策略上。
  • 研究将LLM嵌入级联与迭代集成结构以结合LLM嵌入与GNNs。
  • 使用非上下文基线(TF-IDF、Word2Vec)以及深度句子嵌入(SBERT、e5-large)作为文本编码器进行实验。
  • 分析在训练和内存使用方面的效率与可扩展性,覆盖如GCN、GAT、RevGAT、SAGN和GIANT等模型。
  • 通过设计能够编码图结构与属性的提示,探索LLMs-as-Predictors以实现直接的LLM预测。

实验结果

研究问题

  • RQ1LLMs是否能在TAG的传统GNN管道中弥补有限的上下文和语义知识?
  • RQ2在文本属性图的节点分类任务中,使用LLMs-as-Enhancers与LLMs-as-Predictors各自的相对优劣是什么?
  • RQ3不同类型的LLMs(嵌入可见与嵌入不可见)以及集成结构如何影响性能和效率?
  • RQ4在不同数据条件(低标注率与高标注率)下,微调的LLMs在与深度句子嵌入相比的表现?
  • RQ5在扩展和部署基于LLM的图学习方法时,能得出哪些实际指南?

主要发现

  • 深度句子嵌入模型与GNNs的组合在各数据集和设置下都构成了一个强大且简单的基线。
  • 当可获取嵌入时,文本级增强调也能提升下游性能。
  • 直接的LLM预测器显示出潜力,但存在预测不准确和测试数据泄漏的风险。
  • 在低标注条件下,基于微调的LLM嵌入的表现不如深度句子嵌入和TF-IDF基线。
  • LLMs可以作为带有相对可观准确性的节点标签的标注者。
  • 迭代训练结构(GLEM)在较大数据集上可以取得强结果,但计算成本高。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。