Null It Out: Guarding Protected Attributes by Iterative Nullspace Projection
Shauli Ravfogel, Yanai Elazar, Hila Gonen, Michael Twiton, Yoav Goldberg
TL;DR
The paper introduces Iterative Null-space Projection (INLP), a data-driven method to remove linear information about protected attributes from neural representations by iteratively training linear classifiers and projecting data onto their nullspaces. By constructing a guard through successive nullspace projections, INLP yields a final transformation that makes protected attributes linearly undetectable while preserving end-task information to varying degrees. The authors demonstrate INLP on debiasing word embeddings and improving fairness in classification in both controlled and real-world settings, and provide theoretical guarantees about the guarding subspace and the minimal distortion of representation geometry. Limitations include dependence on data distribution and the restriction to linear (not non-linear) leakage of protected information, with future work exploring broader use-cases such as style transfer and disentanglement.
Abstract
The ability to control for the kinds of information encoded in neural representation has a variety of use cases, especially in light of the challenge of interpreting these models. We present Iterative Null-space Projection (INLP), a novel method for removing information from neural representations. Our method is based on repeated training of linear classifiers that predict a certain property we aim to remove, followed by projection of the representations on their null-space. By doing so, the classifiers become oblivious to that target property, making it hard to linearly separate the data according to it. While applicable for multiple uses, we evaluate our method on bias and fairness use-cases, and show that our method is able to mitigate bias in word embeddings, as well as to increase fairness in a setting of multi-class classification.
