Skip to content

Lei-Ding07/Word_Debias_DeSIP

Repository files navigation

Word_Debias_DeSIP

Word Embeddings via Causal Inference: Gender Bias Reducing and Semantic Information Preserving (AAAI 2022)

This repo contains the code for the paper.


Our debiased embedding:

U-DeSIP: https://drive.google.com/file/d/1xIbODofL-rGhH70uH0Kh7WSGAsFyD18t/view?usp=sharing

P-DeSIP: https://drive.google.com/file/d/1Q14-FLXmBn6K3pUUiHpv-D6kKhoVuHJ-/view?usp=sharing

You can use the load_embedding.py file to load the embeddings.


The original GloVe embedding (pre-trained on 2017 January dump of English Wikipedia) can be downloaded here: https://drive.google.com/file/d/1w7tl3xSg69L1zURTpQ6qDg0uXab_XKFw/view?usp=sharing

R_codes contains R code for calculate screening and Y_hat for P-DeSIP and U-DeSIP and Semantic information preservation experiment.

residual notebook for calucate residual Y_delta_ortho and final output of debiased embedding.

Wordlist document contains word list and corresponding word vectors(from original GloVe).

Evaluation folder and notebook calculate result for experiments section.

Document DownStreamTasks contains code for training the downstream task, including POS, POS chunking and NER.

Cite

@inproceedings{ding2022word,
  title={Word embeddings via causal inference: Gender bias reducing and semantic information preserving},
  author={Ding, Lei and Yu, Dengdeng and Xie, Jinhan and Guo, Wenxing and Hu, Shenggang and Liu, Meichen and Kong, Linglong and Dai, Hongsheng and Bao, Yanchun and Jiang, Bei},
  booktitle={Proceedings of the AAAI Conference on Artificial Intelligence},
  volume={36},
  number={11},
  pages={11864--11872},
  year={2022}
}

This work was supported by the Economic and Social Research Council (ESRC ES/T012382/1) and the Social Sciences and Humanities Research Council (SSHRC 2003- 2019-0003) under the scheme of the Canada-UK Artificial Intelligence Initiative. The project title is BIAS: Responsible AI for Gender and Ethnic Labour Market Equality

About

Word Embeddings via Causal Inference: Gender Bias Reducing and Semantic Information Preserving (AAAI 2022)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published