Abstract
Linear Discriminant Analysis (LDA) is a fundamental technique for supervised dimensionality reduction but is limited by its focus on average class separation and its reliance on Gaussian assumptions. Worst-Case LDA (WLDA) addresses these issues by optimizing for the most difficult class pairs, yet it remains computationally prohibitive for large-scale applications. This paper introduces SD-WLDA, a novel framework that reformulates the non-convex WLDA problem into a sequence of convex semidefinite feasibility problems. By leveraging dual optimization and quasi-Newton methods, SD-WLDA achieves orders-of-magnitude speedups and superior robustness compared to traditional LDA and existing WLDA solvers.
Introduction
Dimensionality reduction is critical for high-dimensional data analysis. While LDA is widely used, it possesses three significant drawbacks:
- The "Class Separation" Problem: By maximizing average distances, LDA may merge classes that are close together if they are outweighed by well-separated classes.
- Distributional Assumptions: LDA assumes normally distributed data, which is often violated in practice.
- Dimensionality Constraints: LDA is restricted to projecting data into at most $c-1$ dimensions for $c$ classes.
Worst-Case LDA (WLDA) was proposed to mitigate these issues by maximizing the minimum distance between class means and minimizing the maximum within-class variance. However, WLDA is non-convex and computationally intensive, typically requiring interior-point methods that scale poorly ($O(m^3)$).
Methodology: Scalable SD-WLDA
The authors propose SD-WLDA, a framework designed to make WLDA computationally feasible:
- Bisection Search: The WLDA ratio is reformulated using an auxiliary variable $\delta$. A bisection search on $\delta$ converts the non-convex problem into a sequence of convex Semidefinite Feasibility Problems (SDFP).
- Dual Optimization: Instead of solving the primal problem, the authors solve its Lagrangian dual. The dual objective is differentiable, enabling the use of the L-BFGS-B quasi-Newton method.
- Complexity Reduction: The primary bottleneck is reduced to an eigen-decomposition at each iteration. This shifts the complexity from $O(m^3 + md^3 + m^2d^2)$ to $O(d^3)$, where $d$ is the feature dimension.
Experimental Evaluation
The method was evaluated on diverse benchmarks, including UCI datasets (Sonar, Ionosphere), face recognition (Yale, PIE), object recognition (Coil20), and character recognition (Binary Alphadigits).
Key Results and Discussion
Robustness to Small Training Sets
A key advantage of SD-WLDA is its performance when training data is scarce. As shown in Figure 1, SD-WLDA maintains lower test error rates compared to standard LDA as the percentage of training samples ($\alpha$) decreases. This suggests that the "worst-case" logic provides a more stable projection in low-data regimes.
Computational Efficiency and Scalability
SD-WLDA demonstrates significant speed improvements over existing WLDA solvers. On the Waveform dataset, it was 12 times faster than previous SDP-based WLDA methods and 300 times faster than standard interior-point solvers. Figure 2 illustrates how SD-WLDA scales gracefully with both the number of classes and the input dimensions compared to competing SDP and SOCP formulations.
Classification Accuracy
Across nearly all tested datasets, SD-WLDA consistently outperformed LDA, Orthogonal LDA (OLDA), and Large Margin Nearest Neighbor (LMNN). Furthermore, unlike LDA, SD-WLDA is not capped at $c-1$ dimensions, allowing for richer feature representations in higher-dimensional projection spaces.
Conclusion
SD-WLDA provides a scalable and robust alternative to traditional LDA. By transforming a non-convex optimization into efficient dual-space feasibility checks, it enables the application of worst-case logic to large-scale datasets. While it currently utilizes an initial PCA step for extremely high-dimensional data, the framework's efficiency suggests broad potential for other metric learning tasks.
Summary updated