Introduction
Semi-supervised learning (SSL) aims to leverage large pools of unlabeled data alongside limited labeled samples to enhance classifier performance. However, SSL is often a "high-risk, high-reward" strategy. Most traditional methods rely on strong assumptions, such as the cluster or manifold assumptions. If these assumptions do not hold, adding unlabeled data can lead to performance degradation, where the semi-supervised model performs worse than a purely supervised one.
This paper, presented at ECML PKDD 2010, introduces a robust alternative for the Nearest Mean Classifier (NMC). By enforcing basic geometric constraints rather than relying on complex distributional assumptions, the proposed "constrained" NMC offers a "safe" approach to SSL that reduces estimation variance without the typical risks of degradation.
The Constrained NMC Approach
The Nearest Mean Classifier (NMC) typically estimates class means ($m_1, m_2$) using only labeled data. The core innovation of this work is Constrained Parameter Estimation. It utilizes a fundamental geometric property: the weighted sum of class means must equal the global mean ($\mu$) of the entire dataset:
$$ \mu = \pi_1 m_1 + \pi_2 m_2 $$
where $\pi_i$ represents the class priors. The algorithm proceeds in three steps:
- Global Mean Estimation: Calculate the global mean ($m_t$) using all available data (labeled and unlabeled). This estimate is highly stable due to the large sample size.
- Initial Class Estimation: Calculate initial class means ($m_i$) using only the small labeled set.
- Constraint Enforcement: Shift the initial class means so their weighted average aligns exactly with the stable global mean $m_t$.
This shift incorporates unlabeled data as a geometric anchor, refining the decision boundary and significantly reducing the variance of the estimates.
Experimental Evaluation
The method was evaluated using artificial datasets designed to test robustness, as well as standard benchmarks and real-world data from the UCI repository.
Artificial Scenarios
Three artificial datasets were used: a 1D case, a 2D correlated case, and a 2D "Trickster" case. The "Trickster" dataset is particularly notable as it is designed to mislead "self-learning" algorithms—a common SSL technique where a model iteratively labels its own data.
As shown in the figures above, while self-learning often fails (especially in the "trickster" scenario), the constrained NMC remains stable and consistently improves upon the supervised baseline as more unlabeled data is added.
Benchmark and Real-World Results
The approach was further validated on the Text and SecStr datasets, as well as several UCI datasets (e.g., wdbc, spect, sonar).
The results indicate that the constrained NMC consistently matches or outperforms standard NMC, particularly when labeled data is scarce.
Key Findings and Discussion
- Variance Reduction: The primary benefit of this method is the dramatic reduction in the variance of mean estimates. In 1D scenarios with equal priors, the global mean effectively defines the decision boundary, requiring only minimal labeled data to determine class orientation.
- Robustness: Unlike self-learning, which can "spiral out of control" by reinforcing its own errors, the constrained approach uses unlabeled data as a fixed geometric reference. This prevents the performance degradation often seen when SSL assumptions are violated.
- Limitations: The current implementation is specific to the NMC. While the principle of constrained estimation could theoretically apply to Linear Discriminant Analysis (LDA) or Parzen classifiers, extending it to high-parameter models like SVMs or Deep Neural Networks remains a challenge for future research.
Conclusion
The constrained parameter estimation for NMC provides a simple, effective, and safe framework for semi-supervised learning. By focusing on geometric stability rather than complex data assumptions, it offers a reliable tool for high-dimensional, small-sample problems where traditional SSL methods might fail.
Summary updated