Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Shielded Representations: Protecting Sensitive Attributes Through Iterative Gradient-Based Projection

About

Natural language processing models tend to learn and encode social biases present in the data. One popular approach for addressing such biases is to eliminate encoded information from the model's representations. However, current methods are restricted to removing only linearly encoded information. In this work, we propose Iterative Gradient-Based Projection (IGBP), a novel method for removing non-linear encoded concepts from neural representations. Our method consists of iteratively training neural classifiers to predict a particular attribute we seek to eliminate, followed by a projection of the representation on a hypersurface, such that the classifiers become oblivious to the target attribute. We evaluate the effectiveness of our method on the task of removing gender and race information as sensitive attributes. Our results demonstrate that IGBP is effective in mitigating bias through intrinsic and extrinsic evaluations, with minimal impact on downstream task accuracy.

Shadi Iskander, Kira Radinsky, Yonatan Belinkov• 2023

Related benchmarks

TaskDatasetResultRank
Concept Erasure39 NLP settings (13 LLMs x 3 concepts: sycophancy, gender, safety)
Mean Residual Leakage |DS|0.6
40
Concept ErasureNLP Concept Erasure DY ≤ 1pp
Leakage9.5
9
Concept ErasureNLP Concept Erasure DY ≤ 3pp
Leakage9.4
9
Concept ErasureNLP Concept Erasure DY ≤ 5pp
Leakage9.4
9
Concept ErasureNLP Concept Erasure DY ≤ 10pp
Leakage9.4
9
Showing 5 of 5 rows

Other info

Follow for update