Benjamin Aw
Add updated pkl file v3
6fa4bc9
{
"paper_id": "C10-1013",
"header": {
"generated_with": "S2ORC 1.0.0",
"date_generated": "2023-01-19T12:57:29.384277Z"
},
"title": "Towards an optimal weighting of context words based on distance",
"authors": [
{
"first": "Bernard",
"middle": [],
"last": "Brosseau-Villeneuve",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "Universit\u00e9 de Montr\u00e9al",
"location": {}
},
"email": ""
},
{
"first": "Jian-Yun",
"middle": [],
"last": "Nie",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "Universit\u00e9 de Montr\u00e9al",
"location": {}
},
"email": "[email protected]"
},
{
"first": "Noriko",
"middle": [],
"last": "Kando",
"suffix": "",
"affiliation": {
"laboratory": "",
"institution": "Universit\u00e9 de Montr\u00e9al",
"location": {}
},
"email": "[email protected]"
}
],
"year": "",
"venue": null,
"identifiers": {},
"abstract": "Word Sense Disambiguation (WSD) often relies on a context model or vector constructed from the words that co-occur with the target word within the same text windows. In most cases, a fixed-sized window is used, which is determined by trial and error. In addition, words within the same window are weighted uniformly regardless to their distance to the target word. Intuitively, it seems more reasonable to assign a stronger weight to context words closer to the target word. However, it is difficult to manually define the optimal weighting function based on distance. In this paper, we propose a unsupervised method for determining the optimal weights for context words according to their distance. The general idea is that the optimal weights should maximize the similarity of two context models of the target word generated from two random samples. This principle is applied to both English and Japanese. The context models using the resulting weights are used in WSD tasks on Semeval data. Our experimental results showed that substantial improvements in WSD accuracy can be obtained using the automatically defined weighting schema.",
"pdf_parse": {
"paper_id": "C10-1013",
"_pdf_hash": "",
"abstract": [
{
"text": "Word Sense Disambiguation (WSD) often relies on a context model or vector constructed from the words that co-occur with the target word within the same text windows. In most cases, a fixed-sized window is used, which is determined by trial and error. In addition, words within the same window are weighted uniformly regardless to their distance to the target word. Intuitively, it seems more reasonable to assign a stronger weight to context words closer to the target word. However, it is difficult to manually define the optimal weighting function based on distance. In this paper, we propose a unsupervised method for determining the optimal weights for context words according to their distance. The general idea is that the optimal weights should maximize the similarity of two context models of the target word generated from two random samples. This principle is applied to both English and Japanese. The context models using the resulting weights are used in WSD tasks on Semeval data. Our experimental results showed that substantial improvements in WSD accuracy can be obtained using the automatically defined weighting schema.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Abstract",
"sec_num": null
}
],
"body_text": [
{
"text": "The meaning of a word can be defined by the words that accompany it in the text. This is the principle often used in previous studies on Word Sense Disambiguation (WSD) (Ide and V\u00e9ronis, 1998; Navigli, 2009) . In general, the accompanying words form a context vector of the target word, or a probability distribution of the context words. For example, under the unigram bag-ofwords assumption, this means building p(x|t) = count(x,t)",
"cite_spans": [
{
"start": 169,
"end": 192,
"text": "(Ide and V\u00e9ronis, 1998;",
"ref_id": "BIBREF4"
},
{
"start": 193,
"end": 207,
"text": "Navigli, 2009)",
"ref_id": "BIBREF7"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "x count(x ,t) , where count(x, t) is the count of co-occurrences of word x with the target word t under a certain criterion. In most studies, x and t should co-occur within a window of up to k words or sentences. The bounds are usually selected in an ad-hoc fashion to maximize system performance. Occurrences inside the window often weight the same without regard to their position. This is counterintuitive. Indeed, a word closer to the target word generally has a greater semantic constraint on the target word than a more distant word. It is however difficult to define the optimal weighting function manually. To get around this, some systems add positional features for very close words. In information retrieval, to model the strength of word relations, some studies have proposed non-uniform weighting methods of context words, which decrease the importance of more distant words in the context vector. However, the weighting functions are defined manually. It is unclear that these functions can best capture the impact of the context words on the target word.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "In this paper, we propose an unsupervised method to automatically learn the optimal weight of a word according to its distance to the target word. The general principle used to determine such weight is that, if we randomly determine two sets of windows containing the target word from the same corpus, the meaning -or mixture of meanings for polysemic words -of the target word in the two sets should be similar. As the context model -a probability distribution for the context words -determines the meaning of the target word, the context models generated from the two sets should also be similar. The weights of context words at different distance are therefore de-termined so as to maximize the similarity of context models generated from the two sets of samples. In this paper, we propose a gradient descent method to find the optimal weights. We will see that the optimal weighting functions are different from those used in previous studies. Experimentation on Semeval-2007 English and Semeval-2010 Japanese lexical sample task data shows that improvements can be attained using the resulting weighting functions on simple Na\u00efve Bayes (NB) systems in comparison to manually selected functions. This result validates the general principle we propose in this paper.",
"cite_spans": [
{
"start": 967,
"end": 991,
"text": "Semeval-2007 English and",
"ref_id": null
},
{
"start": 992,
"end": 1004,
"text": "Semeval-2010",
"ref_id": null
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "The remainder of this paper is organized as follows: typical uses of text windows and related work are presented in Section 2. Our method is presented in Section 3. In Section 4 to 6, we show experimental results on English and Japanese WSD. We conclude in Section 7 with discussion and further possible extensions.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Introduction",
"sec_num": "1"
},
{
"text": "Modeling the distribution of words around one target word, which we call context model, has many uses. For instance, one can use it to define a co-occurrence-based stemmer (Xu and Croft, 1998) , which uses window co-occurrence statistics to calculate the best equivalence classes for a group of word forms. In the study of Xu and Croft, they suggest using windows of up to 100 words. Context models are also widely used in WSD. For example, top performing systems on English WSD tasks in Semeval-2007, such as NUS-ML (Cai et al., 2007) , all made use of bag-of-words features around the target word. In this case, they found that the best results can be achieved using a window size of 3.",
"cite_spans": [
{
"start": 172,
"end": 192,
"text": "(Xu and Croft, 1998)",
"ref_id": "BIBREF11"
},
{
"start": 517,
"end": 535,
"text": "(Cai et al., 2007)",
"ref_id": "BIBREF1"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Uses of text windows",
"sec_num": "2"
},
{
"text": "Both systems limit the size of their windows for different purposes. The former uses a large size in order to model the topic of the documents containing the word rather than the word's meaning. The latter would limit the size because bag-of-words features further from the target word would not be sufficiently related to its meaning (Ide and V\u00e9ronis, 1998) . We see that there is a compromise between taking fewer, highly related words, or taking more, lower quality words. However, there is no principled way to determine the optimal size of windows. The size is determined by trial and error.",
"cite_spans": [
{
"start": 335,
"end": 358,
"text": "(Ide and V\u00e9ronis, 1998)",
"ref_id": "BIBREF4"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Uses of text windows",
"sec_num": "2"
},
{
"text": "A more questionable aspect in the above systems is that for bag-of-words features, all words in a window are given equal weights. This is counterintuitive. One can easily understand that a context word closer to the target word generally imposes a stronger constraint on the meaning of the latter, than a more distant context word. It is then reasonable to define a weighting function that decreases along with distance. Several studies in information retrieval (IR) have proposed such functions to model the strength of dependency between words. For instance, Gao et al. (2002) proposed an exponential decay function to capture the strength of dependency between words. This function turns out to work better than the uniform weighting in the IR experiments. Song and Bruza (2003) used a fixed-size sliding window to determine word co-occurrences. This is equivalent to define a linear decay function for context words. The context vectors defined this way are used to estimate similarity between words. A use of the resulting similarity in query expansion in IR turned out to be successful (Bai et al., 2005) .",
"cite_spans": [
{
"start": 561,
"end": 578,
"text": "Gao et al. (2002)",
"ref_id": "BIBREF3"
},
{
"start": 760,
"end": 781,
"text": "Song and Bruza (2003)",
"ref_id": "BIBREF10"
},
{
"start": 1092,
"end": 1110,
"text": "(Bai et al., 2005)",
"ref_id": "BIBREF0"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Uses of text windows",
"sec_num": "2"
},
{
"text": "In a more recent study, Lv and Zhai (2009) evaluated several kernel functions to determine the weights of context words according to distance, including Gaussian kernel, cosine kernel, and so on. As for the exponential and linear decaying functions, all these kernel functions have fixed shapes, which are determined manually.",
"cite_spans": [
{
"start": 24,
"end": 42,
"text": "Lv and Zhai (2009)",
"ref_id": "BIBREF5"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Uses of text windows",
"sec_num": "2"
},
{
"text": "Notice that the above functions have only been tested in IR experiments. It is not clear how these functions perform in WSD. More importantly, all the previous studies have investigated only a limited number of weighting functions for context words. Although some improvements using these functions have been observed in IR, it is not clear whether the functions can best capture the true impact of the context words on the meaning of the target word. Although the proposed functions comply with the general principle that closer words are more important than more distant words, no principled way has been proposed to determine the particular shape of the function for different languages and collections.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Uses of text windows",
"sec_num": "2"
},
{
"text": "In this paper, we argue that there is indeed a hidden weighting function that best capture the impact of context words, but the function cannot be defined manually. Rather, the best function should be the one that emerges naturally from the data. Therefore, we propose an unsupervised method to discover such a function based on the following principle: the context models for a target word generated from two random samples should be similar. In the next section, we will define in detail how this principle is used.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Uses of text windows",
"sec_num": "2"
},
{
"text": "In this section, we present our method for choosing how much a word occurrence should count in the context model according to its distance to the target word. In this study, for simplicity, we assume that all word occurrences at a given distance count equally in the context model. That is, we ignore other features such as POS-tags, which are used in other studies on WSD.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "Let C be a corpus, W a set of text windows for the target word w, c W,i,x the count of occurrences of word x at distance i in W , c W,i the sum of these counts, and \u03b1 i the weight put on one word occurrence at distance i. Then,",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "EQUATION",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [
{
"start": 0,
"end": 8,
"text": "EQUATION",
"ref_id": "EQREF",
"raw_str": "P ML,W (x) = i \u03b1 i c W,i,x i \u03b1 i c W,i",
"eq_num": "(1)"
}
],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "is the maximum likelihood estimator for x in the context model of w. To counter the zero probability problem, we apply Dirichlet smoothing with the collection language model as a prior:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "EQUATION",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [
{
"start": 0,
"end": 8,
"text": "EQUATION",
"ref_id": "EQREF",
"raw_str": "P Dir,W (x) = i \u03b1 i c W,i,x + \u03bc W P (x|C) i \u03b1 i c W,i + \u03bc W",
"eq_num": "(2)"
}
],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "The pseudo-count \u03bc W can be a constant, or can be found by using Newton's method, maximizing the log likelihood via leave-one-out estimation:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "L \u22121 (\u03bc|W, C) = i x\u2208V \u03b1 i c W,i,x log \u03b1 i c W,i,x \u2212\u03b1 i +\u03bcP (x|C) j \u03b1 j c W,j \u2212\u03b1 i +\u03bc",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "The general process, which we call automatic Dirichlet smoothing, is similar to that described in (Zhai and Lafferty, 2002) . To find the best weights for our model we propose the following process:",
"cite_spans": [
{
"start": 98,
"end": 123,
"text": "(Zhai and Lafferty, 2002)",
"ref_id": "BIBREF12"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "\u2022 Let T be the set of all windows containing the target word. We randomly split this set into two sets A and B.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "\u2022 We want to find \u03b1 that maximizes the similarity of the models obtained from the two sets, by minimizing their mutual cross entropy:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "l(\u03b1) = H(P ML,A , P Dir,B ) + (3) H(P ML,B , P Dir,A )",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "In other words, we want \u03b1 i to represent how much an occurrence at distance i models the context better than the collection language model, whose counts are weighted by the Dirichlet parameter. We hypothesize that target words occur in limited contexts, and as we get farther from them, the possibilities become greater, resulting in sparse and less related counts. Since two different sets of the same word are essentially noisy samples of the same distribution, the weights maximizing their mutual generation probabilities should model this phenomenon.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "One may wonder why we do not use a distribution similarity metric such as Kullback-Leibler (KL) divergence or Information Radius (IRad). The reason is that with enough word occurrences (big windows or enough samples), the most similar distributions are found with uniform weights, when all word counts are used. KL divergence is especially problematic as, since it requires smoothing, the weights will converge to the degenerate weights \u03b1 = 0, where only the identical smoothing counts remain. Entropy minimization is therefore needed in the objective function.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "To determine the optimal weight of \u03b1 i , we propose a simple gradient descent minimizing (3) over \u03b1. The following are the necessary derivatives:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "\u2202l \u2202\u03b1 i = \u2202H(P ML,A , P Dir,B ) \u2202\u03b1 i + \u2202H(P ML,B , P Dir,A ) \u2202\u03b1 i \u2202H P ML,W , P Dir,(T \u2212W ) \u2202\u03b1 i = \u2212 x\u2208V \u2202P ML,W (x) \u2202\u03b1 i log P Dir,(T \u2212W ) (x)+ \u2202P Dir,(T \u2212W ) (x) \u2202\u03b1 i \u00d7 P ML,W (x) P Dir,(T \u2212W ) (x) \u2202P ML,W (x) \u2202\u03b1 i = c W,i,x \u2212 P ML,W (x)c W,i j \u03b1 j c W,j \u2202P Dir,W (x) \u2202\u03b1 i = c W,i,x \u2212 P Dir,W (x)c W,i j \u03b1 j c W,j + \u03bc W",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "We use stochastic gradient descent: one word is selected randomly, it's gradient is computed, a small gradient step is done and the process is repeated. A pseudo-code of the process can be found in Algorithm 1.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "Algorithm 1 LearnWeight(C, \u03b7, ) \u03b1 \u2190 1 k repeat T \u2190{Get windows for next word} (A, B) \u2190RandomPartition(T ) for W in A, B do P ML,W \u2190MakeML(W ,\u03b1) \u03bc W \u2190ComputePseudoCount(W ,C) P Dir,W \u2190MakeDir( P ML,W , \u03bc W , C) end for grad \u2190 \u2207H(P ML,A , P Dir,B ) + \u2207H(P ML,B , P Dir,A ) \u03b1 \u2190 \u03b1 \u2212 \u03b7 grad grad until \u2203\u03b1 i < return \u03b1/ max{\u03b1 i }",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "Now, as the objective function would eventually go towards putting nearly all weight on \u03b1 1 , we hypothesize that the farthest distances should have a near-zero contribution, and determine the stop criterion as having one weight go under a small threshold. Alternatively, a control set of held out words can be used to observe the progress of the objective function or the gradient length. When more and more weight is put on the few closest positions, the objective function and gradient depends on less counts and will become less stable. This can be used as a stop criterion.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "The above weight learning process is applied on an English collection and a Japanese collection with \u03b7 = = 0.001, and \u03bc = 1000. In the next sections, we will describe both resulting weighting functions in the context of WSD experiments.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Computing weights for distances",
"sec_num": "3"
},
{
"text": "Since we use the same systems for both English and Japanese experiments, we will briefly discuss the used classifiers in this section. In both tasks, the objective is to maximize WSD accuracy on held-out data, given that we have a set of training text passages containing a sense-annotated target word.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "The first of our baselines, the Most Frequent Sense (MFS) system always selects the most frequent sense in the training set. It gives us a lower bound on system accuracies.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "Na\u00efve Bayes (NB) classifiers score classes using the Bayes formula under a feature independence assumption. Let w be the target word in a given window sample to be classified, the scoring formula for sense class S is:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "Score(w, S) = P (S)P T ar (w|S) \u03bb T ar \u00d7 x i \u2208context(w) P Con (x i |S) \u03bb Con \u03b1 dist(x i )",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "where dist(x i ) is the distance between the context word x i and the target word w. The target word being an informative feature present in all samples, we use it in a target word language model P T ar . The surrounding words are summed in the context model P Con as shown in equation (1). As we can see with the presence of \u03b1 in the equation, the scoring follows the same weighting scheme as we do when accumulating counts, since the samples to classify follow the same distribution as the training ones. Also, when a language model uses automatic Dirichlet smoothing, the impact of the features against the prior is controlled with the manual parameters \u03bb T ar or \u03bb Con . When a manual smoothing parameter is used, it also handles impact control. Our systems use the following weight functions:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "Uniform: \u03b1 i = 1 1\u2264i\u2264\u03b4",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": ", where \u03b4 is a window size and 1 the indicator function.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "Linear:",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "\u03b1 i = max{0, 1 \u2212 (i \u2212 1)\u03b4},",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "where \u03b4 is the decay rate.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "Exponential: \u03b1 i = e \u2212(i\u22121)\u03b4 , where \u03b4 is the exponential parameter.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "Learned: \u03b1 i is the weight learned as shown previously.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "The parameters for NB systems are identical for all words of a task and were selected by exhaustive search, maximizing leave-one-out accuracy on the training set. For each language model, we tried Laplace, manual Dirichlet and automatic Dirichlet smoothing.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "For the sake of comparison, also we provide a Support Vector Machine (SVM) classifier, which produces the best results in Semeval 2007. We used libSVM with a linear kernel, and regularization parameters were selected via grid search maximizing leave-one-out accuracy on the training set. We tested the following windows limits: all words in sample, current sentence, and various fixed window sizes. We used the same features as the NB systems, testing Boolean, raw count, log-of-counts and counts from weight functions representations. Although non-Boolean features had good leave-one-out precision on the training data, since SVM does not employ smoothing, only Boolean features kept good results on test data, so our SVM baseline uses Boolean features.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Classifiers for supervised WSD tasks",
"sec_num": "4"
},
{
"text": "The Semeval workshop holds WSD tasks such as the English Lexical Sample (ELS) (Pradhan et al., 2007) . The task is to maximize WSD accuracy on a selected set of polysemous words, 65 verbs and 35 nouns, for which passages were taken from the WSJ Tree corpus. Passages contain a couple of sentences around the target word, which is manually annotated with a sense taken from OntoNotes (Hovy et al., 2006) . The sense inventory is quite coarse, with an average of 3.6 senses per word. Instances count are listed in Table 1 . Since there are only 100 target words and instances are limited in the Semeval collection, we do not have sufficient samples to estimate the optimal weights for context words. Therefore, we used the AP88-90 corpus of the TREC collection (CD 1 & 2) in our training process. The AP collection contains 242,918 documents. Since our classifiers use word stems, the collection was also stemmed with the Porter stemmer and sets of windows were built for all word stems. To get nearuniform counts in all distances, only full windows with a size of 100, which was considered big enough without any doubt, were kept. In order to get more samples, windows to the right and to the left were separated. For each target word, we used 1000 windows. A stoplist of the top 10 frequent words was used, but place holders were left in the windows to preserve the distances. Multiple consecutive stop words (ex: \"of the\") were merged, and the target word stem, being the same for all samples of a set, was ignored in the construction of context models. The AP collection results in 32,650 target words containing 5,870,604 windows. The training process described in Section 3 is used to determine the best weights of context words. Figure 1 shows the first 40 elements of the resulting weighting function curve.",
"cite_spans": [
{
"start": 78,
"end": 100,
"text": "(Pradhan et al., 2007)",
"ref_id": "BIBREF9"
},
{
"start": 383,
"end": 402,
"text": "(Hovy et al., 2006)",
"ref_id": null
}
],
"ref_spans": [
{
"start": 512,
"end": 519,
"text": "Table 1",
"ref_id": null
},
{
"start": 1734,
"end": 1742,
"text": "Figure 1",
"ref_id": "FIGREF0"
}
],
"eq_spans": [],
"section": "WSD experiments on Semeval-2007 English Lexical Sample",
"sec_num": "5"
},
{
"text": "As we can see, the curve is neither exponential, linear, or any of the forms used by Lv and Zhai. Its form is rather similar to x \u2212\u03b4 , or rather log \u22121 (\u03b4 + x) minus some constant. rate is initially very high and then reduces as it becomes closer to zero. This long tail is not present in any of the previously suggested functions. The large difference between the above optimal weighting function and the functions used in previous studies would indicate that the latter are suboptimal. Also, as we can see, the relation between context words and the target word is mostly gone after a few words. This would motivate the commonly used very small windows when using a uniform weights, since using a bigger window would further widen the gap between the used weight and the optimal ones. Now for the system settings, the context words were processed the same way as the external corpus. The target word was used without stemming but had the case stripped. The NB systems used the concatenation of the AP collection and the Semeval data for the collection language model. This is motivated by the fact that the Semeval data is not balanced: it contains only a small number of passages containing the target words. This makes words related to them unusually frequent. The class priors used an absolute discounting of 0.5 on class counts. Uniform NB uses a window of size 4, a Laplace smoothing of 0.65 on P T ar and an automatic Dirichlet with \u03bb Con = 0.7 on P Con . Linear NB has \u03b4 = 0.135, uses a Laplace smoothing of 0.85 on P T ar and an automatic Dirichlet with \u03bb Con = 0.985 on P Con . Exp NB has \u03b4 = 0.27, uses a Laplace smoothing of 2.8 on P T ar and an automatic Dirichlet with \u03bb Con = 1.01 on P Con . The SVM system uses a window of size 3. Our system, Learned NB uses a Laplace smoothing of 1.075 on P T ar , and an automatic Dirichlet with \u03bb Con = 1.025 on P Con . The results on WSD are listed in Table 2 . WSD accuracy is measured by the proportion of correctly disambiguated words among all the word samples. The cross-validation is performed on the training data with leave-oneout and is shown as a hint of the capacity of the models. A randomization test comparing Exponential NB and Learned NB gives a p-value of 0.0508, which is quite good considering the extensive trials used to select the exponential parameter in comparison to a single curve computed from a different corpus. This performance is comparable to the current state of the art. It outperforms most of the systems participating in the task (Pradhan et al., 2007) . Out of 14 systems, the best results had accuracies of 89.1*, 89.1*, 88.7, 86.9 and 86.4 (* indicates post-competition submissions). Notice that most previous systems used SVM with additional features such as local collocations, positional word features and POS tags. Our approach only uses bag-of-words in a Na\u00efve Bayes classifier. Therefore, the performance of our method is sub-optimal. With additional features and better classification methods, we can expect that better performance can be obtained. In future work, we will investigate the applications of SVM with our new term weighting scheme, together with additional types of features.",
"cite_spans": [
{
"start": 2521,
"end": 2543,
"text": "(Pradhan et al., 2007)",
"ref_id": "BIBREF9"
}
],
"ref_spans": [
{
"start": 1907,
"end": 1914,
"text": "Table 2",
"ref_id": "TABREF2"
}
],
"eq_spans": [],
"section": "WSD experiments on Semeval-2007 English Lexical Sample",
"sec_num": "5"
},
{
"text": "The Semeval-2010 Japanese WSD task (Okumura et al., 2010) consists of 50 polysemous words for which examples were taken from the BCCWJ corpus (Maekawa, 2008) . It was manually segmented, POS-tagged, and annotated with senses taken from the Iwanami Kokugo dictionary. The selected words have 50 samples for both the training and test set. The task is identical to the ELS of the previous experiment.",
"cite_spans": [
{
"start": 35,
"end": 57,
"text": "(Okumura et al., 2010)",
"ref_id": "BIBREF8"
},
{
"start": 142,
"end": 157,
"text": "(Maekawa, 2008)",
"ref_id": "BIBREF6"
}
],
"ref_spans": [],
"eq_spans": [],
"section": "WSD experiments on Semeval-2010 Japanese Lexical Sample",
"sec_num": "6"
},
{
"text": "Since the data was again insufficient to compute the optimal weighting curve, we used the Mainichi-2005 corpus of NTCIR-8. We tried to reproduce the same kind of segmentation as the training data by using the Chasen parser with Uni-Dic, which nevertheless results in different word segments as the training data. For the corpus and Semeval data, conjugations (setsuzoku-to, jod\u00f4shi, etc.), particles (all jo-shi), symbols (blanks, kig\u00f4, etc.), and numbers were stripped. When a base-form reading was present (for verbs and adjectives), the token was replaced by the Kanjis (Chinese characters) in the word writing concatenated with the base-form reading. This treatment is somewhat equivalent to the stemming+stop list of the ELS tasks. The resulting curve can be seen in Figure 2 .",
"cite_spans": [],
"ref_spans": [
{
"start": 772,
"end": 780,
"text": "Figure 2",
"ref_id": "FIGREF1"
}
],
"eq_spans": [],
"section": "WSD experiments on Semeval-2010 Japanese Lexical Sample",
"sec_num": "6"
},
{
"text": "As we can see, the general form of the curve is similar to that of the English collection, but is steeper. This suggests that the meaning of Japanese words can be determined using only the closest context words. Words further than a few positions away have very small impact on the target word. This can be explained by the grammatical structure of the Japanese language. While English can be considered a Subject-Verb-Complement language, Japanese is considered Subject-Complement-Verb. Verbs, mostly found at the end of a sentence, can be far apart from their subject, and vice versa. The window distance is therefore less useful to capture the relatedness in Japanese than in English since Japanese has more non-local dependencies.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "WSD experiments on Semeval-2010 Japanese Lexical Sample",
"sec_num": "6"
},
{
"text": "The Semeval Japanese test data being part of a balanced corpus, untagged occurrences of the target words are plenty, so we can benefit from using the collection-level counts for smoothing. Uniform NB uses a window of size 1, manual Dirichlet smoothing of 4 for P T ar and 90 for the P Con . Linear NB has \u03b4 = 0.955, uses a manual Dirichlet smoothing of 6.25 on P T ar and manual Dirichlet Table 3 : WSD accuracy on Semeval-2010 JWSD smoothing with \u03bb Con = 65 on P Con . Exp NB has \u03b4 = 2.675, uses a manual Dirichlet smoothing of 6.5 on P T ar and a manual Dirichlet of 70 on P Con . The SVM system uses a window size of 1 and Boolean features. Learned NB used a manual Dirichlet smoothing of 4 for P T ar and automatic Dirichlet smoothing with \u03bb Con = 0.6 for P Con . We believe this smoothing is beneficial only on this system because it uses more words (the long tail), that makes the estimation of the pseudo-count more accurate. Results on WSD are listed in Table 3 . As we can see, the difference between the NB models is less substantial than for English. This may be due to differences in the segmentation parameters of our external corpus: we used the human-checked segmentation found in the Semeval data for classification, but used a parser to segment our external corpus for weight learning. We are positive that the Chasen parser with the UniDic dictionary was used to create the initial segmentation in the Semeval data, but there may be differences in versions and the initial segmentation results were further modified manually.",
"cite_spans": [],
"ref_spans": [
{
"start": 389,
"end": 396,
"text": "Table 3",
"ref_id": null
},
{
"start": 962,
"end": 969,
"text": "Table 3",
"ref_id": null
}
],
"eq_spans": [],
"section": "WSD experiments on Semeval-2010 Japanese Lexical Sample",
"sec_num": "6"
},
{
"text": "Another reason for the results could be that the systems use almost the same weights: Uniform NB and SVM both used windows of size 1, and the Japanese curve is steeper than the English one, making the context model account to almost only immediately adjacent words. So, even if our context model contains more context words at larger distances, their weights are very low. This makes all context model quite similar. Nevertheless, we still observe some gain in WSD accuracy. These results show that the curves work as expected even in different languages. However, the weighting curve is strongly language-dependent. It could also be collection-dependent -we will investigate this aspect in the future, using different collections.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "WSD experiments on Semeval-2010 Japanese Lexical Sample",
"sec_num": "6"
},
{
"text": "The definition of context vector and context model is critical in WSD. In previous studies in IR, decaying weight along with distance within a text window have been proposed. However, the decaying functions are defined manually. Although some of the functions produced better results than the uniform weighting, there is no evidence showing that these functions best capture the impact of the context words on the meaning of the target word. This paper proposed an unsupervised method for finding optimal weights for context words according to their distance to the target word. The general idea was to find the weights that best fit the data, in such a way that the context models for the same target word generated from two random windows samples become similar. It is the first time that this general principle is used for this purpose. Our experiments on WSD in English and Japanese suggest the validity of the principle.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusions",
"sec_num": "7"
},
{
"text": "In this paper, we limited context models to bagof-words features, excluding additional features such as POS-tags. Despite this simple type of feature and the use of a simple Na\u00efve Bayes classifier, the WSD accuracy we obtained can rival the other state-of-the-art systems with more sophisticated features and classification algorithms. This result indicates that a crucial aspect in WSD is the definition of an appropriate context model, and our weighting method can generate more reasonable weights of context words than using a predefined decaying function.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusions",
"sec_num": "7"
},
{
"text": "Our experiments also showed that the optimal weighting function is language-dependent. We obtained two different functions for English and Japanese, although their general shapes are similar. In fact, the optimal weighting function reflects the linguistic properties: as dependent words in Japanese can be further away from the target word due to its linguistic structure, the optimal weighting quickly decays, meaning that we can rely less on distant context words. This also shows a limitation of this study: distance is not the sole criterion to determine the impact of a context word.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusions",
"sec_num": "7"
},
{
"text": "Other factors, such as POS-tag and syntactic dependency, can play an important role in the context model. These additional factors are complementary to the distance criterion and our approach can be extended to include such additional features. This extension is part of our future work.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusions",
"sec_num": "7"
},
{
"text": "Another limitation of straight window distance is that all words introduce the same distance, regardless of their nature. In our experiments, to make the distance a more sensible metric, we merged consecutive stop words in one placeholder token. The idea behind this it that some words, such as stop words, should introduce less distance than others. On the opposite, we can easily understand that tokens such as commas, full stops, parentheses and paragraph should introduce a bigger distance than regular words. We could therefore use a congruence score for a word, an indicator showing on average how much what comes before is similar to what comes after the word.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusions",
"sec_num": "7"
},
{
"text": "Also, we have combined our weighting schema with NB classifier. Other classifiers such as SVM could lead to better results. The utilization of our new weighting schema with SVM is another future work.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusions",
"sec_num": "7"
},
{
"text": "Finally, the weights computed with our method has been used in WSD tasks. The weights could be seen as the expected strength of relation between two words in a document according to their distance. The consideration of word relationships in documents and queries is one of the endeavors in current research in IR. The new weighting schema could be easily integrated with a dependency model in IR. We plan to perform such integration in the future.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Conclusions",
"sec_num": "7"
}
],
"back_matter": [
{
"text": "The authors would like to thank Florian Boudin and Satoko Fujisawa for helpful comments on this work. This work is partially supported by Japanese MEXT Grant-in-Aid for Scientific Research on Info-plosion (#21013046) and the Japanese MEXT Research Student Scholarship program.",
"cite_spans": [],
"ref_spans": [],
"eq_spans": [],
"section": "Acknowledgments",
"sec_num": null
}
],
"bib_entries": {
"BIBREF0": {
"ref_id": "b0",
"title": "Query expansion using term relationships in language models for information retrieval",
"authors": [
{
"first": "Jing",
"middle": [],
"last": "Bai",
"suffix": ""
},
{
"first": "Dawei",
"middle": [],
"last": "Song",
"suffix": ""
},
{
"first": "Peter",
"middle": [],
"last": "Bruza",
"suffix": ""
},
{
"first": "Jian-Yun",
"middle": [],
"last": "Nie",
"suffix": ""
},
{
"first": "Guihong",
"middle": [],
"last": "Cao",
"suffix": ""
}
],
"year": 2005,
"venue": "CIKM '05 Proceedings",
"volume": "",
"issue": "",
"pages": "688--695",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Bai, Jing, Dawei Song, Peter Bruza, Jian-Yun Nie, and Guihong Cao. 2005. Query expansion using term relationships in language models for information re- trieval. In CIKM '05 Proceedings, pages 688-695, New York, NY, USA. ACM.",
"links": null
},
"BIBREF1": {
"ref_id": "b1",
"title": "Nus-ml: improving word sense disambiguation using topic features",
"authors": [
{
"first": "Jun",
"middle": [],
"last": "Cai",
"suffix": ""
},
{
"first": "Wee",
"middle": [],
"last": "Fu",
"suffix": ""
},
{
"first": "Yee Whye",
"middle": [],
"last": "Sun Lee",
"suffix": ""
},
{
"first": "",
"middle": [],
"last": "Teh",
"suffix": ""
}
],
"year": 2007,
"venue": "SemEval '07 Proceedings",
"volume": "",
"issue": "",
"pages": "249--252",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Cai, Jun Fu, Wee Sun Lee, and Yee Whye Teh. 2007. Nus-ml: improving word sense disambiguation us- ing topic features. In SemEval '07 Proceedings, pages 249-252, Morristown, NJ, USA. Association for Computational Linguistics.",
"links": null
},
"BIBREF2": {
"ref_id": "b2",
"title": "Translation disambiguation in mixed language queries. Machine Translation",
"authors": [
{
"first": "Percy",
"middle": [],
"last": "Cheung",
"suffix": ""
},
{
"first": "Pascale",
"middle": [],
"last": "Fung",
"suffix": ""
}
],
"year": 2004,
"venue": "",
"volume": "18",
"issue": "",
"pages": "251--273",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Cheung, Percy and Pascale Fung. 2004. Translation disambiguation in mixed language queries. Ma- chine Translation, 18(4):251-273.",
"links": null
},
"BIBREF3": {
"ref_id": "b3",
"title": "Resolving query translation ambiguity using a decaying co-occurrence model and syntactic dependence relations",
"authors": [
{
"first": "Jianfeng",
"middle": [],
"last": "Gao",
"suffix": ""
},
{
"first": "Ming",
"middle": [],
"last": "Zhou",
"suffix": ""
},
{
"first": "Jian-Yun",
"middle": [],
"last": "Nie",
"suffix": ""
},
{
"first": "Hongzhao",
"middle": [],
"last": "He",
"suffix": ""
},
{
"first": "Weijun",
"middle": [],
"last": "Chen",
"suffix": ""
}
],
"year": 2002,
"venue": "SI-GIR '02 Proceedings",
"volume": "",
"issue": "",
"pages": "183--190",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Gao, Jianfeng, Ming Zhou, Jian-Yun Nie, Hongzhao He, and Weijun Chen. 2002. Resolving query trans- lation ambiguity using a decaying co-occurrence model and syntactic dependence relations. In SI- GIR '02 Proceedings, pages 183-190, New York, NY, USA. ACM.",
"links": null
},
"BIBREF4": {
"ref_id": "b4",
"title": "Introduction to the special issue on word sense disambiguation: the state of the art",
"authors": [
{
"first": "Nancy",
"middle": [],
"last": "Ide",
"suffix": ""
},
{
"first": "Jean",
"middle": [],
"last": "V\u00e9ronis",
"suffix": ""
}
],
"year": 1998,
"venue": "Comput. Linguist",
"volume": "24",
"issue": "1",
"pages": "2--40",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Ide, Nancy and Jean V\u00e9ronis. 1998. Introduction to the special issue on word sense disambiguation: the state of the art. Comput. Linguist., 24(1):2-40.",
"links": null
},
"BIBREF5": {
"ref_id": "b5",
"title": "Positional language models for information retrieval",
"authors": [
{
"first": "Yuanhua",
"middle": [],
"last": "Lv",
"suffix": ""
},
{
"first": "Chengxiang",
"middle": [],
"last": "Zhai",
"suffix": ""
}
],
"year": 2009,
"venue": "SIGIR '09 Proceedings",
"volume": "",
"issue": "",
"pages": "299--306",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Lv, Yuanhua and ChengXiang Zhai. 2009. Positional language models for information retrieval. In SIGIR '09 Proceedings, pages 299-306, New York, NY, USA. ACM.",
"links": null
},
"BIBREF6": {
"ref_id": "b6",
"title": "Compilation of the balanced corpus of contemporary written japanese in the kotonoha initiative",
"authors": [
{
"first": "Kikuo",
"middle": [],
"last": "Maekawa",
"suffix": ""
}
],
"year": 2008,
"venue": "ISUC '08 Proceedings",
"volume": "",
"issue": "",
"pages": "169--172",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Maekawa, Kikuo. 2008. Compilation of the bal- anced corpus of contemporary written japanese in the kotonoha initiative (invited paper). In ISUC '08 Proceedings, pages 169-172, Washington, DC, USA. IEEE Computer Society.",
"links": null
},
"BIBREF7": {
"ref_id": "b7",
"title": "Word sense disambiguation: A survey",
"authors": [
{
"first": "Roberto",
"middle": [],
"last": "Navigli",
"suffix": ""
}
],
"year": 2009,
"venue": "ACM Comput. Surv",
"volume": "41",
"issue": "2",
"pages": "1--69",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Navigli, Roberto. 2009. Word sense disambiguation: A survey. ACM Comput. Surv., 41(2):1-69.",
"links": null
},
"BIBREF8": {
"ref_id": "b8",
"title": "Semeval-2010 task: Japanese wsd",
"authors": [
{
"first": "Manabu",
"middle": [],
"last": "Okumura",
"suffix": ""
},
{
"first": "Kiyoaki",
"middle": [],
"last": "Shirai",
"suffix": ""
},
{
"first": "Kanako",
"middle": [],
"last": "Komiya",
"suffix": ""
},
{
"first": "Hikaru",
"middle": [],
"last": "Yokono",
"suffix": ""
}
],
"year": 2010,
"venue": "SemEval '10 Proceedings. Association for Computational Linguistics",
"volume": "",
"issue": "",
"pages": "",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Okumura, Manabu, Kiyoaki Shirai, Kanako Komiya, and Hikaru Yokono. 2010. Semeval-2010 task: Japanese wsd. In SemEval '10 Proceedings. Asso- ciation for Computational Linguistics.",
"links": null
},
"BIBREF9": {
"ref_id": "b9",
"title": "Semeval-2007 task 17: English lexical sample, srl and all words",
"authors": [
{
"first": "Sameer",
"middle": [
"S"
],
"last": "Pradhan",
"suffix": ""
},
{
"first": "Edward",
"middle": [],
"last": "Loper",
"suffix": ""
},
{
"first": "Dmitriy",
"middle": [],
"last": "Dligach",
"suffix": ""
},
{
"first": "Martha",
"middle": [],
"last": "Palmer",
"suffix": ""
}
],
"year": 2007,
"venue": "Se-mEval '07 Proceedings",
"volume": "",
"issue": "",
"pages": "87--92",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Pradhan, Sameer S., Edward Loper, Dmitriy Dligach, and Martha Palmer. 2007. Semeval-2007 task 17: English lexical sample, srl and all words. In Se- mEval '07 Proceedings, pages 87-92, Morristown, NJ, USA. Association for Computational Linguis- tics.",
"links": null
},
"BIBREF10": {
"ref_id": "b10",
"title": "Towards context sensitive information inference",
"authors": [
{
"first": "D",
"middle": [],
"last": "Song",
"suffix": ""
},
{
"first": "P",
"middle": [
"D"
],
"last": "Bruza",
"suffix": ""
}
],
"year": 2003,
"venue": "Journal of the American Society for Information Science and Technology",
"volume": "54",
"issue": "4",
"pages": "321--334",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Song, D. and P. D. Bruza. 2003. Towards context sen- sitive information inference. Journal of the Amer- ican Society for Information Science and Technol- ogy, 54(4):321-334.",
"links": null
},
"BIBREF11": {
"ref_id": "b11",
"title": "Corpusbased stemming using cooccurrence of word variants",
"authors": [
{
"first": "Jinxi",
"middle": [],
"last": "Xu",
"suffix": ""
},
{
"first": "W. Bruce",
"middle": [],
"last": "Croft",
"suffix": ""
}
],
"year": 1998,
"venue": "ACM Trans. Inf. Syst",
"volume": "16",
"issue": "1",
"pages": "61--81",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Xu, Jinxi and W. Bruce Croft. 1998. Corpus- based stemming using cooccurrence of word vari- ants. ACM Trans. Inf. Syst., 16(1):61-81.",
"links": null
},
"BIBREF12": {
"ref_id": "b12",
"title": "Twostage language models for information retrieval",
"authors": [
{
"first": "Chengxiang",
"middle": [],
"last": "Zhai",
"suffix": ""
},
{
"first": "John",
"middle": [],
"last": "Lafferty",
"suffix": ""
}
],
"year": 2002,
"venue": "SIGIR '02 Proceedings",
"volume": "",
"issue": "",
"pages": "49--56",
"other_ids": {},
"num": null,
"urls": [],
"raw_text": "Zhai, ChengXiang and John Lafferty. 2002. Two- stage language models for information retrieval. In SIGIR '02 Proceedings, pages 49-56, New York, NY, USA. ACM.",
"links": null
}
},
"ref_entries": {
"FIGREF0": {
"num": null,
"type_str": "figure",
"uris": null,
"text": "Weight curve for AP88-90"
},
"FIGREF1": {
"num": null,
"type_str": "figure",
"uris": null,
"text": "Weight curve for Mainichi 2005"
},
"TABREF2": {
"num": null,
"content": "<table/>",
"type_str": "table",
"html": null,
"text": "WSD accuracy onSemeval-2007 ELC"
}
}
}
}