Abstract
Hyperparameter selection is a critical yet computationally expensive step in semi-supervised learning (SSL) frameworks such as Laplacian Regularized Least Squares (LapRLS) and Laplacian Support Vector Machines (LapSVM). Traditional $t$-fold cross-validation (CV) requires training the model $t$ times for every hyperparameter candidate, creating a significant bottleneck. This paper introduces an efficient approximation method based on the Bouligand Influence Function (BIF). By training the model only once on the full dataset, the proposed $t$-BIF method estimates the CV error with high precision. Empirical evaluations across 18 datasets show that $t$-BIF is statistically equivalent to traditional CV in terms of accuracy while providing up to a 40x speedup in computation time.
Introduction
In semi-supervised learning, models leverage a small set of labeled data alongside a larger pool of unlabeled data. Manifold regularization is a prominent technique in this domain, but its effectiveness relies heavily on the precise tuning of hyperparameters, such as kernel width and regularization weights. The standard approach for model selection is $t$-fold cross-validation. However, for large-scale SSL problems, the requirement to re-train the model $t$ times for each parameter set is often prohibitively slow. This research addresses the need for a faster validation mechanism that does not compromise the quality of the selected model.
Methodology
The authors propose $t$-BIF, a method that leverages robust statistics to approximate cross-validation error. The approach is built on several key technical pillars:
- Bouligand Influence Function (BIF): The BIF quantifies how a model's output is affected by small perturbations in the data distribution. The authors frame the removal of a data fold in CV as a specific distributional shift.
- First-Order Approximation: Using a Taylor expansion of the BIF, the method estimates the model's state as if it had been trained on $t-1$ folds, bypassing the actual training process.
- Differentiable Loss Functions: To satisfy the differentiability requirements of the BIF, the authors employ a Huber loss approximation for the non-differentiable hinge loss typically found in LapSVM.
- Scalability via Nyström Method: To manage the computational cost of matrix inversions within the BIF calculation, the Nyström method is used for low-rank matrix approximation, ensuring the efficiency of the overall process.
Experimental Evaluation
The method was tested on 18 publicly available datasets from the LIBSVM repository, including 11 classification tasks (e.g., a1a, madelon, w1a) and 7 regression tasks (e.g., abalone, housing, mpg). Experiments utilized a 70/30 train-test split, with only 10% of the training data labeled to reflect a typical semi-supervised scenario.
Key Results
Accuracy and Statistical Equivalence
The primary concern with any approximation is the loss of accuracy. However, the results indicate that $t$-BIF is remarkably robust. Across all tested datasets, the test errors produced by models selected via $t$-BIF were statistically indistinguishable from those selected via traditional $t$-CV.
Computational Efficiency
The most striking advantage of the $t$-BIF method is its speed. By avoiding the $t$-fold training cycle, the method achieves dramatic reductions in CPU time. For larger datasets like a3a or w2a, the 20-BIF approach was nearly 40 times faster than standard 20-fold CV.
Conclusion and Future Work
The $t$-BIF method demonstrates that the information required to estimate validation error is largely contained within the model trained on the full dataset. This approach makes hyperparameter tuning feasible for large-scale SSL problems where traditional CV would be impractical.
While currently focused on square loss and hinge loss, future work could extend this framework to other SSL algorithms, such as Laplacian logistic regression. Additionally, while the first-order Taylor approximation proved highly effective in these experiments, further investigation into its performance on highly non-smooth manifolds or in cases of extreme model variance is warranted.
Summary updated