<?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="272"/><title>PU-BCD: Exponential Family Models for the Coarse- and Fine-Grained All-Words Tasks</title><pubinfo>d Proceedings of the 4th International Workshop on Semantic Evaluations (SemEval-2007),pages 272-276, Prague, June 2007. ©2007 Association for Computational Linguistics</pubinfo><author surname="Chang" givenname="Jonathan"><org  name="Princeton University" country="USA" city="Princeton"/></author><author surname="Dudik" givenname="Miroslav"><org  name="Princeton University" country="USA" city="Princeton"/></author><author surname="Blei" givenname="David"><org  name="Princeton University" country="USA" city="Princeton"/></author></firstpageheader><frontmatter><p><b>PU-BCD: Exponential Family Models for the Coarse- and Fine-Grained</b></p><p><b>All-Words Tasks</b></p><p><b>Jonathan Chang Miroslav Dudfk, David M. Blei</b></p><p>Princeton University Princeton University</p><p>Department of Electrical Engineering Department of Computer Science</p><p>jcone@princeton.edu (mdudik,blei}@cs.princeton.edu</p></frontmatter><abstract>This paper describes an exponential family model of word sense which captures both occurrences and co-occurrences of words and senses in a joint probability distribution. This statistical framework lends itself to the task of word sense disambiguation. We eval­uate the performance of the model in its par­ticipation on the SemEval-2007 coarse- and fine-grained all-words tasks under a variety of parameters. </abstract></header><body><section number="1" title="Introduction"><p>This paper describes an <i>exponential family model </i>suited to performing word sense disambiguation. Exponential family models are a mainstay of mod­ern statistical modeling (Brown, 1986) and they are widely and successfully used for example in text classification (Berger et al., 1996). In statistical machine learning research, a general methodology and many algorithms were developed for <i>undirected graphical model </i>representation of exponential fam­ilies (Jordan, 2004), providing a solid basis for effi­cient inference.</p><p>Our model differs from other probabilistic mod­els used for word sense disambiguation in that it captures not only word-sense co-occurrences but also contextual sense-sense co-occurrences, thereby breaking the naive Bayes assumption. Although spare in the types of features, the model is extremely expressive. Our model has parameters that control for word-sense interaction and sense-sense similar­ity, allowing us to capture many of the salient fea­tures of word and sense use. After fitting the param­eters of our model from a labeled corpus, the task of word sense disambiguation immediately follows by considering the <i>posterior distribution </i>of senses given words.</p><p>We used this model to participate in SemEval-2007 on the coarse- and fine-grained all-words tasks. In both of these tasks, a series of sentences are given with certain words tagged. Each competing system must assign a sense from a sense inventory to the tagged words. In both tasks, performance was gauged by comparing the output of each system to human-tagged senses. In the fine-grained task, precision and recall were simply and directly com­puted against the golden annotations. However, in the coarse-grained task, the sense inventory was first clustered semi-automatically with each cluster rep­resenting an equivalence class over senses (Navigli, 2006). Precision and recall were computed against equivalence classes.</p><p>This paper briefly derives the model and then explores its properties for WSD. We show how common algorithms, such as "dominant sense" and "most frequent sense," can be expressed in the ex­ponential family framework. We then proceed to present an evaluation of the developed techniques on the SemEval-2007 tasks in which we participated.</p></section><section number="2" title="The model"><p>We describe an exponential family model for word sense disambiguation. We posit a joint distribution over words <b>w </b>and senses <b>s.</b></p><subsection number="2.1" title="Notation"><p>We define a <i>document </i>to be a sequence of words from some lexicon W; for the participation in this contest, a document consists of a sentence. Associ­ated with each word is a <i>sense </i>from a lexicon S. In this work, our sense lexicon is the synsets of Word­Net (Fellbaum and Miller, 2003), but our methods easily generalize to other sense lexicons, such as VerbNet (Kipper et al., 2000).<page local="2" global="273"/></p><p>Formally, we denote the sequence of words in a document d by <b>wd </b>= <i>(w</i><b><i>d,i,</i></b>..., <i>wd)Tld</i>) and the se­quence of synsets by <i>sd = </i><i>(s</i><b><i>d,i</i></b><i>,s</i><b><i>d,2,</i></b>Sd,nd ), where <i>nd </i>denotes the number of words in the docu­ment. A <i>corpus </i>D is defined as a collection of doc­uments. We also write w G s if w can be used to represent sense s.</p></subsection><subsection number="2.2" title="An exponential family of words and senses"><p>We turn our attention to an exponential family of words and senses. The vector of parameters <b>n </b>= (<b>k</b>, <b>A) </b>consists of two blocks capturing depen­dence on word-synset co-occurrences, and synset co-occurrences.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(1)</doubt><doubt alpha="55.6" length="9" tooSmall="False" monospace="0.0">Pn,n(s,w)</doubt><doubt alpha="66.7" length="24" tooSmall="False" monospace="0.0">= exP{EiKWi,Si+Ei,j/Zv,n</doubt><p>The summations are first over all positions in the document, 1 &lt; <i>i</i><i> </i><i>&lt;</i><i> </i><i>n,</i><i> </i>and then over all pairs of positions in the document, 1 &lt; i, <i>j &lt; n. </i>We discuss parameters of our exponential model in turn.</p><p><b>Word-sense parameters </b><b>k </b>Using parameters <b>k </b>alone, it is possible to describe an arbitrary context independent distribution between a word and its as­signed synset.</p><p><b>Sense co-occurrence parameters A </b>Parameters <b>A </b>are the only parameters that establish the depen­dence of sense on its context. More specifically, they capture co-occurrences of synset pairs within a context. Larger values favor, whereas smaller values disfavor each pair of synsets.</p></subsection></section><section number="3" title="Parameter estimation"><p>With the model in hand, we need to address two problems in order to use it for problems such as WSD. First, in <i>parameter estimation, </i>we find values of the parameters that explain a labeled corpus, such as SemCor (Miller et al., 1993). Once the parame­ters are fit, we use <i>posterior inference </i>to compute the posterior probability distribution of a set of senses given a set of unlabeled words in a context, <i>p(s</i><i> </i>| <b>w). </b>This distribution is used to predict the senses of the words.</p><p>In this section, it will be useful to introduce the notation p(s, w) to denote the empirical probabili­ties of observing the word-sense pair s, w in the en­tire corpus:</p><doubt alpha="57.9" length="38" tooSmall="False" monospace="0.0">p(s,w) =Yld)iS(sd)i,s)ö(wd)i,w)/Yldnd,</doubt><p>where <i>ö(x,y)</i><i> </i>= 1 if <i>x</i><i> </i><i>=</i><i> </i><i>y</i><i> </i>and 0 otherwise. Similarly, we will define p(s) to denote the empiri­cal probability of observing a sense <i>s </i>over the entire corpus:</p><p>p(s) = E<i>di </i>&lt;Ksd)i,s)/Ednd .</p><subsection number="3.1" title="Word-sense parameters k"><p><b>Fallback </b>Let k™ =0 if w G s and k™ = -oo otherwise. This simply sets to zero the probability of assigning a word w to a synset s when w G s while making all w G s equally likely as an assignment to s. This forces the model to rely entirely on <b>A </b>for inference. If <b>A </b>is also set to <b>0, </b>this then forces the system to fall back onto its arbitrary tie-breaking mechanism such as choosing randomly or choosing the first sense.</p><p><b>Most-frequent synset </b>One approach to disam­biguation is the technique of choosing the most fre­quently occurring synset which the word may ex­press. This can be implemented within the model by setting <i>kw)s </i><i>= </i>kmfs = lnp(s) if w G s and <b><i>—oo </i></b>otherwise.</p><p><b>MLE </b>Given a labeled corpus, we would like to find the corresponding parameters that maximize likelihood of the data. Equivalently, we would like to maximize the log likelihood</p><doubt alpha="40.0" length="5" tooSmall="False" monospace="0.0">L(n)=</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(2)</doubt><p>In this section, we consider a simple case when it is possible to estimate parameters maximizing the likelihood exactly, i.e., the case where our model depends only on word-synset co-occurrences and is parametrized solely by <b>k </b>(setting <b>A </b>= <b>0).</b></p><doubt alpha="62.5" length="32" tooSmall="False" monospace="0.0">Using Eq. (1), withA=0,we obtain</doubt><p>eXP(E <i>d)iKWd,i)Sd,i}</i><page local="3" global="274"/></p><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">lidZKnd</doubt><p>Thus, pK(<b>s</b>d, <b>w</b>d) can be viewed as a multino­mial model with <i>d </i>n<i>d </i>trials and | S| outcomes, parametrized by <i>kw)s. </i>The maximum likelihood es­timates in this model <b><i>= </i></b>ln<i>p(s,</i><i> </i>w).</p><p>This setting of the parameters corresponds pre­cisely to the <i>dominant-sense </i>model (McCarthy et al., 2004). The resulting model is thus</p><doubt alpha="52.4" length="21" tooSmall="False" monospace="0.0">p*,n(s,w) =I]ip(si,wi</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(3)</doubt></subsection><subsection number="3.2" title="Sense co-occurrence parameters A"><p>Unlike <b>k, </b>it is impossible to find a closed-form so­lution for the maximum-likelihood settings of <b>A. </b>Therefore, we turn to intuitive methods.</p><p><b>Observed synset co-occurrence </b>One natural ad hoc statistic to use to compute the parameters A are the empirical sense co-occurrences. In particular, we may set</p><doubt alpha="54.8" length="31" tooSmall="False" monospace="0.0">Asi)Sj= ASF)Sj =lnp(si,sj) .(4)</doubt><p>We will observe in section 5 that the performance of <b>A </b>= <b>ASF </b>actually degrades the performance of the system, especially when combined with <b>k </b>= <b>k. </b>This can be understood as a by-product of an un­sympathetic interaction between <b>k </b>and <b>A. </b>In other words, <b>k </b>and <b>A </b>overlap; by favoring a sense pair the model will also implicitly favor each of the senses in the pair.</p><p><b>Discounted observed synset co-occurrence </b>As we noted earlier, the combination <b>k </b>= <b>K, A </b>= <b>ASF</b>actually performs worse than <b>k </b>= <b>K, A </b>= <b>0.</b><b> </b>In order to cancel out the aforementioned over­lap effect, we attempt to compute the number of co-occurrences beyond what the <i>occurrences </i>them­selves would imply. To do so, we set <b>A </b>= <b>ADSF = </b>ln a quantity which finds an analogue in the notion of <i>mutual information.</i><i> </i>We will see shortly that such a setting of <b>A </b>will allow sense co-occurrence to im­prove disambiguation performance.</p><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">j5(si,sj</doubt><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">p(si)p(sj</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(5)</doubt></subsection></section><section number="4" title="Word Sense Disambiguation"><p>Finally, we describe how to perform WSD using the exponential family model. Our goal is to assign a synset s<i>i </i>to every word w<i>i </i>in an unlabeled document d of length n. In this setting, the synsets are hidden variables. Thus, we assign synsets according to their posterior probability given the observed words:</p><doubt alpha="40.0" length="10" tooSmall="False" monospace="0.0">p^)n(s, w)</doubt><doubt alpha="38.9" length="18" tooSmall="False" monospace="0.0">s= argmax =—^-—--,</doubt><p>where the sum is over all possible sequences of synsets. This combinatorial sum renders exact infer­ence computationally intractable. We discuss how to obtain the sense assignment using approximate in­ference.</p><subsection number="4.1" title="Variational Inference"><p>To approximate the posterior over senses, we use <i>variational inference </i>(Jordan et al., 1999). In vari-ational inference, one first chooses a family of distributions for which inference is computationlly tractable. Then the distribution in that family which best approximates the posterior distribution of inter­est is found.</p><p>For our purposes, it is convenient to select q from the family of factorized multinomial distributions:</p><doubt alpha="57.1" length="14" tooSmall="False" monospace="0.0">q(s) =Ilqi(si)</doubt><p>where each qi(si) is a multinomial distribution over all possible senses. Observe that finding <b>s </b>is much simpler using q<b>(s): </b>one can find the argmax of each individual q<i>i </i>independently.</p><p>It can be shown that the multinomial which mini­mizes the KL-divergence must satisfy:</p><doubt alpha="57.1" length="35" tooSmall="False" monospace="0.0">qi(si)oc exp &lt; Kwi)Si+ ^ ^ qj(sj)As</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(6)</doubt><p>a system of transcendental equations which can be solved iteratively to find q. This q is then used to efficiently perform inference and hence disambigua­tion.</p></subsection></section><section number="5" title="Evaluation"><p>This section evaluates the performance of the model and the techniques described in the previous sec­tions with respect to the coarse- and fine-grained all-words tasks at SemEval-2007.</p><p>In order to train the parameters, we trained our model in a supervised fashion on SemCor (Miller et<page local="4" global="275"/></p><p>Table 1: Precision for the fine-grained all-words task. The results corresponding to the bolded value was submitted to the competition.</p><p>al., 1993) with Laplace smoothing for parameter es­timates. We utilized the POS tagging and lemma-tization given in the coarse-grained all-words test set. Wherever a headword was tagged differently between the two test sets, we produced an answer only for the coarse-grained test and not for the fine­grained one. This led to responses on only 93.9% of the fine-grained test words. Of the 6.1% over which no response was given, 5.3% were tagged as "U" in the answer key.</p><p>In order to break ties between equally likely senses, for the fine-grained test, the system returned the first one returned in WordNet's sense inventory for that lemma. For the coarse-grained test, an arbi­trary sense was returned in case of ties.</p><p>The precision results given in this section are over polysemous words (of all parts of speech) for which our system gave an answer and for which the answer key was not tagged with "U."</p><subsection number="5.1" title="Fine-grained results (Task 17)"><p>The fine-grained results over all permutations of the parameters mentioned in Section 3 are given in Ta­ble 1. Note here that the baseline number of A = <b>0, </b><b>k </b>= <b>k</b>wn given in the upper-left is equivalent to simply choosing the first WordNet sense. Notably, such a simple configuration of the model outper­forms all but two other of the other parameter set­tings.</p><p>When any sort of nonzero sense co-occurrence parameter is used with k = kWN, the performance degrades dramatically, to 48.8% and 47.0% for ASFand ADSF respectively. Since the discounting scheme was devised to positively interact with k = k, it is no surprise that it does poorly when k is not set in such a way. And as mentioned previously, naively setting A to ASF improperly conflates A and <b>k</b>, yield­ing a poor result.</p><p>When k = kMFS is used, the precision is even lower, dropping to 45.8% when no sense cooccurrence information is used. And similarly to <b>k </b>= <b>k</b>wn, any nonzero A significantly degrades per­formance. This seems to indicate the most-frequent synset, as predicted by our earlier analysis, is an in­ferior technique.</p><p>Finally, when <b>k </b>= K is used (i.e. dominant sense), the precision is 51.2%, slightly lower than but nearly on par with that of the baseline. When sense co­occurrence parameters are added, the performance increases. For ASF, a precision of 52.5% is achieved; a precision above the baseline. But again, because of the interaction between k and A, here we expect it to be possible to improve upon this performance.</p><p>And indeed, when A = ADSF, the highest value of the entire table, 54.2% is achieved. This is a sig­nificant improvement over the baseline and demon­strates that our intuitively appealing mutual informa­tion discounting mechanism allows for k and A to work cooperatively.</p></subsection><subsection number="5.2" title="Coarse-grained results (Task 7)"><p>In order to perform the coarse-grained task, our sys­tem first determined the set of sense equivalence classes. We denote a sense equivalence class by k, where k is some sense key member of the class. The equivalence classes were created according to the following constraints:</p><p>• Each sense key k may only belong to one equivalence class k.</p><p>• All sense keys referring to the same sense s must belong in the same class.</p><p>• All sense keys clustered together must belong in the same class.</p><p>Once the clustering is complete, we can proceed exactly as we did in the previous sections, while re­placing all instances of s with k. Thus, training in this case was performed on a SemCor where all the senses were mapped back to their corresponding sense equivalence classes.<page local="5" global="276"/></p><table 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><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>K = KWN</p></td><td class="cell"><p>K = KMFS</p></td><td class="cell"><p>K = K</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>A = <b>0</b></p><p>A = ASFA = ADSF</p></td><td class="cell"><p>52.0% 48.8% 47.0%</p></td><td class="cell"><p>45.8% 45.3% 44.6%</p></td><td class="cell"><p>51.2% 52.5% 54.2%</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><td class="cell"></td></tr></table><p>The model fared considerably worse on the coarse-grained all-words task. The precision of the system as given by the scorer was 69.7% and the recall 62.8%. These results, while naturally much higher than those for the fine-grained test, are low by coarse-grained standards. While the gold standard was not available for comparison for these results, there are two likely causes of the lower performance on this task.</p><p>The first is that ties were not adjudicated by choosing the first WordNet sense. Instead, an ar­bitrary sense was chosen thereby pushing cases in which the model is unsure from the baseline to the much lower random precision rate. The second is the same number of documents are mapped to a smaller number of "senses" (i.e. sense equivalence classes), the number of parameters is greatly reduced. There­fore, the expressive power of each parameter is di­luted because it must be spread out across all senses within the equivalence class.</p><p>We believe that both of these issues can be eas­ily overcome and we hope to do so in future work. Furthermore, while the model currently captures the most salient features for word sense disambiguation, namely word-sense occurrence and sense-sense co­occurrence, it would be simple to extend the model to include a larger number of features (e.g. syntactic features).</p></subsection></section><section number="6" title="Conclusion"><p>In summary, this paper described our participation in the the SemEval-2007 coarse- and fine-grained all-words tasks. In particular, we described an exponen­tial family model of word sense amenable to the task of word sense disambiguation. The performance of the model under a variety of parameter settings was evaluated on both tasks and the model was shown to be particularly effective on the fine-grained task.</p></section><section number="7" title="Acknowledgments"><p>The authors would like to thank Christiane Fell­baum, Daniel Osherson, and the members of the CIMPL group for their helpful contributions. This research was supported by a grant from Google Inc. and by NSF grant CCR-0325463.</p></section><references><p>Adam L. Berger, Vincent J. Della Pietra, and Stephen A. DellaPietra. 1996. A maximum entropy approach to natural language processing. <i>Computational Linguistics, </i>22(1):39-71.</p><p>Lawrence D. Brown. 1986. <i>Fundamentals of Statistical Expo­nential Families. </i>Institute of Mathematical Statistics, Hay-ward, CA.</p><p>Christiane Fellbaum and George A. Miller. 2003. Mor-phosemantic links in WordNet. <i>Traitement automatique de langue.</i></p><p>Michael I. Jordan, Zoubin Ghahramani, Tommi Jaakkola, and Lawrence K. Saul. 1999. An introduction to varia-tional methods for graphical models. <i>Machine Learning, </i>37(2):183-233.</p><p>Michael I. Jordan. 2004. Graphical models. <i>Statistical Science, </i>19(1):140-155.</p><p>Karin Kipper, Hoa Trang Dang, and Martha Palmer. 2000. Class-Based Construction of a Verb Lexicon. <i>Proceedings of the Seventeenth National Conference on Artificial Intelli­gence and Twelfth Conference on Innovative Applications of Artificial Intelligence table of contents, </i>pages 691-696.</p><p>Diana McCarthy, Rob Koeling, Julie Weeds, and John Carroll. 2004. Finding predominant senses in untagged text. In <i>Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics, </i>pages 280-287, Barcelona, Spain.</p><p>George A. Miller, Claudia Leacock, Randee Tengi, and Ross T. Bunker.  1993. A semantic concordance. In <i>3rd DARPA</i> <i>Workshop on Human Language Technology.</i><i></i></p><p>Roberto Navigli. 2006. Meaningful clustering of senses helps boost word sense disambiguation performance. In <i>COLING-ACL 2006, </i>pages 105-112, July.</p></references></body></article>