Graph Semi-Supervised Learning for Point Classification on Data Manifolds

Caio Netto, Zhiyang Wang, Luana Ruiz

TL;DR

This paper introduces a novel graph semi-supervised learning framework that leverages the manifold hypothesis to improve point classification. By constructing a graph from VAE-generated embeddings of data points residing on a low-dimensional manifold, they show that GNNs can achieve better generalization, especially when trained on dynamically growing graphs.

What Problem Does This Paper Address?

Many real-world datasets, especially high-dimensional ones like images, are believed to lie on or near lower-dimensional manifolds. Traditional machine learning methods often struggle to effectively utilize this underlying geometric structure. The challenge is to exploit this intrinsic data geometry to improve classification accuracy and generalization, particularly in semi-supervised settings where only a subset of data is labeled. The authors aim to bridge the gap between the manifold hypothesis and the practical application of graph neural networks (GNNs) for classification.

Methods

The core of the proposed method involves a three-stage pipeline:

  1. Manifold Approximation via VAE: A Variational Autoencoder (VAE) is used to learn low-dimensional embeddings of the input data. The VAE is chosen for its ability to capture the underlying manifold structure and provide a smoother latent space compared to standard autoencoders.
  2. Geometric Graph Construction: Based on the learned embeddings, a geometric graph is constructed. Nodes represent the data points (embeddings), and edges are weighted using a Gaussian kernel, inversely proportional to the pairwise distances between embeddings in the latent space. This effectively approximates the data manifold with a graph.
  3. GNN for Semi-Supervised Classification: The constructed graph is then used for a semi-supervised node classification task. A Graph Neural Network (GNN) is trained on this graph, leveraging its structure to infer labels for the unlabeled nodes.

A key theoretical contribution is the analysis of the generalization gap of this pipeline. They show that the gap decreases with increasing graph size and can be further reduced by a novel training procedure where the graph is resampled and grown at intervals during training, leading to an asymptotically vanishing generalization gap.

Datasets

The authors evaluated their method on several standard image classification benchmarks:

  • MNIST
  • FMNIST
  • CIFAR10
  • FER2013
  • CelebA (used for CelebA-Smiling and CelebA-Gender tasks)
  • PathMNIST

Key Insights and Ideas

  • Exploiting Manifold Geometry for GNNs: The paper demonstrates that by explicitly modeling the data manifold using VAE embeddings and constructing a geometric graph, GNNs can effectively leverage this structure for improved classification.
  • The Power of Growing Graphs: A crucial finding is that training GNNs on dynamically growing graphs, where the graph size increases over training epochs, leads to significantly smaller generalization gaps and better performance compared to training on fixed-size graphs. This suggests that gradually exposing the GNN to more data and graph structure is beneficial.
  • Theoretical Guarantees for Generalization: The paper provides theoretical analysis showing that the generalization gap of their proposed method diminishes with increasing graph size and can asymptotically vanish with the growing graph training strategy. This offers a principled understanding of why their approach works.
  • VAE Embeddings Enhance GNN Performance: Using VAEs for embeddings leads to superior performance compared to PCA-based embeddings, highlighting the importance of learning structured latent spaces that better preserve data invariances and equivariances.

Key Results

  • Outperforms Baselines: The proposed GNN method consistently outperforms baselines like MLPs and kNN on various image classification benchmarks, achieving the highest test accuracy.
  • Reduced Generalization Gap: The GNN trained on growing subgraphs consistently shows a substantially smaller generalization gap compared to GNNs trained on fixed subgraphs and MLPs. This is in line with their theoretical predictions.
  • High Accuracy on Complex Datasets: The method achieves high accuracy on challenging datasets like CelebA and PathMNIST, demonstrating its scalability and effectiveness. For instance, on MNIST, they achieve perfect accuracy.
  • Theoretical Bounds: The paper derives theoretical bounds on the generalization gap, showing its dependence on graph size and the proposed training strategy.

Limitations and Future Work

  • VAE Embedding Quality: The performance of the method is dependent on the quality of the VAE embeddings.
  • Graph Construction Sensitivity: The approach can be sensitive to graph construction parameters.
  • Computational Overhead: The two-stage pipeline (VAE embedding + GNN training) introduces computational overhead, which might hinder scalability.
  • Future Work: The authors suggest releasing their code in the near future. The theoretical framework and experimental results open avenues for further research into manifold-aware GNNs and advanced graph learning strategies.

Summary updated

BibTeX
@inproceedings{netto2025graph,
  author = {Caio Netto and Zhiyang Wang and Luana Ruiz},
  title = {{Graph Semi-Supervised Learning for Point Classification on Data Manifolds}},
  booktitle = {NPGML @ NeurIPS},
  year = {2025},
  url = {https://openreview.net/forum?id=CWuTnAlYx4},
}
Figure