NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Unequal Covariance Awareness for Fisher Discriminant Analysis and Its Variants in Classification

Thu Nguyen, Quang M. Le, Son N. T. Tu, Binh T. Nguyen

Abstract

Fisher Discriminant Analysis (FDA) is a cornerstone of classical machine learning, yet it relies on the often-violated assumption that all data classes share a common covariance matrix. This paper introduces a computationally efficient modification termed "Unequal Covariance Awareness." By incorporating class-specific variances into the classification rule, the authors develop "Unequal Covariance" (UC) variants of FDA that significantly improve classification accuracy while avoiding the overfitting and computational complexity associated with Quadratic Discriminant Analysis (QDA).

Introduction

Fisher Discriminant Analysis (FDA) is widely utilized for both dimensionality reduction and classification. Its primary objective is to find a projection that maximizes the ratio of between-class variance to within-class variance. However, the standard classification rule applied after this projection assumes homoscedasticity—that every group of data points possesses the same "spread" or "shape" in the feature space. In practical applications, this assumption is rarely met; classes often exhibit distinct distributions, ranging from tight clusters to dispersed clouds. When the equal covariance assumption fails, the standard FDA rule—assigning points to the nearest class mean—leads to suboptimal decision boundaries and increased misclassification.

The Limitations of Existing Approaches

To address unequal covariances, researchers often turn to Quadratic Discriminant Analysis (QDA). While QDA relaxes the homoscedasticity assumption, it requires the estimation of a massive number of parameters for each class's covariance matrix. In high-dimensional settings, this leads to the "curse of dimensionality," where the model becomes prone to overfitting and computationally prohibitive. There is a clear need for a "Goldilocks" solution: a method more flexible than standard FDA but more robust and efficient than QDA.

Methodology: Unequal Covariance Awareness

The authors propose a "plug-and-play" modification to the FDA classification rule. Rather than calculating the simple squared distance between a projected point and a class mean, the Unequal Covariance (UC) rule divides that distance by the sample variance of that specific class within the projected space.

Key Theoretical Contributions

  1. Implicit Complexity (Theorem 1): The authors prove that by utilizing 1D variances in the projected space, the model implicitly captures information from the full, high-dimensional class covariance matrices. This allows the model to benefit from quadratic-like modeling without the need to explicitly calculate or invert large matrices.
  2. Parameter Efficiency: The UC modification only adds $r \times G$ parameters (where $r$ is the number of projections and $G$ is the number of classes). This is a negligible fraction of the parameters required for QDA, making it highly suitable for high-dimensional data.
  3. Versatility: The modification is applied to the classification rule rather than the projection step. Consequently, it can be integrated into various FDA extensions. The paper demonstrates this through UC-FDA, UC-SDA (Shrinkage), and UC-LDA-Lp (Robust).

Experimental Evaluation

The researchers evaluated the UC framework using 10 diverse datasets from the UCI Machine Learning Repository, covering medical, biological, and general classification tasks (e.g., Heart, Breast tissue, Seeds, Iris, Wine, Car, Balance, Digits, CNAE-9, and Glass). The data was scaled to a [0, 1] range, and performance was measured using 5-fold cross-validation.

Statistical Validation

To confirm the necessity of the UC approach, the authors performed Box-M and Levene tests on the datasets. In every instance, the "equal covariance" assumption was statistically rejected, highlighting a fundamental mismatch between traditional FDA and real-world data structures.

Key Results and Insights

The UC-enhanced algorithms consistently outperformed their traditional counterparts across various metrics:

  • Significant Accuracy Gains: On the Balance dataset, the error rate was reduced from 0.256 (standard FDA) to 0.084 (UC-FDA).
  • Robustness in High Dimensions: On the Digits dataset (64 features), UC-FDA achieved a 5.1% error rate, significantly outperforming QDA’s 12.2%. This suggests that the simplified UC model generalizes far better than the complex QDA model when features are numerous.
  • Consistency Across Variants: In the Heart dataset, UC-SDA and UC-LDA-Lp reduced error rates by 9.7% and 6.5% respectively compared to their standard versions.

Conclusion

The "Unequal Covariance Awareness" framework provides a powerful yet simple correction for a long-standing weakness in Fisher Discriminant Analysis. By accounting for variance after the projection step, the method captures essential class-shape differences at a minimal computational cost. While the authors note that extremely small sample sizes may still pose challenges for variance estimation, the UC approach represents a significant step forward in making classical discriminant analysis more resilient for modern, heterogeneous datasets. Future work may involve extending this logic to other models, such as Normal Linear Discriminant Analysis.

Summary updated

BibTeX
@inproceedings{nguyen2022unequal,
  author = {Thu Nguyen and Quang M. Le and Son N. T. Tu and Binh T. Nguyen},
  title = {{Unequal Covariance Awareness for Fisher Discriminant Analysis and Its Variants in Classification}},
  booktitle = {IJCNN},
  year = {2022},
  url = {https://openreview.net/forum?id=cCPB-rewlsk},
}
Figure