Transductive Classification via Local Learning Regularization

Mingrui Wu, Bernhard Schölkopf

Abstract

Transductive classification (TC) aims to predict labels for a specific set of unlabeled data points using a small labeled set. Traditional methods often rely on graph Laplacian regularization, which assumes label smoothness across a graph. This paper introduces the Local Learning Regularizer (LL-Reg), which enforces that a point's label should be accurately predicted by a local model trained on its neighbors. Furthermore, we provide a closed-form solution for Leave-One-Out (LOO) cross-validation error, enabling efficient hyperparameter tuning. Experimental evaluations on 15 benchmark datasets show that LL-Reg significantly outperforms standard Laplacian-based approaches.

Introduction

In the transductive learning setting, the objective is to leverage both labeled and unlabeled data to predict the labels of the provided unlabeled set. Most existing algorithms utilize a quadratic objective function incorporating a graph Laplacian regularizer. This approach is based on the "cluster assumption," where neighboring points in a graph are expected to share similar labels. While effective, this pairwise smoothness constraint is often too simplistic to capture complex data structures.

We propose a more sophisticated regularization framework inspired by local learning. Instead of simple smoothing, we require the label assignments to be consistent with local predictive models. This transition from pairwise constraints to local functional constraints allows for capturing more intricate relationships within the data.

Methodology

Local Learning Regularizer (LL-Reg)

The core of our approach is the Local Learning Regularizer. For each data point $x_i$, we consider a local linear model (e.g., ridge regression) trained on its $k$-nearest neighbors. The regularization penalty is defined as the squared difference between the assigned label $y_i$ and the prediction $\hat{y}_i$ generated by the local model.

Because the local models are linear, the prediction $\hat{y}_i$ can be expressed as a linear combination of the labels of $x_i$'s neighbors. This allows the LL-Reg to be integrated into a global quadratic optimization problem, maintaining the computational elegance of traditional Laplacian methods while providing superior modeling power.

Efficient Model Selection

Model selection in transductive classification typically involves tuning hyperparameters, which can be computationally expensive. We derive a mathematical identity that allows for the computation of the exact Leave-One-Out (LOO) classification error in a single pass. This reduces the complexity of model selection from $O(l \times n^3)$ to $O(n^3)$, where $l$ is the number of labeled points and $n$ is the total number of points, making rigorous hyperparameter optimization feasible.

Experimental Results

The proposed LL-Reg was evaluated against three standard regularizers: Laplacian Regularization (Lap-Reg), Normalized Laplacian Regularization (NLap-Reg), and Locally Linear Embedding Regularization (LLE-Reg). The benchmarks included 15 datasets categorized into standard semi-supervised benchmarks and adapted classification benchmarks.

Comparison of classification error rates (%) across 15 benchmark datasets for different regularization methods.

As shown in the results table, LL-Reg achieves the lowest error rates on the majority of the datasets. Notably, on the g241c dataset, LL-Reg reduces the error from 39.00% (Lap-Reg) to 21.36%. Similarly, on the BCI dataset, the error drops from 47.60% to 31.15%. These results highlight the effectiveness of local learning models over simple pairwise smoothing.

The only dataset where LLE-Reg outperformed LL-Reg was Digit1. This is expected, as Digit1 is characterized by a low-dimensional manifold structure, which is the specific scenario LLE-Reg is designed to exploit.

Discussion and Conclusion

Our analysis reveals that standard Laplacian regularizers can be viewed as simple local learners (equivalent to a Nadaraya-Watson estimator). By upgrading these to more powerful supervised learners like ridge regression, LL-Reg captures more complex neighborhood relationships.

While the $O(n^3)$ complexity remains a challenge for very large datasets, the efficiency gains from our LOO error calculation significantly improve the practical utility of the algorithm. Future work may explore the use of non-linear local models, such as kernel ridge regression, to further enhance performance on complex datasets.

In conclusion, LL-Reg provides a robust and flexible framework for transductive classification, bridging the gap between local supervised learning and global graph-based regularization.

Summary updated

BibTeX
@article{wu2007transductive,
  author = {Mingrui Wu and Bernhard Schölkopf},
  title = {{Transductive Classification via Local Learning Regularization}},
  journal = {AISTATS},
  year = {2007},
}
Figure