Noch kein AutorÜbernehmen
Version 3Aktualisiert 3 Min. Lesezeit
- Sprachen
- English
- Themen
- WissenschaftSoftware
Most methods for making a machine-learning classifier fair add a penalty to the training loss. GroupMixNorm instead changes the network itself: a layer that blurs the statistical differences between groups while the model trains. It was proposed in an arXiv paper, and this page summarises it.
The problem
Automated predictions can treat groups defined by a protected attribute, such as gender, ethnicity or age, unfairly. The authors point to an AI recruiting tool that disfavoured women because it was trained on resumes from a mostly male workforce. Fairness methods fall into three kinds: pre-processing (transform the input), post-processing (transform the output) and in-processing (add constraints during training). The first two treat the classifier as a black box. Most in-processing methods add a penalty for demographic parity or equalized odds, but such penalties are hard to define as good estimates of the real fairness goal.
The authors observe that deep networks tend to exploit differences between group distributions to raise overall performance. Men and women with similar age and education, for instance, can have different salary distributions, and a model can learn to use that. They frame bias mitigation as aligning the distributions of the groups.
How the layer works

Figure 1 of the paper: the layer reduces the distinction between protected groups.
The layer sits between a network's fully connected layers during training.
- For each protected group in a batch, it normalizes that group's features separately, which yields group-level means and variances.
- It picks a mixing coefficient at random from a symmetric Beta distribution, controlled by a parameter alpha, and blends the two groups' statistics with it.
- It rescales every sample in the batch with the blended statistics.
The network therefore cannot use group-specific information to boost accuracy. The layer has no learnable parameters and is switched off at inference, so protected attributes are not needed once the model is in use. The paper describes it for two groups but says it extends to more.

Figure 2 of the paper: the layer's steps.
How it was tested
| Dataset | Task | Protected attribute |
|---|---|---|
| UCI Adult, 50,000 samples with 14 attributes from the 1994 US Census; 24% are in the high-income class and 15.13% are female | Predict whether income is at least 50K | Gender |
| CelebA, 200,000 celebrity faces with 40 binary attributes | Predict the wavy-hair attribute | Gender |
The paper compared the layer with Adversarial Debiasing, Fair Mixup and RNF, plus a plain classifier, using demographic parity, equal opportunity and equalized odds, where values nearer 0 are fairer. The other methods trade accuracy against fairness through a tuning parameter. GroupMixNorm has no such trade-off. On Adult it reached an average precision of 0.77 with its fairness metrics below 0.03. RNF produced fair results but with lower average precision. On CelebA, the paper reports comparable fairness to the best method for each metric while keeping high average precision.
What the analyses add
- Features. In a 2D projection of the features, a plain classifier's features separated both the classes and the genders. With GroupMixNorm, the features still separated the classes but not the genders.
- Weights. The authors trained one linear classifier to predict the sensitive attribute and another to predict the class, and compared their weights by cosine similarity. Lower means less correlation. The plain classifier scored 0.205, RNF between 0.075 and 0.2 depending on its trade-off setting, and GroupMixNorm 0.06.
- New groups. Trained on White and Black individuals in Adult, the model was tested on White, Black and other racial groups without retraining, and gave lower fairness metrics and higher average precision than the others. The authors think the mixing may regularize the model.
- Fixing an existing model. Plugging the layer into a biased pre-trained classifier and fine-tuning on only 20% of the data gave fairer results than the other methods, with the highest average precision.

Figure 5a of the paper: features without the layer.

Figure 5b of the paper: features with the layer.
Next steps
The authors plan to study the layer in convolutional layers and to test it on language tasks.
Sources
- Anubha Pandey, Aditi Rai, Maneet Singh et al., GroupMixNorm Layer for Learning Fair Models, arXiv:2312.11969 (2023), licensed CC BY 4.0. Changed here: shortened and reworded; the equations, algorithm, references and some figures left out; the remaining figures reproduced unchanged, with captions reworded; rewritten in hubnx's own words.
Kommentare






