[Paper Review] Label-free Node Classification on Graphs with Large Language Models (LLMS)
The paper proposes LLM-GNN, a label-free pipeline that uses LLMs to annotate a small set of nodes and trains GNNs on these annotations, with difficulty-aware active selection and confidence-based post-filtering to achieve competitive node classification at very low cost.
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.
Motivation & Objective
- Leverage zero-shot capabilities of LLMs to replace ground-truth labels for node classification on text-attributed graphs.
- Balance annotation quality, diversity, and representativeness while controlling costs.
- Integrate active selection and post-filtering to produce high-quality training signals for GNNs.
- Demonstrate scalability to large-scale graphs and compare against other label-free baselines.
Proposed method
- Introduce LLM-GNN with four components: difficulty-aware active node selection, confidence-aware annotations, post-filtering, and GNN training/prediction.
- Develop a C-Density heuristic to estimate annotation difficulty via distance to cluster centers in feature space.
- Use calibration-informed prompts (zero-shot hybrid prompts) to obtain LLM annotations with confidence scores.
- Apply post-filtering with a COE-based diversity measure and confidence to maintain label diversity while keeping high-quality annotations.
- Train GNNs (GCN or GraphSAGE) on the LLM-annotated nodes and evaluate on the remaining nodes.
- Evaluate cost in dollars based on token usage and compare against alternative label-free methods.
Experimental results
Research questions
- RQ1How do active selection and post-filtering strategies affect LLM-GNN performance?
- RQ2How does LLM-GNN compare to other label-free node classification methods in terms of accuracy and cost?
- RQ3How do varying budget constraints impact the performance of LLM-GNN?
- RQ4What are the characteristics and reliability of LLM-generated annotations compared to ground-truth labels?
Key findings
- LLM-GNN can achieve 74.9% accuracy on the large-scale Ogbn-products dataset at a cost under $1.
- Zero-shot hybrid prompts provide calibrated confidence that helps identify high-quality annotations.
- On Ogbn-arxiv, LLM-GNN attains 66.14% accuracy at a cost of $0.63, and on Ogbn-products 74.91% at $0.74.
- Compared with SES, TAG-Z, and BART-large-MNLI, LLM-GNN significantly outperforms them in accuracy with lower cost.
- LLMs-as-Predictors can achieve higher accuracy but at substantially higher cost than LLM-GNN.
- Post-filtering combined with traditional active selections (e.g., GraphPart, RIM, FeatProp) improves accuracy and scalability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.