Revisiting Semi-Supervised Learning with Graph Embeddings

Zhilin Yang, William W. Cohen, Ruslan Salakhutdinov

TL;DR

The paper introduces Planetoid, a framework that moves beyond traditional graph regularization by using graph embeddings for semi-supervised learning. By jointly training a model to predict both class labels and graph neighborhoods, the authors achieve state-of-the-art results in both transductive (fixed graph) and inductive (unseen nodes) settings.

What Problem Does This Paper Address?

In semi-supervised learning (SSL), we try to use a small amount of labeled data alongside a large amount of unlabeled data. For graph-based data (like citation networks or social media), the standard approach has long been Graph Laplacian regularization. This method assumes "smoothness"—that nearby nodes in a graph should have the same label.

However, the authors identify two major gaps in this traditional approach:

  1. Feature Learning: Laplacian regularization constrains labels to be consistent with the graph, but it doesn't actually help the model learn better features from the graph structure itself.
  2. The Inductive Gap: Many graph-based SSL methods are "transductive," meaning they only work on nodes seen during training. If a new node appears (e.g., a new user joins a network or a new paper is published), these models often have to be retrained from scratch.

Methods

The authors propose Planetoid (Predicting Labels And Neighbors with Embeddings Transductively Or Inductively from Data). The core innovation is a multi-task loss function that trains an embedding to simultaneously:

  • Predict the class label (Supervised).
  • Predict the context/neighborhood in the graph (Unsupervised).
Transductive vs Inductive Formulations

Key Technical Components:

  • Sampling Context: Instead of just looking at immediate neighbors, Planetoid uses a random-walk-based sampling method (similar to DeepWalk) to define "context." Crucially, they also sample based on labels—pairing nodes with the same label even if they aren't close in the graph—to inject supervised information directly into the embedding space.
  • Transductive vs. Inductive:
    • In the Transductive variant (Figure a), the model learns a specific embedding (a "lookup table") for every node in the graph.
  • In the Inductive variant (Figure b), the embedding is defined as a parametric function of the node's input features (e.g., a neural network $h(x)$). This allows the model to generate an embedding for a brand-new node just by looking at its features.

Datasets

The model was evaluated on five diverse benchmarks:

  • Text Classification: Citeseer, Cora, and Pubmed (citation networks where nodes are documents and edges are citations).
  • Distantly Supervised Entity Extraction: DIEL (medical entities and coordinate-term lists).
  • Entity Classification: NELL (a massive knowledge base of entities and relations).

Key Insights and Ideas

  • Embeddings > Regularization: Traditional regularization acts as a "penalty" on the output labels. Planetoid’s approach is more proactive; it forces the hidden layers of the neural network to capture the graph's structural "DNA," making the features themselves more discriminative.
  • Joint Training is Essential: The authors found that training the embedding and the classifier together performs better than the common two-step approach (learning unsupervised embeddings first, then training a classifier on top).
  • Feature Constraints: In the inductive setting, the input features act as a constraint on the embeddings. If the features are highly informative (like in the citation datasets), this constraint actually helps the model generalize better than the transductive version.

Key Results

Planetoid demonstrated significant performance gains across the board:

  • Inductive Performance: The inductive variant outperformed the previous best methods by an average of 7.8%, with a massive 18.7% jump on specific tasks.
  • Overall Accuracy: The best Planetoid variant (either Transductive or Inductive) outperformed all competing methods (including Label Propagation, TSVM, and ManiReg) by an average of 4.1%.
t-SNE Visualizations comparing GraphEmb, Planetoid-T, and SemiEmb
  • Visual Separation: Using t-SNE visualizations (shown above), the authors demonstrated that Planetoid-T creates much tighter, more distinct clusters of classes in the embedding space compared to unsupervised methods like GraphEmb (DeepWalk) and SemiEmb.

Limitations and Future Work

The primary limitation noted is the dependency on feature quality. In the inductive mode, if the input features $x$ are not informative enough to represent the graph structure, the model's performance drops significantly compared to the transductive version (which doesn't rely solely on features to build the embedding).

For future work, the authors suggest:

  • Applying the framework to more complex architectures, such as Recurrent Neural Networks (RNNs).
  • Exploring "latent graphs" where the edges aren't explicitly given but are calculated based on distances between feature vectors.

Summary updated

BibTeX
@inproceedings{yang2016revisiting,
  author = {Zhilin Yang and William W. Cohen and Ruslan Salakhutdinov},
  title = {{Revisiting Semi-Supervised Learning with Graph Embeddings}},
  booktitle = {International Conference on Machine Learning},
  year = {2016},
  url = {https://openreview.net/forum?id=rJWfDhbObB},
}
Figure