Abstract
Ensuring fairness in machine learning models is a difficult problem from both a formulation and implementation perspective. One sensible criterion for achieving fairness is Equalised Odds, which requires that subjects in protected and unprotected groups have equal true and false positive rates. However, practical implementation is challenging. This work proposes two ways to address this issue through the conditional independence operator. First, given the output values, it is used as a fairness measure of independence between model predictions and sensitive variables. Second, it is used as a regularisation term in the problem formulation, which seeks optimal models that balance performance and fairness concerning the sensitive variables. To illustrate the potential of our approach, we consider different scenarios. First, we use the Gaussian model to provide new insights into the problem formulation and numerical results on its convergence. Second, we present the formulation using the conditional cross-covariance operator. We anticipate that a closed-form solution is possible in the general problem formulation, including in the case of a kernel formulation setting. Third, we introduce a normalised criterion of the conditional independence operator. All formulations are posed under the risk minimisation principle, which leads to theoretical results on the performance. Additionally, insights are provided into using these operators under a Gaussian Process setting. Our methods are compared to state-of-the-art methods in terms of performance and fairness metrics on a representative set of real problems. The results obtained with our proposed methodology show promising performance-fairness curves. Furthermore, we discuss the usefulness of linear weights in the fair model to describe the behaviour of the features when enforcing fairness over a particular set of input features.
Introduction
As machine learning systems are increasingly deployed in high-stakes domains such as hiring, lending, and criminal justice, ensuring they do not discriminate against protected groups is critical. Early fairness research often focused on Demographic Parity (DP), which requires model predictions to be independent of sensitive variables ($S$). However, DP can be overly restrictive and may degrade model utility.
A more nuanced criterion is Equalised Odds (EO), which requires that model error rates (such as true and false positive rates) are consistent across groups. In a regression context, this means the prediction $\hat{Y}$ should be independent of the sensitive variable $S$ given the true target $Y$. While EO is highly desirable, it is notoriously difficult to implement, especially for non-linear relationships, often requiring expensive iterative optimization.
Problem Formulation
The challenge lies in decoupling the influence of sensitive attributes from the predictive process. The relationships between the variables involved are often complex, as shown in the causal structure below.
In this model, $S$ represents protected attributes (e.g., race, gender) that influence both the observed features $X$ and the target outcome $Y$. The goal of fair regression is to produce predictions $\hat{Y}$ from $X$ such that $\hat{Y}$ does not inherit unfair biases from $S$, specifically satisfying the conditional independence $\hat{Y} \perp S | Y$.
Methods: Fair Conditional Independence Learning
The authors frame fairness as a regularization problem within a kernel ridge regression framework. In addition to the standard loss function and complexity penalty, they introduce a fairness penalty term.
The Operators
To measure dependence in high-dimensional Reproducing Kernel Hilbert Spaces (RKHS), the framework utilizes:
- Hilbert-Schmidt Independence Criterion (HSIC): Used for enforcing Demographic Parity.
- Conditional Cross-Covariance Operator: Used for enforcing Equalised Odds.
FACIL and NFACIL Algorithms
Two primary algorithms are introduced:
- FACIL (Fair Conditional Independence Learning): Uses the raw conditional cross-covariance as a penalty.
- NFACIL: A normalized version that accounts for varying feature scales, typically offering more stable performance.
The significant contribution of this work is the derivation of closed-form solutions for both linear and kernel versions. By formulating the fairness constraint as a regularization term, the optimal fair model weights can be found via matrix inversion, bypassing the need for lengthy iterative training.
Experimental Results
The methodology was evaluated on standard fairness benchmarks, including the Adult Income, Communities and Crime (C&C), NLSY, and COMPAS datasets. The framework's ability to handle multiple and continuous protected attributes simultaneously is a key advantage.
Performance-Fairness Trade-offs
Across all datasets, FACIL and NFACIL consistently produced superior Pareto frontiers compared to state-of-the-art methods like Fair Kernel Learning (FKL). By adjusting the regularization parameter ($\mu$), practitioners can precisely navigate the trade-off between accuracy (RMSE) and fairness.
Interpretability through Weight Analysis
By examining the linear weights of the fair model, the authors demonstrated that enforcing fairness shifts the model's focus away from features that serve as proxies for sensitive variables. This provides a layer of interpretability, showing how the model achieves fairness.
Conclusion and Future Work
This work provides a mathematically elegant and computationally efficient framework for fair regression. While kernel methods face scalability challenges ($O(n^3)$), techniques like Random Fourier Features offer a path toward larger datasets. Future research may extend these conditional independence operators to deep learning architectures or explore their application in enforcing "counterfactual fairness" through causal inference.
Summary updated