Coder Social home page Coder Social logo

bhavyaghai / wordbias Goto Github PK

View Code? Open in Web Editor NEW
19.0 1.0 3.0 283.68 MB

WordBias: Visualizing Intersectional Social biases encoded in Word Embeddings

CSS 1.16% JavaScript 42.53% HTML 2.67% Jupyter Notebook 50.84% Python 2.74% Shell 0.05%
fairness fairness-ml visualization

wordbias's Introduction

WordBias: An Interactive Visual Tool for Discovering Intersectional Biases Encoded in Word Embeddings

Paper accepted at ACM SIGCHI 2021 Late Breaking Work

teaser figure

The above picture shows the visual interface of WordBias. The image can be broken into 3 parts:
(A) The Control Panel provides options to select words to be projected on the parallel coordinates plot
(B) The Main View shows the bias scores of selected words (blue lines) along different bias types (axes)
(C) The Search Panel enables users to search for a word and display the search/brushing results.

In the above figure, the user has brushed over 'Male' and 'Islam' subgroups. Words with strong association to both these subgroups are listed below the search box like bomb, terror, aggression, etc. This suggests that Word2vec embedding contains biases against Muslim males.

For a quick starter on Parallel Coordinates, please refer to this link.

Video Teaser

wordbias_preview.mp4

Overview

WordBias is an interactive visual tool designed to explore biases against intersectional groups like black females, black muslim males, etc. encoded in word embeddings. Our tool considers a word to be associated with an intersectional group say ‘Christian Males’ if it associates strongly with each of its constituting subgroups (Christians and Males). Our tool aims to act as an effective auditing tool for experts, an educational tool for non-experts and enhance accessibility for domain experts.

Installation Instructions

  • Clone this repo

  • Install Dependencies like flask, gensim, py_thesaurus, etc.

  • Run python app.py

  • Browse localhost:6999

Citation

@inproceedings{ghai2021wordbias,
  title={WordBias: An Interactive Visual Tool for Discovering Intersectional Biases Encoded in Word Embeddings},
  author={Ghai, Bhavya and Hoque, Md Naimul and Mueller, Klaus},
  booktitle={Extended Abstracts of the 2021 CHI Conference on Human Factors in Computing Systems},
  pages={1--7},
  year={2021}
}

Feel free to email me for any questions, comments at [email protected]

wordbias's People

Contributors

bhavyaghai avatar tonmoycsedu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

wordbias's Issues

Live Demo doesn't work

The live demo doesn't work.

The error message is "Connection was reset" (using both Firefox and Chromium Freeworld)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.