Cross-Lingual and Supervised Learning Approach for Indonesian Word Sense Disambiguation Task
Paper · 2018 · Rahmad Mahendra, Heninggar Septiantri, Haryo Akbarianto Wibowo et al.
Summary
The Indonesian word kali can refer to a river or express how often something happens. A reader can usually tell which meaning applies from the sentence. An English translation can make the difference explicit by using river in one context and twice in another. Mahendra and colleagues use such distinctions to address a practical problem in word sense disambiguation. A supervised classifier needs examples of words whose meanings have already been labeled, and the authors had little prior work or publicly available training material to draw on for Indonesian.
Their method turns English–Indonesian sentence pairs into labeled Indonesian examples. It first finds corresponding words in the two versions of a sentence. It then looks up the possible meanings of each word in Princeton WordNet and WordNet Bahasa. If the lookups share exactly one sense identifier, the authors assign that identifier to the Indonesian occurrence and collect the words around it. A classifier learns from these Indonesian contexts and uses them to choose a sense for another occurrence. The English side supplies evidence during labeling, so the classifier can work from Indonesian alone when it is tested.
The authors evaluate the approach on 2,416 sentences covering 6 Indonesian target words, each with two senses in the experiment. In 10-fold cross-validation, every classifier using a bag of words, which represents the context by its words without retaining their order, beats the most-frequent-sense baseline on average F1. The baseline scores 63.79, and XGBoost has the strongest plain bag-of-words result at 86.16. Averaging word embeddings gives a multilayer perceptron an average F1 of 86.80. The highest reported average is 87.86 for a support vector machine that uses stemming and removes stopwords.
What works best depends on the classifier and the target word. Averaged embeddings help some classifiers, and concatenating the embeddings produces lower averages than the plain bag of words for every classifier tested with both representations. Stemming raises the average for the support vector machine and the multilayer perceptron, while stopword removal alone lowers the average for the multilayer perceptron and XGBoost. The study shows that supervised classifiers can learn to predict the automatically assigned senses in this sample. The authors release the data and identify a separate question for further evaluation: how reliably the cross-lingual procedure assigns the intended senses in the first place.
Deep dive: Cross-Lingual and Supervised Learning Approach for Indonesian Word Sense Disambiguation Task
This study uses English translations and WordNet to label Indonesian word senses, then tests how well a classifier can learn from those labels. · about 32 minutes to read
The problem and its context
Choosing a meaning for an occurrence
A dictionary can tell a reader that a word has several meanings. A word sense disambiguation system has to decide which of those meanings applies at a specific point in a sentence. The decision changes with the occurrence even when the target has exactly the same spelling. In the paper’s example, kali belongs to an expression of frequency when someone describes how frequently they ate. When someone locates a house near a kali, the word has the river sense. A procedure that kept one dictionary entry for each spelling would have to make the same choice in both cases.
The paper distinguishes finding the possible senses from choosing among them. A dictionary, thesaurus, or lexical database can supply the inventory. Translation equivalents can also suggest distinctions among meanings. Once there is an inventory, the next question concerns the particular occurrence. The surrounding text can provide evidence, as can an external resource such as a dictionary or encyclopedia. A sense inventory supplies the alternatives to consider. Its entries alone do not say which alternative the writer intended on a given occasion.
This distinction affects the output. In the study, a decision is expressed by a sense identifier from a lexical resource. The output can therefore refer to a specific entry even when several words might serve as readable translations or glosses. An English word aligned to the Indonesian target contributes evidence about that entry. The English spelling and the sense identifier have different roles: one comes from the translated sentence, and the other represents a choice within the inventory.
Why labeled examples mattered for Indonesian
In their account of prior work, the authors describe supervised learning as the strongest established approach to the task. It requires a collection of occurrences whose intended senses have already been assigned under a common inventory. The learner can then associate a label with properties of the context, such as particular neighboring words. A word occurring in several contexts can contribute examples of different senses. Each example still has to be labeled before it can support that learning.
The authors knew of an Indonesian study by Uliniansyah and Ishizaki that followed this route. It drew its training material from news websites, labeled it manually, and trained a Naive Bayes classifier. The earlier researchers used morphological analysis to obtain a lemma and represented context through nearby words, information about verbs around the target, and the broader document. Their feature choices covered more than one scale of context. A neighboring word might help with a local construction, while a document could supply a broader subject.
Mahendra and colleagues report that neither the classifier nor the corpus from that study was publicly available. The obstacle was therefore practical as well as methodological. A researcher could know what kinds of features the earlier work had used and still lack the labeled occurrences needed to train a new classifier. Creating that resource by hand would require a person to read each example, consider the inventory, and decide which entry fit. The paper looks for a way to obtain examples from material that already exists.
Parallel text supplies a form of evidence that the earlier news corpus did not. Each Indonesian sentence is accompanied by an English version, so the researcher can use both what the Indonesian author or translator wrote and how the corresponding idea is expressed in the other language. The approach fits the problem of scarce labeled data because the additional resource is a translation corpus. There is no need for each sentence pair to arrive with a WordNet label already attached.
What a translation contributes
The idea behind multilingual and cross-lingual NLP in this study is that languages can divide meanings differently among their words. When Indonesian uses the same form for concepts that English regularly expresses with different forms, the choice made in the translation can restrict the Indonesian possibilities. The kali example explains why this is plausible. The expression of frequency in one translation gives a reader a different kind of clue from the word river in the other.
The strength of that clue depends on what the corresponding English word can mean. An English form can itself have several entries. A translation may convey the sentence’s meaning through a phrase or construction that gives a word aligner no straightforward counterpart for the Indonesian target. Even if the connection between two forms is clear, those forms may share several entries in the inventory. Translation evidence can narrow the possibilities to different degrees, and the authors’ labeling procedure makes use of cases where the restriction is decisive under the inventory.
The paper describes earlier work that used the relation between a word and its translations in several ways. Brown and colleagues aligned words across a parallel corpus and used contextual features to choose an appropriate translation. That work illustrates how translation choice can serve as a way of studying sense in context. The result of a translation-choice procedure is expressed in terms of a corresponding word, while Mahendra and colleagues use the correspondence to obtain a label from a lexical database. Word-Sense Disambiguation Using Statistical Methods
Ide and colleagues investigated whether translation equivalents could support sense distinctions suitable for automatic tagging and related tasks. As Mahendra and colleagues describe it, that study used EuroWordNet in a multilingual investigation and found that the distinctions drawn from cross-lingual evidence were at least as reliable as the human distinctions used for comparison. Its relevance here is the premise that choices made across languages carry information about meaning. The reliability finding concerns that earlier study’s own setup.
From translation evidence to a shared inventory
The nearer precedent is sense intersection. In the approach associated with Gliozzo and colleagues, parallel text identifies corresponding words, and an aligned multilingual lexical resource supplies senses that the two inventories can compare. The shared entries are the senses compatible with both lookups. The authors also describe work by Bond and Bonansinga and by Bonansinga and Bond that took sense intersection into multilingual settings. Using more languages could provide additional restrictions when a pair of languages leaves more than one common sense.
An aligned inventory does important work in this procedure. Independent dictionaries might contain definitions that a human can recognize as equivalent while assigning them unrelated labels. Taking the overlap of those labels would tell a computer little about which definitions agree. A resource organized around comparable sense identifiers allows the procedure to look for a common entry directly. In the Indonesian study, Princeton WordNet and WordNet Bahasa provide the lexical evidence. WordNet
Mahendra and colleagues use the common entry to build examples for a different decision setting. Their problem at training time is how to attach a sense to an Indonesian occurrence with help from its English counterpart. Their problem at prediction time is how to make a sense decision using Indonesian context. A translated corpus can furnish examples for the first problem even when the sentences encountered in the second have no accompanying translation. How well the transfer works depends on both the labels obtained through intersection and the ability of a learner to recognize useful contextual patterns.
The paper situates the contextual part of the study in prior supervised work as well. Common evidence included words around the target, their grammatical categories, and local collocations, meaning neighboring combinations of words. The authors also describe earlier experiments that represented context with word vectors. Iacobacci and colleagues had considered concatenation, averaging, and schemes that give words different weights according to how far they are from the target. This leaves a concrete design question for the Indonesian experiment. Once a set of labeled contexts is available, what changes when the learner sees a vocabulary-based representation, grammatical information, or a vector representation of those contexts?
The method, step by step
Preparing parallel text and aligning words
The starting material is Identic++, an extension of the Identic corpus with additional English–Indonesian sentence pairs from movie subtitles. A parallel corpus puts corresponding sentences together. That pairing defines where to look for a translation equivalent, but it does not specify which word in one sentence goes with a particular word in the other. Sentence pairing and word pairing are separate steps in the procedure.
The authors use GIZA++ for word alignment. Its job here is to propose correspondences within the parallel text. When an Indonesian word is associated with an English counterpart, the resulting pair becomes a candidate for sense labeling. The later lexical lookup operates on the two words selected by alignment. It has no separate mechanism, as described in the paper, for reconsidering the sentence and finding a partner that the aligner overlooked.
From parallel sentences to Indonesian sense predictions
The steps in order.
It is useful to keep track of the occurrence while following these steps. The input to the labeling procedure comes from words used in a particular sentence pair. The same Indonesian word can occur elsewhere with a different English counterpart. The method can consequently produce different sense labels for different occurrences of the same form. The task would become a dictionary lookup at the word level if that connection to the individual sentence were lost.
The alignment also establishes which side of a candidate pair will provide the context for the next stage. Both sides matter for deciding on the label. The Indonesian sentence supplies the surrounding words that will be available to the learner. Thus an aligned pair is a bridge between the lexical lookup and a training example situated in one language.
Looking up senses and keeping a unique overlap
For a candidate pair, the authors retrieve the possible sense identifiers of the English word from Princeton WordNet. They retrieve the Indonesian word’s possible identifiers from WordNet Bahasa. An identifier points to a sense in the lexical inventory. A word with multiple meanings can return a set of identifiers, with the intended entry still to be determined.
The paper describes the intersection rule verbally. Its operation can be written as follows.
I = E ∩ B
Here E is the set of sense identifiers found for the aligned English word, and B is the corresponding set from WordNet Bahasa for the Indonesian word. The intersection sign ∩ retains the identifiers belonging to both sets. The equals sign defines I as that resulting set of shared identifiers.
The rule accepts an example when I contains exactly one entry. That entry becomes the label for the Indonesian occurrence. An empty intersection supplies no common choice. A larger intersection leaves competing choices, so the procedure passes over the pair. The authors set this threshold to obtain labels with high precision, meaning that they aim to keep examples for which the evidence favors the assigned sense with little ambiguity. The rule is an operational test of uniqueness within the lookups. Its outcome alone does not measure the rate of correct labels.
The word halaman illustrates what the procedure does. The authors use a sentence pair about reading page 50 of a book. GIZA++ aligns page with halaman. The local meaning is reasonably clear to a reader who sees the sentence. For the labeling algorithm, the deciding evidence is that only one of the identifiers returned for page also appears among those for halaman.
The identifiers for page are 06256697, 11220149, 10391416, 10391248, and 10391086. The lookup for halaman returns 00193486, 00227165, 00754560, and 06256697. The common entry is 06256697, which the paper assigns to the Indonesian token. The example shows why a requirement that either word have a single dictionary sense would be stricter than the authors’ rule. Both lookups can leave ambiguity when considered separately, while their overlap settles the decision.
The book context plays a different role at this point. The intersection rule uses the aligned words and their inventories. The authors then collect surrounding items from the Indonesian sentence, including the words for reading and book in this example. Those items can help the classifier recognize a similar context at prediction time. The classifier is learning from a sentence in which the label has already been assigned.
Building Indonesian training examples
The data record for an accepted occurrence links an Indonesian target, its assigned sense, and the words selected from around it. The paper refers to these items as content words. Its example includes membaca and buku, along with surrounding items such as dia and dari. The example therefore gives a better picture of what can enter the representation than a strict linguistic interpretation of content word as a noun, verb, adjective, or adverb would. Stopword removal is introduced separately as an experimental change to the feature preparation.
The authors report 352,816 English–Indonesian aligned word pairs in Identic++. They identify 4,237 polysemous Indonesian words and report that sense intersection can disambiguate occurrences of 752 different words. The quantities describe different units. The first counts aligned pairs in the corpus. The latter figures concern Indonesian words, with the last explicitly counting different words that the method can disambiguate. A distinct word can contribute multiple occurrences, and acceptance is decided occurrence by occurrence. These figures describe the reach of the extraction procedure without giving the number of accepted instances for every word.
The paper says that the remaining words outside its polysemous group might have a single sense or lack a corresponding WordNet entry. Those cases have different implications for data creation. An entry with a single sense offers no competition among its listed meanings. An unavailable entry prevents the procedure from looking up a candidate set in the first place. The lexical sample studied later comes from a setting in which competing labels are present and classification is meaningful.
The authors released the data acquired through the cross-lingual procedure as Indonesian-WSD. The release concerns the output of the labeling stage. In the experiment that follows, the authors use a lexical sample from the automatically labeled material to investigate how well a learner can use the Indonesian contexts.
Turning the context into features
The basic representation is a bag of words, abbreviated BoW. It treats the context as a collection of observations associated with vocabulary items. A word can furnish evidence wherever it appears among the selected items. Order is discarded, so a feature for a word does not by itself indicate whether it appeared early in the sentence or next to the target. What survives is the vocabulary evidence the authors pass to the classifier.
Consider the type of evidence available for halaman. A context containing the word for book can share a vocabulary feature with another occurrence that also mentions a book. Other contexts can contribute different entries. The classifier can learn which entries tend to occur with a particular label across the examples. The bag-of-words description leaves details such as exact weighting and the bounds of the context unspecified. The paper’s illustrative list shows the kind of material extracted without defining a complete feature-building specification.
The authors test whether grammatical categories add useful evidence. A part-of-speech tag marks a word’s grammatical category. The authors suggest that different uses of a target can occur with different surrounding categories. They obtain the tags with the Indonesian tagger from Rashel and colleagues and incorporate them in a condition labeled BoW+POS. The stated intervention adds information about the context’s grammar to the lexical features. The paper gives no comparable detail about the encoding of the tags or whether particular word and tag combinations have their own features.
Another representation uses continuous vectors for words. A vector is a sequence of numerical coordinates. In the embedding conditions, the paper uses pretrained skip-gram vectors obtained through Word2Vec. A vocabulary-based representation gives a context feature for a particular word. With embeddings, different words can contribute vectors that resemble one another, allowing context information to be shared through the coordinates even when the word forms differ. The citation for the embedding approach is Mikolov and colleagues’ work on distributed representations. Distributed Representations of Words and Phrases and their Compositionality
The authors consider two ways to combine the individual vectors. Concatenation places them end to end.
v꜀ = vₐ ⊕ ⋯ ⊕ vₙ
Here v꜀ is the concatenated context representation. The symbols vₐ and vₙ denote the vectors at the beginning and end of the list of selected content words. The ellipsis ⋯ stands for the intervening vectors, ⊕ means to append the coordinates of the next vector, and = defines the resulting representation.
The concatenated representation retains separate blocks for the individual words. Its length follows from the combined lengths of the vectors used in the context. The numerical evidence from a word is therefore tied to the block it occupies. With more words in a context, concatenation would create more blocks unless the input were adjusted. The paper describes the composition operation and gives its results without specifying how it handles unequal context lengths.
Averaging gives the context the same number of coordinates as an individual word vector. To build the average, the authors add the vectors coordinate by coordinate and divide each resulting coordinate by the number of words included.
v̄ = (∑ᵢ vᵢ) / n
Here v̄ is the averaged context vector. The index i ranges over the selected content words, and vᵢ is the embedding of the word indexed by i. The summation sign ∑ adds these vectors across the selected words. The parentheses group the vector sum, n is the number of words being averaged, / denotes division by that count, and = defines the average.
Each included word has equal weight in this operation. The average gives identical representations to arrangements of the same word vectors in different orders, while concatenation can give each arrangement a different vector. This makes the comparison informative even though both start with the same kind of pretrained word representation. The learner receives a compact description of the context in one case and a sequence of word-specific blocks in the other. The paper evaluates those choices empirically.
Changing which forms the bag of words sees
The preprocessing experiments alter what enters the vocabulary-based representation. Stemming maps surface forms to stems. The authors use an Indonesian stemmer from Adriani and colleagues. If two forms are mapped to the same stem, they can contribute to the same vocabulary feature. A pattern observed with one form can then be available when the other form occurs.
This is a change to the context evidence. The target’s training label still comes from the sense intersection procedure. A stem is a representation of a word’s form for feature construction, while a sense identifier denotes a meaning from the inventory. Stemming can make sentences share more features while leaving their sense labels distinct.
Stopword removal filters items using Tala’s Indonesian stopword dictionary. The purpose is to exclude frequent items the authors expect to carry little information and to reduce sparsity in the representation. A sparse bag-of-words representation has many vocabulary entries with no evidence in a particular context. Dropping a word makes its feature unavailable, including in sentences where the word might have been informative. This is why the effect of removal has to be evaluated on the classification task.
The paper tests stemming and stopword removal both individually and together. The combination allows examples to share vocabulary entries through their stems while drawing those entries from the words that survive filtering. Each setting produces a different version of the contextual input. The resulting classifiers are judged by the sense labels they predict.
Learning from the resulting examples
The supervised stage takes contexts represented in one of these ways and learns to assign a sense label. The paper tests Naive Bayes, a multilayer perceptron, a random forest, and a support vector machine. It also tests XGBoost, the boosting system described by Chen and Guestrin. Their shared purpose in the experiment is to map the prepared features to the sense choices for the target. XGBoost
The learner can associate the same sense with several different contexts, because each example gives it another pairing of input features and a label. If an Indonesian context contains evidence that recurs in the training examples for a sense, the classifier can use that association without checking a corresponding English word. The experiment evaluates this use of learned associations on held-out occurrences of the lexical sample. It gives the supervised procedure new contexts for targets represented in the sample, with the possible senses defined for those targets.
The procedure consequently has two separate points at which a sense can be assigned. At extraction time, the decision is a rule over a word pair and a shared inventory. At prediction time, it is a learned decision over features drawn from one language. A successful held-out prediction means that the learned decision matches the label assigned to that example. The reliability of the label as an interpretation of the original sentence is a separate property of the extraction stage.
Experiments and results
What the lexical sample contains
The supervised evaluation covers 2,416 sentences containing one of 6 target words. Each target has two senses in the experimental sample. In a lexical sample task, the experiment starts with a defined set of targets and evaluates their occurrences. This concentrates the test on the ambiguity of those words. The larger set of different words reached by sense intersection belongs to the data acquisition stage and has a different role in the paper.
The paper lists English glosses and counts for the selected senses. For alam, it records 251 instances for the gloss nature and 225 for universe. For atas, the glosses above and top have 546 and 441 instances. For kayu, timber has 51 and wooden has 49. These figures show relatively similar support for the alternatives within each of the three words, alongside a substantial difference in the amount of material available across the words.
The other targets have much more uneven distributions. For anggur, there are 272 instances for wine and 21 for grape. For perdana, there are 302 for prime and 22 for premier. For dasar, there are 225 for primary and 11 for underlying. These glosses describe the inventory choices represented in the sample. They give the reader a way to follow the results for each word, while the classifier is evaluated on the sense labels.
The distribution affects the meaning of the benchmark. A classifier for kayu faces alternatives that have similar numbers of examples. On a target such as dasar, a classifier can rely heavily on the dominant label and still obtain a high score of the kind reported by the paper. A strong result on such a word leaves a further question about how well the less common sense is recognized. The paper’s results are given per word and as averages, so the performance under the different distributions can be inspected at the word level.
How performance is measured
The paper uses 10-fold cross-validation. In this design, a portion of the examples is held out for testing while the rest is used for training. The held-out portion changes across the folds so the experiment can evaluate the sample across several train–test partitions. This gives estimates based on held-out occurrences from the available data. The paper does not describe a separate Indonesian corpus labeled by people as the test set for the reported scores.
The baseline always chooses the most frequent sense for a target. It uses the prevalence of labels as its evidence. This makes it a meaningful point of comparison for a lexical sample, where the distribution can differ markedly by word. A contextual classifier has to make better use of the available information than a procedure that simply favors the dominant alternative. The paper does not give details about how it determined the baseline label within the cross-validation procedure.
The reported measure is F1, which combines precision and recall. Precision concerns the correctness of predictions assigned to a label, while recall concerns how many examples belonging to that label are recovered. The paper provides a score for each target and an average over targets in its results tables. It leaves the weighting and aggregation over the individual senses and folds unspecified. The averages below follow the paper’s tables, and the per-word scores describe the reported evaluation for each target.
Comparing the classifiers with a bag of words
With plain bag-of-words features, every supervised classifier achieves a higher average F1 than the most-frequent-sense baseline. The ranking at the top is close. XGBoost has the strongest reported average at 86.16, followed by the multilayer perceptron at 85.75 and the support vector machine at 85.74. Random forest scores 85.34, and Naive Bayes reaches 78.82. The baseline average is 63.79.
Baseline and bag-of-words classifiers on the Indonesian lexical sample, average F1
Every supervised classifier beats the frequency baseline on average, and XGBoost leads with plain bag-of-words features.
The numbers
| System or setting | F1 % |
|---|---|
| Most frequent sense | 63.79 |
| Naive Bayes | 78.82 |
| Random forest | 85.34 |
| Support vector machine | 85.74 |
| Multilayer perceptron | 85.75 |
| XGBoost (this paper) | 86.16 |
The averages conceal meaningful variation among the targets. For alam, the baseline F1 is 36.41, while the support vector machine reaches 95.17 and XGBoost reaches 96.01. The contextual classifier can perform well here even though simply choosing the frequent label yields a low reported F1. For atas, the baseline is 39.41 and XGBoost reaches 72.21. For kayu, the corresponding scores are 34.45 and 73.98. These targets account for much of the visible advantage of using context in the plain bag-of-words comparison.
The heavily skewed targets give the baseline a stronger starting point. Its F1 for anggur is 89.38, and the best plain bag-of-words score there is 91.81 for the multilayer perceptron. For perdana, the baseline is 90.03 and the perceptron reaches 93.77. For dasar, the baseline is 93.06 and the perceptron reaches 95.90. The authors highlight the perceptron’s performance on these words. It leads the plain bag-of-words classifiers on all of them even though XGBoost has the strongest average across the full sample.
The headline baseline comparison applies at the level of the reported average. Naive Bayes scores 89.17 for anggur, 89.12 for perdana, and 92.42 for dasar. In each of those cases the corresponding baseline is higher. Random forest matches the baseline on dasar at 93.06. These examples show why the direction of an average gain cannot be read as a gain for every target, especially when a simple frequency decision already obtains a high score.
Testing alternate feature representations
The feature comparison covers the support vector machine, the multilayer perceptron, and XGBoost. It includes plain BoW, BoW with grammatical tags, concatenated word embeddings, and averaged word embeddings. Holding the classifier family fixed makes it possible to compare the representations within a column of the experiment. The strongest average in this group is 86.80 for the multilayer perceptron on averaged embeddings.
Context representations for the multilayer perceptron on the Indonesian lexical sample, average F1
Averaging embeddings gives the strongest average for this classifier, while concatenation gives the lowest.
The numbers
| System or setting | F1 % |
|---|---|
| Bag of words | 85.75 |
| Bag of words with part-of-speech tags | 85.87 |
| Concatenated word embeddings | 84.09 |
| Averaged word embeddings (this paper) | 86.80 |
Averaged embeddings also raise the XGBoost average, from 86.16 with plain BoW to 86.34. The support vector machine varies little between these representations, with 85.74 for BoW and 85.70 for the average embedding. Its strongest average in this feature comparison is 86.61 with BoW+POS. Adding tags to plain BoW takes XGBoost to 85.83. The relative value of a feature family therefore depends on which classifier receives it.
The concatenation condition achieves averages of 82.61 for the support vector machine and 83.60 for XGBoost, alongside the perceptron result shown in the chart. Every average for concatenation is lower than the corresponding plain BoW average. The comparison is about how embeddings are combined into a sentence context. The results for averaging show that a weaker outcome for concatenation does not establish a weakness of the underlying word vectors across all uses.
Testing stemming and stopword removal
The preprocessing experiment starts from the plain bag of words and reports the effects of applying the stemmer, the stopword list, and both. For the support vector machine, stemming alone raises average F1 from 85.74 to 87.50, and stopword removal alone yields 86.07. Using both gives 87.86, the highest average reported anywhere in the paper.
Bag-of-words preprocessing for the support vector machine on the Indonesian lexical sample, average F1
Stemming gives the larger individual gain, and the combined setting has the strongest average.
The numbers
| System or setting | F1 % |
|---|---|
| Plain bag of words | 85.74 |
| Stemming | 87.50 |
| Stopword removal | 86.07 |
| Stemming and stopword removal (this paper) | 87.86 |
For the multilayer perceptron, stemming reaches 86.35, stopword removal reaches 84.33, and the combination reaches 84.81. All of these are compared with the plain BoW average of 85.75. XGBoost has a plain BoW average of 86.16 and scores 85.18 with stemming, 84.29 with stopword removal, and 85.05 with both. The best preprocessing choice for the support vector machine does not carry over to these classifiers. The paper reports the feature and preprocessing comparisons as distinct experiments, so the results also leave open how the alternate representations would interact with these preprocessing choices.
What the ablations show
Grammatical tags add evidence with uneven effects
The paper’s comparisons vary the representation or preparation of the Indonesian context. Its BoW+POS condition tests what happens when grammatical tags are added to a lexical representation. The support vector machine’s average improves, and the multilayer perceptron’s average improves by a smaller amount. The XGBoost average declines. Since the lexical sample remains the same, the change in reported performance concerns the feature and classifier combination. It provides no direct measurement of whether grammatical categories help the cross-lingual intersection rule produce more accurate labels.
The per-word scores show why an average is insufficient here. With the support vector machine, adding tags takes atas from 71.69 to 73.29 and kayu from 70.71 to 73.72. For anggur, the scores move from 90.92 to 90.42. In the same comparison, the perceptron’s F1 for atas rises from 71.95 to 74.72, whereas its score for dasar goes from 95.90 to 92.85. A grammatical feature can have visible value for particular targets even when the average improvement is modest.
XGBoost makes the tradeoff especially clear. In the feature comparison, its F1 for atas is 72.21 with BoW and 74.38 with BoW+POS. Its reported F1 for kayu in the same table is 73.97 with BoW and 68.36 with the added tags. The improvement on atas therefore coexists with a weaker overall average for this classifier. Using the scores from the feature comparison keeps the comparison within the same table, which matters for entries that differ slightly across the paper’s tables.
The authors’ explanation is that different senses may be used in contexts with different grammatical categories. The experiment supports the narrower claim that access to tags can improve classification for some targets and learners. It does not identify a particular grammatical construction that resolves a given sense distinction. A classifier’s per-word F1 reports the outcome of using the features together, so it cannot identify which tag furnished the decisive clue for any individual sentence.
How embedding composition changes the result
The contrast between concatenation and averaging is consistent at the level of the reported averages. Every classifier tested with both obtains a higher average from averaging. The procedures preserve different kinds of information. Concatenation allocates a separate block to each included word, while averaging combines the words into a shared set of coordinates. The results show that the compact pooled representation is more effective on average in this setup, in spite of discarding the separation among the contributing words.
The per-target results give a more detailed comparison with BoW. For kayu, the averaged-embedding support vector machine reaches 82.12, the perceptron reaches 82.16, and XGBoost reaches 77.21. For alam, their corresponding F1 scores are 87.42, 89.94, and 92.87. Each of those alam scores falls below the same classifier’s BoW score. The changes that make the representation useful for kayu leave it weaker for alam. A single average across the sample can conceal both patterns.
The counts offer a reason to consider the effect of feature sharing on kayu. Its two sense groups are small in the reported sample. With a bag of words, two contexts that use related but different forms can have separate vocabulary features. Averaging embeddings lets several kinds of word evidence affect the same coordinates. This makes a plausible explanation for why a vector representation can help on that target. The experiment does not vary training-set size or isolate similarity among the context words, so it does not establish that the size of the sample produces the gain.
The comparisons for anggur and perdana further qualify the result. With the perceptron, averaging gives anggur an F1 of 92.23, above the BoW result of 91.81. For perdana, the average embedding gives 91.03, below the BoW result of 93.77. Both words have heavily skewed sense frequencies. A gain for one and a decline for the other show that imbalance alone is insufficient to predict the effect of switching representations.
For the support vector machine, the bag-of-words and averaged-embedding averages are nearly the same at the precision reported in the paper. This conceals the improvement on kayu and losses on some other targets. The average serves the purpose of comparing whole sample configurations. The word-level results answer the different question of whether a feature change helps with a given sense distinction. Those questions can lead to different choices about which representation appears most effective.
Stemming shares evidence across word forms
The stemming comparison tests whether grouping morphological variants helps a classifier use the context. The authors’ account is that contexts can become more similar after forms assigned to the same stem receive the same feature. That can help when training and held-out occurrences use different forms that give related evidence about the target sense. It can also affect which distinctions remain available to the classifier, since it now receives less information about differences among those forms.
The strongest individual gain in average F1 from stemming appears for the support vector machine. For kayu, its score climbs from 70.71 with ordinary BoW to 78.79 after stemming. For atas, it moves from 71.69 to 71.00. The perceptron also benefits on kayu, with F1 rising from 66.52 to 70.96, and on atas, where it moves from 71.95 to 74.18. For anggur, the perceptron drops from 91.81 to 90.17. These different trajectories show that sharing features across forms can redistribute the quality of the sense decisions within a single classifier.
The XGBoost average declines under stemming. Its result for kayu is 73.98 with plain BoW and 67.97 with stems, while its result for dasar goes from 94.29 to 94.59. The same target that benefits sharply from stemming with the support vector machine shows a decline with XGBoost. The reported comparisons therefore support a claim about the pair of choices, the contextual representation and the learning algorithm. They leave open whether a particular change in a context feature explains the direction for an individual word.
Common words can still help discriminate senses
Removing stopwords tests the expectation that frequent words can be dropped with little loss of context. The authors suggest that the dictionary may include words that still help the classifier discriminate senses. The averages for the multilayer perceptron and XGBoost decline when stopwords are dropped. The support vector machine’s average improves, though its plain stemming condition scores higher. This mix of outcomes gives substance to the authors’ explanation while leaving the contribution of particular excluded words unresolved.
The combined condition asks whether removing words is helpful after normalizing the forms that remain. For the support vector machine, the combination gives kayu an F1 of 82.89 compared with 78.79 under stemming alone. For dasar, it gives 94.04 compared with 95.00 under stemming alone. The direction of the average improvement in the combined condition therefore describes a trade across the words. The same pair of preprocessing operations can strengthen one set of decisions and weaken another.
The multilayer perceptron gives a different answer about the combination. Its average with both changes is 84.81, which is below its average of 86.35 with stemming alone. The combined XGBoost average is 85.05, compared with 85.18 for stemming alone. The combined variant leads the full experiment when used with the support vector machine. Its advantage belongs to that evaluated configuration, and the other rows indicate how much the result depends on the learner.
The study reports no comparable ablation of the cross-lingual labeling stage. The comparisons explain what happens after examples have already been labeled. They do not test alternative alignments, removing one of the WordNets, or accepting pairs with several shared senses. This boundary is important because feature experiments can explain variation in the learner’s F1 while the quality and selection of the training examples remain fixed.
Limitations
Limits identified by the authors
The authors call for a larger corpus and more target words. The reported lexical sample lets them compare several learners and representations on the same problem. Its relatively small collection of targets limits what those comparisons can say about the wider vocabulary reached during data gathering. The authors’ proposal to expand the study applies both to the amount of parallel material available for extracting examples and to the range of words included in evaluation.
They also identify detailed evaluation of cross-lingual labeling as unfinished work. The unique-overlap rule is intended to yield precise labels, but the authors leave the direct assessment of that intention open. One can count how many distinct words receive at least some labels with sense intersection. Evaluating the procedure’s reliability requires knowing whether the assigned inventory entries actually fit the Indonesian occurrences. The supervised scores answer how well held-out examples agree with predictions drawn from other examples prepared by the same procedure.
A further question raised by the authors is sensitivity to the semantic difference between senses. A sense pair with very different meanings might offer strong clues in the neighboring words. A closely related pair might occur with much of the same vocabulary. The study gives per-word scores that show variation across distinctions, but it does not construct a measure of semantic distance or organize the evaluation by that property. The authors treat the relationship between degree of difference and difficulty as a question for further study.
What follows from the selection rule
The training data depend on several resources being available for an occurrence. There has to be a corresponding English word, the aligner has to link the words, and the lexical resources have to return a usable common sense. If a sense is absent from the inventory, the intersection cannot recover it. If the inventory distinguishes senses in a way that leaves several entries compatible with both words, the example is discarded. The procedure therefore selects examples according to what the translation and the resources can express together.
A single shared identifier can arise from incomplete lookup as well as from a translation that genuinely settles the sense. An alignment error can also send the procedure to an inappropriate pair of inventory entries. In either case, the rule still behaves as specified: it checks whether the retrieved sets share an entry. The possibility of such cases is a consequence of relying on successive alignment and lookup steps. The paper does not report how often they occur, whether they are concentrated in particular words, or how many incorrect pairs survive the uniqueness filter.
The same selection can influence the difficulty of the held-out task. An example admitted by the rule has a translation and a unique lexical overlap. A new Indonesian occurrence that is difficult to translate word for word, or that expresses a distinction missing from either inventory, belongs to a different population of cases. The experiment does not show whether the contextual classifier would handle those occurrences equally well. It isolates prediction among the examples available through the procedure and selected for the lexical sample.
The 752 distinct words reported at extraction time do not give a measure of coverage for arbitrary Indonesian text. Some may have only a limited number of accepted occurrences, while others may contribute many. The lexical sample itself shows a substantial spread in counts by target and by sense. Extending the procedure to other words requires enough useful labeled examples to train a decision and a clear account of which sense distinctions those examples cover. The paper’s extraction figures do not document that distribution across the full inventory.
What the supervised evaluation can establish
Cross-validation holds out occurrences, so it tests whether the classifier can generalize to another context for a target in the sample. The experiment gives each target two candidate senses. It does not measure transfer to a target absent from the training material or to an inventory in which more meanings compete for the same word. A new target can have different useful contextual clues, and the paper’s scores do not quantify the amount of data required to learn them.
The evaluation also does not report a separate test of transfer to another source of Indonesian sentences. Identic++ includes material from movie subtitles, and the cross-validation results concern the resulting lexical sample. The paper does not give scores for source-based partitions or a held-out corpus from a different setting. The outcomes therefore support a claim about prediction within the evaluated sample and leave performance across sources open.
The role of the most-frequent-sense baseline is easy to interpret in principle and harder to interpret at the level of individual senses from the published scores. A high F1 for a skewed target can coexist with weak recognition of its rare sense. The paper provides no per-sense precision and recall or confusion counts that would reveal where those errors fall. The perceptron’s high word-level scores on skewed targets are evidence of good performance under the reported measure. They are insufficient to tell whether the gain comes from better recovery of the minority sense, better predictions for the majority sense, or changes in both.
The paper also gives no fold-level variation or significance tests for the differences among settings. The ranking of the leading plain BoW classifiers and the small changes for some feature additions describe the reported averages. How consistently those differences appear across train–test partitions remains open. The sizable gaps from the baseline on some words and the closely spaced averages among learners are distinct observations. They support different levels of detail when interpreting which parts of the procedure helped.
Finally, the paper leaves some implementation choices underspecified. It describes the word alignment and lookup pipeline, the representations, and the tools used for grammatical tags and stemming. It gives less detail about the exact neighborhood used for each feature, how variable-length concatenated contexts were supplied to classifiers, and how settings and evaluation averages were chosen. Some plain BoW cells also differ slightly between the main baseline table and the later feature table. For example, the XGBoost score for kayu appears as 73.98 in the main table and 73.97 in the feature table. The paper gives no explanation for these discrepancies. Comparisons drawn from within each table preserve the reported conditions and figures.
What came after
No later citing study is documented here. The paper closes by identifying larger-scale evaluation, closer assessment of the automatically assigned labels, and analysis of the differences between senses as open questions. Those are directions proposed by the authors. Whether subsequent work adopted the pipeline or tested those questions remains undocumented.
Cite
Cite as Rahmad Mahendra, Heninggar Septiantri, Haryo Akbarianto Wibowo, Ruli Manurung and Mirna Adriani. 2018. Cross-Lingual and Supervised Learning Approach for Indonesian Word Sense Disambiguation Task. Proceedings of the 9th Global Wordnet Conference.
@inproceedings{mahendra2018cross,
title = {{Cross-Lingual and Supervised Learning Approach for Indonesian Word Sense Disambiguation Task}},
author = {Rahmad Mahendra, Heninggar Septiantri, Haryo Akbarianto Wibowo, Ruli Manurung and Mirna Adriani},
booktitle = {Proceedings of the 9th Global Wordnet Conference},
year = {2018},
doi = {10.18653/v1/2018.gwc-1.28},
url = {https://doi.org/10.18653/v1/2018.gwc-1.28}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/mahendra-2018-cross-lingual-supervised-learning-approach/