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

Zhikai Chen, Haitao Mao, Hongzhi Wen, Haoyu Han, Wei-dong Jin +3 more
2/12/2026

Official code: CurryTang/LLMGNN (94 stars, last commit 2023-11-24).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

CurryTang/LLMGNNOfficial76%

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

948PythonOct 11, 20232 years ago

Similar Papers

Cite this paper

@article{chen2026labelfree,
  title  = {Label-free Node Classification on Graphs with Large Language Models (LLMS)},
  author = {Zhikai Chen and Haitao Mao and Hongzhi Wen and Haoyu Han and Wei-dong Jin and Haiyang Zhang and Hui Liu and Jiliang Tang},
  year   = {2026},
  eprint = {2310.04668},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/pdf/2310.04668},
  journal = {ICLR 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.04668.svg)](https://codeofpaper.com/paper/2310.04668)

Discussion