[Paper Review] FNNC: Achieving Fairness through Neural Networks
FNNC proposes a neural network-based framework that enforces fairness in classification by incorporating fairness constraints—Demographic Parity, Disparate Impact, and Equalized Odds—directly into the loss function using Lagrangian multipliers. The method achieves state-of-the-art performance with theoretical generalization bounds and avoids the need for convex surrogates, enabling end-to-end training via two-step mini-batch SGD.
In classification models fairness can be ensured by solving a constrained optimization problem. We focus on fairness constraints like Disparate Impact, Demographic Parity, and Equalized Odds, which are non-decomposable and non-convex. Researchers define convex surrogates of the constraints and then apply convex optimization frameworks to obtain fair classifiers. Surrogates serve only as an upper bound to the actual constraints, and convexifying fairness constraints might be challenging. We propose a neural network-based framework, \emph{FNNC}, to achieve fairness while maintaining high accuracy in classification. The above fairness constraints are included in the loss using Lagrangian multipliers. We prove bounds on generalization errors for the constrained losses which asymptotically go to zero. The network is optimized using two-step mini-batch stochastic gradient descent. Our experiments show that FNNC performs as good as the state of the art, if not better. The experimental evidence supplements our theoretical guarantees. In summary, we have an automated solution to achieve fairness in classification, which is easily extendable to many fairness constraints.
Motivation & Objective
- To address the limitations of convex surrogate-based fairness constraints in machine learning, which may not tightly bound original non-convex fairness measures.
- To develop an end-to-end neural network framework that directly optimizes for fairness without requiring manual surrogate design.
- To provide theoretical generalization bounds for fairness-constrained losses under Demographic Parity and Equalized Odds.
- To empirically validate that the framework achieves high accuracy while satisfying fairness constraints, outperforming or matching state-of-the-art methods.
- To demonstrate the framework's extensibility to other non-convex, batch-level fairness measures such as F1-score and Q-mean loss.
Proposed method
- The framework uses a two-layer feed-forward neural network with ReLU and softmax activations, bounded by weight and Lipschitz constraints.
- Fairness constraints (DP, DI, EO) are embedded into the loss function using Lagrangian multipliers to enforce them during training.
- The model is trained via two-step mini-batch stochastic gradient descent, enabling batch-level fairness computation at each update step.
- Generalization error bounds are derived using metric entropy and covering number arguments, showing asymptotic convergence to zero.
- The approach avoids convex surrogates by directly optimizing non-convex fairness measures through differentiable approximations in mini-batches.
- The method is extendable to other non-convex objectives like Q-mean loss, as demonstrated in ablation experiments.
Experimental results
Research questions
- RQ1Can a neural network framework directly optimize non-convex fairness constraints like Demographic Parity and Equalized Odds without convex surrogates?
- RQ2What generalization error bounds can be established for fairness-constrained neural network training under DP and EO?
- RQ3Why is Disparate Impact particularly difficult to approximate using surrogate constraints, and what are the theoretical limitations?
- RQ4Can the proposed FNNC framework achieve performance on par with or better than state-of-the-art fairness methods in terms of accuracy and fairness metrics?
- RQ5To what extent is the framework extensible to other non-convex, batch-level optimization objectives beyond fairness?
Key findings
- FNNC achieves state-of-the-art or better performance in fairness-accuracy trade-offs across benchmark datasets, outperforming surrogate-based convex optimization methods.
- Theoretical generalization bounds for fairness-constrained losses (DP and EO) are derived, showing that the error asymptotically approaches zero with increasing data size.
- The framework demonstrates that approximating Disparate Impact via surrogate constraints is inherently unstable, as small perturbations in predictions can lead to unbounded error in the constraint estimate.
- Empirical results confirm that FNNC maintains high predictive accuracy while satisfying fairness constraints, even when the base rates across groups differ significantly.
- The method successfully extends to non-fairness objectives, such as minimizing Q-mean loss under Demographic Parity constraints, showing broad applicability.
- Two-step mini-batch SGD enables effective optimization by allowing fairness metrics to be computed per batch, making the framework scalable and practical.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.