Learning Bias-reduced Word Embeddings Using Dictionary Definitions
Paper · 2022 · Haozhe An, Xiaojiang Liu and Donald Zhang
Summary
A word for an occupation can apply to anyone even when the text used to train a computer system repeatedly associates it with one gender. A dictionary can make that distinction explicit. Words such as nurse and driver describe jobs, while words such as sister and brother carry gender information as part of their meaning. An and colleagues ask whether word embeddings can learn from both sources at once. An embedding represents a word as a vector, and relationships among vectors can reflect both useful patterns and stereotypes. The authors’ method, DD-GloVe, uses dictionary definitions to help decide which associations to keep as it learns the vectors.
DD-GloVe starts with randomly initialized vectors and trains on Wikipedia word co-occurrences alongside definitions from the Oxford online dictionary. It averages the vectors of the words in a definition to give the headword a reference point. The training objective uses that reference to guide word meaning, discourage information that lies outside the definition’s direction, and calibrate how much of a chosen attribute the word should express. It also adjusts how strongly individual co-occurrences influence training. To estimate a direction for an attribute, the method starts from an opposite pair, such as she and he, and looks for other words with definitions that resemble either seed. Those words supply a broader basis for estimating the direction.
The gender-focused version has the lowest effect sizes among the systems compared on both gender tests of the Word Embedding Association Test. On the comparison involving math and arts, its effect size is 0.083, versus 1.07 for ordinary GloVe. The race-focused version also weakens the association measured by the race test. Results on a downstream task are more mixed. DD-GloVe narrows the gap in coreference resolution between stereotype-consistent and stereotype-inconsistent WinoBias examples relative to GloVe, and some competing methods narrow it further. On word analogy and concept categorization, DD-GloVe stays close to GloVe on several benchmarks, improves on some, and loses ground on others.
The analyses show why the dictionary has several jobs in the method. Matching the definition along the chosen direction makes the largest contribution to the tested gender-bias reduction. A more general penalty contributes to improvements on association tests outside gender, and an explicit definition-matching term helps with semantic analogies. The authors also find that occupation definitions computed during DD-GloVe training carry weaker gender projections than definitions built from ordinary GloVe vectors. The evidence supports using definitions as guidance during static embedding training. Its scope depends on which words the dictionary covers, what their definitions say, and which associations the evaluation measures.
Deep dive: Learning Bias-reduced Word Embeddings Using Dictionary Definitions
DD-GloVe uses dictionary definitions during word embedding training to reduce stereotyped associations while preserving useful information about word meaning. · about 36 minutes to read
The problem and its context
What a corpus teaches a word vector
Static embeddings assign a shared vector to a word across its occurrences. A training corpus supplies the evidence for arranging those vectors. Words that appear in related settings can acquire relationships that capture aspects of their meanings or grammatical behavior. The paper takes that usefulness as the starting point. The same source of evidence can also give two words a strong relationship because the people or activities they refer to are discussed in stereotyped ways.
The paper discusses this problem through the geometry of analogies. Vector offsets can express relationships among words. If the offset between gender terms resembles the offset between terms for occupations or roles, the analogy computation can carry that pattern over to a new query. Earlier work discussed by the authors illustrated the problem with an association between women and homemaking, and between men and computer programming. An occupation acquires an association through patterns of usage even when that association places no condition on who can do the job. The authors trace this example to Man is to Computer Programmer as Woman is to Homemaker?.
The concern extends to applications that take word vectors as inputs. The authors cite research identifying gender bias in systems that resolve references, produce dialogue, or translate text. They also cite evidence of racial and religious bias in pretrained vectors. The harms discussed in this context include ways an application can represent people stereotypically and ways its decisions can affect the allocation of opportunities or resources. The paper draws this distinction from Language (Technology) is Power.
The study focuses on static vectors even as it acknowledges increasing interest in representations that depend on the context of an occurrence. The introduction points to contemporary uses of static embeddings in language processing and computer vision. This gives the authors a concrete object to change and evaluate. A dictionary lookup can be aligned with a static vocabulary entry, and geometric comparisons can be made between the resulting vectors. The paper situates its choice alongside contextual approaches such as BERT and ELMo.
Why some associations should survive
Reducing bias requires a distinction between an attribute carried by a word’s meaning and an attribute that tends to accompany the word in the corpus. The authors call words such as fraternal and sororal gender-specific. They use gender-biased for words that can refer to a person of any gender and are subject to gender stereotypes. Cashier and driver are examples. A third category, gendered words, refers to the vocabulary used to express gender explicitly, such as man and woman. The paper uses a previously compiled list of 1,441 gendered words as a tool for inspecting definitions.
A dictionary gives the distinction an operational form. A definition of a family relationship can use a gendered term because the gender is part of the relationship described. A definition of a job can explain what a person does using vocabulary that applies across genders. The dictionary therefore offers evidence about when the gender component of a word vector is warranted. This is the basic reason for matching the word’s attribute projection to the definition’s projection. Each word can have a different reference value.
The paper checks how often this distinction appears in definitions. It searches for words from the gendered vocabulary in definitions of occupations and of terms already categorized as gender-specific. Gendered words are absent from the definitions of 39 out of 40 occupations chosen as examples of gender-biased words. They are present in the definitions of 327 out of 379 gender-specific words. The comparison gives the authors a reason to use definitions as guidance. It establishes a pattern of explicit wording in these lists, with exceptions on both sides.
Using this evidence for training raises a separate question. A definition is made of words, and each of those words must itself receive a numerical representation. A definition with no explicitly gendered term can still acquire a gender association if its constituent vectors already encode one. The paper’s distinction between a definition as text and a definition as a vector explains why the authors care about when the reference is built.
How earlier approaches intervened
The paper groups prior debiasing approaches according to where they change the learning pipeline. Projection-based approaches usually begin with trained vectors. They identify a direction using manually chosen terms related to the attribute of interest, then remove a component along that direction from selected vectors. Gender provides familiar examples of paired terms, including pronouns and corresponding words for children or adults. The authors point out that compiling a comparable list can demand judgment and effort for other attributes. The work they discuss in this family includes [Double Hard Debias] as a named baseline and Iterative Nullspace Projection.
Earlier dictionary-based post-processing also starts with trained vectors. The approach the authors compare against forms a weighted representation of each definition from its constituent word vectors, then uses the representation as a target for adjustment. DD-GloVe retains the idea that a definition can guide a word vector. Its departure is to construct definitions from the vectors being learned from scratch. The authors expect that starting from an embedding space whose associations are already established makes it harder for the dictionary to supply an independent correction.
The paper also describes interventions during learning. GN-GloVe adds an objective during training to concentrate gender information in a designated part of the vectors. Other work uses counterfactual changes to the training text. The premise relevant to DD-GloVe is that more balanced contexts can lead to weaker biased associations. DD-GloVe acts on the influence of the observed word pairs during training rather than changing the corpus text. The paper discusses Learning Gender-Neutral Word Embeddings in this train-time setting.
Dictionaries and related lexical resources had also been used to improve meaning representations. In the works described by the authors, definitions or explicit word relationships supplement the evidence available from a corpus. The proposed method carries that idea into a bias-reduction objective. This history explains why semantic preservation is a separate part of the evaluation. A definition can contribute useful information even when its contribution to a bias measure is small. The paper cites Semantic Specialization of Distributional Word Vector Spaces as part of that earlier work.
The method, step by step
The training process in outline
DD-GloVe learns each word vector under pressure from co-occurrences and definitions. Consider nurse. The corpus tells training which other words occur near it and how often. The dictionary contributes words that describe what a nurse does. Those words are represented in the same space being learned, so a change to their vectors can also change the reference for nurse. If the word vector begins to express more of the chosen gender contrast than the definition vector, the objective can penalize that discrepancy while corpus training continues.
Definitions play a second role in choosing the words that define the attribute direction. The starting pair gives the method a contrast to look for. DD-GloVe compares other definitions to the definitions of the seeds, collects terms from opposite ends of the ranking, and uses the vectors of the collected terms to estimate a direction. Once that direction is available, the amount of attribute information in a word vector and its definition vector can be compared directly.
How DD-GloVe trains with dictionary definitions
The steps in order.
The picture describes dependencies among the computations. Several quantities depend on the current vectors, so they can change as training proceeds. The experiment that targets gender fixes the membership of the expanded seed sets, then refreshes the direction computed from that membership. The experiment that targets race also refreshes the seed selection. The paper identifies its accompanying implementation by the name DD-GloVe.
Building a definition vector
The training corpus is a Wikipedia dump distributed through Hugging Face. The authors apply the preprocessing used by the original GloVe implementation, retain the 400,000 most frequent words as the vocabulary, and use vectors with 300 dimensions. GloVe learns from counts of how often words occur near one another. These counts give DD-GloVe its distributional training signal as well. The underlying approach is described in GloVe: Global Vectors for Word Representation.
For each vocabulary entry, the authors look up definitions in the Oxford online dictionary. They combine the available definitions of a word, then remove stopwords, the common words excluded during this preprocessing. Their dictionary lookup yields 92,140 words with definitions. The remaining words can still participate in co-occurrence training. The individual objectives specify how to handle an absent definition, and those rules differ depending on the objective.
The authors average the vectors of the remaining definitional words with equal weight. Combining all the definitions follows the static setup, where the headword receives a single vector. An entry with several senses contributes the wording of those senses to the same reference. As a result, the reference is a composite of the dictionary’s descriptions, expressed in the current embedding space.
s(w) = (1/K) Σᵢ₌₁ᴷ h(w)ᵢ
Here, w denotes the headword, and s(w) is its definition vector. The function h returns the words in the combined definitions after stopword removal. In the sum, h(w)ᵢ is the embedding of the definitional word at position i. K counts the positions, Σ adds the vectors from the first through the last, and 1/K makes the result their mean. In the rest of the method, w can also stand for the vector associated with the headword. The surrounding operation indicates which use is intended.
The operation is easy to describe and gives the dictionary a role throughout training. At initialization, the average is built from random vectors. As corpus training gives the definitional words more structure, their average changes. That dependence is central to the proposal. A dictionary can supply different statements about a word from those suggested by the corpus, even though the system uses the same learned vocabulary to express both signals.
Estimating a direction from a pair of words
The authors begin with words chosen to represent the ends of the contrast they want to study. The gender experiment uses she and he. The race experiment uses black and white. The human input gives the method a distinction to work with. The dictionary supplies candidates for broadening the comparison beyond those initial words.
Algorithm 1 looks at each candidate’s definition and contrasts its cosine similarity to the definitions of the initial seeds. Cosine similarity compares vector directions by dividing the dot product by the product of the vector lengths. In this ranking, a candidate receives a more positive score when its definition is closer in direction to the first seed definition than to the second. The opposite pattern gives a more negative score. The paper describes this as finding definitions along the difference between the seed definitions. The implemented scoring rule normalizes both seed definition vectors in the comparison.
r(w) = [s(w) · s(v₁)] / [‖s(w)‖ ‖s(v₁)‖] − [s(w) · s(v₂)] / [‖s(w)‖ ‖s(v₂)‖]
Here, r(w) is the ranking score for candidate word w. The initial seed words are v₁ and v₂, and s(w), s(v₁), and s(v₂) are the corresponding definition vectors. The dot denotes a dot product, and the double bars denote vector length in this formula. The minus sign gives the difference between the two cosine similarities. Computing the score requires definition vectors for the candidate and the seeds.
The algorithm initializes a set for each end of the contrast with its corresponding seed. It orders the candidates by their scores and draws from opposite ends of the ordering. A parameter N controls the selection from each end. The gender experiment sets N to 30, and the authors explain that they choose the size of the search empirically based on how many words are available for the concept. The set operation allows an initial seed to appear among the ranked choices without treating the duplicate as another member.
The ranking step uses definitions, but the direction itself comes from the word vectors. The authors average the vectors for each selected group and subtract one mean from the other. That choice lets dictionary evidence determine which words enter the estimate, while establishing an axis in the space where ordinary word vectors will be assessed.
g = (1/|Q_A₁|) Σ_{w∈Q_A₁} w − (1/|Q_A₂|) Σ_{w∈Q_A₂} w
In this expression, A₁ and A₂ denote the attributes represented by the two starting words. Q_A₁ and Q_A₂ are the selected sets for those attributes, and vertical bars around a set denote its size. Each sum adds the current word vectors w for the members of the specified set, as indicated by ∈. The reciprocal of the set size turns each sum into a mean. Subtracting the second mean from the first gives the estimated direction g.
Fixing group membership and fixing g would be different training procedures. The reported gender setup runs the selection once at the beginning and uses those sets throughout training. Since the vectors of the selected words still change, the authors recompute the direction once per iteration. For the race setup they report searching for seeds in the first 5 iterations and updating them every 10 iterations. The authors say fixed sets worked better for attributes with many associated words, while periodic reselection tended to suit more sparsely represented attributes.
Penalizing information orthogonal to a definition
The orthogonal loss begins by asking which part of a word vector points outside the line spanned by its definition vector. A projection onto that line is the component that can be expressed as a multiple of the definition vector. Subtracting it leaves the component perpendicular to the definition vector. The authors treat this residual as a place where unnecessary associations can accumulate.
ϕ(w, s(w)) = w − [(w · s(w)) / (s(w) · s(w))] s(w)
Here, ϕ is the residual vector, w is the headword’s vector, and s(w) is its definition vector. The dot is a dot product. The numerator inside the brackets measures the alignment of the two vectors. The denominator is the squared length of the definition vector. Their quotient tells how much of the definition vector to subtract. The expression assumes a non-zero definition vector wherever this projection is evaluated.
DD-GloVe penalizes the residual through its dot product with the original word vector. Because the residual is perpendicular to the part that was subtracted, only the residual component of the original vector contributes to that dot product. The penalty is small when the residual is small and grows as more of the word vector lies outside the definition’s line. This term requires a dictionary definition and is skipped for entries that lack one.
J_ortho(w) = [ϕ(w, s(w)) · w]²
J_ortho(w) is the orthogonal loss for the word vector w. The function ϕ gives the residual from the preceding expression, s(w) is the vector for the definition, and the dot is again a dot product. The square makes the penalty increase with the magnitude of the quantity in brackets.
This term can act on components unrelated to the attribute selected by the user, because g is absent from it. That breadth is also a reason to control its strength. A dictionary describes the word, while the corpus can supply facts about its behavior and relationships that a definition leaves implicit. Geometrically, a residual merely indicates disagreement in direction. The loss uses that disagreement as a training signal, and the experiments test what happens when it receives more or less weight.
Matching projections along the chosen direction
The projection loss asks a narrower question. It compares only the portions of a word vector and its definition vector that lie along g. A definition of a gender-specific word can call for a gender projection, and the loss allows the word to retain it. When a definition has little projection along the estimated direction, the word vector is pulled towards a similarly small projection. The reference is set separately for each defined word through the same operation.
J_proj(w) = ‖[(w · g) / (g · g)] g − [(s(w) · g) / (g · g)] g‖₁
J_proj(w) is the projection loss for the headword vector w. The definition vector is s(w), and g is the estimated attribute direction. The dot is a dot product. Each quotient gives the coefficient of the corresponding vector’s projection onto g, and multiplication by g produces that projection as a vector. The subscript ₁ specifies the norm that sums the absolute values of the coordinates of the difference. The calculation uses a non-zero g.
If a word lacks a dictionary entry, the method treats its definition’s dot product with g as zero for this objective. The word is then encouraged to have a small projection along the selected direction. This rule gives the targeted loss a broader reach than the losses that require a definition. It also makes dictionary coverage relevant to the behavior of the method. For a missing entry, the target is chosen by a general assumption about the word.
The distinction between the projection loss and the orthogonal loss matters when the dictionary and corpus disagree. A word can align well with its definition along the selected direction while retaining a large residual elsewhere. Conversely, the word and definition can have similar overall directions but different projections along g. Each loss responds to a different kind of mismatch. Together they let the authors investigate a focused correction and a broader regularization of the vectors.
Bringing in meaning from the definition
A third term brings the headword and definition vectors closer coordinate by coordinate. This definition loss acts on the full difference between them. For instance, a definition can express relations that characterize an occupation even when they have little to do with gender. The loss gives those parts of the definition a direct route into the headword representation.
J_def(w) = ‖w − s(w)‖₁
J_def(w) is the definition loss for word vector w. Its definition vector is s(w), and the subtraction gives their difference. The subscript ₁ again denotes the sum of the absolute values of the coordinates. The update from this term is skipped when the word has no definition.
The difference between the definition and orthogonal losses can be seen when the two vectors point in the same direction and have different lengths. The orthogonal residual then vanishes. The definition loss can still register a difference in the coordinates. The former asks how much the word vector extends outside the definition’s line, while the latter asks how far the vector is from the definition itself.
Reweighting the co-occurrences
The fourth change acts directly on the corpus objective. Ordinary GloVe assigns importance to observed word pairs using a function of their counts. DD-GloVe introduces another factor based on how the current vectors of a word and its context word relate to the starting contrast. The intuition is that biased vectors can be reinforced when stereotypically aligned words repeatedly occur together. A different weighting can make training respond less strongly to some aligned pairs and more strongly to pairs that cross the contrast.
The first quantity for this calculation compares the cosine similarities of a vector to the initial seed word vectors. These are the vectors of the words themselves, whereas the seed search compared definition vectors. The reweighting calculation also uses the starting pair directly, while the targeted projection loss uses the direction estimated from the expanded groups.
u(w) = (w · v₁) / (‖w‖ ‖v₁‖) − (w · v₂) / (‖w‖ ‖v₂‖)
Here, u(w) is the signed association score for the vector w. The vectors v₁ and v₂ represent the initial seed words. Dots denote dot products, and the double bars denote vector lengths. Each fraction is a cosine similarity. The sign of their difference indicates which seed is closer in direction, and the size reflects the strength of that preference under this comparison.
A large signed association need not be inappropriate. A word with a gender-specific meaning may resemble its definition in this respect. DD-GloVe therefore measures how far the word’s score departs from the score obtained by putting its definition vector into the same calculation.
d(w) = |u(w) − u(s(w))|
Here, d(w) is the discrepancy between word and definition in the signed score. The function u takes a vector as input, w is the word vector, and s(w) is its definition vector. The single bars around the difference mean absolute value, so the discrepancy measures size regardless of the direction of departure. This use of d is distinct from the embedding dimension and from the effect size reported by the association tests.
The multiplier for an observed pair uses the larger discrepancy of its two members. When their signed scores point to opposite ends of the contrast, the multiplier raises the influence of the pair. Same-sign scores lower it. When the definition and word scores agree for both members, there is no discrepancy to scale the change. The authors intend the adjustment to operate even if the large discrepancy comes mainly from one member.
f′(w, w̃) = 1 − α · sgn(u(w)) · sgn(u(w̃)) · max(d(w), d(w̃))
The function f′ gives the new multiplier for word vector w and context word vector w̃. The function sgn returns the sign of the signed association u. The function max selects the larger of the discrepancies d for the two members. The constant α scales the change, and 1 is the unmodified multiplier. The dots between scalar quantities indicate multiplication. The authors say that α keeps the multiplier around [0.9, 1.1] for stable behavior. If either member of the pair lacks a definition, they set the multiplier to 1.
The modified corpus loss still compares an embedding-based prediction to the logarithm of the observed count. It retains the frequency-based weighting from GloVe. The dictionary-informed multiplier changes how much that pair’s prediction error matters during training.
J_G−bias = Σᵢ,ⱼ f′(wᵢ, w̃ⱼ) f(Xᵢⱼ) (wᵢᵀw̃ⱼ + bᵢ + b̃ⱼ − log Xᵢⱼ)²
J_G−bias denotes the bias-aware corpus loss. The sum ranges over co-occurrence pairs indexed by i and j in the vocabulary V. The target vector is wᵢ, and the context vector is w̃ⱼ. The superscript ᵀ denotes transpose, so wᵢᵀw̃ⱼ is their dot product. The quantities bᵢ and b̃ⱼ are learned scalar offsets for the word and context, respectively. Xᵢⱼ is the observed count, log is the logarithm, and the square is the regression penalty for the difference inside the parentheses. The original GloVe weight is f(Xᵢⱼ), and f′ is the new multiplier. The weighting changes the training objective applied to the counts while leaving the recorded counts themselves intact.
Putting the losses together
The final objective combines the modified corpus regression with the three dictionary-guided penalties. These pieces answer different questions about the current vectors. The corpus regression asks whether pairs predict their observed co-occurrences. The orthogonal term asks how far a word extends outside the line of its definition. The targeted term asks whether its projection agrees along the chosen direction. The definition term asks whether the vectors are close across coordinates.
J = J_G−bias + β J_ortho + γ J_proj + λ J_def
Here, J is the combined training objective. J_G−bias is the modified corpus loss. J_ortho, J_proj, and J_def denote the corresponding word-level penalties used in training. The Greek letters β, γ, and λ are the weights of the orthogonal, projection, and definition terms, respectively. Their absolute magnitudes depend in part on how each loss is scaled.
For DD-GloVe gender the authors set β and λ to 1×10⁻⁴, γ to 0.2, and α to 0.4. For DD-GloVe race they use the same values of β, λ, and α, and set γ to 0.05. The paper explains that the orthogonal and definition losses can have relatively large raw values because they are used without normalization by vector dimension. The smaller weights help control their contributions to the overall objective.
The authors clip vector entries to [−1, 1] to avoid numerical difficulties. They train baseline GloVe for 100 iterations and report that about 40 iterations give DD-GloVe favorable debiasing and semantic performance. Taken together, the settings specify a comparison between trained embedding systems with their respective training choices. The results assess those systems and are complemented by controlled changes to the DD-GloVe losses.
Experiments and results
What the association tests measure
The Word Embedding Association Test, or WEAT, compares sets of words. It asks whether the geometry favors particular pairings of target and attribute vocabularies. For example, an evaluation can contrast math and arts vocabulary in relation to male and female names. The test reports an effect size, d, and a p-value. In the paper’s benchmark comparisons, lower effect sizes indicate weaker measured associations, and the accompanying p-values describe how unusual the observed association is under the test’s null comparison. The method follows the test introduced in Semantics derived automatically from language corpora contain human-like biases.
The comparisons include ordinary GloVe and three existing debiasing methods. Double Hard Debias, abbreviated DHD, performs projective post-processing. Dict Debias applies dictionary-based post-processing. GN-GloVe changes the objective during training. The authors use the default settings in the released baseline implementations. For WEAT they omit GN-GloVe’s designated gender dimension. They retain all its dimensions in the coreference experiment, where the vectors serve a different purpose.
The gender-focused DD-GloVe configuration performs best among the compared systems on both reported gender tests. Gender-1 compares career and family vocabulary in relation to male and female names. On this test, GloVe has an effect size of 1.74 and a reported p-value of 0.00. DHD gives an effect size of 1.38 and a p-value of 0.0014. The gender configuration of DD-GloVe brings the effect size to 1.25 with a p-value of 0.0029. That is the weakest association measured in this comparison, and the remaining effect is visible in the reported pair of statistics.
The Gender-2 test uses math and arts. Here the gender configuration’s effect size is particularly low among the compared systems. The contrast between DD-GloVe gender and DD-GloVe race also shows that choosing an attribute and a training setup changes the result on a test designed for gender.
WEAT Gender-2 math and arts comparison by effect size
Gender-focused DD-GloVe has the weakest measured association on this test.
The numbers
| System or setting | effect size d |
|---|---|
| GloVe | 1.07 |
| Double Hard Debias | 0.45 |
| Dict Debias | 1.15 |
| GN-GloVe | 1.18 |
| DD-GloVe gender (this paper) | 0.083 |
| DD-GloVe race | 0.77 |
On Gender-2, the p-value is 0.44 for DD-GloVe gender and 0.063 for DD-GloVe race. Ordinary GloVe gives 0.013. The two gender tests thus give a consistent ranking at the top and a different picture of the remaining measured association. The result depends on which vocabularies are paired with the names. Career and family provide one probe of the geometry, while math and arts provide another.
The race test compares European American and African American names against pleasant and unpleasant words. The race-focused configuration records a d of 0.80 and a p-value of 0.037. Dict Debias is close, with d of 0.82 and a p-value of 0.033. Ordinary GloVe gives d of 1.18 and a p-value of 0.0029. The gender-focused configuration gives d of 1.01 and a p-value of 0.011. This is evidence of a weaker measured association in the intended setting, with the closest dictionary-based baseline performing similarly.
The age and nature evaluations use the same pleasant and unpleasant contrast with different vocabularies. In the age test, names are selected for stereotypical associations with people who are young or old. Dict Debias has an effect size of 0.62, and DD-GloVe race gives 0.64, against 1.03 for GloVe. DD-GloVe gender gives 0.94 in this test. For the nature test, which uses flower and insect vocabulary, DD-GloVe race gives the smallest effect size, 0.99. DD-GloVe gender gives 1.01 and ordinary GloVe gives 1.15. The range of outcomes is consistent with a method that can affect several associations while emphasizing a chosen one. The ablations provide a closer look at which part of the method is responsible for that broader effect.
What changes in coreference resolution
In coreference resolution, a system groups expressions that refer to the same entity. A pronoun may refer to one of several people mentioned in a sentence. WinoBias tests whether a system handles these references differently depending on whether the gender of the pronoun agrees with a stereotype about an occupation. The paired examples let the evaluator compare performance when that relationship changes. The benchmark comes from Gender Bias in Coreference Resolution: Evaluation and Debiasing Methods.
The authors train the end-to-end system described by Lee and colleagues on OntoNotes 5.0 using alternative sets of embeddings. The implementation uses AllenNLP, and the bias comparison uses the WinoBias Type 1 set. Scores are reported separately for pro-stereotype and anti-stereotype examples, alongside the average and the gap. F1 brings together precision and recall, so the average describes the overall level of performance across these subsets, while the gap describes how differently the system performs on them. The paper uses End-to-end Neural Coreference Resolution as the downstream architecture.
WinoBias Type 1 F1 gap between pro- and anti-stereotype subsets
DD-GloVe narrows the gap relative to GloVe and Dict Debias, while DHD and GN-GloVe produce smaller gaps.
The numbers
| System or setting | F1 percentage points |
|---|---|
| GloVe | 11.07 |
| Double Hard Debias | 2.57 |
| Dict Debias | 9.08 |
| GN-GloVe | 3.89 |
| DD-GloVe (this paper) | 7.94 |
The subset scores show how DD-GloVe reaches its gap. The GloVe system scores 67.03 on pro-stereotype examples and 55.96 on anti-stereotype examples. With DD-GloVe, the corresponding scores are 65.53 and 57.59. DD-GloVe gives up some performance on the easier subset for GloVe and gains some on the harder one. Their overall averages are close, at 61.50 for GloVe and 61.56 for DD-GloVe.
DHD gives the smallest gap in this comparison and averages 59.28 on WinoBias. GN-GloVe averages 62.73, the highest figure reported, along with a smaller gap than DD-GloVe. The authors suggest that the occupation words used in WinoBias are covered by GN-GloVe’s manually compiled vocabulary. That gives GN-GloVe explicit guidance on words that matter for the test. DD-GloVe delegates that decision to the definition, whose terms can introduce noise. This is the authors’ explanation for the pattern in the table. The comparison varies the embedding methods as wholes.
The authors also give the training F1 values on OntoNotes 5.0. DD-GloVe reaches 60.44 and GloVe reaches 60.50. GN-GloVe reaches 60.78, and Dict Debias reaches 60.66. These values describe how the systems fit the coreference training data. The WinoBias comparison addresses a different question about performance on examples designed around stereotyped and counter-stereotyped references. Similar training performance can coexist with different gaps on that evaluation.
Which aspects of meaning survive training
The paper uses analogies and concept categorization to test whether debiasing discards information that makes the embeddings useful. In the analogy task, the target is the nearest word vector to a combination of vectors from the prompt. The idea is to compose a relationship suggested by two words with the meaning of another word. Using the authors’ notation for the combination, the search point is written as follows.
q = w_A − w_B + w_C
Here, q denotes the point used for the nearest-vector search. The vectors w_A, w_B, and w_C belong to the three words in the analogy, indexed by A, B, and C in the paper’s expression. Subtraction and addition are vector operations. The prediction is a vocabulary word whose vector is nearest to the resulting point. The evaluation counts how frequently the first returned answer is correct.
The authors report results separately for the semantic and syntactic portions of the Google analogy benchmark. On the semantic subset, DD-GloVe reaches 80.27% and GloVe reaches 79.26%. On the syntactic subset, DD-GloVe gives 62.67% and GloVe gives 63.19%. Across the Google test as a whole, DD-GloVe gives 70.66%, compared with 70.48% for GloVe and 70.59% for Dict Debias. On MSR, DD-GloVe gives 53.69%, compared with 54.10% for GloVe. The split results matter because a similar overall score can accompany gains and losses across types of relationships.
In concept categorization, the authors use KMeans to cluster the vectors of a benchmark vocabulary. Purity measures the degree to which the resulting clusters consist of items from the same reference category. The embeddings give the clustering procedure information about which words belong near one another. Higher purity means that this information better supports the benchmark’s category distinctions for that run.
On the Almuhareb-Poesio dataset, identified as AP, DD-GloVe records 58.71% purity against 57.71% for GloVe and 60.95% for Dict Debias. On the ESSLLI dataset, DD-GloVe gives 67.78% against 66.91% for GloVe. Its Battig result is 48.06% against 49.42% for GloVe. BLESS shows a larger decline, with DD-GloVe at 76.00% and GloVe at 83.50%. All the listed baselines score above DD-GloVe on BLESS. The benchmark is BLESS.
The appendix supplies two more downstream checks. With an LSTM for sentiment analysis on IMDB, DD-GloVe achieves test F1 of 88.34%, against 87.94% when the same task uses GloVe. With a convolutional system for document classification on 20 Newsgroups, it achieves test F1 of 74.45%, against 74.16% for GloVe. These experiments help show that the embeddings remain usable as inputs beyond analogy and clustering. They measure general task performance on their test sets. The paper’s downstream comparison by stereotype alignment comes from WinoBias.
What the ablations show
The targeted loss carries much of the gender result
The authors test the objectives by leaving a term out of the full system and by varying the weight of a selected dictionary penalty used on its own with corpus training. The main ablation table reports Google semantic analogy accuracy and WEAT Gender-1 effect size and p-value. The paired metrics allow the reader to see when a more favorable association score accompanies weaker analogy accuracy. A separate WEAT comparison examines what happens across attributes when the orthogonal term is removed.
Removing the projection loss largely erases the improvement on Gender-1. The full gender configuration records d of 1.25. With the projection loss omitted, d rises to 1.76, close to the 1.74 recorded by ordinary GloVe. Yet Google semantic analogy accuracy remains high in the omission, at 80.29%, compared with 80.27% for the full configuration. This is a direct example of semantic performance and measured debiasing responding differently to a training change.
DD-GloVe loss omissions on WEAT Gender-1 effect size
Removing projection matching has the largest adverse effect on this gender association test.
The numbers
| System or setting | effect size d |
|---|---|
| GloVe | 1.74 |
| DD-GloVe with all losses (this paper) | 1.25 |
| Without orthogonal loss | 1.22 |
| Without projection loss | 1.76 |
| Without definition loss | 1.23 |
| With original GloVe co-occurrence loss | 1.39 |
The runs that emphasize the projection term give complementary evidence. At weight 0.2, the projection-only setting reaches Gender-1 d of 1.40 and Google semantic accuracy of 79.96%. At weight 0.4, it reaches d of 0.99 and semantic accuracy of 79.39%. Intermediate values vary. The reported d at weight 0.3 is 1.03, followed by 1.13 at weight 0.35. The larger weights can produce a weaker measured association than the full configuration on this test. The full setting is evaluated for a mix of objectives, including meaning preservation and associations outside the selected gender test.
The orthogonal term has broader effects
Removing the orthogonal loss improves the two reported gender effect sizes slightly in the comparison with the full gender configuration. On Gender-1 the effect size moves from 1.25 to 1.22, and on Gender-2 it moves from 0.083 to 0.025. These numbers give context to the authors’ decision to keep the loss. Its contribution becomes clearer when the evaluation moves outside the targeted gender contrast.
Without the orthogonal term, the race test records d of 1.17 against 1.01 with all losses and 1.18 for GloVe. The age test records 1.09 without the term, 0.94 with all losses, and 1.03 for GloVe. In the nature test the corresponding figures are 1.06, 1.01, and 1.15. This pattern supports the authors’ account of the objective. A penalty that uses the whole definition direction can influence associations beyond those along the gender direction, even when removing it makes the targeted metrics look more favorable.
The orthogonal-only sweeps also show why the authors prefer a light penalty in the combined objective. At weight 0.01 the orthogonal-only setting gives Google semantic analogy accuracy of 81.50% and Gender-1 d of 1.73. At weight 0.2 it gives 71.61% accuracy and d of 1.68. The semantic score is more sensitive than the gender effect size in that comparison. A small amount of pressure from the definition can coexist with good analogy performance, while a large penalty restricts the vector enough to produce a substantial loss on the same task.
Closeness to the definition and weighting the corpus do different jobs
In the definition-only sweep, increasing the weight can improve semantic analogies with little systematic improvement on Gender-1. For example, at weight 0.005 the setting reaches 81.29% on Google semantic analogies, while its Gender-1 effect size is 1.78. The ordinary GloVe results are 79.26% and 1.74, respectively. Removing the definition term from the full configuration yields semantic analogy accuracy of 79.78%, along with a Gender-1 d of 1.23. The comparison supports the authors’ interpretation of this loss as a way to add semantic information.
The co-occurrence ablation replaces the bias-aware regression with the original GloVe regression, so corpus training is still part of that setting. On Gender-1 the effect size is then 1.39, with a p-value of 7.8e-4. The full configuration reports 1.25 and 0.0029. Google semantic accuracy stays close, at 80.35% with the ordinary regression against 80.27% for the full configuration. The comparison suggests that the reweighting makes an additional contribution to the gender association result while the other penalties continue to operate.
These ablations give more precise explanations than the full system’s scores alone. The definition average appears in several terms, but simply making vectors close to that average has a different effect from comparing them along g. Changing the weight of a co-occurrence also affects a different source of training evidence than either geometric penalty. Effects observed by dropping a term describe its contribution in the company of the remaining terms, whose reference vectors and other quantities continue to evolve together.
Training from scratch changes the reference vectors
The authors examine words for gender-neutral professions to see how strongly gender appears in their definitions after those definitions are expressed as vectors. They project both the profession vectors and their definition vectors along the difference between he and she. A scatter plot places each occupation according to its two projections. Using the same scales across systems lets the reader see whether the definition and headword projections are both large, or both near zero.
With ordinary GloVe, the two projections are strongly correlated, with a reported p-value of 1.16 × 10⁻¹⁸. The dictionary post-processing baseline shows a similar pattern in the figure. DD-GloVe places both sets of projections closer to zero. This matters for the training rationale because deriving a reference from pretrained vectors can reproduce an association even when the written definition is comparatively neutral. The DD-GloVe comparison shows that the reference vectors produced by the joint training procedure can have weaker projections on this probe.
The plot concerns one contrast and a chosen vocabulary of professions. It also compares complete embedding procedures. Random initialization is part of DD-GloVe’s explanation for why the reference vectors start out differently, and the dictionary-guided losses act as the vectors acquire structure. The observation captures their combined outcome in the measured space. It is more direct evidence about the reference vectors than an inference drawn from the final WEAT scores alone.
The seed choice affects the geometry and the result
The expanded seed lists give a qualitative check on the dictionary ranking. They include terms such as ex-wife, heroine, and sister on one side, and brother, gentleman, and widower on the other. The lists also include names and terms for animals. The selection criterion is definitional resemblance to the initial contrast, which can gather different kinds of words that share attribute-related wording. A seed list can therefore look intelligible while still including terms whose usefulness for estimating the direction is open to question.
To compare directions quantitatively, the authors take lists of 190 male-specific words and 177 female-specific words used in earlier work. They measure average cosine similarity to the candidate directions. A direction that distinguishes the lists should give similarities that point to opposite sides, with appreciable magnitude for both. The comparison uses the dictionary-guided direction and a baseline built from 10 manually chosen pairs. The plotted cosine values are normalized to mean 0 and standard deviation 1.
In ordinary GloVe, the two directions give similar results in that comparison. Within DD-GloVe, the dictionary-guided direction produces larger magnitudes of average cosine similarity for both groups. The authors interpret this as a clearer separation of explicitly gender-specific vocabulary along the estimated direction. That is compatible with debiasing as the paper defines it. A direction can distinguish words whose meanings express gender while the training objective weakens the projection of occupation words whose meanings are less gender-specific.
The paper also varies the initial pair and tunes the hyper-parameters for each setting. In that separate comparison, she and he give a Gender-1 effect size of 1.25 and Google semantic analogy accuracy of 80.47%. Girl and boy give d of 1.38 and semantic accuracy of 81.18%. Woman and man give d of 1.69 and semantic accuracy of 80.20%. The semantic results remain close in these examples, while the association score changes enough to matter for the paper’s central goal.
The authors explain part of that sensitivity in terms of multiple senses. The definitions for he mainly supply explicitly gendered language, while an entry for man can include a sense that refers to a human being generally. When all definitions contribute to the same average, such a sense influences the seed comparison along with the gender-specific senses. The experiment therefore qualifies the claim about automation. Expanding a pair through dictionary evidence reduces the amount of manual seed selection, and the starting words still shape the result.
Bias can persist outside the direction being measured
The neighborhood analysis asks whether words formerly associated with opposite genders remain easy to separate after debiasing. It uses words selected as highly gender-biased in ordinary GloVe by projection along the difference between boy and girl. The authors examine clustering among these words after different embedding interventions. They explain that classification accuracy close to 0.5 would indicate little usable information for recovering the original group membership with this procedure.
The paper shows a tSNE visualization of the top 500 selected words. This projection into a space suitable for plotting is used to inspect how the groups mix. In DD-GloVe gender, the plotted groups overlap in a way the authors describe as similar to DHD. The plots for Dict Debias and GN-GloVe show groups that remain easier to distinguish. The analysis is motivated by the observation that a direct projection can improve while neighborhood structure still reveals the original distinctions. The paper uses the approach from Lipstick on a Pig.
The neighborhood view and the WinoBias results make complementary judgments. GN-GloVe has a smaller WinoBias gap than DD-GloVe, while the authors find DD-GloVe more effective at mixing the groups visible in this projection. The difference follows from what each test observes. Coreference measures predictions on paired examples in a trained application, whereas the neighborhood analysis inspects structure among words selected by their original embedding geometry. The same intervention can look more favorable under one of these measurements than the other.
Limitations
Limits identified by the authors
The implementation and empirical evaluation concern static GloVe embeddings. The authors suggest that the dictionary penalties could be combined with other embedding objectives because the penalties are conceptually separate from the co-occurrence regression. They also raise the possibility of applying dictionary guidance to contextual representations. They leave that possibility as an open problem. The published experiments establish how the proposal behaves when a vocabulary word and all of its dictionary senses share a static representation.
The authors identify noise in definitions as a practical limitation. It can affect the estimated direction when a starting word has a broad range of senses. It can also affect a downstream result when a word that the evaluation expects to be neutral receives a definition vector with some attribute association. The paper’s interpretation of the WinoBias comparison is that GN-GloVe’s curated choice of vocabulary can give it an advantage on the occupations tested there. This is a concrete case where the ease of using a general dictionary comes with less direct control over the treatment of specific words.
The authors tune the weights of their objectives and report a tradeoff for the orthogonal loss. Its broad pressure on the vectors can be valuable, but heavier weighting can substantially lower semantic analogy accuracy. They report different seed refresh arrangements for gender and race. Together these choices show which parts of the procedure the implementation allows to vary with the attribute or training conditions. The results are obtained at reported settings, including the schedule that determines when seed membership can change.
Limits of the evidence
The definition audit counts the presence of terms from an explicit gendered vocabulary. That is a concrete indication of how the dictionary writes definitions. It gives limited evidence about implicit stereotypes or associations carried by words outside that list. In addition, the losses use averages of learned vectors. Even when a definition passes the audit at the level of its text, the meaning of its average depends on how its constituent words are represented. The scatter plots illustrate precisely that distinction.
Dictionary coverage is another constraint. The 92,140 words with definitions are drawn from a vocabulary of 400,000. The orthogonal and definition losses skip words without usable definitions, and the bias-aware co-occurrence multiplier remains at its original value for a pair with an undefined member. The projection loss takes a stronger approach to missing entries by using a zero reference along g. The paper does not establish that the missing words should all be neutral along the selected direction. The behavior of an uncovered word is consequently shaped by both the corpus and the fallback rule.
The simplification of averaging all senses also limits what the guidance can express. A definition word may enter the mean because of a sense irrelevant to the occurrence that contributes a training count. Stopword removal and averaging summarize vocabulary across the entry, with no explicit representation of the sentence structure of a definition. These choices make the reference straightforward to compute. The seed comparison shows a situation in which their effect is visible, and the experiments do not test a procedure that assigns different guidance to different senses.
The targeted projection uses a direction derived from a contrast between two seed sets. The reported gender experiments use female and male sets, while the race experiments begin with black and white. Other identities and ways bias can involve several attributes fall outside those tested contrasts. The method can still change scores on tests for other associations, as the orthogonal-loss comparison shows. Those spillover results give evidence on the particular vocabularies evaluated and do not establish coverage of other bias patterns.
The evidence for semantic preservation is strongest when stated task by task. Analogy accuracy, cluster purity, and downstream F1 describe different uses of embedding information. The paper reports small advantages for DD-GloVe on some and declines on others, including BLESS. These scores do not distinguish which individual semantic relations are lost or gained throughout the vocabulary. The sentiment and document classification tests show that relevant information remains available for those tasks, while their reported aggregate scores leave fairness within those applications unevaluated.
WEAT and the neighborhood diagnostic also have distinct limits. A weak WEAT association concerns the word sets chosen for the test. Less separation in the plotted neighborhoods concerns a selected set of words and a particular view of their geometry. Both broaden the evidence beyond a single projection, and neither establishes that an attribute is unrecoverable by other procedures. WinoBias provides an application-level check, with a measurable gap remaining for DD-GloVe. A claim about reducing a specific association in these evaluations is better supported than a claim about eliminating bias from systems that use the vectors.
Finally, the comparison with dictionary post-processing compares complete procedures that differ in several respects. DD-GloVe starts from scratch, constructs its definition vectors with a simple mean, and uses a collection of train-time losses. The experiments show that the resulting procedure produces weaker profession projections and improves several benchmark scores. The loss ablations isolate contributions within DD-GloVe. The comparison between training and post-processing leaves the full contribution of the initialization apart from the other procedural differences less directly measured.
What came after
The later citing work is Sociodemographic Bias in Language Models, a 2023 survey. Its citation places DD-GloVe in a broader discussion of sociodemographic bias. The citation establishes that the paper was taken up in that survey. It leaves open whether the survey endorses particular findings, discusses the method’s limitations, or uses it primarily as an example of a mitigation approach.
The connection is substantive at the level of the questions the two titles address. DD-GloVe offers a specific intervention on static lexical representations, with separate tests for word associations, downstream stereotype sensitivity, and preservation of meaning. A survey on sociodemographic bias has a broader subject than those embedding experiments. For DD-GloVe, the demonstrated contribution remains the train-time use of dictionary definitions and the measured consequences under the paper’s evaluation. An extension of that method to contextual representations remains an open question in the paper.
Cite
Cite as Haozhe An, Xiaojiang Liu and Donald Zhang. 2022. Learning Bias-reduced Word Embeddings Using Dictionary Definitions. Findings of the Association for Computational Linguistics: ACL 2022.
@inproceedings{an2022learning,
title = {{Learning Bias-reduced Word Embeddings Using Dictionary Definitions}},
author = {Haozhe An, Xiaojiang Liu and Donald Zhang},
booktitle = {Findings of the Association for Computational Linguistics: ACL 2022},
year = {2022},
doi = {10.18653/v1/2022.findings-acl.90},
url = {https://doi.org/10.18653/v1/2022.findings-acl.90}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/an-2022-learning-bias-reduced-word-embeddings/