HackerPapers

arXiv:1607.06520cs.CL

Man is to Computer Programmer as Woman is to Homemaker? Debiasing Word Embeddings

Tolga Bolukbasi, Kai-Wei Chang, James Zou, Venkatesh Saligrama, Adam Kalai

Abstract

The blind application of machine learning runs the risk of amplifying biases present in data. Such a danger is facing us with word embedding, a popular framework to represent text data as vectors which has been used in many machine learning and natural language processing tasks. We show that even word embeddings trained on Google News articles exhibit female/male gender stereotypes to a disturbing extent. This raises concerns because their widespread use, as we describe, often tends to amplify these biases. Geometrically, gender bias is first shown to be captured by a direction in the word embedding. Second, gender neutral words are shown to be linearly separable from gender definition words in the word embedding. Using these properties, we provide a methodology for modifying an embedding to remove gender stereotypes, such as the association between between the words receptionist and female, while maintaining desired associations such as between the words queen and female. We define metrics to quantify both direct and indirect gender biases in embeddings, and develop algorithms to "debias" the embedding. Using crowd-worker evaluation as well as standard benchmarks, we empirically demonstrate that our algorithms significantly reduce gender bias in embeddings while preserving the its useful properties such as the ability to cluster related concepts and to solve analogy tasks. The resulting embeddings can be used in applications without amplifying gender bias.

arXiv comments
Journal reference
DOI
Subjects
cs.CLComputation and Language cs.AIArtificial Intelligence cs.LGMachine Learning stat.MLMachine Learning (Statistics)

On Hacker News

Linked by 7 identifiable commenters in 10 comments across 8 threads, from Sep 2016 to Sep 2020. Found in 3 HN submissions from Jul 2016 to Jan 2017. Open submission discussions.

Comments linking this paper, per year.

Discussed in comments8 threads

    • Evidence suggests the opposite: they would write a self-congratulatory blog post about it. For example the work Google does on "de-biasing AI" is all about taking ML models and warping its understanding of the world to reflect ideological priorities.…

      thu2111View on HNParent context

    • Yeah, besides the fact that this compositionality is relatively unique to word2vec, research on the biases pre-trained models express is pretty available. Linked a few below for those interested. Most of the issues are down to the same phenomenon discussed here in the context of…

      tastroderView on HNParent context

  1. King – Man + Woman = King? 1 comment
    • > The authors justed picked the 10th example in the list without clearly stating it. That's not an accurate description what Bolukbasi et al (2016) [0] did. In particular, they do not list x close to lovely + he - she and then pick arbitrarily from that list. Instead, they…

      yorwbaView on HNParent context

    • How do you plan to counter the harmful societal biases that embeddings embody? See Bolukbasi (https://arxiv.org/pdf/1607.06520.pdf) and Caliskan (http://science.sciencemag.org/content/356/6334/183) While these examples are solely language based, it is easy to imagine the…

      ASpringView on HNParent context

    • word2vec[0]: computer programmer - man + woman --------------------- = homemaker Basilica? [0] - https://arxiv.org/pdf/1607.06520.pdf

      kvbView on HNParent context

    • It's interesting and slightly uncomfortable that the illustration for similar words uses the word "man" as an example, given the gender biases that result from learning word vectors solely from word distributions. To explain, although I’m sure the author himself is familiar with…

      rspeerView on HNParent context

    • I consider it very important to fight bias in AI, but I fundamentally do not understand this article's take. The thing stopping AI researchers from obtaining unbiased training data is not that we're waiting for laywers to give us permission. The thing stopping us is that the…

      rspeerView on HNParent context

    • I think the OP might have been looking for code that already exists, not just techniques for how to build it. But I have some opinions on these techniques. LDA is not very controllable. It gives you a set number of clusters. Run it again and you get different clusters. It can't…

      rspeerView on HNParent context

  2. A.I. Doesn't Get Black Twitter 2 comments
    • You are only talking about supervised learning. And the bias people are probably talking about is bias in the data, not bias in the "input", as you put it. See http://arxiv.org/abs/1607.06520 for a counterexample to your point.

      gugagoreView on HNParent context

    • Yes! Here's an example: http://arxiv.org/abs/1607.06520

      gugagoreView on HNParent context

Submitted to Hacker News

Connected through shared HN threads, not inferred similarity or a recommendation.