Label-free Node Classification on Graphs with Large Language Models (LLMS)

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Chen, Zhikai, Mao, Haitao, Wen, Hongzhi, Han, Haoyu, Jin, Wei, Zhang, Haiyang, Liu, Hui, Tang, Jiliang
Natura: Preprint
Pubblicazione: 2023
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866910342745948160
author Chen, Zhikai
Mao, Haitao
Wen, Hongzhi
Han, Haoyu
Jin, Wei
Zhang, Haiyang
Liu, Hui
Tang, Jiliang
author_facet Chen, Zhikai
Mao, Haitao
Wen, Hongzhi
Han, Haoyu
Jin, Wei
Zhang, Haiyang
Liu, Hui
Tang, Jiliang
contents In recent years, there have been remarkable advancements in node classification achieved by Graph Neural Networks (GNNs). However, they necessitate abundant high-quality labels to ensure promising performance. In contrast, Large Language Models (LLMs) exhibit impressive zero-shot proficiency on text-attributed graphs. Yet, they face challenges in efficiently processing structural data and suffer from high inference costs. In light of these observations, this work introduces a label-free node classification on graphs with LLMs pipeline, LLM-GNN. It amalgamates the strengths of both GNNs and LLMs while mitigating their limitations. Specifically, LLMs are leveraged to annotate a small portion of nodes and then GNNs are trained on LLMs' annotations to make predictions for the remaining large portion of nodes. The implementation of LLM-GNN faces a unique challenge: how can we actively select nodes for LLMs to annotate and consequently enhance the GNN training? How can we leverage LLMs to obtain annotations of high quality, representativeness, and diversity, thereby enhancing GNN performance with less cost? To tackle this challenge, we develop an annotation quality heuristic and leverage the confidence scores derived from LLMs to advanced node selection. Comprehensive experimental results validate the effectiveness of LLM-GNN. In particular, LLM-GNN can achieve an accuracy of 74.9% on a vast-scale dataset \products with a cost less than 1 dollar.
format Preprint
id arxiv_https___arxiv_org_abs_2310_04668
institution arXiv
publishDate 2023
record_format arxiv
spellingShingle Label-free Node Classification on Graphs with Large Language Models (LLMS)
Chen, Zhikai
Mao, Haitao
Wen, Hongzhi
Han, Haoyu
Jin, Wei
Zhang, Haiyang
Liu, Hui
Tang, Jiliang
Machine Learning
Artificial Intelligence
Computation and Language
In recent years, there have been remarkable advancements in node classification achieved by Graph Neural Networks (GNNs). However, they necessitate abundant high-quality labels to ensure promising performance. In contrast, Large Language Models (LLMs) exhibit impressive zero-shot proficiency on text-attributed graphs. Yet, they face challenges in efficiently processing structural data and suffer from high inference costs. In light of these observations, this work introduces a label-free node classification on graphs with LLMs pipeline, LLM-GNN. It amalgamates the strengths of both GNNs and LLMs while mitigating their limitations. Specifically, LLMs are leveraged to annotate a small portion of nodes and then GNNs are trained on LLMs' annotations to make predictions for the remaining large portion of nodes. The implementation of LLM-GNN faces a unique challenge: how can we actively select nodes for LLMs to annotate and consequently enhance the GNN training? How can we leverage LLMs to obtain annotations of high quality, representativeness, and diversity, thereby enhancing GNN performance with less cost? To tackle this challenge, we develop an annotation quality heuristic and leverage the confidence scores derived from LLMs to advanced node selection. Comprehensive experimental results validate the effectiveness of LLM-GNN. In particular, LLM-GNN can achieve an accuracy of 74.9% on a vast-scale dataset \products with a cost less than 1 dollar.
title Label-free Node Classification on Graphs with Large Language Models (LLMS)
topic Machine Learning
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2310.04668