Reproduce “Null It Out: Guarding Protected Attributes by Iterative Nullspace Projection” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Shauli Ravfogel, Yanai Elazar, Hila Gonen, Michael Twiton, Yoav Goldberg

INLP reduces linear access to protected attributes in text representations by repeatedly training a linear probe and projecting into its nullspace. In GloVe, 10 learned directions lower gender-classifier accuracy to 54.4%, versus 80.7% for 10 manual directions. In BERT biography classification, RMS gender TPR gap falls from 0.184 to 0.095 as profession accuracy drops from 80.9 to 75.2; nonlinear access remains.

Key insights

  • INLP provides theoretical guarantees for the orthogonality of learned bias directions and the validity of the cumulative projection, which projects into the intersection of all individual nullspaces.
  • Data-driven learning of bias directions via iterative classification is more effective than relying on manually defined directions, leading to a more thorough removal of linear information.
  • Removing linearly encoded protected attributes can sometimes surprisingly improve, rather than degrade, general semantic quality in word embeddings, suggesting these bias components may be uncorrelated with core semantics.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.