{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/nurse-is-closer-to-woman-than-surgeon","title":"Nurse is Closer to Woman than Surgeon? Mitigating Gender-Biased Proximities in Word Embeddings","arxiv_id":"2006.01938","date":"2020-06-02","proceeding":null,"authors":["Tenzin Singhay Bhotia","Vaibhav Kumar","Tanmoy Chakraborty"],"abstract":"Word embeddings are the standard model for semantic and syntactic representations of words. Unfortunately, these models have been shown to exhibit undesirable word associations resulting from gender, racial, and religious biases. Existing post-processing methods for debiasing word embeddings are unable to mitigate gender bias hidden in the spatial arrangement of word vectors. In this paper, we propose RAN-Debias, a novel gender debiasing methodology which not only eliminates the bias present in a word vector but also alters the spatial distribution of its neighbouring vectors, achieving a bias-free setting while maintaining minimal semantic offset. We also propose a new bias evaluation metric - Gender-based Illicit Proximity Estimate (GIPE), which measures the extent of undue proximity in word vectors resulting from the presence of gender-based predilections. Experiments based on a suite of evaluation metrics show that RAN-Debias significantly outperforms the state-of-the-art in reducing proximity bias (GIPE) by at least 42.02%. It also reduces direct bias, adding minimal semantic disturbance, and achieves the best performance in a downstream application task (coreference resolution).","url_abs":"https://arxiv.org/abs/2006.01938v1","url_pdf":"https://arxiv.org/pdf/2006.01938v1.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"nurse-is-closer-to-woman-than-surgeon","repo_url":"https://github.com/TimeTraveller-San/RAN-Debias","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"coreference-resolution","task_name":"Coreference Resolution"},{"task_slug":"word-embeddings","task_name":"Word Embeddings"},{"task_slug":"coreference-resolution-1","task_name":"coreference-resolution"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2006.01938","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2006.01938"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/TimeTraveller-San/RAN-Debias","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":13},"by_repo_kind":{"official":{"samples":13,"ran":0,"repositories":1}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted","community":"Not in the archive's code links for this paper; a community repository Syntology harvested"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"653c902f4192ec34","entry":"dedup","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/we.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/we.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"653c902f4192ec34"}},{"code_sha256_prefix":"3300a5e982458678","entry":"get_nbs","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/make_neighbours.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/make_neighbours.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3300a5e982458678"}},{"code_sha256_prefix":"34c4e09e34e2fc7b","entry":"get_neighbors","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/gipe.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/gipe.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"34c4e09e34e2fc7b"}},{"code_sha256_prefix":"ac609e24a985b508","entry":"get_ns_idb","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/RANDebias.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/RANDebias.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ac609e24a985b508"}},{"code_sha256_prefix":"8622b41ff65f28b2","entry":"get_ns_idb","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/make_neighbours.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/make_neighbours.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"8622b41ff65f28b2"}},{"code_sha256_prefix":"666e7b4bb960c7b3","entry":"get_pair_idb","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/gipe.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/gipe.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"666e7b4bb960c7b3"}},{"code_sha256_prefix":"e65013b545c91757","entry":"get_pair_idb","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/make_neighbours.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/make_neighbours.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e65013b545c91757"}},{"code_sha256_prefix":"3f567dcf4a70ee50","entry":"init_vector","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/RANDebias.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/RANDebias.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"3f567dcf4a70ee50"}},{"code_sha256_prefix":"7c933676f9aafa31","entry":"parse_float","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/RANDebias.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/RANDebias.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7c933676f9aafa31"}},{"code_sha256_prefix":"85ce3c4d3a2d9bf3","entry":"prox_bias","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/gipe.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/gipe.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"85ce3c4d3a2d9bf3"}},{"code_sha256_prefix":"16667359f4cb8fda","entry":"read","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/combine.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/combine.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"16667359f4cb8fda"}},{"code_sha256_prefix":"dd4de119837da17b","entry":"safe_word","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/we.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/we.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dd4de119837da17b"}},{"code_sha256_prefix":"1ae322ed84456151","entry":"to_utf8","repo":"TimeTraveller-San/RAN-Debias","repo_kind":"official","path":"src/we.py","file_url":"https://github.com/TimeTraveller-San/RAN-Debias/blob/HEAD/src/we.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1ae322ed84456151"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}