Invariant Feature Extraction and Classification in Kernel Spaces

Sebastian Mika, Gunnar Rätsch, Jason Weston, Bernhard Schölkopf, Alexander J. Smola, Klaus-Robert Müller

Introduction

Traditional feature extraction methods, such as Principal Component Analysis (PCA) and Fisher’s Linear Discriminant, rely on linear transformations to separate data. They search for straight lines or flat planes to draw boundaries. However, real-world data frequently exhibits complex, nonlinear structures that these traditional methods struggle to capture.

While techniques like "Kernel PCA" were developed to uncover nonlinear patterns, they do not easily allow researchers to incorporate prior knowledge about the data. For instance, in handwritten digit classification, a slightly rotated "5" remains a "5." This paper introduces a framework for nonlinear feature extraction and classification by "kernelizing" the Rayleigh coefficient. By extending classical methods into high-dimensional feature spaces and incorporating prior knowledge about data invariances (such as rotation or translation), the authors develop the Kernel Fisher Discriminant (KFD)—a powerful classifier that frequently outperforms Support Vector Machines (SVMs) and AdaBoost.

Methodology: The Kernel Fisher Discriminant

The authors utilize the "Kernel Trick" to map data into a high-dimensional feature space where complex, nonlinear patterns become linearly separable. Their primary contribution is the mathematical formulation and application of the KFD.

Key technical components of their approach include:

  • Rayleigh Coefficient Maximization: The classification problem is reformulated to maximize the ratio of "between-class variance" to "within-class variance" in a high-dimensional space.
  • Regularization: Because matrices in high-dimensional spaces are often "ill-posed" (lacking enough data points to be mathematically stable), the authors add a regularization term ($\mu I$) to the within-class scatter matrix. This ensures numerical stability and prevents the model from overfitting.
  • Tangent Covariance for Invariances: To handle natural data variations, they incorporate a "tangent covariance matrix" into the noise estimate. This effectively trains the algorithm to ignore variations caused by specific, known transformations (e.g., rotation, translation, or scaling).
  • Sparsification: Recognizing that kernel methods can be computationally heavy, the authors suggest using $l_1$-regularization to ensure the final model relies only on a small, sparse subset of the training data.

Key Insights

A core conceptual breakthrough in this work is treating known transformations as a specific type of "noise." By including transformations like image rotation in the "within-class" variance calculations, the algorithm naturally learns to find features that remain invariant regardless of those changes.

Furthermore, the paper highlights a philosophical difference between KFD and SVMs. While SVMs focus on the minimal margin (the distance between the absolute closest points of two distinct classes), KFD focuses on the average margin (the distance between class centers relative to their overall spread). The authors demonstrate that optimizing for the average margin can sometimes lead to superior generalization on unseen data.

Evaluation and Results

The authors evaluated their approach rigorously across two main fronts:

  1. UCI/Statlog Benchmarks: Across 13 standard datasets (including Breast Cancer, Diabetes, Heart, Image, and Waveform), KFD achieved the lowest error rate on 7 of them. It successfully outperformed RBF-networks, AdaBoost, and SVMs in several categories.
  2. USPS Handwritten Digits: This dataset—comprising 7,291 training and 2,007 test patterns of 256-dimensional grayscale images—was used to test the algorithm's invariance capabilities. A standard KFD achieved a 3.7% error rate. However, by incorporating "tangent distance" to bake in prior knowledge about rotation and translation, the error was reduced to 3.1%, making it highly competitive with the best-performing SVMs of the era.

Crucially, the regularization technique proved essential across these tests; without it, the KFD frequently failed due to the mathematical ill-posedness of the high-dimensional space.

Limitations and Future Work

Despite its strong performance, the authors acknowledge several limitations:

  • Computational Complexity: KFD is currently more computationally expensive than standard SVMs. It requires solving an eigenproblem that scales proportionally with the number of training samples, making it difficult to apply to datasets with millions of records.
  • Sparsity: Unlike SVMs, which naturally discard most data points and keep only the critical "support vectors," the basic KFD uses every single training point in its final calculation. While $l_1$ sparsification methods are proposed, native sparsity remains an area for optimization.
  • Local Kernels: The authors suggest that future iterations could benefit from "local kernels"—kernels that adapt depending on their location in the data space—to further improve results for highly complex tasks like digit recognition.

Summary updated

BibTeX
@inproceedings{mika1999invariant,
  author = {Sebastian Mika and Gunnar Rätsch and Jason Weston and Bernhard Schölkopf and Alexander J. Smola and Klaus-Robert Müller},
  title = {{Invariant Feature Extraction and Classification in Kernel Spaces}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {1999},
}
Figure