Manifold Graph with Learned Prototypes for Semi-Supervised Image Classification

Chia-Wen Kuo, Chih-Yao Ma, Jia-Bin Huang, Zsolt KiraarXiv 2019

Abstract

Recent advances in semi-supervised learning methods rely on estimating the categories of unlabeled data using a model trained on the labeled data (pseudo-labeling) and using the unlabeled data for various consistency-based regularization. In this work, we propose to explicitly leverage the structure of the data manifold based on a Manifold Graph constructed over the image instances within the feature space. Specifically, we propose an architecture based on graph networks that jointly optimizes feature extraction, graph connectivity, and feature propagation and aggregation to unlabeled data in an end-to-end manner. Further, we present a novel Prototype Generator for producing a diverse set of prototypes that compactly represent each category, which supports feature propagation. To evaluate our method, we first contribute a strong baseline that combines two consistency-based regularizers that already achieves state-of-the-art results especially with fewer labels. We then show that when combined with these regularizers, the proposed method facilitates the propagation of information from generated prototypes to image data to further improve results. We provide extensive qualitative and quantitative experimental results on semi-supervised benchmarks demonstrating the improvements arising from our design and show that our method achieves state-of-the-art performance when compared with existing methods using a single model and comparable with ensemble methods. Specifically, we achieve error rates of 3.35% on SVHN, 8.27% on CIFAR-10, and 33.83% on CIFAR-100. With much fewer labels, we surpass the state of the arts by significant margins of 41% relative error decrease on average.

Introduction

Deep learning typically requires massive amounts of labeled data, which is expensive and time-consuming to produce. Semi-Supervised Learning (SSL) attempts to solve this by using a small set of labeled images alongside a much larger pool of unlabeled ones. Current SSL methods usually rely on consistency-based regularization or pseudo-labeling. However, the authors argue that these methods often ignore the manifold structure—the geometric "shape" of the data in feature space. While graph-based methods exist to capture this structure, they often rely on fixed, pre-defined graphs or complex multi-stage pipelines. This paper proposes a "Manifold Graph" framework that learns to represent image categories using a diverse set of generated prototypes, making graph-based manifold learning end-to-end and scalable.

Proposed Method

The proposed architecture consists of three main components working in tandem: a strong consistency-based baseline, a Prototype Generator, and a Manifold Graph network.

The proposed end-to-end architecture for semi-supervised classification using a Manifold Graph and Learned Prototypes.

Architecture Components

  • Strong Baseline: The authors combine Virtual Adversarial Training (VAT) and the $\Pi$-model to create a robust starting point for SSL.
  • Prototype Generator: Instead of comparing unlabeled images to a few labeled examples, the model learns to generate $K$ "prototypes" per class. These act as compact, representative anchors for the entire data manifold.
  • Manifold Graph: The model constructs a graph where nodes are image instances and the learned prototypes. A soft-attention mechanism learns the similarities (edges) between these nodes, allowing feature information to propagate and refine the representation of unlabeled images.

Novel Loss Functions

To ensure prototypes are effective, two novel losses are introduced: Anchor Loss, which encourages image features and prototypes of the same class to cluster around a central "anchor," and Divergence Loss, which prevents prototypes of the same class from collapsing into a single point. This diversity allows prototypes to capture the multi-modal nature of real-world data (e.g., different viewpoints or colors of an object).

Experimental Results

The model was evaluated on standard computer vision benchmarks: SVHN, CIFAR-10, and CIFAR-100. The authors specifically focused on performance in "low-label" regimes, testing scenarios with as few as 250 labels for the entire dataset.

Comparison of error rates on CIFAR-10 with varying numbers of labeled samples.

The Manifold Graph method achieved state-of-the-art error rates across the board. The most dramatic results appeared in the most difficult settings. On CIFAR-10 with only 250 labels, the Manifold Graph achieved an error rate of 19.93%, whereas the previous best-known method (VAT) sat at 36.03%. This represents a massive leap in efficiency, with an average relative error decrease of 41% in low-label regimes.

Conclusion

By jointly optimizing feature extraction, graph connectivity, and label propagation, the Manifold Graph framework effectively leverages the underlying data structure for semi-supervised learning. The synergy between learned prototypes and graph propagation allows the model to outperform existing standalone methods significantly. While currently constrained by mini-batch processing and requiring a warm-up phase, the method is orthogonal to ensemble techniques like Mean Teacher, suggesting potential for further performance gains through combination.

Summary updated

BibTeX
@misc{kuo2019manifold,
  author = {Chia-Wen Kuo and Chih-Yao Ma and Jia-Bin Huang and Zsolt Kira},
  title = {{Manifold Graph with Learned Prototypes for Semi-Supervised Image Classification}},
  year = {2019},
  eprint = {1906.05202},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.05202},
}
Figure