Hound: Hunting Supervision Signals for Few and Zero Shot Node Classification on Text-attributed Graph

Yuxiang Wang, Xiao Yan, Shiyu Jin, Quanqing Xu, Chuanhui Yang, Yuanyuan Zhu, Chuang Hu, Bo Du, Jiawei JiangarXiv 2024 · DOI

Abstract

Text-Attributed Graphs (TAGs) are ubiquitous in domains such as citation networks and social media, where nodes possess both structural links and textual descriptions. Classifying these nodes under low-resource conditions—Few-Shot and Zero-Shot Node Classification (FZNC)—is a critical task. Current state-of-the-art methods typically employ contrastive learning to align node and text embeddings but suffer from "supervision starvation" due to a reliance on limited explicit node-text pairs. We present Hound, a framework that "hunts" for additional supervision signals through three strategies: node perturbation, text matching, and semantic negation. Hound significantly outperforms existing methods, showing an average accuracy improvement of 8.8% in zero-shot scenarios across five diverse datasets.

Introduction

In TAGs, nodes represent entities (e.g., papers, products) and edges represent relationships (e.g., citations, co-purchases). While node classification is essential, the high cost of human labeling necessitates effective FZNC methods. Existing approaches often fail to capture the full semantic richness of the graph, leading to suboptimal performance when labels are scarce. Hound addresses this by artificially expanding the supervision signal, creating a more robust and discriminative embedding space.

Methods

The Hound framework introduces three primary mechanisms to augment training:

  1. Node Perturbation: To make the model resilient to graph noise, Hound randomly adds or removes edges. It then enforces invariance by requiring the text encoder to produce consistent embeddings regardless of these structural changes.
Node perturbation mechanism: aligning original and perturbed node embeddings with text.
  1. Text Matching: Beyond simple node-text pairs, Hound utilizes a "text bank" of 32,000 embeddings. It identifies the top K most similar texts to a node's description and aligns the node embedding with these neighbors, fostering a more cohesive semantic neighborhood.
  2. Semantics Negation: Hound employs learnable negative prompts to generate "opposite" semantic descriptions. The model is trained to maximize the distance between node embeddings and these negative samples, which is particularly effective for zero-shot inference.
Semantics negation mechanism: ensuring node and text embeddings are dissimilar to negative text.

For zero-shot tasks, Hound uses a probability-average strategy that integrates signals from both positive and negative text encoders to refine predictions.

Experimental Evaluation

Hound was evaluated on five datasets: the Cora citation network and four large-scale Amazon Product Category datasets (Fitness, M.I., Industrial, and Art), with node counts reaching up to 1.6 million.

Key Results

  • Superior Performance: Hound outperformed 13 state-of-the-art baselines (e.g., G2P2, GPPT) across all benchmarks.
  • Accuracy Gains: The framework achieved a 4.6% average improvement in few-shot settings and a substantial 8.8% boost in zero-shot settings.
  • Efficiency: Despite the additional supervision tasks, Hound maintains competitive training efficiency by sharing core GNN and Transformer architectures.

Discussion and Limitations

Ablation studies indicate that while all three "hunting" strategies contribute to performance, their synergy is task-dependent. Semantic negation is particularly potent for zero-shot tasks, whereas node perturbation and text matching provide strong signals for structural robustness. However, the authors noted that using node perturbation and text matching simultaneously can sometimes introduce noise, suggesting a need for careful balancing. Future research may explore automated weighting of these signals or application to multi-modal graph data.

Conclusion

Hound demonstrates that "hunting" for latent supervision signals is a highly effective strategy for overcoming data scarcity in graph node classification. By leveraging structural invariance, semantic similarity, and negative prompts, it sets a new benchmark for FZNC on text-attributed graphs.

Summary updated

BibTeX
@misc{wang2024hound,
  author = {Yuxiang Wang and Xiao Yan and Shiyu Jin and Quanqing Xu and Chuanhui Yang and Yuanyuan Zhu and Chuang Hu and Bo Du and Jiawei Jiang},
  title = {{Hound: Hunting Supervision Signals for Few and Zero Shot Node Classification on Text-attributed Graph}},
  year = {2024},
  eprint = {2409.00727},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2409.00727},
}
Figure