Methods that make a machine learning model fairer usually need to know each person’s gender, race or other sensitive attribute, but that information is often not available, because of legal and policy rules or because the data was never collected. This paper from AI Garage at Mastercard in Gurgaon, India, tries to get around the problem by building stand-in labels. On one public dataset the best setups came close to the real labels, and on some fairness scores did better.
The idea
Bias spreads through attributes that are correlated with sensitive ones. The paper’s examples: zip codes can be correlated with race, and because the Hispanic and Black populations have a higher proportion of younger people, age is correlated with race. So the data itself holds traces of group membership, and mapping it into a high-dimensional latent space should form clusters of the demographic groups in the data. The method turns those clusters into proxy labels for the “favourable” group, with a higher chance of a positive outcome just because of the protected attribute, and the “unfavourable” group, with a higher chance of a negative one. The proxy then goes into existing bias mitigation algorithms in place of the true attribute.
The authors say earlier attempts to debias without sensitive attributes had limits. One built proxies with Bayesian variational autoencoders and a causal graph, but the proxies live in a multi-dimensional space and do not carry over to other mitigation algorithms. Another amplifies a model’s bias and labels samples by its confidence, assuming the biased model favors the privileged group. The most recent finds features correlated with the sensitive attribute, but needs access to the sensitive attribute to determine the correlation.

Figure 1 of the paper: the proxy label pipeline (CC BY 4.0).
The pipeline
- Embedding (stage 1). A neural network is trained without labels to encode how a row’s features relate to each other. Two kinds were tried. An autoencoder squeezes the features into a smaller latent representation and rebuilds them, minimizing the reconstruction error. A transformer is trained to fill in data fields, with 15% of the fields in each row masked and predicted from the rest. A further loss based on Kullback-Leibler divergence keeps the embeddings from encoding the downstream task’s true labels.
- Clustering (stage 2). An unsupervised algorithm (K-Means, Hierarchical or BIRCH) splits the embeddings into two clusters, standing in for the favourable and unfavourable groups.
- Debiasing. The proxy labels go into two established algorithms, Adversarial Debiasing and Fair Mixup, in place of the true labels. Fairness is still scored with the true labels.

Figure 2 of the paper: bias mitigation and evaluation (CC BY 4.0).
The test
The Adult Income dataset, from the 1994 US Census, has 48,842 rows and 14 attributes and asks whether income is above $50K. Gender is the sensitive attribute, with values Male and Female, and the model never saw it while the proxy was built. The data is imbalanced: only 24% of samples are in the high-income class, and only 15.13% of those are female. Fairness was measured two ways: statistical parity difference (SPD), the gap in the chance of a positive prediction between groups, and equalized odds difference (EOD), the average gap in false positive and false negative rates. Lower is fairer. Accuracy is average precision (AP). The classifier was trained on 80% of the data and tested on 20%.
With the true gender labels, the baselines were:
| Method | AP | SPD | EOD |
|---|---|---|---|
| No bias mitigation | 0.8 | 0.2 | 0.11 |
| Fair Mixup | 0.78 | 0.1 | 0.03 |
| Adversarial Debiasing | 0.78 | 0.19 | 0.05 |
With proxy labels, results for all six combinations of embedding and clustering:
| Embedding | Clustering | Fair Mixup: AP / SPD / EOD | Adversarial Debiasing: AP / SPD / EOD |
|---|---|---|---|
| Autoencoder | K-Means | 0.76 / 0.16 / 0.09 | 0.78 / 0.06 / 0.06 |
| Autoencoder | Hierarchical | 0.78 / 0.11 / 0.06 | 0.76 / 0.05 / 0.01 |
| Autoencoder | BIRCH | 0.77 / 0.13 / 0.07 | 0.79 / 0.16 / 0.09 |
| Transformer | K-Means | 0.75 / 0.09 / 0.07 | 0.79 / 0.15 / 0.04 |
| Transformer | Hierarchical | 0.77 / 0.07 / 0.05 | 0.77 / 0.12 / 0.04 |
| Transformer | BIRCH | 0.75 / 0.13 / 0.07 | 0.79 / 0.11 / 0.09 |

Figure 3 of the paper: autoencoder embeddings (CC BY 4.0).

Figure 4 of the paper: transformer embeddings (CC BY 4.0).
With Fair Mixup, the best proxy setup (transformer, hierarchical clustering) reached AP 0.77, SPD 0.07 and EOD 0.05, close to the true-label run. With Adversarial Debiasing, the autoencoder with hierarchical clustering had the lowest SPD and EOD in the table, though AP was 0.76; transformer embeddings with K-Means gave AP 0.79, a little above the 0.78 with true labels, with SPD and EOD also lower. The authors say transformers lifted fairness more, because they are good at learning relationships among features in tabular data, but that the best embedding and clustering choices depend on the dataset.
To check the embeddings, the authors trained linear classifiers to predict the proxy label, the true gender and the income class, and compared their weights by cosine similarity: 0.25 between the proxy and the true attribute, but only 0.02 between the proxy and the income class. They read this as the embeddings carrying real information about the protected attribute, and the clusters not simply following the prediction task.
What it means
The authors conclude that proxy labels let existing debiasing algorithms work when sensitive attributes are unavailable, with satisfactory SPD and EOD and little or no loss in detection rate. They note it was tested on a single dataset, and plan to put more bias information into the embedding and to try other debiasing algorithms.
Sources
- Bhushan Chaudhary, Anubha Pandey, Deepak Bhatt et al. (AI Garage, Mastercard), “Practical Bias Mitigation through Proxy Sensitive Attribute Label Generation,” arXiv:2312.15994 (https://arxiv.org/abs/2312.15994), licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Figures 1 to 4 are the paper’s own, under the same licence. Changed here: rewritten in hubnx’s own words and condensed; equations, implementation details and the reference list left out; the tables are reproduced from the paper. This page remains CC BY 4.0.
Comments





