Abstract
Machine learning models often inherit biases from training data, leading to discriminatory outcomes. While many fair algorithms target a single fixed decision threshold, this paper introduces a spectral approach to train Support Vector Machines (SVMs) that remain fair across all possible thresholds. By imposing constraints on the covariance of predictions across protected groups and utilizing spectral decomposition to solve the resulting non-convex problem via the Constrained Concave-Convex Procedure (CCCP), the proposed method achieves a superior balance between predictive accuracy and social fairness compared to existing threshold-specific approaches.
Introduction: Fairness Beyond a Single Threshold
Standard fair machine learning approaches often focus on ensuring fairness at a specific operating point, such as a fixed classification threshold. However, this is insufficient in scenarios where a user might shift the threshold, potentially re-introducing discrimination. To address this, the authors propose a framework that ensures fairness—specifically Demographic Parity and Equal Opportunity—across the entire range of possible thresholds.
This approach re-interprets fairness through the lens of Receiver Operating Characteristic (ROC) curves. As shown in Figure 1, a perfectly fair model is one where the ROC curve for predicting the protected attribute from the model's scores is simply a diagonal line, indicating that the scores provide no information about the protected group.
Methodology: The Spectral SVM
The core of the proposed method is an optimization framework that goes beyond simply matching the means of predictions between groups.
Covariance Constraints
Instead of simple mean-matching, the authors propose matching the covariance matrices of the score distributions. This ensures that the distributions are shaped similarly for all protected groups, providing a much tighter fairness guarantee than previous methods.
Solving the Non-Convex Challenge
The covariance constraint leads to a quadratic form $w^T(\Sigma_+ - \Sigma_-)w$, which is typically indefinite and thus non-convex. To solve this, the authors use Spectral Decomposition to split the indefinite matrix into two positive semi-definite (PSD) matrices, allowing the constraint to be expressed as a Difference of Convex (DC) functions. They then employ the Constrained Concave-Convex Procedure (CCCP) to iteratively solve convex sub-problems that converge to a local minimum.
This "Spectral SVM" (SSVM) approach is applicable to both linear and kernel SVMs and can be extended to other linear learners like Logistic Regression.
Experimental Evaluation
The authors evaluated the SSVM on synthetic data, the Wine Quality dataset (treating wine color as protected), and the German Credit dataset (treating housing status as protected).
Key Results
- De-biasing Visualization: On synthetic data, the SSVM successfully shifted the score distributions of protected groups until they were nearly identical (Figure 2, middle row), whereas standard SVMs showed significant separation.
- Fairness-Accuracy Trade-off: In real-world datasets, the SSVM consistently achieved lower fairness violations ($\Delta$) for the same level of accuracy (AUC) compared to state-of-the-art baselines like ZSVM.
- Robustness: The spectral approach to handling non-convexity proved more effective and robust than standard Semidefinite Programming (SDP) relaxations, which were often too weak to consistently improve fairness in practice.
Conclusion and Future Work
The Spectral SVM provides a powerful tool for fair optimization by capturing higher-order information about score distributions. While the current method is guaranteed to find a local minimum and is computationally more intensive than standard SVMs, it offers a significant step toward models that are inherently fair regardless of the chosen decision threshold. Future work may explore higher-order moments and extensions to non-binary protected attributes.
Summary updated