TL;DR
ZeroPolar is a novel zero-shot node classification framework that determines whether to trust or distrust graph links—a property called structural polarity—without requiring any ground-truth labels. By measuring the "excess agreement" of noisy LLM labels along edges, it successfully navigates both homophilous (similar nodes link) and heterophilous (different nodes link) graphs, outperforming state-of-the-art baselines by significant margins.
What Problem Does This Paper Address?
When launching new web platforms like digital libraries or online stores, we need to categorize pages (nodes) immediately, long before human labels are available. Large Language Models (LLMs) can provide initial "zero-shot" labels based on page text, but these labels are often noisy.
Standard graph-based methods like Graph Neural Networks (GNNs) or Label Propagation try to fix these errors by assuming homophily: the idea that linked pages likely belong to the same category. However, on the web, links often mislead. For example, on a university site, a professor’s home page might link to several course pages. A standard GNN would "pull" the professor's page toward the "course" category, leading to an error. This is heterophily, where links connect nodes of different classes.
Existing zero-shot methods either ignore links entirely, blindly trust them, or try to estimate homophily by asking LLMs directly—which is expensive and prone to model-specific biases. The challenge is: How can we decide whether to trust or distrust links on a new, unlabeled graph?
Methods
The authors introduce the concept of structural polarity—the sign ($\sigma \in \{+1, -1\}$) that determines if a node should move toward or away from its neighbors' predicted classes.
The Polarity Gate
The core innovation is a label-free "gate" that sets this sign. It calculates excess agreement ($s$): the difference between how often linked nodes share a label and how often they would share one by chance. ZeroPolar computes this for two signals:
- LLM Labels ($s_{LLM}$): Labels generated by an LLM for a subset of nodes.
- Text Prototypes ($s_{proto}$): Predictions based on the similarity of a node's text embedding to "class prototypes" (averaged embeddings of a few LLM-labeled examples).
If the maximum of these two statistics exceeds a threshold ($\delta = 0.25$), the graph is deemed homophilous ($\sigma = +1$); otherwise, it is heterophilous ($\sigma = -1$).
ZeroPolar & ZeroPolar-T
Depending on the labeling budget, the framework uses one of two implementations:
- ZeroPolar (Training-free): For low budgets, it simply mixes prototype scores with available LLM labels and performs one signed propagation step.
- ZeroPolar-T (Trained): When labels are available for at least half the nodes, it trains a lightweight MLP on the noisy LLM labels to denoise them against text features before applying the signed propagation step.
Datasets
The authors evaluated ZeroPolar on a diverse set of 16 text-attributed graphs:
- LLM-BP Benchmark (11 graphs): Includes citation networks (Cora, Citeseer, Pubmed), product networks (History, Children, Sportsfit), and university hyperlink graphs (Cornell, Texas, Wisconsin, Washington). The latter are notoriously heterophilous.
- Additional Graphs: Computer (Amazon) and a 30k-node subgraph of arXiv.
- Social/Product Platforms: Instagram, Reddit, and Photo.
Key Insights and Ideas
- Polarity is readable without ground truth: You don't need to know the "right" answers to see if a graph's structure is helpful or misleading. The statistical agreement of even noisy labels is a robust indicator of structural polarity.
- LLMs are biased homophily estimators: Directly asking an LLM to estimate a graph's homophily leads to "drift"—different models give wildly different, often incorrect, answers. Measuring agreement is much more reliable.
- One signed step is optimal: The authors found that a single propagation step with the correct sign provides the best balance. It allows the graph structure to inform the prediction without letting neighbor noise overwhelm the primary text features.
- Denoising via Text-Alignment: ZeroPolar-T uses a simple MLP to learn how text maps to LLM labels. This effectively "smooths" the noisy LLM labels by forcing them to be consistent with similar text before the graph structure is even considered.
Key Results
- Superior Accuracy: With one GPT-4o label per node, ZeroPolar-T reached a mean accuracy of 73.99% across 11 graphs, outperforming the strong LLM-BP baseline by 6.01 points.
- Winning on Both Fronts: Unlike previous methods that excel at either homophilous or heterophilous graphs, ZeroPolar leads on both. It significantly improved performance on the heterophilous WebKB graphs where standard propagation fails.
- Efficiency: ZeroPolar is extremely fast. On the largest graph tested (Sportsfit), it processed nodes in 0.10 seconds, compared to 12.91 seconds for a standard GraphSAGE model.
- Low-Budget Champion: With labels on only 5% of nodes, ZeroPolar outperformed a GNN trained on the same labels by a massive 10.80 points.
Limitations and Future Work
While highly effective, the authors note a few areas for further exploration:
- Fixed Hyperparameters: The current model uses a fixed threshold ($\delta$) and a single propagation step. Future iterations could explore adaptive thresholds or multi-step propagation.
- Dependency on Initial Signals: The method still requires a baseline of text-based signals (LLM labels or prototypes) to function.
- Broader Applications: The authors suggest that label-free polarity checks could benefit other tasks like link prediction and recommendation systems on new, unlabeled platforms.
Summary updated