Node Classification on Graphs with Few-Shot Novel Labels via Meta Transformed Network Embedding

Lin Lan, Pinghui Wang, Xuefeng Du, Kaikai Song, Jing Tao, Xiaohong Guan

TL;DR

MetaTNE (Meta Transformed Network Embedding) is a novel framework designed to classify nodes in a graph when new labels emerge with only a handful of examples—a "few-shot" scenario. Unlike traditional methods that rely heavily on rich node content (like text or images), MetaTNE learns to extract intrinsic propagation patterns from the graph structure itself, achieving up to a 150% improvement in recall over state-of-the-art baselines.

What Problem Does This Paper Address?

In the real world, graphs are dynamic. In a social network, a new interest group might form; in a biological network, a new protein function might be discovered. Standard node classification models struggle in these scenarios because:

  1. Novelty: They are usually trained on a fixed set of labels and cannot easily adapt to new ones.
  2. Sparsity: These new labels often have very few "support nodes" (training examples).
  3. Lack of Content: Many existing "few-shot" graph methods rely on high-quality node features (attributes). However, many real-world graphs are "content-less," consisting only of connections (edges).

The authors define this specific challenge as NCFNL: Node Classification on graphs with Few-shot Novel Labels.

Methods

The MetaTNE framework tackles NCFNL using three integrated modules:

MetaTNE Framework Architecture
  1. Structural Module: This acts as the foundation. It uses unsupervised techniques (like DeepWalk or node2vec) to learn a latent representation (embedding) for every node based purely on the graph's topology.
  2. Meta-Learning Module: This is the "brain" of the system. It uses a meta-learning approach to simulate few-shot tasks using "known" labels to prepare for "novel" ones.
  3. The Innovation: The authors introduce an Embedding Transformation Function using a self-attention mechanism. In multi-label graphs, a node might belong to "Sports" and "Music." Its relationship to other nodes changes depending on which label we are looking at. This function transforms "task-agnostic" embeddings into "task-specific" ones, allowing the model to capture multifaceted relationships.
  4. Optimization Module: Training a meta-learner on top of raw embeddings is tricky because, at the start, the embeddings are random noise. The authors use a scheduling strategy (a decaying threshold $\tau$) that prioritizes learning the graph structure early on and gradually shifts focus to the meta-learning tasks as the embeddings stabilize.

Datasets

The authors evaluated MetaTNE on four diverse, real-world datasets that lack node attributes, forcing the model to rely entirely on structure:

  • BlogCatalog: A social network of bloggers.
  • Flickr: A developer/image-sharing network.
  • PPI (Protein-Protein Interaction): A biological network where labels represent biological functions.
  • Mashup: A network of web applications and their shared tags.

Key Insights and Ideas

  • Multi-label Context Matters: The most significant insight is the realization that a single static embedding isn't enough for few-shot learning in multi-label environments. By using self-attention to "tailor" node embeddings to a specific task, the model can distinguish between different types of connectivity patterns (e.g., how a "Sports" label propagates vs. a "Music" label).
  • Structure as Prior Knowledge: The paper proves that even without text or image features, the "shape" of the graph contains enough information to generalize to new categories, provided you have a meta-learning framework to extract those patterns.
  • Stability through Scheduling: Directly optimizing meta-loss on top of evolving embeddings is unstable. The "staircase" scheduling strategy is a simple but effective way to ensure the structural "map" is reliable before trying to navigate it with meta-learning.

Key Results

MetaTNE significantly outperformed baselines like GCN, Planetoid, and Meta-GNN across all datasets.

Performance comparison on 3-shot novel labels
  • Recall Gains: On the BlogCatalog dataset, MetaTNE achieved a staggering 150.93% improvement in Recall compared to the strongest baseline.
  • F1 Score: It showed up to a 47.58% improvement in F1 score.
  • Robustness: The model remained effective even when the data was highly imbalanced (e.g., 10 positive support nodes vs. 40 negative ones), which is a common hurdle in few-shot learning.

Limitations and Future Work

  • Few-Shot Bias: The authors acknowledge that while MetaTNE excels in few-shot scenarios, it might not provide superior performance on labels that already have a massive amount of training data. In those cases, traditional supervised methods might still be better.
  • Interpretability: While the model works well, the specific "relationships" it learns between different labels remain a bit of a black box. The authors suggest future work could involve quantifying how much one label contributes to the learning of another.
  • Task Construction: Currently, tasks are sampled randomly. The authors propose developing a more "principled" way to construct few-shot tasks that better reflects the underlying graph structure.

Summary updated

BibTeX
@inproceedings{lan2020node,
  author = {Lin Lan and Pinghui Wang and Xuefeng Du and Kaikai Song and Jing Tao and Xiaohong Guan},
  title = {{Node Classification on Graphs with Few-Shot Novel Labels via Meta Transformed Network Embedding}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
  url = {https://openreview.net/forum?id=BgDRAuwRXi},
}
Figure