Debiasing Sentence Embedders through Contrastive Word Pairs

Philip Kenneweg, Sarah Schröder, Alexander Schulz, Barbara Hammer
3/27/2024
cs.CL

No confident code implementation found for this paper.

Abstract

Over the last years, various sentence embedders have been an integral part in the success of current machine learning approaches to Natural Language Processing (NLP). Unfortunately, multiple sources have shown that the bias, inherent in the datasets upon which these embedding methods are trained, is learned by them. A variety of different approaches to remove biases in embeddings exists in the literature. Most of these approaches are applicable to word embeddings and in fewer cases to sentence embeddings. It is problematic that most debiasing approaches are directly transferred from word embeddings, therefore these approaches fail to take into account the nonlinear nature of sentence embedders and the embeddings they produce. It has been shown in literature that bias information is still present if sentence embeddings are debiased using such methods. In this contribution, we explore an approach to remove linear and nonlinear bias information for NLP solutions, without impacting downstream performance. We compare our approach to common debiasing methods on classical bias metrics and on bias metrics which take nonlinear information into account.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kenneweg2024debiasing,
  title  = {Debiasing Sentence Embedders through Contrastive Word Pairs},
  author = {Philip Kenneweg and Sarah Schröder and Alexander Schulz and Barbara Hammer},
  year   = {2024},
  eprint = {2403.18555},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2403.18555v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2403.18555.svg)](https://codeofpaper.com/paper/2403.18555)

Discussion