Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
data_mining:neural_network:word_embeddings [2018/06/09 16:31] – [Sentiment classification] phreazer | data_mining:neural_network:word_embeddings [2018/06/09 16:40] (current) – [Debiasing word embeddings] phreazer | ||
---|---|---|---|
Line 112: | Line 112: | ||
* Extract embedding vector for each word | * Extract embedding vector for each word | ||
* Feed into RNN with softmax output | * Feed into RNN with softmax output | ||
+ | |||
+ | |||
+ | ===== Debiasing word embeddings ===== | ||
+ | |||
+ | Bias in text | ||
+ | |||
+ | Addressing bias in word embessing: | ||
+ | |||
+ | - Identify bias direction (e.g. gender) | ||
+ | * $e_{he} - e_{she}$, average them | ||
+ | - Neutralize: For every word that is not definitial (legitimate gender component), project | ||
+ | - Equalize pairs: Only difference should be gender (e.g. grandfather vs. grandmother); | ||
+ | |||
+ |