Автора пока нетВзять себе
An arXiv project asks whether adversarial training can make deep neural networks (DNNs) fairer, and how to do it efficiently. Its second-order method reached the same solution as projected gradient descent in less time, according to the authors.
The problem
DNNs tend to inherit bias from the data they train on. The authors do not mean statistical bias but the ways individual advantages or disadvantages show up in data, with respect to sensitive attributes such as race and gender. That matters where models inform life-altering decisions, such as criminal justice and hiring; the paper cites demographic bias in facial recognition used to arrest a suspect. The authors say the deeper causes lie in societal structures beyond what machine learning can fix, but they feel a duty to work toward fairer outcomes within their means.
Their idea is robust optimization: train the model to resist small variations in data, known as adversarial attacks, which tends to lower accuracy. A recent framework, Fair-Robust-Learning, had shown that combining fairness and adversarial regularization gave fairer models on image classification benchmarks. This project instead targets an additive bias, measured by three fairness metrics (independence, separation and sufficiency), and adds speed: using second-order information to accelerate training, which earlier work had not done.
Three ways to solve the inner problem
| Method | What it is |
|---|---|
| Trust region subproblem (TRS) | The authors' second-order method, using exact Hessians computed efficiently with the hessQuik tool |
| Projected gradient descent (PGD) | A first-order method used to test whether TRS is faster; it reaches the same solution |
| Random perturbation | A fast baseline that does not really solve the optimization problem, used to test whether solving it well matters |
Tests and results
The main synthetic dataset, Unfair2D, has two groups hired on two numeric scores. It starts fair, and the authors introduce bias by artificially raising the scores of one group and lowering the other's, as might happen if one group could afford test preparation and the other had less time to study. A linear classifier decides who should be hired. They also tested on the Adult and LSAT datasets.
- Fairness: in the synthetic data, wherever there was an improvement it was a significant cut in the fairness differences, which ideally are zero. On real data, robust training performed about as well as non-robust training even in the worst case, the LSAT dataset.
- Accuracy: across all three datasets, accuracy fell as the perturbation radius grew, while most fairness metrics trended downward, which is better.
- Precision matters: when fairness improved, precise solutions to the inner problem beat randomly chosen ones.
- Speed: random perturbation was fastest everywhere, as expected. TRS was consistently faster than PGD, and its advantage grew with larger radii and larger datasets.
| Dataset | TRS faster than PGD by |
|---|---|
| Synthetic | 1.4 to 2.9 times |
| LSAT | 2.9 to 9.6 times |
| Adult | 8.5 to 31.4 times |
Limits and next steps
The authors list several limits. They used a neural network with one hidden layer, a linear binary classifier and a binary sensitive attribute, which prevents generalizing to higher-dimensional problems. For PGD they used an arbitrary step size, and they did not solve the inner problems in parallel. Future work includes deeper networks, multi-class classification, other fairness metrics, and a regularization term that penalizes violating the fairness metrics. They say the work shows initial promise for robust training as a route to fairer models. The Python code is public in the authors' GitHub repository, Fast-N-Fair.
The work was supported by NSF award DMS-2051019 and done in the "Computational Mathematics for Data Science" REU/RET program in summer 2023, under project advisor Dr. Elizabeth Newman.
Sources
- "Fast & Fair: Efficient Second-Order Robust Optimization for Fairness in Machine Learning," arXiv:2401.02012, https://arxiv.org/abs/2401.02012, CC BY 4.0. Changed here: condensed and reworded; figures and tables left out; rewritten in hubnx's own words.
- Authors of the original: Allen Minch, Hung Anh Vu, Anne Marie Warren.
Комментарии




