Detect and Perturb: Neutral Rewriting of Biased and Sensitive Text via Gradient-based Decoding
Zexue He, Bodhisattwa Prasad Majumder, Julian McAuley

TL;DR
This paper introduces DEPEN, a gradient-based method for rewriting text to neutralize sensitive attributes while preserving original semantic content, aiming to reduce bias and unfairness in language models.
Contribution
The paper presents a novel gradient-based framework, DEPEN, for detecting and neutralizing sensitive attributes in text during generation, improving fairness without sacrificing semantic fidelity.
Findings
DEPEN effectively neutralizes sensitive attributes in generated text.
The method maintains semantic content while reducing bias.
Experiments demonstrate improved fairness metrics in two scenarios.
Abstract
Written language carries explicit and implicit biases that can distract from meaningful signals. For example, letters of reference may describe male and female candidates differently, or their writing style may indirectly reveal demographic characteristics. At best, such biases distract from the meaningful content of the text; at worst they can lead to unfair outcomes. We investigate the challenge of re-generating input sentences to 'neutralize' sensitive attributes while maintaining the semantic meaning of the original text (e.g. is the candidate qualified?). We propose a gradient-based rewriting framework, Detect and Perturb to Neutralize (DEPEN), that first detects sensitive components and masks them for regeneration, then perturbs the generation model at decoding time under a neutralizing constraint that pushes the (predicted) distribution of sensitive attributes towards a uniform…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsTopic Modeling · Natural Language Processing Techniques · Authorship Attribution and Profiling
