Knowledge-based Word Sense Disambiguation using Topic Models
Paper · 2018 · Devendra Singh Chaplot and Ruslan Salakhutdinov
Summary
A sentence can leave the meaning of a word open even when the rest of the document makes it clear. A reference to chips might concern food, electronics, or gambling. A mention of silicon or a casino elsewhere in the text can settle the question. Choosing the intended dictionary sense of a word in context is called word sense disambiguation. The paper asks how to use evidence from an entire document while assigning senses to its content words together, without training on texts in which people have already labeled the intended meanings.
The authors adapt Latent Dirichlet Allocation, a method that represents a document as a mixture of underlying themes. Their version gives each document a mixture of WordNet synsets, groups of words that share a particular meaning. Every occurrence gets its own sense assignment, while occurrences in the same document share a distribution over senses. WordNet supplies the candidate meanings and the information used to favor some combinations of senses over others. For instance, the river edge sense of bank can receive support from the sense of river because their definitions are related. This use of a shared mixture comes from topic modeling.
To assign a sense, the method repeatedly revisits each word and samples from its candidates. The update combines evidence about which words have been assigned to a candidate synset with a document-level preference for that synset. The authors describe the sampling cost as linear in the number of words, making the document a practical unit of context in their approach. A Senseval-2 example shows the motivation. In a biology document, the correct meaning of cell is related to the unambiguous meanings of scientist, researcher, and protein, even when the sentence containing cell offers little help.
Across the English all-word benchmarks, the proposed system, WSD-TM, achieves an overall F1 of 66.9. Babelfy, the strongest knowledge-based comparator reported in the paper, scores 65.5, and the authors report a p-value < 0.01 for the overall comparison. WSD-TM also leads the knowledge-based systems in the reported breakdown by part of speech. The strongest supervised comparator reaches an overall F1 of 69.4. The results establish the performance of the complete system in this benchmark setting. The biology example shows how wider context can help, while the experiments leave open how much of the overall gain comes from context size alone.
Deep dive: Knowledge-based Word Sense Disambiguation using Topic Models
This paper uses topic modeling and WordNet to resolve word meanings from whole documents, then tests the method on English benchmarks. · about 35 minutes to read
The problem and its context
From a word in a sentence to a sense in WordNet
A sense inventory gives a disambiguation system the alternatives it can choose among. The word cricket, for instance, has an insect meaning and a game meaning when used as a noun. Its use as a verb has a separate entry for taking part in the game. Knowing the grammatical category narrows the alternatives, and the surrounding text can distinguish the remaining candidates. Evidence can point in different directions. In a sentence where insects bother people during a game of cricket, insects is associated with a legitimate candidate for cricket, while the description of playing favors the game. A context can contain vocabulary associated with a meaning that the target word does not express.
The word sense refers to a particular meaning in the inventory. A synset groups the words that express that meaning. For instance, WordNet groups certain uses of aim, object, objective, and target under a meaning concerned with an intended goal. Each word can appear in other synsets too. The grouping therefore applies to particular uses of those words, and a disambiguation system must decide which group a given use belongs to. WordNet includes a short definition, called a gloss, and example usage. It also records relations among synsets, including relations between more general and more specific meanings and between parts and wholes. These features make it both a source of possible answers and a source of evidence about their relatedness.
The all-word task extends the decision to content words throughout a text. In this paper, those are nouns, verbs, adjectives, and adverbs. The distinction matters because a system has to deal with whatever vocabulary occurs in the input, including words for which labeled examples may be scarce. A lexical-sample task instead specifies a restricted set of words to disambiguate. Supervised learning can draw on annotated examples of those target words. For the all-word setting, the paper emphasizes the difficulty of obtaining comparable annotation coverage across the lexicon.
A knowledge-based approach shifts the main source of evidence to a lexical resource. WordNet already organizes candidate meanings and relates them to one another, so the authors can use that organization without fitting a classifier to labeled occurrences of each target. There is still a human contribution in the construction of the resource itself. The distinction concerns what the system requires as training input. A hand-built sense inventory, a benchmark used to check predictions, and a corpus of labeled uses for training serve different purposes.
The paper treats disambiguation as a problem of interest by itself and as a possible component of other systems. Which meaning a translator should convey can depend on the intended sense of an ambiguous source word. For search and extraction, the same written form can point to information about different things. A question-answering system can encounter the same issue when a term in the question has several dictionary readings. These applications motivate deciding meanings in unrestricted text, where the system cannot expect each ambiguous word to come from a pre-defined sample. The authors’ examples include machine translation, information extraction, information retrieval, and question answering.
From matching definitions to choosing senses jointly
The paper traces an important line of knowledge-based work to Lesk. In the account given by the authors, a basic Lesk procedure asks which candidate definition shares the most words with the context. The gloss for a candidate is evidence about the kinds of words likely to be relevant to it. Later variants enrich that comparison using definitions of context words or adjusting how strongly words contribute according to their occurrence patterns. Basile and colleagues replace a reliance on literal overlap with a similarity calculation using numerical word representations. Two texts can then provide evidence of a match even when their surface vocabulary differs. The paper describes this approach in Enhanced Lesk through distributional semantics.
Treating context as a collection of observed words leaves another question open. A context word may itself be ambiguous, and its intended meaning can change what it tells us about a target. Player, for example, can refer to someone in a game or to a performer. Its value as evidence for another word depends on which use is intended. If the task is to decide the senses of both words, each decision can inform the other. The problem then becomes finding a set of interpretations that fits the text together.
The graph-based methods surveyed in the paper express this interdependence through nodes and links. Some select a portion of the lexical graph relevant to the input and judge candidate senses by how well connected they are. Others build a graph sentence by sentence, giving the possible senses of words their own vertices and applying an iterative ranking procedure. A candidate can gain support through its connections to other candidates, so its score reflects more than the match between its own definition and the visible words. The graph supplies a way to ask which interpretation sits in a coherent part of the lexical resource.
The authors describe an approach by Agirre and colleagues in which content words are attached to a WordNet graph. A content word connects to synsets in which it is listed as a member. Personalized PageRank assigns weights to the synsets according to their standing in the resulting structure, and a word takes the highest-weighted synset among its candidates. According to the authors, the method examines a 20-word window surrounding the target. Here, 20 is the context-window size, and the ranking takes place through lexical connections. The earlier paper is Random Walks for Knowledge-Based Word Sense Disambiguation.
Another approach in the survey builds a Markov random field using WordNet and grammatical relations supplied by a dependency parser. In this use, the field defines a joint score for a proposed collection of senses. Inference seeks the assignment with the highest posterior probability, meaning the most probable assignment given the observations and the assumptions used to score it. The system uses the sentence as its context and uses grammatical dependencies to restrict the pairs it needs to compare. Babelfy, described separately in the paper, combines sense disambiguation with entity linking. It uses random walks with restart on BabelNet, a semantic network incorporating WordNet and other resources, and uses a dense-subgraph heuristic to identify a coherent interpretation.
The authors see a tradeoff in approaches that make joint decisions through comparisons between candidate senses. Each additional ambiguous word adds alternatives to a complete interpretation. Evaluating all combinations directly can therefore become infeasible as a passage grows. Pairwise scoring also expands the work involved in evaluating an assignment if many word pairs have to be considered. The paper describes context windows, restriction to sentences, and approximate graph procedures as practical responses to these difficulties. Its own proposal changes the way evidence is shared among words so that inference can operate on a document.
What topic modeling already offered
A document usually contains enough repeated or related vocabulary to suggest what it is about. The paper uses that observation alongside earlier work reporting a tendency for a word to keep the same sense within a discourse. A tendency of that kind makes a document worth considering as context. It still leaves the task of representing the document so that relevant words affect a choice, and of allowing an occurrence to take a different sense when the evidence warrants it.
Latent Dirichlet Allocation, or LDA, represents a document as a mixture of topics. Each topic is a probability distribution over a vocabulary, and a document gives different weights to those topics. A word can occur under several topics. The authors use the example of cricket. The same form might occur in a theme concerned with sport and in a theme concerned with animal life. Topic membership can therefore suggest a difference in meaning. A word’s membership in a learned topic by itself gives no explicit WordNet sense label, which is the answer the benchmark expects.
The authors discuss earlier work that applied LDA to disambiguation by grouping senses whose paths through WordNet are similar. The hierarchy could be helpful as a guide to grouping, but it created difficulties at both ends of the vocabulary. A common word with many readings could be associated with numerous topics, leaving its interpretation unclear. Conversely, meanings close in everyday usage, such as a position in a game and the person who plays that position, could be far apart in the hierarchy. The paper also discusses earlier work that brought global context into supervised disambiguation by using topics as features. These precedents gave document-level thematic information a role under different assumptions about sense labels. WSD-TM uses the synset itself as the unit in the document mixture, so the latent assignment made for a word is directly an answer in the inventory.
The method, step by step
What the input fixes and what remains unknown
The method starts with a document and the content words whose senses it needs to determine. For each occurrence, the word and its grammatical category determine the list of eligible WordNet synsets. The observed word belongs to the input. Its sense is the hidden quantity the system tries to infer. In the paper’s notation, the candidates are listed as follows.
𝐲ᵢ = {yᵢ¹, yᵢ², …, yᵢᵏⁱ}
The index i identifies a content-word occurrence. 𝐲ᵢ is its set of candidates, and an entry such as yᵢ¹ is a member of that set. kᵢ is the number of candidates, with yᵢᵏⁱ denoting the last candidate and the ellipsis standing for any intervening entries. The paper calls the observed word wᵢ and its unknown sense xᵢ. The superscripts enumerate the choices and carry no claim about how plausible those choices are in context.
There are two distributions to keep apart. One describes a synset through the words that can express its meaning. For a synset representing an endpoint, for instance, the paper lists goal, destination, and finish as possible forms. The other distribution describes a document through its synsets. Its weights concern the likelihood that a token in that document expresses each meaning. The same synset can occur in many documents, and the documents can differ in how strongly they favor it. A common set of synset-to-word distributions can therefore coexist with different sense mixtures for different texts.
A generative account links those distributions. Imagine first choosing a sense according to the document’s mixture, then choosing a word from the forms associated with that sense. This imagined process specifies how the probability of a word and a sense assignment fit together. During disambiguation, the document has already been written, and its words are visible. Inference reasons from the words towards the hidden assignments. A word is compatible with a candidate only if the relevant use appears in the inventory. Its relative support among compatible meanings can then depend on the probabilities associated with the document and the synset.
The document mixture creates a shared context for the occurrences. Take the paper’s example of chips in a sentence where someone leaves them at a counter. The location accommodates several interpretations. Vocabulary about gambling elsewhere in the text can support synsets from that domain, which in turn can favor a gambling-related reading of chips. Vocabulary about electronics can provide evidence in a different direction. The context extends across sentence boundaries because the same mixture applies to the whole document. Each occurrence still has its own assignment, so the construction permits the same form to express different meanings within the document.
Document-wide sense assignment with WSD-TM
The steps in order.
Choosing word probabilities within a synset
In an LDA-style procedure, a topic’s word distribution can start with the same prior parameter for every term in the vocabulary. This gives smoothing, meaning the probability of an eligible word need not start at zero simply because there are no observed assignments involving it. For a WordNet synset, unrestricted smoothing would give ordinary vocabulary status to words that cannot express its meaning. The paper restricts the allowed vocabulary using synset membership. This brings a lexical fact into the probability calculation before the sampler has made any assignments.
The authors also motivate using frequency within a synset. In a sense involving participation in a game, player can be the more usual form than participant. In a theatrical sense, actor can be more usual than player. The relevant frequencies are indexed by both the meaning and the form. A common form across a corpus does not necessarily have equal standing in every synset where it appears. The paper expresses the rule for the prior as follows.
ηₛᵥ = frequency of word v in synset s
Here s identifies the synset and v a vocabulary entry. ηₛᵥ is the component for that pair in ηₛ, the vector of word-prior parameters for the synset. The prose describing the generative process says that the non-zero entries within a synset are equal, while the priors section specifies frequencies and motivates unequal values. Both accounts give the WordNet member list a role in delimiting support. They leave the exact weighting of eligible members uncertain.
βₛ ∼ Dir(ηₛ)
βₛ is the probability distribution over word forms associated with synset s. ∼ indicates a draw from the distribution on the right, and Dir denotes a Dirichlet distribution. Its parameter vector is ηₛ. The Dirichlet defines a distribution over possible probability vectors. A draw produces the weights from which the generative account can choose a word once the synset is known. The membership restriction means the allowed part of each vector differs from one synset to another, even if the eligible entries are given equal initial weight.
Giving related meanings a place in the document prior
The other prior concerns how senses occur together in a document. The authors use bank to make the distinction concrete. A document containing river may favor the meaning associated with land at the water’s edge. The financial meaning of bank is an eligible choice for the same word form, with a different relation to the river sense. The proposal gives the two meanings separate coordinates in the document representation. It can therefore express a different relationship for each pair.
A logistic-normal distribution supplies the document probabilities. The procedure starts with an unconstrained vector of real-valued scores from a multivariate normal distribution. Drawing the scores together permits relationships among their coordinates through a covariance matrix. Softmax then turns the scores into probabilities. A high score gives its synset more weight, with the amount depending on the other scores because they share the same normalization.
αₘ ∼ 𝒩(μ, Σ)
m indexes a document. αₘ is its vector of synset scores before normalization, and 𝒩 denotes the multivariate normal distribution. μ is the vector of prior means and Σ the covariance matrix for those scores. The authors choose a uniform μ across synsets in the absence of labeled information about how frequent each synset is. Its entries are means on the score scale. The probabilities used to draw senses are obtained after the transformation.
θₘˢ = f(αₘ)ˢ = exp(αₘˢ) / ∑ᵢ exp(αₘⁱ)
θₘˢ is the probability of selecting synset s in document m, and θₘ collects these probabilities. f is softmax, exp is the exponential function, and αₘˢ is the score for candidate coordinate s. The index i in the denominator runs over the synset coordinates, and αₘⁱ is the corresponding score. ∑ᵢ sums their exponentials, making the entries of θₘ a probability distribution.
The authors choose the inverse covariance directly because it is the matrix used in inference. The inverse covariance is also called the precision matrix. The stated construction makes its entries depend on definition overlap using the Lesk measure from WordNet::Similarity. The method thus uses the earlier gloss-overlap idea to relate pairs of synsets in the prior. In a basic Lesk decision, the overlap would instead directly compare a candidate definition to the target’s context.
(Σ⁻¹)ᵢⱼ = −similarity(i, j)
Σ⁻¹ is the inverse of Σ. Its row i and column j correspond to synsets i and j. similarity(i, j) denotes their Lesk relatedness score, and the minus sign gives the rule as stated by the authors. This is a rule for entries of the precision matrix. Its entries should not be read as probabilities of observing a particular pair in a document. The paper gives the intended source and sign of the relationships, while leaving details of the matrix construction open.
The account of how words are generated
In the corpus description, S is the number of synsets, M the number of documents, and Nₘ the number of word positions in document m. The account draws word distributions for the S synsets. For each document it draws a score vector and transforms it into a synset mixture. For each position it then draws a synset and a word, in that order. The index n refers to a position within the document rather than to a distinct form in the vocabulary, so repeated forms receive separate assignments.
zₘₙ ∼ Mult(θₘ)
zₘₙ is the synset at position n in document m. Mult denotes the multinomial choice from its probability-vector argument. For a single position, this is a draw of one category. The argument θₘ supplies the probabilities of the synsets for the document. Positions in a document use the same θₘ.
wₘₙ ∼ Mult(β[zₘₙ])
wₘₙ is the observed word at that position, and β[zₘₙ] denotes the word distribution βₛ indexed by the chosen synset zₘₙ. The draw uses the word probabilities of that synset. When reasoning backward from wₘₙ, an assignment has support only if the synset can emit the observed form under the lexical restriction.
The shared variables make it possible to reason about many tokens without placing an explicit relation between every pair of occurrences. Tokens share the document mixture, and assignments to a synset contribute to the counts used for that synset’s word probabilities. Each position has its own hidden variable and its own candidate list. This arrangement allows the sampler to reconsider one decision at a time against the background of assignments made elsewhere.
The posterior and the quantities that can be integrated out
The probability of the hidden choices given the observed words is called the posterior. It must account for the fit of each word to its assigned synset, the prior over synset vocabularies, the fit of the synset choices to their document mixtures, and the prior on the document scores. In the next formula, bracketed subscripts and summation limits express the paper’s indexing in plain text. The factorization keeps β on the left while it still appears on the right, making explicit the variable that the authors integrate out in the next step.
p(z, α, β | w, η, μ, Σ) ∝ p(w | z, β) p(β | η) p(z | α) p(α | μ, Σ)
p denotes a probability or a density, according to the variables involved, and | means conditional on the variables to its right. ∝ means proportional to, so the expression omits a normalizing factor independent of the hidden quantities on the left. z collects the assignments, α the document score vectors, and β the synset word distributions. w is the corpus of observed tokens. η collects the synset word priors, and μ and Σ parameterize the normal distribution. The four factors give, in order, the word likelihood, the prior for word distributions, the likelihood of assignments given document scores, and the prior for those scores.
The Dirichlet prior and multinomial word likelihood are conjugate. In this setting, conjugacy means the distribution over word probabilities after seeing the counts is still a Dirichlet, with the counts adding to the prior parameters. The sampler can integrate the word probabilities out and work directly with the assignments and counts. This step is called collapsing the word distributions. It removes the need to draw a new probability vector for a synset on every pass through the corpus.
p(w | z, η) = ∏[s=1,…,S] { Γ(‖ηₛ‖₁) / Γ(nₛˢ + ‖ηₛ‖₁) × ∏[v] [Γ(nₛᵥˢⱽ + ηₛᵥ) / Γ(ηₛᵥ)] }
The outer ∏ multiplies factors for synsets s from 1 through S. The inner ∏[v] multiplies factors over the vocabulary entries v in the support of that synset. Γ is the gamma function, which supplies the normalizing terms for these distributions. nₛˢ counts all tokens assigned to s, and nₛᵥˢⱽ counts the tokens of form v assigned to s. ‖ηₛ‖₁ is the sum of the components of ηₛ, and ηₛᵥ is the component for v. The superscripts on the counts label what they count and are not powers. In the paper’s displayed equation, the final product in the denominator is indexed by s even though its factor depends on v. The expression here pairs the gamma terms for each eligible v within a synset, as indicated by the word-specific counts and the stated conjugacy. Entries outside the synset’s support are excluded from that product.
The assignment probability contributes a separate factor. For each token, the relevant probability is the softmax weight for its assigned synset. Multiplying these probabilities gives the probability of the collection of assignments conditional on the document scores.
p(z | α) = ∏[m=1,…,M] ∏[n=1,…,Nₘ] { exp(αₘ[zₘₙ]) / ∑[s=1,…,S] exp(αₘˢ) }
The two ∏ signs multiply across documents m and their positions n. M counts the documents, and Nₘ counts the positions in document m. αₘ[zₘₙ] selects the score for the assigned synset zₘₙ. The denominator uses ∑ to add exponentiated scores for every synset s in the inventory, whose size is S. For all positions in a given document, the denominator is the same. p(z | α) is conditional on the whole collection of score vectors.
p(αₘ | μ, Σ) = 𝒩(αₘ | μ, Σ)
Here p(αₘ | μ, Σ) is the density for the score vector of document m, with μ the means and Σ the covariance. The right-hand side denotes the multivariate normal density evaluated at αₘ. The normal prior and softmax-based assignment likelihood do not have the same conjugacy as the word side. The paper therefore retains the document scores in the expression for a synset update. It contrasts its approach with alternating procedures that sample assignments and logistic-normal scores in separate blocks.
Counting assignments and revisiting a word
The sampler’s counts describe the current interpretation of the text. The word-and-synset count records how often an observed form has been attributed to a particular meaning.
nₛᵥˢⱽ = ∑ₘ ∑ₙ 𝟙{zₘₙ = s, wₘₙ = v}
nₛᵥˢⱽ is the count for the synset s and form v. ∑ₘ runs across documents, and ∑ₙ across the positions in each document. 𝟙{…} is an indicator that contributes to the sum when both conditions inside the braces hold. zₘₙ is the current assignment and wₘₙ the observed form. The comma in the braces joins the conditions.
nₛₘˢᴹ = ∑ₙ 𝟙{zₘₙ = s}
nₛₘˢᴹ counts assignments to synset s in document m. ∑ₙ sums over positions in that document, using the indicator to count each position whose assignment zₘₙ equals s. The superscript distinguishes a synset-by-document count from the synset-by-vocabulary count.
nₛˢ = ∑ₘ nₛₘˢᴹ
nₛˢ is the total count for synset s. The sum over m adds its document counts nₛₘˢᴹ. In these expressions the observations stay in place while the assignments, and therefore the counts, can change.
Gibbs sampling repeatedly draws an assignment for an individual token conditional on the other variables. To revisit a position, the sampler first removes that token’s current assignment from the counts. This keeps the old choice from becoming evidence for itself during the update. The paper writes the conditional as a joint probability divided by the probability of the observed words and all the assignments except the one being reconsidered.
p(zₘₙ = k | rest) = p(z, w | α, η) / p(z₋ₘₙ, w | α, η)
k is the candidate synset for the token at position n in document m. rest denotes the observed words, the other assignments, and the quantities held fixed when forming the conditional. In the numerator, the full z includes the proposed assignment zₘₙ = k. In the denominator, z₋ₘₙ omits that assignment, with w still denoting all observed words. α and η are the score vectors and word-prior parameters used in the conditional. The denominator is common across candidate values of k.
After dropping the factors that are common to the candidates, the paper gives a word factor multiplied by a document factor. The candidate is written as k throughout the expression below. It is the same synset represented by s in the word-count portion of the paper’s conditional.
p(zₘₙ = k | rest) ∝ [(ηₖᵥ + nₖᵥ,₋ₘₙˢⱽ) / (nₖ,₋ₘₙˢ + ‖ηₖ‖₁)] × exp(αₘᵏ)
v is the observed form wₘₙ, and ηₖᵥ is its prior parameter for candidate k. nₖᵥ,₋ₘₙˢⱽ is the corresponding word-and-synset count with the current token removed. nₖ,₋ₘₙˢ is the total assigned to k with that token removed, and ‖ηₖ‖₁ adds the prior parameters for the synset. αₘᵏ is the document score for k, and exp turns it into a positive weight. ∝ indicates that the resulting weights need normalization across the eligible candidates before the sampler draws one.
The fraction is the predictive probability of the observed form given the candidate synset, based on a combination of prior parameters and current counts. The exponential gives the candidate its relative document weight. The softmax denominator is shared among the candidates and cancels in the proportional calculation. Thus the update has an interpretable structure. A candidate needs lexical support for the form, and its weight also depends on the scores in that document. Once a choice is sampled, the affected counts can be updated and used when considering another position.
The returned label is the synset assigned to a token at the end of sampling. The paper describes the procedure as linear in the number of words, in contrast to enumerating complete sense assignments across a growing context. The update uses count lookups for each candidate and the document score for that candidate. That describes how a pass can grow with the number of positions when the work per position is bounded. Initialization, the number of passes, and how the assignment procedure obtains or updates the document scores are separate elements of an executable implementation.
Where the information comes from
WordNet supplies the sense vocabulary, the membership of each synset, and the definitions used to determine relatedness. The input corpus supplies the observed words and the scope of each document. The counts come from the sampler’s own assignments as it goes through the corpus. Gold senses, the benchmark’s human-assigned answers, are used to evaluate the labels returned by the procedure. This division is what lets the authors describe WSD-TM as knowledge-based even though it estimates quantities from the observed text.
Using synsets in place of topics also fixes the set of possible latent categories from the inventory. In ordinary LDA as discussed by the authors, a researcher has to specify the number of topics, and the learned word groupings can be difficult to interpret. WSD-TM inherits the number of synsets from WordNet. A category has a meaning before inference starts, and the permitted words already belong to it in the inventory. Inference determines which of those categories help account for the document and which category should be attached to a particular occurrence. This is the methodological change that makes a document mixture directly usable for a task with explicit lexical labels.
Experiments and results
A common evaluation across benchmark corpora
The authors evaluate predictions on the English all-word tasks from Senseval-2, Senseval-3, and SemEval-2007, together with the English data from SemEval-2013 and SemEval-2015. They use the standardized versions assembled for the unified evaluation framework by Raganato and colleagues. The standardization gives the corpora a common format and expresses the gold answers in WordNet 3.0. Since the method outputs WordNet senses, the reference keys provide a common target against which predictions from WSD-TM and the earlier systems can be assessed.
These corpora are evaluation data for the proposed knowledge-based method. They provide observed test documents and reference senses, while WordNet provides the main lexical evidence used for prediction. The distinction between document and benchmark matters. For the proposed method, a document defines the span within which words share a mixture of senses. A benchmark is a collection of material across which the evaluator tallies prediction quality. The overall result combines evidence across the benchmark collections and therefore answers a broader question than how the method fares within any single document.
There is also a distinction between the all-word formulation and the breakdown used to report performance. The task concerns content words across the text, and each eligible occurrence is a disambiguation decision. The analysis groups decisions by grammatical category to see whether one type of word accounts for the advantage. The part-of-speech breakdown pools the data across the benchmarks. It gives a different view from the overall score, which combines the categories.
What the comparators use
The knowledge-based comparison spans several ways to extract context from a lexical resource. Banerjee03 represents the line of extended gloss overlap. Basile14 uses similarity based on numerical word representations to make the comparison less dependent on exact wording. Agirre14 ranks candidate synsets through walks over the WordNet-derived graph. Moro14 is the label for Babelfy, which uses BabelNet and searches for a coherent interpretation through graph-based machinery. Including these systems puts the proposed mixture approach alongside both definition-based methods and joint methods that use lexical graphs.
The paper also includes supervised comparators. Zhong10 uses a support vector machine with features based on nearby words, grammatical tags, and local combinations of words. Melamud16 represents contexts as vectors and assigns a sense by finding a training instance with a similar context. Under this procedure, the label of the retrieved training instance provides the prediction for the test instance. The comparison draws on supervised results trained with sense-labeled resources, including SemCor and OMSTI.
The most-frequent-sense baselines use these labeled resources in another way. They select the sense that occurs most often for a word in the training data used to construct the baseline. This supplies a reference for how far a frequency preference can go without using the surrounding test words for the decision. Because the frequencies come from labeled data, these baselines also illustrate a resource difference between choosing the most frequent sense and the authors’ decision to give the synsets equal prior means. The uniform means in WSD-TM leave the prior without an explicit ranking based on annotated sense frequencies.
Overall F1 and grammatical categories
The reported metric is F1, a score that combines precision and recall through their harmonic mean. In this task, precision concerns how many returned labels agree with the reference answers. Recall concerns how many of the target occurrences are correctly labeled. Reporting F1 allows systems to be compared on the balance of these properties. Here the central numerical comparison is the overall F1 across the standardized English benchmark data.
Overall F1 on the standardized English all-word benchmarks
WSD-TM leads the knowledge-based comparison, and the supervised comparator scores higher.
The numbers
| System or setting | F1 |
|---|---|
| Babelfy (Moro14), knowledge-based | 65.5 |
| WSD-TM, knowledge-based (this paper) | 66.9 |
| Melamud16, supervised | 69.4 |
Babelfy is the leading earlier knowledge-based comparator the authors identify, with an overall F1 of 65.5. WSD-TM reaches 66.9, with the authors reporting a p-value < 0.01 for the comparison. That is a statement about the statistical result they report for the overall evaluation. The numerical size of the performance result is given by the F1 scores, which can be interpreted separately from the reported threshold. The strongest supervised comparator, Melamud16, reaches 69.4 overall with access to labeled examples.
The distinction between the two resource settings gives the comparison its meaning. The knowledge-based ranking asks how a system using lexical knowledge and unlabeled input compares with other systems in that broad setting. The supervised score provides a reference from a setting in which examples of senses in context are available. The ordering across these groups does not identify which representation would perform best if the systems shared their inputs, because they answer the task under different conditions.
In the pooled breakdown by part of speech, the authors report that WSD-TM exceeds every previous knowledge-based comparator in each of the categories they evaluate. The report therefore describes an advantage across nouns, verbs, adjectives, and adverbs. It supports a broader statement about the distribution of performance than the overall score alone. An improvement concentrated in a common category could also produce a higher pooled score, but that is not the pattern the authors report in this comparison. The stated ordering gives the direction of the result by category. The exact subgroup scores are not specified in the text accompanying that result, so the ordering does not establish how large the advantage is for any particular category.
The evaluation joins separate historical datasets through a common label inventory. That makes the overall F1 directly relevant to the stated task of English WordNet sense assignment. It also gives an order to the compared systems across the combined evaluation. A global ranking and a part-of-speech ranking describe the outcome of running the entire WSD-TM procedure. They do not distinguish the contribution of the context span from that of the lexical candidate constraint, the word prior, the relatedness prior, or the choice of inference procedure.
What the ablations show
The paper reports no component-removal ablation. Its analyses consist of comparisons with other systems, a breakdown by part of speech, and a document example that relates a successful interpretation to WordNet similarities. An ablation in this setting would vary a particular part of WSD-TM while holding the rest of the procedure fixed. The reported analyses can show where the full system performs well and can explain why certain contextual words offer useful evidence. They answer different questions from a controlled estimate of an individual component’s effect.
How a biology document helps with cell
The discussion examines a Senseval-2 document whose vocabulary suggests a biological subject. The target word cell has 7 candidate senses in the inventory for this example. It appears 21 times in that document. The authors point out that several of its occurrences sit in sentences that give insufficient evidence on their own. Repetition of the form can make the issue important for the document’s interpretation. The mere fact that a form occurs again, however, leaves open which meaning is recurring.
Words with only one available sense in the example provide a different type of evidence. The authors use scientist, researcher, and protein. A word with one available candidate supplies an unambiguous lexical link for the purposes of the analysis. It can therefore help identify which candidate of an ambiguous word fits the document, even though its own disambiguation offers no choice. A sentence-local procedure would need to find such supporting words within the context it is allowed to see. A document-level procedure can also draw on their occurrence elsewhere.
The authors compare the candidate senses of cell against the senses of those supporting words. For each of the supporting synsets, the correct candidate, cell#2, has the highest reported similarity among the candidate senses of cell. The result describes a consistent preference in the lexical relatedness comparisons. Each supporting word, considered through its sense, points to the same candidate. This is a case where aboutness and the structure of the lexical resource reinforce each other. The document introduces the relevant evidence, and the resource makes that evidence discriminative among the available candidates.
The analysis checks a property that must hold for this particular explanation to be plausible. A wider context can contain vocabulary that is clearly biological to a reader, but the system still needs a way to distinguish the biological candidate of cell using its own representation. The similarity comparison shows that the distinction exists in the lexical measure used by the paper. It does not show the contribution of each word after all of the other assignments have been taken into account. The comparisons are between synsets. A token’s sampled sense depends on the update as a whole.
The counts of candidate senses and occurrences measure different features of the example. The candidate count describes how much ambiguity the inventory allows for the word. The occurrence count describes how frequently the word presents a decision in this particular text. Neither is a proportion of predictions made correctly. The paper uses the example to explain how a decision with several plausible dictionary readings can benefit from evidence beyond its immediate sentence. It does not report a separate F1 score for those occurrences or a counterfactual run with the supporting vocabulary omitted.
What the system comparisons can explain
The part-of-speech comparison addresses whether the full system’s relative performance is confined to one kind of content word. The authors find that its lead among the knowledge-based comparators appears in every category they break out. They interpret that pattern as evidence for the value of document context across grammatical categories. It is consistent with the biology example’s general idea, because relevant domain evidence can bear on the readings of several kinds of word. The reported comparisons nonetheless change the whole system at once. The systems differ in their use of glosses, representations, graph structure, lexical resources, or inference, as well as in the span of context.
The same issue applies to interpreting the overall comparison with Babelfy. The benchmark shows which of the systems scores higher in the reported evaluation. A comparison that kept WSD-TM’s priors, inventory, and update fixed while changing its context from a document to a sentence would address a narrower question. A comparison that held the span fixed while changing the treatment of relatedness would address another one. Neither comparison is reported. The paper’s strongest account of why the design might help therefore comes from the way its mechanism fits the document example, while its benchmark evidence establishes the performance of the combined design.
Limitations
Limits identified by the authors
WordNet can demand distinctions that are finer than readers reliably draw in context. The authors report 72% inter-annotator agreement in standard WSD datasets as evidence of this difficulty. That figure describes agreement between annotators. It has a different meaning from the overall system F1 scores and should not be interpreted on the same basis as a performance ceiling. The point is that the task is partly defined by the granularity of the inventory. A prediction can be an intelligible reading of a passage and still differ from the particular sense chosen for the benchmark.
The authors retain WordNet because it supports fair comparison with prior systems. This decision also establishes the bounds of the output. The method can assign a sense that the inventory makes available for the form and grammatical category. Its synset mixture does not discover a new lexical entry if the inventory leaves out a reading. The same constraint that makes the output interpretable and compatible with the benchmark also ties the procedure to the quality and coverage of the available lexical distinctions.
The conclusion describes several extensions as future work. One is to use SemCor sense tags in a supervised version, allowing labeled examples to inform the procedure. Another is to add a level to the generative hierarchy so that topics could have their own distributions over senses. In the evaluated approach, the document already has a mixture of synsets. A separate topic level would represent broader themes and their sense preferences explicitly. The authors also suggest applying the approach to named-entity disambiguation, where the alternatives would concern the entity denoted by a name. The English lexical benchmark results do not test any of these extensions.
Limits visible in the evaluation
The results describe a setup with English benchmark corpora and WordNet 3.0 keys. They establish neither how the method would behave with a different sense inventory nor whether comparable lexical evidence would be available in another language. The work motivates all-word disambiguation through applications such as translation and retrieval, yet the evaluation measures agreement with lexical sense labels. It does not measure changes in those applications. Moving from an extrinsic use as motivation to an application result would require running the disambiguation decisions through that application’s own evaluation.
A document also offers several possible meanings of context. Topic-like commonality across the whole text is the form represented by WSD-TM. Within that representation, an occurrence shares the mixture with words elsewhere in the document, irrespective of how close those words are to it. The stated draws and conditional do not give a separate role to word order, grammatical relations between tokens, or the boundary of the target sentence. These can matter for the insect and game readings of cricket, where the relationship between playing and cricket is informative. The paper’s mixture makes broad context available, while leaving the influence of local construction to the evidence captured by its terms.
For texts with sections about different subjects, a single mixture can contain several clusters of vocabulary. That is compatible with a mixture representation, which can allocate weight to many senses. The open question is which parts of such a document should most strongly support a specific occurrence. A word might change meaning across passages, and a distant passage with a different subject could provide evidence inappropriate for the local reading. The paper allows separate assignments for separate occurrences. It does not analyze how performance varies with changes of subject within a document or with different ways of defining document boundaries.
The linear scaling claim concerns sampling with respect to the word count in context. It leaves questions about total running time and memory. In particular, the work of processing a position depends on the size of its list of candidates, and running additional passes increases total inference cost. Preparing relatedness information and handling the precision matrix involve the size and structure of the inventory. The reported evaluation does not give a runtime series over increasing document lengths. Its performance results therefore establish benchmark effectiveness, while the inference argument describes why token-wise updates can support a larger context under fixed per-position work.
Limits of the mathematical specification
The paper gives both a prior over the latent document scores and a conditional update that uses those scores as inputs. It says fixed logistic-normal priors permit direct assignment sampling. Fixing μ and Σ specifies the distribution from which the scores are drawn. A particular αₘ still needs a value for the displayed conditional to be evaluated. The description does not specify enough to tell whether score vectors are drawn once, estimated by another rule, or updated during inference. That detail has consequences for reproducibility. The final exponential factor in the update is where document-level preference enters directly, so the way the scores are set matters for the labels the method returns.
The inverse-covariance construction also needs a valid matrix for a multivariate normal distribution. The paper states the negative-similarity rule. It does not explain the choice of diagonal or how the resulting precision matrix is ensured to be positive definite, a condition that gives a nonsingular normal distribution valid variances. The distinction matters because a similarity measure supplies relatedness scores for pairs, while a precision matrix must obey constraints across all of its entries together. The rule conveys the intended lexical inductive bias. Additional construction details are needed to reproduce the probability distribution from it.
The treatment of synset word priors leaves a further implementation choice. The statement about equal positive entries and the frequency-based expression can agree if eligible words are treated as having equal frequency for purposes of the prior. They can lead to different updates if the frequencies are intended to distinguish members, as the motivating examples suggest. Both versions use WordNet to identify eligible forms. Their predictive fractions would differ in the support given to a form before the counts have accumulated. The evaluation does not compare the two interpretations or provide a sensitivity analysis for their resulting word weights.
These details qualify what can be reconstructed from the mathematical account. The lexical membership constraint, the intended role of the relatedness prior, and the mechanics of removing a token and sampling a new assignment are explicit. The exact prior parameterization and the handling of the document scores remain underdetermined. The benchmark claim concerns the system the authors evaluated, and the controlled evidence needed to connect those implementation choices to the reported F1 is absent.
What came after
The paper is cited in work on vector representations of word meaning, on entity linking, and on the evaluation of knowledge-based disambiguation. Those settings connect to different parts of its contribution. The citations establish the connection to these later discussions. The available descriptions identify the subjects of the works and leave the exact role of WSD-TM in their methods or comparisons unspecified.
The survey From Word to Sense Embeddings concerns vector representations of meaning at the level of words and senses. WSD-TM makes a distinction relevant to that subject. A representation indexed by word form has to accommodate different uses of the same form, whereas a representation indexed by a sense inventory can give those uses their own entries. In WSD-TM, that distinction takes the form of word distributions attached to synsets and a document vector whose coordinates correspond to the synsets. The survey’s citation places the paper in the literature on representations that distinguish senses. The citation by itself leaves open which aspects the survey discusses in detail.
Zero-Shot Entity Linking by Reading Entity Descriptions approaches another problem in which a form in text has to be matched to an entry. Its title identifies entity descriptions as the evidence used for zero-shot linking. WSD-TM likewise treats an external resource as a source of evidence about candidate interpretations. Its candidates are lexical senses, and its gloss similarities contribute to relations among them. This is also the area closest to the authors’ suggested extension to named-entity disambiguation. The citing work establishes a connection to that neighboring task, while the information about it gives no basis for attributing WSD-TM’s inference procedure or document mixture to the entity linker.
The paper on Sub-optimal Use of Open Source NLP Software revisits UKB and presents it as competitive at the state of the art in knowledge-based WSD. Its focus is pertinent to the comparison in which WSD-TM is evaluated against an earlier random-walk system. A claim about the ranking of methods depends on the results obtained from the compared implementations under their evaluation settings. The citing paper addresses how the use of open-source software affects that assessment. Its title gives the direction of its claim about UKB, but the citation supplies neither a revised F1 comparison with WSD-TM nor the settings needed to place the two results on the same scale.
Together these citations situate WSD-TM within three questions raised by the paper itself. One is how to represent distinct readings of a shared form. Another is how candidate descriptions can support a decision beyond lexical sense assignment. The third is how to evaluate a new source of contextual evidence against established knowledge-based methods. The documented connection is through citation and subject matter. The record leaves direct adoption of the synset mixture, the learned counts, or the precision prior unresolved.
Cite
Cite as Devendra Singh Chaplot and Ruslan Salakhutdinov. 2018. Knowledge-based Word Sense Disambiguation using Topic Models. Proceedings of the AAAI Conference on Artificial Intelligence.
@inproceedings{chaplot2018knowledge,
title = {{Knowledge-based Word Sense Disambiguation using Topic Models}},
author = {Devendra Singh Chaplot and Ruslan Salakhutdinov},
booktitle = {Proceedings of the AAAI Conference on Artificial Intelligence},
year = {2018},
doi = {10.1609/aaai.v32i1.12027},
eprint = {1801.01900},
archivePrefix = {arXiv},
url = {https://doi.org/10.1609/aaai.v32i1.12027}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/chaplot-2018-knowledge-based-word-sense-disambiguation/