Fair Text Classification via Transferable Representations
Thibaud Leteno, Michael Perrot, Charlotte Laclau, Antoine Gourru, Christophe Gravier
TL;DR
This work tackles fairness in text classification by introducing Wasserstein Fair Classification (WFC), which minimizes the dependence between task representations and sensitive information using the Wasserstein Dependency Measure. A demonic proxy model predicts sensitive attributes from latent encodings, enabling differentiable regularization even when true sensitive attributes are unavailable, and cross-domain transfer via domain adaptation. Theoretical guarantees link the dependency measure to standard fairness metrics (Demographic Parity and Equality of Opportunity) and bound its relation to the true attribute, while practical experiments on Bios and Moji show competitive accuracy with strong fairness improvements, including successful cross-domain transfer. The approach is flexible to encoder- or decoder-based architectures and supports varying sensitive-attribute settings, making it applicable under privacy and regulatory constraints.
Abstract
Group fairness is a central research topic in text classification, where reaching fair treatment between sensitive groups (e.g., women and men) remains an open challenge. We propose an approach that extends the use of the Wasserstein Dependency Measure for learning unbiased neural text classifiers. Given the challenge of distinguishing fair from unfair information in a text encoder, we draw inspiration from adversarial training by inducing independence between representations learned for the target label and those for a sensitive attribute. We further show that Domain Adaptation can be efficiently leveraged to remove the need for access to the sensitive attributes in the dataset we cure. We provide both theoretical and empirical evidence that our approach is well-founded.
