Skip to main content
QUICK REVIEW

[Paper Review] Dictionary-based Debiasing of Pre-trained Word Embeddings

Masahiro Kaneko, Danushka Bollegala|arXiv (Cornell University)|Jan 23, 2021
Natural Language Processing TechniquesComputer Science61 references5 citations
TL;DR

This paper proposes a dictionary-based method to debias pre-trained word embeddings without requiring pre-defined bias word lists or access to training data. By jointly optimizing for semantic preservation, dictionary definition alignment, and orthogonality to biased directions, the approach effectively removes gender, racial, and other biases while maintaining or improving semantic quality on benchmark tasks.

ABSTRACT

Word embeddings trained on large corpora have shown to encode high levels of unfair discriminatory gender, racial, religious and ethnic biases. In contrast, human-written dictionaries describe the meanings of words in a concise, objective and an unbiased manner. We propose a method for debiasing pre-trained word embeddings using dictionaries, without requiring access to the original training resources or any knowledge regarding the word embedding algorithms used. Unlike prior work, our proposed method does not require the types of biases to be pre-defined in the form of word lists, and learns the constraints that must be satisfied by unbiased word embeddings automatically from dictionary definitions of the words. Specifically, we learn an encoder to generate a debiased version of an input word embedding such that it (a) retains the semantics of the pre-trained word embeddings, (b) agrees with the unbiased definition of the word according to the dictionary, and (c) remains orthogonal to the vector space spanned by any biased basis vectors in the pre-trained word embedding space. Experimental results on standard benchmark datasets show that the proposed method can accurately remove unfair biases encoded in pre-trained word embeddings, while preserving useful semantics.

Motivation & Objective

  • To address the challenge of removing unfair biases—such as gender, racial, and ethnic biases—from pre-trained word embeddings without relying on pre-defined bias word lists.
  • To leverage human-written dictionaries as unbiased, objective sources of word meaning to guide the debiasing process.
  • To preserve the semantic information in pre-trained embeddings during debiasing, ensuring utility in downstream NLP tasks.
  • To develop a method that generalizes to words not present in the dictionary by operating in the embedding space rather than the lexical space.
  • To eliminate the need for access to original training corpora or knowledge of the word embedding training algorithms.

Proposed method

  • The method employs an end-to-end trainable encoder-decoder framework that maps input word embeddings to debiased representations.
  • Semantic preservation is enforced via a decoder that reconstructs the original embedding from the debiased output.
  • Dictionary agreement is achieved by training a second decoder to align the debiased embedding with the vector representation of the word's dictionary definition.
  • Bias orthogonality is enforced via a parameter-free projection that removes components aligned with biased directions in the pre-trained embedding space.
  • The three objectives—semantic preservation, dictionary agreement, and bias orthogonality—are optimized jointly using a multi-task learning objective.
  • The method is model-agnostic and does not require access to the original training data or details of the pre-training algorithm.

Experimental results

Research questions

  • RQ1Can a dictionary-based approach effectively remove multiple types of bias from pre-trained word embeddings without requiring pre-defined bias word lists?
  • RQ2To what extent can the proposed method preserve semantic information in debiased embeddings compared to original embeddings?
  • RQ3How does the method generalize to words not present in the dictionary, given that it operates in the embedding space?
  • RQ4Can the method outperform existing debiasing techniques that rely on manually curated word lists for bias directions?
  • RQ5Does the use of dictionary definitions as a source of unbiased meaning lead to improved performance on downstream semantic tasks?

Key findings

  • The proposed method significantly reduces gender, racial, and age-related biases in pre-trained word embeddings, as measured by WEAT and other bias evaluation benchmarks.
  • On semantic similarity tasks, the debiased embeddings maintain or slightly improve performance, with Spearman correlation coefficients close to or exceeding those of the original embeddings.
  • For word analogy tasks, the method preserves or enhances performance, with improvements observed on the WS dataset for Word2Vec and across all datasets for GloVe embeddings.
  • Visualizations show that debiased embeddings are more centered around the origin in gender, race, and age vector spaces, indicating reduced directional bias.
  • The method generalizes well to out-of-vocabulary words by operating in the embedding space, avoiding reliance on lexical matching with the dictionary.
  • Despite some residual bias in definitions (e.g., 'nurse' and 'homemaker' containing gendered language), the method still achieves strong debiasing performance overall.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.