Efficient and Robust Feature Extraction by Maximum Margin Criterion

Haifeng Li, Tao Jiang, Keshu Zhang

Introduction

In statistical pattern recognition, high-dimensional data—like a 4096-pixel facial image—must often be reduced to a smaller, more manageable vector while preserving the distinct features that separate different classes. For years, the gold standard for this dimensionality reduction has been Linear Discriminant Analysis (LDA). LDA works by maximizing the Fisher criterion: the ratio of between-class scatter ($S_b$) to within-class scatter ($S_w$).

However, LDA harbors a fatal mathematical flaw for modern applications: it requires calculating the inverse of the $S_w$ matrix.

The "Small Sample Size" Problem

In many real-world scenarios, such as facial recognition, the number of available training samples ($n$) is significantly smaller than the number of dimensions ($D$). When $n < D$, the within-class scatter matrix $S_w$ becomes singular (non-invertible). This is known as the "small sample size problem."

To bypass this, researchers typically use workarounds like applying Principal Component Analysis (PCA) before LDA to reduce dimensions and make $S_w$ invertible. Unfortunately, this two-stage "LDA+PCA" approach often discards crucial discriminative information by operating only in the null space of the scatter matrix, effectively throwing the baby out with the bathwater.

The Maximum Margin Criterion (MMC)

To solve this, the authors introduce the Maximum Margin Criterion (MMC). Instead of maximizing a ratio of scatters, MMC maximizes the difference between the between-class scatter and the within-class scatter:

$$J = tr(S_b - S_w)$$

This seemingly simple shift from a ratio to a difference is mathematically profound. It completely eliminates the need to calculate a matrix inverse, bypassing the small sample size problem entirely.

Key Technical Advantages: * Stability through Subtraction: By using a difference, the algorithm remains stable even when the sample size is tiny relative to the dimensionality. * Preserving Discriminative Features: MMC maximizes scatter in the original input space rather than a reduced PCA space, avoiding the "null space" trap and preserving more useful features. * Kernelization (KMMC): The authors also extended MMC using the "kernel trick" to handle non-linear data. KMMC operates in a high-dimensional feature space without explicitly calculating coordinates, making it highly effective for complex classification tasks.

Experimental Results

The researchers evaluated MMC against traditional methods using the ORL face dataset, which consists of 400 images (40 subjects, 10 images each) featuring variations in lighting, expressions, and facial details.

Accuracy and Speed

MMC consistently outperformed the traditional LDA+PCA approach. Because MMC avoids complex matrix inversions and two-stage procedures, it is significantly lighter on computational resources.

Comparison of error rate and training time across methods.

As shown above, the linear MMC feature extractor was approximately 4 times faster than the LDA+PCA method during training. Furthermore, the kernelized version (KMMC) provided a significant accuracy boost over the linear version as the number of classes increased.

Robustness Under Stress

The true strength of MMC shines in edge cases. In scenarios where the number of samples minus the number of classes ($n - c$) was close to the dimensionality $D$—a known "stress test" for LDA—the traditional methods failed dramatically.

Error rates under stress test conditions.

Under these conditions, the performance of LDA+PCA plummeted, sometimes yielding error rates worse than random guessing. In stark contrast, both MMC and KMMC remained stable and accurate, proving their robustness in challenging, low-sample environments.

Limitations and Future Work

While MMC offers a powerful alternative to LDA, the authors note a few areas for future refinement:

  • Simplified Variance: MMC uses the "overall variance" (the trace of the scatter matrix) to measure spread. This simplification ignores the full covariance structure of the data, which could be a limitation for datasets with highly complex geometric distributions.
  • Parameter Selection: For KMMC, choosing the optimal kernel parameter (e.g., $\gamma$ in a Gaussian kernel) remains a heuristic process. More theoretical guidelines for hyperparameter tuning are needed.
  • Scaling to Big Data: While highly efficient on the ORL dataset, the paper does not deeply explore how KMMC scales to scenarios with millions of samples, where the size of the kernel matrix could become a computational bottleneck.

Summary updated

BibTeX
@inproceedings{li2003efficient,
  author = {Haifeng Li and Tao Jiang and Keshu Zhang},
  title = {{Efficient and Robust Feature Extraction by Maximum Margin Criterion}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2003},
}
Figure