Sparse Feature Selection in Kernel Discriminant Analysis via Optimal Scoring

Alex Lapanowski, Irina Gaynanova · DOI

Abstract

We consider the two-group classification problem and propose a kernel classifier based on the optimal scoring framework. Unlike previous approaches, we provide theoretical guarantees on the expected risk consistency of the method. We also allow for feature selection by imposing structured sparsity using weighted kernels. We propose fully-automated methods for selection of all tuning parameters, and in particular adapt kernel shrinkage ideas for ridge parameter selection. Numerical studies demonstrate the superior classification performance of the proposed approach compared to existing nonparametric classifiers.

Introduction

Linear Discriminant Analysis (LDA) has long been a cornerstone of statistical classification. However, LDA faces two significant challenges in modern data environments: it assumes linear decision boundaries and is highly sensitive to "noise" features that do not contribute to class separation. While Kernel LDA (KLDA) was developed to address non-linearity by mapping data into high-dimensional Reproducing Kernel Hilbert Spaces (RKHS), it often lacks theoretical risk consistency—proof that the model converges to the optimal solution as data increases. Furthermore, standard kernel methods are typically "all-in," utilizing every available feature and making them prone to overfitting in high-dimensional settings.

This paper introduces Sparse Kernel Optimal Scoring (Sparse KOS), a framework that bridges the gap between non-linear flexibility and interpretable feature selection. By reformulating Kernel Discriminant Analysis through an optimal scoring lens, we provide a model that is mathematically grounded, sparse, and robust to noise.

The Optimal Scoring Framework

The core of the Sparse KOS approach lies in the Optimal Scoring framework. This technique transforms a qualitative classification problem into a multi-response regression problem. By doing so, the authors can leverage the well-understood tools of regression analysis—such as regularization and shrinkage—within a classification context.

Kernelization and Weighted Sparsity

To handle non-linear boundaries, the data is mapped into an RKHS. To introduce feature selection, the authors utilize weighted kernels. In this setup, each feature $x_j$ is multiplied by a weight $w_j$. The kernel function effectively becomes $k(wx, wx')$. By applying an $\ell_1$ (Lasso-style) penalty to these weights, the model can perform feature selection directly within the kernel. This allows the model to "turn off" irrelevant features by setting their weights to zero, effectively acting as a volume knob for feature importance.

Optimization via Linearization

Optimizing weights inside a kernel function is notoriously difficult because the weights are embedded within a non-linear mapping, resulting in a non-convex objective function. Sparse KOS solves this by using an iterative algorithm that alternates between solving for classification coefficients and updating feature weights. The authors employ a first-order Taylor approximation to linearize the kernel matrix, allowing for efficient weight updates via coordinate descent.

Automated Parameter Selection: The Stabilization Method

A critical challenge in kernel methods is selecting the "ridge" parameter, which prevents the model from overfitting or becoming numerically unstable. Traditionally, this is done via Generalized Cross-Validation (GCV). However, the authors find that GCV often selects parameters that are too small, leading to high error rates in the presence of noise.

As an alternative, the paper proposes a Stabilization Method. This approach shrinks the kernel matrix toward a target matrix based on its own structure. This fully automated method proves more robust than GCV, particularly in noisy datasets, ensuring more stable and accurate classification.

Experimental Results

Simulation Studies

The authors tested Sparse KOS against Random Forests, Support Vector Machines (SVMs), and Neural Networks across several complex scenarios. In simulations where only a small subset of features (e.g., 2 out of 4) determined class membership, Sparse KOS achieved significantly lower misclassification rates. Its ability to ignore noise features gave it a distinct advantage over standard KOS and other non-parametric classifiers.

Real-World Benchmarks

The model was further validated using UCI benchmark datasets:

  • Climate Model Failure: Sparse KOS achieved a mean misclassification error of 4.9%, the lowest among tested models.
  • Credit Card Default: On a dataset of 3,000 samples, the model achieved an 18.2% error rate. Crucially, it identified "repayment status" as the most critical predictive feature, demonstrating the model's interpretability.
  • Blood Donation: The model successfully navigated the four-feature dataset to provide competitive predictive accuracy.

Conclusion and Future Work

Sparse KOS provides a powerful new tool for non-linear classification that does not sacrifice interpretability or theoretical rigor. By providing guarantees on expected risk consistency and introducing a robust stabilization method for parameter tuning, the authors have addressed several long-standing gaps in kernel-based discriminant analysis.

The primary limitation of the current approach is computational scaling, as the $n \times n$ kernel matrix becomes prohibitive for very large datasets. Future research will explore low-dimensional approximations, such as Nyström methods or random features, to bring the benefits of Sparse KOS to "Big Data" applications.

Summary updated

BibTeX
@inproceedings{lapanowski2019sparse,
  author = {Alex Lapanowski and Irina Gaynanova},
  title = {{Sparse Feature Selection in Kernel Discriminant Analysis via Optimal Scoring}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2019},
  url = {https://openreview.net/forum?id=noSlEulUNFU},
}
Figure