Optimistic Semi-supervised Least Squares Classification

Jesse H. Krijthe, Marco Loog

Introduction

Semi-supervised learning (SSL) leverages small amounts of labeled data alongside vast quantities of unlabeled data to improve classification performance. A classic, intuitive approach is self-learning: a model is trained on labeled data, predicts labels for unlabeled data, and is then retrained on the combined set. While historically viewed as a heuristic, this paper provides a mathematical foundation for self-learning within the framework of Least Squares Classification, demonstrating that "soft-labeling" unlabeled data is significantly more robust than traditional "hard-labeling."

Methodology: Soft vs. Hard Labeling

The authors formalize self-learning as the minimization of objective functions using Block Coordinate Descent (BCD). They compare two "optimistic" formulations—so-called because they assume the unlabeled data belongs to the "best-case" class that minimizes the loss:

  1. Soft-Label (Label Based): Imputed labels for unlabeled data are continuous values in the interval $[0, 1]$. This approach draws inspiration from 1930s statistical techniques for handling missing data in regression.
  2. Hard-Label (Responsibility Based): The algorithm is forced to make binary (0 or 1) assignments for each unlabeled example during the optimization process.

The Optimization Landscape

A critical finding of this research is the difference in the optimization landscapes between these two methods. Both objective functions are non-convex, meaning they contain multiple local minima. However, the soft-label version is significantly better behaved.

Comparison of optimization landscapes for soft and hard labeling showing the convergence paths to local minima.

As illustrated in the figure above, the soft-label approach (left) tends to converge toward a single, stable optimum regardless of the starting point. In contrast, the hard-label approach (right) is prone to getting trapped in numerous poor local minima, which explains why traditional self-learning can be "fickle" and sometimes degrade performance when unlabeled data is introduced.

Experimental Results

The researchers evaluated these methods across 16 benchmark datasets, including medical diagnosis (WDBC, Diabetes) and image recognition (USPS, Digit1) tasks. The experiments compared the performance of supervised learning (using only labeled data) against the soft and hard optimistic SSL variants.

Accuracy performance across 16 benchmark datasets comparing supervised, soft-label, and hard-label approaches.

The results consistently demonstrate that the soft-label variant outperforms the hard-label variant across nearly all benchmarks. While hard-labeling often "wanders away" from the supervised solution toward inferior results, soft-labeling remains stable and generally improves accuracy as more unlabeled data is added.

Conclusion

By revisiting self-learning through the lens of Least Squares Classification, this paper demonstrates that "optimism" in SSL is highly effective when paired with soft labeling. The resulting smooth optimization landscape avoids the pitfalls of local minima that traditionally hindered self-learning methods. Future work may explore whether these benefits extend to more complex architectures, such as deep neural networks, and provide a formal proof of the observed objective function smoothness.

Summary updated

BibTeX
@inproceedings{krijthe2016optimistic,
  author = {Jesse H. Krijthe and Marco Loog},
  title = {{Optimistic Semi-supervised Least Squares Classification}},
  booktitle = {ICPR},
  year = {2016},
  url = {https://openreview.net/forum?id=qvsnbeGyqR},
}
Figure