TL;DR
GNN-as-Judge is a novel framework that bridges the gap between the deep semantic understanding of Large Language Models (LLMs) and the structural expertise of Graph Neural Networks (GNNs). By using GNNs to "judge" and select high-quality pseudo-labels for unlabeled nodes, it enables effective LLM fine-tuning even when labeled data is extremely scarce (few-shot settings).
What Problem Does This Paper Address?
Text-Attributed Graphs (TAGs)—where nodes are documents (like research papers) and edges are relationships (like citations)—are everywhere. While LLMs are masters of text, they often struggle to "see" the graph structure. Conversely, traditional GNNs excel at structure but lack the nuanced language understanding of a billion-parameter model.
The current trend is to use LLM-as-Predictors, but this hits a wall in "low-resource" scenarios. If you only have a few labeled examples per category, fine-tuning an LLM usually leads to overfitting or poor generalization. Standard "self-training" (where a model labels its own data) often fails because LLMs lack the structural inductive bias to know which nodes are actually important or if their own guesses are biased. This paper tackles two hurdles: how to pick the most informative unlabeled nodes to label, and how to train on those labels without being derailed by the inevitable noise.
Methods
The authors propose a three-stage pipeline called GNN-as-Judge:
- Influence-Guided Node Selection: Instead of picking nodes at random, the framework uses a GNN to calculate "Node Influence." It identifies unlabeled nodes that are most strongly affected by the existing labeled set through the graph's edges. This ensures the pseudo-labels generated later are reliable and representative.
- Collaborative Pseudo-Labeling: The framework runs both a GNN and an LLM on the selected nodes and compares their predictions:
- Agreement Set: Nodes where both models agree. These are treated as "easy" high-confidence samples.
- Disagreement Set: Nodes where they differ. Here, the GNN acts as a "judge." If the GNN is highly confident in its own choice over the LLM's, these are flagged as "hard" informative samples.
- Weakly-Supervised Fine-Tuning: To train the LLM, the authors use a hybrid loss function. They perform standard Instruction Tuning on the Agreement Set. For the trickier Disagreement Set, they use Preference Tuning (specifically Odds Ratio Preference Optimization). Instead of telling the LLM "this label is 100% correct," they tell it to "prefer the GNN's prediction over your initial guess." This allows the LLM to learn from "hard" examples while remaining robust to potential label noise.
Key Insights and Ideas
- Structure as a Proxy for Confidence: LLMs are prone to "hallucination" and self-bias on graphs. By using a GNN's structural awareness as a "judge," the framework provides a grounded second opinion that the LLM cannot generate on its own.
- Learning from Disagreement: Most semi-supervised methods throw away samples where models disagree. This paper argues that these disagreements are exactly where the most "knowledge" is hidden. Using preference tuning allows the model to extract that knowledge without being "poisoned" by incorrect hard labels.
- High-Quality Pseudo-Labeling: Relying solely on LLM confidence or basic graph metrics (like node degree) often yields noisy labels. By leveraging the GNN as a structural judge, the framework generates significantly more accurate pseudo-labels across diverse datasets, providing a cleaner signal for fine-tuning.
Key Results
The framework was evaluated on five diverse TAG benchmarks, including citation networks (Cora, Citeseer, Pubmed) and large-scale datasets (ogbn-arxiv, ogbn-products). GNN-as-Judge consistently outperformed both traditional GNNs and state-of-the-art LLM-Graph methods across all datasets in few-shot settings.
- Massive Gains in 3-Shot: On the
ogbn-arxivdataset with only 3 labels per class, GNN-as-Judge achieved 62.21% accuracy, dwarfing the next best baseline (Zero-Shot LLM) at 50.18% and traditional GCN at 38.33%. - Zero-Shot Generalization: The model showed incredible "transfer" ability. When trained on
ogbn-arxivand tested on the entirely differentPubmeddataset without any further tuning, it hit 83.41% accuracy, while competing methods like LLaGA struggled at around 30%. - Ablation Success: Removing the "Disagreement Node Set" or the "Weakly-supervised fine-tuning" components led to significant performance drops, proving that learning from "hard" examples is a core driver of the model's success.
Limitations and Future Work
While powerful, the framework currently relies on several hyperparameters (like the number of nodes to select and the preference threshold) that require manual tuning. The authors suggest that future work could involve automating these selections.
Additionally, the current process is "offline"—the GNN labels the data, and then the LLM trains. A more advanced "online" version where both models update concurrently and provide real-time feedback to each other could potentially push performance even further.
Summary updated