Random Matrix Analysis to Balance between Supervised and Unsupervised Learning under the Low Density Separation Assumption

Vasilii Feofanov, Malik Tiomoko, Aladin Virmaux

Abstract

Semi-supervised learning (SSL) seeks to improve classification performance by leveraging large amounts of unlabeled data alongside a small set of labeled samples. A prominent strategy in SSL is the Low Density Separation (LDS) assumption, which posits that the optimal decision boundary should reside in regions where the data density is low. This paper introduces QLDS (Quadratic Low Density Separation), a unified framework that implements the LDS assumption via quadratic margin maximization. By applying Random Matrix Theory (RMT) to the high-dimensional regime—where the number of features and samples are both large—the authors derive a closed-form asymptotic expression for classification error. This theoretical breakthrough allows for near-instantaneous hyperparameter tuning that is more robust and computationally efficient than traditional cross-validation, especially in label-scarce environments.

Introduction

In modern machine learning, the cost of data labeling often creates a bottleneck, whereas unlabeled data is frequently abundant. Semi-supervised learning addresses this by utilizing the underlying structure of the unlabeled data to inform the classification boundary. The Low Density Separation (LDS) assumption is a cornerstone of this approach, suggesting that clusters of data points belonging to the same class are separated by sparse regions.

Despite the success of LDS-based methods like Transductive SVMs, practitioners face two significant challenges: determining the optimal balance between supervised and unsupervised components and understanding the theoretical behavior of these models as data dimensionality increases. Traditionally, balancing these components requires cross-validation, which is computationally expensive and prone to instability when labeled data is limited. This paper addresses these hurdles by providing a rigorous theoretical analysis of the QLDS framework using Random Matrix Theory.

The QLDS Framework

QLDS is a linear classification model designed to bridge the gap between supervised and unsupervised learning. It functions as a "smooth bridge" between several established methodologies. Depending on the weighting of its components, QLDS can recover:

  • Least-Square SVM: When the model is fully supervised.
  • Spectral Clustering: When the model is fully unsupervised.
  • Graph-based SSL: When both components are integrated.

Theoretical Analysis via Random Matrix Theory

The core innovation of this work lies in its analysis within the "high-dimensional regime," where the feature dimension $d$ and the number of samples $n$ are both large and comparable ($d, n \to \infty$). In this regime, the authors utilize the "concentration of measure" phenomenon. This principle suggests that complex, high-dimensional data often behaves like a Gaussian distribution when projected, allowing the classification problem to be reduced to two sufficient statistics: a mean and a variance.

Using RMT, the authors derive a precise, closed-form formula for the asymptotic classification error. This formula enables a "theoretical hyperparameter selector" (QLDS(th)). Instead of the iterative process required by cross-validation, QLDS(th) predicts the optimal weights for supervised and unsupervised terms by solving a set of fixed-point equations based on basic data statistics.

Empirical Validation

The authors evaluated QLDS across synthetic Gaussian mixture models and several diverse real-world datasets, including Amazon Reviews (400-dimensional text vectors), the Adult census dataset, Mushroom classification, and MNIST handwritten digits.

Key Findings

  1. Theoretical Accuracy: Empirical error rates on real-world data, such as the Amazon Reviews dataset, closely matched the theoretical curves predicted by the RMT formulas.
  2. Superior Tuning: The theoretical selector consistently matched or outperformed 10-fold cross-validation (QLDS(cv)). In scenarios with very few labels (e.g., 10–20 samples), where cross-validation often becomes biased or unstable, the RMT-based approach remained robust.
  3. Computational Efficiency: Traditional cross-validation scales at $O(TKn^3)$, where $T$ is the number of hyperparameter combinations and $K$ is the number of folds. In contrast, the RMT approach scales at $O(n^3 + KT)$, providing orders-of-magnitude speedups as dimensionality increases.
  4. Phase Diagrams: The analysis revealed that SSL provides the most significant gains when labeled data is scarce and the task is inherently difficult. If a task is sufficiently easy, the supervised labels alone are typically adequate for high performance.

Discussion and Future Work

While QLDS provides a powerful framework for linear classification, several avenues for future research remain. The current RMT analysis is tailored for linear decision boundaries; extending this to kernel-based (non-linear) models presents a significant theoretical challenge due to the complexity of kernel matrix spectra. Additionally, the current work focuses on binary classification. Generalizing the "sufficient statistics" approach to multi-class problems is a logical next step.

Finally, the authors suggest that the QLDS framework could be adapted for Unsupervised Domain Adaptation. In such scenarios, labels from a source domain could be balanced against the unlabeled structure of a target domain, using RMT to find the optimal equilibrium for generalization.

Summary updated

BibTeX
@inproceedings{feofanov2023random,
  author = {Vasilii Feofanov and Malik Tiomoko and Aladin Virmaux},
  title = {{Random Matrix Analysis to Balance between Supervised and Unsupervised Learning under the Low Density Separation Assumption}},
  booktitle = {International Conference on Machine Learning},
  year = {2023},
  url = {https://openreview.net/forum?id=vlGOVmL8uI},
}
Figure