<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="63"/><title>Probabilistic Network Models for Word Sense Disambiguation</title><author surname="Chao" givenname="Gerald"><org  name="University of California" country="USA" city="San Diego"/></author><author surname="Dyer" givenname="Michael G."><org  name="University of California" country="USA" city="San Diego"/></author></firstpageheader><frontmatter><p>Probabilistic Network Models for Word Sense Disambiguation</p><p>Gerald Chao and Michael G. Dyer</p><p>Computer Science Department, University of California, Los Angeles</p><p>Los Angeles, California 90095 gerald@cs.ucla.edu, dyer@cs.ucla.edu</p></frontmatter><abstract>We present the techniques used in the word sense disambiguation (WSD) system that was submitted to the Senseval-2 workshop. The system builds a probabilistic network per sentence to model the de­pendencies between the words within the sentence, and the sense tagging for the entire sentence is com­puted by performing a query over the network. The salient context used for disambiguation is based on sentential structure and not positional information. The parameters are established automatically and smoothed via training data, which was compiled from the SemCor corpus and the WordNet glosses. Lastly, the One-sense-per-discourse (OSPD) hypoth­esis is incorporated to test its effectiveness. The re­sults from two parameterization techniques and the effects of the OSPD hypothesis are presented. </abstract></header><body><section number="1" title="Problem Formulation"><p>WSD is treated in this system as a classification task, where the <i>ith </i>sense <i>(W#i) </i>of a word <i>(W) </i>is classified as the correct sense tag <i>(Mi), </i>given the word <i>W </i>and usually some surrounding context. In the Senseval-2 English all-words task, all ambigu­ous content words (nouns, verbs, adjectives, and ad­verbs) are to be classified with a sense tag from the WordNet 1.7 lexical database (Miller, 1990). For example, the words "great", "devastated'"', and "re­gion" in the sentence "The great hurricane devas­tated the region" are classified with the correct sense tags 2, 2, and 2, respectively. We will refer to this task using the following notation:</p><doubt alpha="46.9" length="32" tooSmall="False" monospace="0.0">M = Mbe8t(S) = arg maxP(M\S),(1)</doubt><p>where <i>S </i>is the input sentence, and <i>M </i>is the se­mantic tag assigned to each word. While a context larger than the sentence <i>S </i>can be and is used in our model, we will refer to the context as <i>S. </i>In this for­mulation, each word <i>W{ </i>in the sentence is treated as a random variable <i>M{ </i>taking on the values <i>{l..Ni}, </i>where <i>Ni </i>is the number of senses for the word WV Therefore, we wish to find instantiations of <i>M </i>such that <i>P(M\S) </i>is maximized.</p><p>To make the computation of <i>Mbest(S) </i>more tractable, it can be decomposed into <i>Mtest(S) </i><i>^ arg max</i><i>(UiP(Mi\S)): </i>where it is assumed that each word can be disambiguated independently. However, this assumption does not always hold, since disambiguating one word often affects the sense assignment of another word within the same sentence. Alternatively, the process can be modeled as a Markov model, e.g., <i>Mbe8t(S) </i>« <i>arg max(Il</i><i>iP(Wi\Mi) </i>x <i>P(Mi\Mi.l)).' </i>While the Markov model requires fewer param­eters, it is unable to capture the long-distance dependencies that occur in natural languages. Although the first decomposition better captures these dependencies, computing <i>P(Mi\S) </i>using the full sentential context is rarely used, since the number of parameters required grows exponen­tially with each added context. Therefore, one can further simplify this model by narrowing the context to 2n number of surrounding words, i.e.. <i>P(Mi\S) </i><i>* P(Mi\Wi</i><b><i>-n</i></b><i>,.-W-uWi+u..Wi+n). </i>However, narrowing the context also discards long-distance relationships, making it closer to a Markov model.</p><p>Without having to artificially limit the size of the context, another possible simplification is to make independence assumptions between the con­text words. In the simplest case, every context is assumed to be independent from each other, i.e., <i>P(Mi\S) </i>« <i>ïl</i><i>xP(Mi\Wx), </i>like a Naive Bayes classi­fier. While the parameters can be simply established by a set of bi-grams, the independence assumption is often too strong and thus negatively affects accu­racy. The difficulty is in choosing the context that would maximize the accuracy while allowing for re­liable parameter estimation from training data.</p><p>In our model, we aim to strike this balance by choosing the context words based on <i>structural </i>in­formation, rather than positional information. The hypothesis is that an ambiguous word is probabilisti­cally dependent on its structurally related words and is independent of the rest of the sentence. There­fore, long-distance dependencies can still be cap­tured, while the context is kept small. Further-<page local="2" global="64"/></p><doubt alpha="100.0" length="1" tooSmall="True" monospace="0.0">i</doubt><doubt alpha="52.6" length="57" tooSmall="False" monospace="0.0">P(A,B,c5D,e,F)=P(A|B,c)xP(B|D,F)xP(c|D) xP(D|e)xP(e)xP(F)</doubt><p>Figure 1: An example of a Bayesian network and the probability tables at each node that dehne the relationships between a node and its parents. The equation at the bottom shows how the distribution is represented by the network.</p><p>more, each word is not classified independently of each other, but is computed as one single query that determines all of the sense assignments that result in the highest overall probability for the whole sen­tence. Therefore, our model is a combination of the decompositions described above, by selectively mak­ing independence assumptions on a per-word basis to best model <i>P(Mi\S), </i>while computing <i>Mbest(S) </i>in one query to allow for interactions between the word senses M;.</p><subsection number="1.1" title="Bayesian Networks"><p>This process is achieved by using Bayesian networks to model the dependencies between each word and its contextual words, and based on the parame­terization, compute the best overall sense assign­ments. A Bayesian network is a directed acyclic graph <i>G </i>that represents a joint probability distri­bution <i>P(X\. ...,Xn) </i>across the random variables of each node in the graph. By making independence assumptions between variables, each node <i>i </i>is condi­tionally dependent upon only its parents <i>PAi </i>(Pearl, 1988): <i>P(Xl,...,Xn) = HiP(Xi\PAi). </i>Byusingthis representation, the number of probabilities needed to represent the distribution can be significantly re­duced. Figure 1 shows an example Bayesian net­work representing the distribution P(A,B,C,D,E,F). Instead of having one large table with 2<footnote anchor="6"/> parameters (with all Boolean nodes), the distribution is repre­sented by the conditional probability tables (CPTs) at each node, such as P(B | D, F) at node B, re­quiring a total of only 24 parameters for the whole distribution. Not only do the savings become more significant with larger networks, but the sparse data problem becomes more manageable as well. The training set no longer needs to cover all permuta­tions of the feature sets, but only smaller subsets dictated by the sets of variables of the CPTs.</p><p>In our model using Bayesian networks for WSD, each word is represented by the random variable <i>Mi </i>as a node in <i>G.</i><i> </i>We then find a set of par­ents <i>PAi </i>that <i>Mi </i>depends on, based on struc­tural information. Using this representation, the number of parameters is significantly reduced. If the average number of parents per node is 2, and if the average number of senses per word is 5, then the joint distribution across the whole sentence <i>P(Mi.... </i><i>Mn) </i>is represented by the Bayesian net­work with « 5^2+1) * <i>N </i>parameters. This is in con­trast to a full joint distribution table that would con­tain 5^ entries, which is obviously intractable for any sentence of non-trivial length <i>N. </i>Bayesian net­works also facilitate the computation of the instanti­ations for <i>Mi </i>such that <i>P(M\,... </i>Mat) is maximum. Instead of looking for the maximum row in the table with 5^ entries, this computation is made tractable by using Bayesian networks. Specifically, this query, called Maximum A Posteriori (MAP), can be com­puted in 0(5U'), where <i>w &lt;&lt; </i>N and indicates the connectiveness of <i>G.</i></p><p>Using the same notation above, the process of a whole-sentence word sense disambiguation using probabilistic networks can be described as the fol­lowing:</p><p><i>Mbest(S)■« arg maxUiP(Mi\Wi, WPAi, MPAi)</i></p><doubt alpha="60.0" length="40" tooSmall="False" monospace="0.0">« arg maxUi(P(Mi\MPAi)P(Mi\Wi,WPAi)).(2)</doubt><p>The first approximation is based on our hypoth­esis of a word's sense is dependent only on struc­turally related words. It is further decomposed in the second term to minimize the sparse data prob­lem. This process consists of three major steps: 1) defining the structure of the Bayesian network <i>G, </i>2) quantifying the network with probabilities from training data <i>(P(Mi\Wi,WPAi)), </i>and finally, 3) an­swering the query of the most probable word sense assignments <i>(arg maxUi(...))•</i></p></subsection></section><section number="2" title="Network Structure"><p>The first step in constructing a Bayesian network is to determine its structure <i>G, </i>which defines each node's dependency relationship with the rest of the network. In our model, we are making these inde­pendence assumptions based on the structural re­lationships between words. Specifically, given the sentence <i>S </i>and its parse tree, we automatically con­struct a graph <i>G </i>by first creating a node <i>Mi </i>for each word <i>Wi. </i>This process is best illustrated by the ex­ample shown in Figure 2. For each node <i>Mi, </i>an edge is added to node <i>Mx, </i>where <i>Mx </i>is the head word of a verb phrase (board -&gt; approved), the target of the modifier <i>Mi </i>(today's -» meeting), or the preposition <i>Mx </i>where <i>Mi </i>is the target or a constituent of the prepositional phrase (approved -&gt; at). One can see that if the parse tree is known, the construction of network <i>G </i>is straight-forward. For Senseval-2, the<page local="3" global="65"/></p><p>Figure 2: An example of a Bayesian network repre­senting the inter-dependencies between the words of the sentence "The board approved its acquisition by ABC Co. of New York at today's meeting." parse trees provided in Treebank format were used to build the Bayesian networks' structure.</p><p>Once the structure of the Bayesian network is de­termined, the context, i.e., the parents <i>PAi: </i>for each word is established. Using the same example, the context for the word "approved" is "board" and "ac­quisition" , and for "at" it is "approved" and "meet­ing" . Our hypothesis is that these structurally re­lated words, among all of the words within the sen­tence, provide the best contextual information for sense disambiguation. That is, given that the par­ents' word form <i>WpAi </i>and senses <i>MpAi </i>are known, the sense assignment for <i>Mi </i>is independent of all other words in the sentence. This is, of course, a simplification due to the constraint in minimizing the context. However, the use of Bayesian networks allows for easy expansion of context by establish­ing more edges between nodes or adding new nodes, provided that the parameters can be determined re­liably.</p></section><section number="3" title="Establishing the Parameters"><p>Once <i>G </i>is determined, the CPTs at each node need to be quantified. Using the same exam­ple above, for the word "approved", its CPT <i>F(apprœed#i\board#i.acquisition#i) </i>would con­tain 2 (number of senses for "approved") x9x4 = 72 entries. For a word without any parents, such as "today's", its priors are used.</p><p>While determining the network structure is rel­atively simple, establishing accurate parameters is quite difficult, even with a small context such as ours. Due to the limited size of SemCor, our only labeled training data, we used additional sources to quantify and smooth these parameters. Primar­ily we deployed the same techniques used in our Bayesian Hierarchical Disambiguator (BHD) model (Chao and Dyer, 2000), which uses Internet search engines to estimate parameters based on permuta­tions of synonym words, a method first introduced by Mihalcea and Moldovan (1999). These param­eters are then smoothed by training data obtained from SemCor. The details of BHD are omitted here due to space constraints.</p><p>Although BHD was only used on adjective-noun pairs, the same principles are used to quantify all of the CPTs in this model. While only one hierarchi­cal network is needed to smooth the parameter for adjective-noun pairs, up to three hierarchical net­works are used for each potential parent. Since the smoothing computation is very efficient, being linear in the depth of the network, these additions did not impact the speed of the model. The majority of the time was used to query the Internet search engine.</p><p>The BHD model, however, did use additional training data that was collected from the Word-Net glosses and manually annotated. While it re­sulted in good accuracy, this was obviously not an option for Senseval-2. Instead, the example sen­tences from WordNet are extracted and first tagged by Brill's POS tagger (Brill, 1995). Then an ex­perimental parser and our WSD system were used to parse and disambiguate the sentences to extract additional training data. For example, for the 6th sense of adjective "great", the pair "great#6 time" is extracted from the example sentence fragment "had a great time at the party" and automatically dis­ambiguated. The labeled pair is then added to the training set for great#6.</p><p>Lastly, the priors in this model are determined directly from SemCor's occurrence statistics and estimated using Maximum Likelihood Estimation (MLE). This is another simplification over the BHD model, where the priors were determined using the hundred most frequent adjective-noun pairs culled from the Internet and then manually classified. It is well known that MLE is inaccurate when the num­ber of events are low, as is in this case when rarer senses often have only single occurrences.</p><p>Nevertheless, we are able to address both of the manual steps used in the BHD model with auto­mated processes. However, it is our belief that they are also the weakest part of our model and contribute the most to the errors.</p></section><section number="4" title="Querying the Network"><p>With both the structure <i>G </i>and the parameters established, the query we pose is to compute the instantiations for each random variable that would result in the highest joint probability, i.e., <i>arg maxP(Mi\S). </i>This is computed easily using the Maximum A Posteriori (MAP) query. This was im­plemented using the Joint Tree algorithm (Darwiche, 1995) and can be computed in 0(|c|™) time, where |c| is the size of the variable (number of senses), and <i>w </i>is the tree width. Given that our networks are sparsely connected, <i>w </i>is usually close to 3, the aver­age number of parents 4- 1.</p><p>The advantage of using the MAP query is that it computes variable instantiations that will maxi­mize the <i>overall </i>probability across the whole sen­tence, rather than the localized context. Furthermore, the resulting instantiation and probability is guaranteed to be maximum.<page local="4" global="66"/> So given the indepen­dence assumptions made on the context and the es­timated parameters, MAP will always produce the most probable sense tagging for every word in the sentence.</p><table caption="Table 1: Precision/recall results of the three models submitted toSenseval-2."></table></section><section number="5" title="Beyond Sentential Context"><p>It is well known that word senses are often influ­enced by contexts larger than the sentence, such as surrounding sentences or even the whole passage. We experimented with the One-sense-per-discourse (OSPD) hypothesis (Yarowsky, 1993) by applying the probabilities described in Stetina et al. (1998) to words that have previously appeared in the text and thus have been disambiguated. The only mod­ification needed to our model described thus far is to apply OSPD probabilities, which is dependent on the distance between the sentences, to each sense of a re-occurring word before the MAP query. It is our observation that this incarnation of the OSPD hypothesis, chosen for its ease of implementation, tends to propagate erroneous sense tagging from ini­tial sentences to the remainder of the passage. A better approach would be to determine the one sense that would maximize the consensus across the whole passage, as well as within each individual sentence. How this can be achieved efficiently in a probabilistic framework is currently being investigated.</p></section><section number="6" title="Evaluation"><p>For Senseval-2, we submitted three models for comparison, which differ by their methods of pa­rameter estimation. Model 2 uses the training data from SemCor and Hierarchical networks to smooth the parameters from Internet search engines. Model 3 incorporates additional training data gathered au­tomatically from the WordNet glosses. Lastly, model 1 combines all training data, as well as the OSPD hypothesis.</p><p>One can see that the model that uses all of the available data achieved best accuracy (model 1) but unfortunately also had the lowest recall due to the added complexity. Some highly polysemous words were omitted due to time and memory constraints. Between the 2 training sets, it was unfortunate that the addition of the automatically generated training set reduced the accuracy slightly, mainly due to the noisy data produced by our experimental system.</p><p>Nevertheless, we believe that there is a wealth of information contained within WordNet's glosses. Since one of our aims is to use as much automated processing as possible, we are focusing on improving the accuracy of the automatically generated train­ing data. Our goal is that as the WSD accuracy of our system improves, so will the reliably of these automatically generated training data. Having im­proved training data will further improve the sys­tem's WSD accuracy, i.e., a bootstrapping system. We are at the initial stage of this process, but some fundamental problems such as reliable POS tagging and parsing of sentence fragments need to be ad­dressed first. Furthermore, parameter estimation based on Internet statistics might prove to be too noisy, so we are currently focusing on learning al­gorithms such as Expectation Maximization to tune the parameters. Lastly, if our context is found to be too limited, additional features can be added to the Bayesian networks to improve the classification accuracy.</p><table caption="Table 1: Precision/recall results of the three models submitted to Senseval-2." class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Model</p></td><td class="cell"><p>Precision</p></td><td class="cell"><p>Recall</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1</p></td><td class="cell"><p>0.500</p></td><td class="cell"><p>0.449</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>2</p></td><td class="cell"><p>0.475</p></td><td class="cell"><p>0.454</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>3</p></td><td class="cell"><p>0.474</p></td><td class="cell"><p>0.453</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></section><references><p>Eric Brill. 1995. Transformation-based error-driven learning and natural language processing: A case study in part of speech tagging. <i>Computational Linguistics, </i>21:722-727.</p><p>Gerald Chao and Michael G. Dyer. 2000. Word sense disambiguation of adjectives using proba­bilistic networks. In <i>Proceedings of the Eighteenth International Conference on Computational Lin­guistics.</i></p><p>Adnan Darwiche. 1995. Conditional algorithms for exact and approximate inference in causal net­works. In <i>Proceedings of the Sixth Conference on Uncertainty in Artificial Intelligence, </i>pages 99­107.</p><p>Sadao Kurohashi Jiri Stetina and Makoto Nagao. 1998. General word sense disambiguation method based on a full sentential context. In <i>Proceedings of COLING-ACL Workshop on Usage of Word-Net in Natural Language Processing, Montreal, Canada, </i>pages 1-8, July</p><p>Rada Mihalcea and Dan Moldovan. 1999. A method for word sense disambiguation of unrestricted text. In <i>Proceedings of the 37th Annual Meeting of the ACL, </i>pages 152-158, Maryland, NY, June.</p><p>G. Miller. 1990. WordNet: An on-line lexical database. <i>International Journal of Lexicography. </i>3(4).</p><p>Judea Pearl. 1988. <i>Probabilistic Reasoning in Intel­ligent Systems: Networks of Plausible Inference. </i>Morgan Kaufmann, San Mateo, CA.</p><p>David Yarowsky. 1993. One sense per collocation. In <i>Proceedings of ARPA Human Language Tech­nology, Princeton, </i>pages 266-271.</p></references></body></article>