Robust Fisher Discriminant Analysis

Seung-Jean Kim, Alessandro Magnani, Stephen P. Boyd

Executive Summary

Standard Fisher Linear Discriminant Analysis (LDA) is a foundational classification technique, but it is notoriously sensitive to errors in estimating data means and covariances. This paper introduces a "Robust Fisher LDA" framework that explicitly accounts for data uncertainty. By optimizing for the worst-case scenario using convex optimization, this robust approach yields significantly better classification performance, particularly when training data is scarce.

The Problem: The Brittleness of Standard LDA

Fisher LDA is a classic tool for pattern classification. It operates by finding a linear projection that maximizes the "Fisher discriminant ratio"—essentially attempting to push the means of two classes as far apart as possible while keeping their internal variances small.

However, there is a significant practical catch: in real-world applications, the true means ($\mu$) and covariances ($\Sigma$) of the data are unknown and must be estimated from samples. If the training set is small or noisy, these estimates will be inaccurate. Standard LDA is "brittle" in this regard; a small error in the parameter estimates can lead to a discriminant that performs poorly on new, unseen data. The authors seek to move away from this fragile "nominal" approach toward a "robust" one that remains effective even when the underlying data parameters vary within a bounded range of uncertainty.

Methodology: A Worst-Case Optimization Framework

The authors frame the quest for robustness as a worst-case analysis. Instead of assuming fixed values for means and covariances, they assume these parameters belong to a convex uncertainty set ($\mathcal{U}$).

The key technical contributions include:

  1. Convex Formulation: The authors prove that finding the worst-case performance for a given discriminant can be formulated as a convex optimization problem.
  2. Minimax Theorem: They establish a nonconventional minimax theorem for the Rayleigh quotient. This allows them to demonstrate that the robust optimal discriminant ($w^*$) can be found by solving a specific convex problem: minimizing the maximum Fisher ratio over the defined uncertainty set.
  3. Product Form Uncertainty: For certain common uncertainty models (such as those using the Frobenius norm to bound covariance errors), the robust solution mathematically resembles a regularized version of standard LDA. Specifically, it involves adding a diagonal matrix to the estimated covariances, providing a theoretical link between robustness and regularization.
  4. Kernelization: The theory is extended to Robust Kernel Fisher Discriminant Analysis, enabling the method to find non-linear decision boundaries in high-dimensional feature spaces while preserving its robust properties.

Experimental Setup

The authors evaluated their approach using two classic benchmark problems from the UCI Machine Learning Repository:

  • Sonar Dataset: 208 observations with 60 features.
  • Ionosphere Dataset: 351 observations with 34 features.

A bootstrapping resampling technique was used to estimate the nominal parameters and define the boundaries of the uncertainty sets.

Core Insights

  • Robustness as Optimization: The critical insight of the paper is that the search for a robust classifier—which initially appears to be a complex game-theory problem—can be elegantly reduced to a tractable convex optimization problem.
  • The "Small Data" Advantage: Robustness is most valuable when data is limited. With massive datasets, estimates for $\mu$ and $\Sigma$ are highly accurate, making robust and nominal versions perform similarly. However, when the training set is small (e.g., only 20-30% of the total data), the robust version acts as a crucial safety net.
  • Connection to Regularization: The mathematics reveal that robustness to covariance uncertainty is functionally equivalent to Tikhonov regularization (adding a multiple of the identity matrix to the covariance). This offers a rigorous theoretical justification for why regularization helps machine learning models generalize better.

Key Results

The paper demonstrates the effectiveness of the robust approach through Test-Set Accuracy (TSA) evaluations across varying training set sizes ($\alpha$).

Test-Set Accuracy (TSA) comparison between robust and nominal LDA on Sonar and Ionosphere datasets.

As shown in the figure above:

  • Superior Performance at Small $\alpha$: For both the Sonar and Ionosphere datasets, the robust LDA consistently outperformed the nominal LDA when the training set size was small.
  • Convergence: As the training set size increased toward 80%, the performance gap between the robust and nominal methods narrowed, reflecting the increased reliability of the nominal parameter estimates.
  • Stability: The robust method exhibited lower variance in performance across different random partitions of the data (indicated by the tighter error bars), meaning its success is less dependent on the specific training samples chosen.

Limitations and Future Work

  • Computational Overhead: While the problem is convex and solvable in $O(n^3)$ time (the same complexity order as standard LDA), the constant factor is larger. Solving the robust version requires iterative convex optimization methods rather than a single, closed-form matrix inversion.
  • Uncertainty Set Selection: The model's performance heavily depends on the choice of the uncertainty set $\mathcal{U}$. While resampling techniques are suggested, finding the optimal way to size these sets for different types of data noise remains an open area for practical tuning.
  • Kernel Complexity: Although the theoretical framework for the "kernel trick" is provided, implementing robust kernel LDA on very large datasets may face the standard computational scaling challenges associated with kernel methods.

Summary updated

BibTeX
@inproceedings{kim2005robust,
  author = {Seung-Jean Kim and Alessandro Magnani and Stephen P. Boyd},
  title = {{Robust Fisher Discriminant Analysis}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2005},
}
Figure