An improved training algorithm for kernel Fisher discriminants

Sebastian Mika, Alexander J. Smola, Bernhard Schölkopf

Abstract

Kernel Fisher Discriminant (KFD) analysis is a powerful nonlinear classification technique that offers a probabilistic interpretation of its outputs. However, its high computational complexity of $O(\ell^3)$ has traditionally limited its application to large-scale datasets. This paper presents a sparse greedy training algorithm that reduces the complexity to approximately $O(\ell^{1.5})$. By iteratively building a solution from a subset of training points, the proposed method achieves performance comparable to standard KFD and Support Vector Machines (SVMs) while being significantly faster and more memory-efficient.

Introduction

The Kernel Fisher Discriminant (KFD) utilizes the "kernel trick" to map data into a high-dimensional feature space where classes are linearly separable. A key advantage of KFD over Support Vector Machines (SVMs) is that its projected data distributions often approximate Gaussians, facilitating the estimation of class-conditional probabilities via Bayes' theorem. Despite this, KFD lacks the inherent sparsity of SVMs, leading to a "scalability wall" where training time scales cubically with the number of samples ($\ell$). This work addresses this limitation through a sparse greedy approximation framework.

Methods

The authors reformulate the KFD problem as a convex quadratic optimization task and employ a greedy strategy to select a subset of $m$ training samples to represent the solution. The algorithm begins with an empty set and iteratively adds the sample that most improves the objective function. To maintain computational efficiency, a probabilistic subsampling technique (the "Power of 59") is used to find near-optimal candidates without exhaustive search. Furthermore, the Sherman-Woodbury formula allows for efficient rank-one updates of the matrix inverse in $O(m^2)$ time. Regularization is applied to ensure numerical stability in high-dimensional spaces.

Results

The algorithm was evaluated on the USPS handwritten digit dataset. As illustrated in Figure 1, the greedy approach significantly outperforms standard quadratic programming solvers as the number of samples increases, reducing the empirical scaling to roughly $O(\ell^{1.5})$. For 3,000 patterns, the new algorithm was more than ten times faster than standard solvers.

CPU time scaling for the greedy KFD algorithm compared to standard solvers.

In terms of accuracy, the sparse greedy KFD achieved a test error of 3.8% on the USPS dataset using fewer than 500 coefficients. This is nearly identical to the 3.7% achieved by the full KFD model which required 3,000 coefficients. Figure 2 details how the test error varies with the selection tolerance, showing that the greedy approximation effectively converges to high-accuracy solutions as the tolerance is tightened.

Test error rates on the USPS dataset for different tolerance levels and thresholding methods.

Conclusion

By introducing a sparse greedy approximation, this work overcomes the cubic scaling bottleneck of Kernel Fisher Discriminants. The resulting algorithm is competitive with SVMs in terms of accuracy while providing the additional benefit of probabilistic outputs, making KFD a viable tool for large-scale machine learning applications.

Summary updated

BibTeX
@inproceedings{mika2001improved,
  author = {Sebastian Mika and Alexander J. Smola and Bernhard Schölkopf},
  title = {{An improved training algorithm for kernel Fisher discriminants}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2001},
}
Figure