Counterfactual Representations for Intersectional Fair Ranking in Recruitment

Clara Rus, Maarten de Rijke, Andrew YatesHR@RecSys 2023 · OpenReview

Abstract

This paper presents a novel framework for achieving intersectional fairness in automated recruitment rankings. By employing causal inference to generate counterfactual representations, the authors "clean" training data of biases related to gender and nationality. This pre-processing approach allows for the training of ranking models that remain fair at inference time without requiring access to sensitive attributes, thus ensuring compliance with data privacy regulations like GDPR. Experimental results on the BIOS dataset demonstrate significant improvements in diversity across various occupations without compromising ranking utility.

The Challenge of Fair Recruitment

Automated hiring systems are increasingly used to screen candidates, yet they often inherit and amplify historical human biases. While various fairness-enhancing algorithms have been proposed, they frequently encounter a significant legal obstacle: the European General Data Protection Regulation (GDPR). GDPR restricts recruiters from processing sensitive attributes—such as ethnicity or religion—during the decision-making phase. Most existing fairness techniques require these attributes at "inference time" to re-rank candidates, creating a conflict between fairness goals and privacy laws.

The authors propose a "fair by design" solution focusing on data pre-processing. By removing bias from the training data itself using causal modeling, models can be trained to produce equitable rankings even when sensitive attributes are unavailable at runtime.

Methodology: Causal Modeling and Counterfactuals

The core of the proposed approach is the generation of counterfactual representations. This involves "reimagining" a candidate's data to remove the influence of protected attributes. The process follows these steps:

  1. Causal Modeling: The researchers developed Directed Acyclic Graphs (DAGs) to map the relationships between sensitive attributes (Gender $G$, Nationality $N$), non-sensitive features ($X$, e.g., biography length), and the target utility score ($Y$).
  2. Counterfactual Generation: Using these causal maps, the authors estimate the causal effect of belonging to a protected group. They then transform the data to answer the counterfactual question: "What would this candidate's features and scores look like if they belonged to the advantaged reference group?"
  3. Learning to Rank: A RankNet model is trained on this transformed, "fair" dataset.
Causal Directed Acyclic Graphs (DAGs) for global (Model 1) and occupation-aware (Model 2) debiasing.

The Importance of Occupation-Awareness

A key finding of the study is that bias is highly context-dependent. For instance, a bias favoring men in software engineering might favor women in nursing. Consequently, a "one-size-fits-all" global debiasing approach is often ineffective. The authors compared three modeling scenarios:

  • NoOccupation: A global causal model applied to all data.
  • SingleOccupation: Separate causal models for each specific job title.
  • ModeledOccupation: A single model that explicitly incorporates "Occupation" as a node influencing the causal paths of bias.

Experimental Results

The researchers evaluated their approach using the BIOS dataset, which contains hundreds of thousands of professional biographies. They focused on intersectional groups, such as "Female African-Asian-Latin," to capture compounding biases.

The results indicate that occupation-aware models (SingleOccupation and ModeledOccupation) significantly increased the representation of underrepresented groups in the top 10 positions for most job categories. Crucially, this gain in diversity did not come at the cost of ranking quality; the models maintained an NDCG@10 of approximately 0.48, matching the performance of models trained on biased data.

Impact of different counterfactual debiasing strategies on the demographic composition of top-10 rankings across occupations.

As shown in the figure above, the proportion of underrepresented groups in the top 10 rankings moved significantly closer to statistical parity in several fields, including "Software Engineer" and "Comedian," when using occupation-aware counterfactual representations.

Conclusion and Future Directions

This research demonstrates that counterfactual pre-processing is a viable path toward fair and GDPR-compliant recruitment systems. By accounting for the intersectional and occupation-specific nature of bias, the proposed method achieves more equitable outcomes without sacrificing utility.

Future work may address limitations such as the reliance on noisy nationality inference from names and the use of relatively simple features. Expanding the causal models to include complex career trajectories and feedback loops remains an important area for further investigation.

Summary updated

BibTeX
@inproceedings{rus2023counterfactual,
  author = {Clara Rus and Maarten de Rijke and Andrew Yates},
  title = {{Counterfactual Representations for Intersectional Fair Ranking in Recruitment}},
  booktitle = {HR@RecSys},
  year = {2023},
  url = {https://openreview.net/forum?id=EStoHcNvp2},
}
Figure