Elamur Research

A Neural Lemmatizer for Bengali

Paper · 2016 · Abhisek Chakrabarty, Akshay Chaturvedi and Utpal Garain

Summary

The same written word can lead to different dictionary entries depending on the sentence around it. In the Bengali examples in this paper, taar has the dictionary form taar in a phrase about electrical conduction and taahaar in a phrase about possession. Choosing between such entries is part of lemmatization. A lemma is the dictionary form assigned to a word as it occurs in a text. Finding it gives a reader or a language-processing system a way to connect an inflected or ambiguous form to the lexical information recorded under the appropriate entry.

The authors use word embeddings, which represent words as vectors. Their system takes the vectors for the target word and its immediate neighbors and produces a vector intended to point towards the correct dictionary root. Each coordinate of the output is a weighted sum of the corresponding coordinates of the input vectors. The weights are learned from examples whose lemmas are known. At test time, the system compares its output with the dictionary root vectors and picks the root with the highest cosine similarity, a measure of how closely the directions of the vectors agree.

The authors assemble a Bengali training set of 19, 159 examples by combining examples identified through spelling and embedding similarity with examples built around irregular forms. They manually prepare a test set of 2, 126 instances drawn from the FIRE Bengali news corpus. On that test set the contextual approach achieves 69.57% exact lemmatization accuracy. A baseline that compares the target word’s own vector directly with the dictionary roots achieves 68.20%. The authors report the margin as 1.37%, or 29 more correctly lemmatized instances for the contextual approach.

The comparison measures the effect of replacing direct lookup from the target vector with lookup from a learned combination of the target and its neighbors. Because learning also alters the system’s use of the target word itself, the share of the gain attributable to the neighbors remains unclear. The paper’s evidence concerns this Bengali setup, while its architecture describes a way to learn the mapping without building Bengali suffix rules into the network.

Deep dive: A Neural Lemmatizer for Bengali

A Bengali lemmatizer uses nearby words and word embeddings to recover dictionary forms, with a test against direct cosine matching. · about 31 minutes to read

The problem and its context

Why a dictionary form is worth recovering

The authors begin with a problem in morphology, the study of how words are formed and how their forms vary. A root recorded in a Bengali dictionary can correspond to several forms in running text. The paper gives karaa as a root associated with the inflections karaar and karlaam. A word form is the realization found in the text, with whatever changes distinguish it from the dictionary entry. The relationship between a root and its forms matters because the root is where a lexical resource can record properties that apply across those forms.

An application can have different reasons for bringing related forms together. In information retrieval and search, it can be enough to group variants so that a query retrieves documents containing related spellings. The authors cite work on stemming for this purpose. A stem can serve as the common form used for matching even if it differs from the dictionary headword. For applications that need a lexical entry, the identity of the result matters. The paper singles out word sense disambiguation and machine translation as tasks where linking the text to lexical knowledge is important.

This distinction explains the paper’s use of the word root. The operational target is the dictionary word associated with the occurrence. A conventional headword may still include material that a stemmer would remove. Returning the headword lets a subsequent process use the syntactic or semantic description attached to it. Returning a shared stem is a different operation with a different criterion of success. The evaluation in this study applies the dictionary-entry criterion.

The mapping also runs in more than one direction. Several different written forms can lead to a single lemma, as the inflections of karaa do. Conversely, occurrences of the same written form can lead to different lemmas. The paper’s examples with taar, kara, and kamal concern that second problem. If a system always assigns an identical dictionary entry whenever it sees an identical spelling, its decision cannot reflect the distinction between the paired contexts illustrated for those words. A system designed to take an occurrence as input can ask which relation is plausible in this particular expression.

What earlier approaches used as evidence

As the authors describe it, comparatively little previous research had focused on efficient Bengali lemmatization. An earlier Bengali morphological analyser used hand-written rules and covered colloquial forms. The authors identify a particular issue with its analysis of verbs. The returned forms function as stems, which makes it difficult to connect those results to standard dictionary entries. They describe the work by Loponen and colleagues as motivated principally by improving document retrieval, where grouping variants is often the immediate goal.

Another approach, from Bhattacharyya and colleagues, organized Indic dictionary roots in a trie. A trie represents words through paths that share their common beginnings. The dictionary structure supplies possible roots for an input form, and heuristics choose among the possibilities when several are available. In the paper’s account, those choices omit the surrounding context and the evaluation is nondeterministic. The context omission matters when the same written form enters the candidate-selection stage in sentences that call for different roots.

The authors also discuss Benlem, an earlier Bengali lemmatizer by Chakrabarty and Garain. It first proposes dictionary roots based on string distance and then works with frequent suffixes to choose a lemma. The paper describes several dependencies of that procedure. It uses a list of valid suffixes, requires a system for part-of-speech tagging, and relies on an inventory that provides semantic definitions of root words. The authors also say that its lemmatization excludes named entities. These details show the kind of Bengali-specific resources and analysis the new method is meant to avoid requiring at the point of prediction.

The conclusion places the Bengali study alongside methods developed for languages with supervised lemmatization resources. The authors cite Lemming as the strongest token-based statistical approach in their account. They describe it as a modular log-linear approach that needs a sufficiently large labeled corpus. They also treat the selection of useful features for Indic languages as an open question. The challenge, on this account, is obtaining suitable labeled examples and deciding how to represent the evidence a system would use in a new language.

Why predict a vector for a dictionary entry?

A straightforward supervised formulation would treat every possible root as a separate class. The authors estimate that Bengali has around 50k roots. Under that formulation, the learning procedure confronts a large inventory of output labels, and the authors expect extensive manual effort to produce the necessary training data. A system still needs a way to choose among those entries, whether it predicts classes directly or arrives at them by another route.

The paper’s alternative is to make the learned output a point in an existing vector space. All roots with representations in that space can be compared with the same prediction. Learning then adjusts a common mapping from input vectors towards the kinds of locations where correct roots lie. One can think of the problem as producing a numerical query whose nearest dictionary entry will be the desired lemma. The dictionary is still the source of the final answer, and its members compete according to their proximity to that query.

The authors call the learned operation transduction. Here the term refers to the conversion of a representation of a word in context into a representation intended to correspond to its lemma. The input already contains a vector for the written target word. The question is whether transforming that vector with information from its neighbors can put the output in a better position for choosing a root. This formulation can also use the same prediction mechanism when the spelling relation between an inflection and its lemma varies greatly from case to case.

The method, step by step

Representing words and occurrences

The procedure begins by learning word embeddings from text. The authors pool the FIRE Bengali news corpus, Wikipedia, and Tagore’s short story collection for this stage. They use word2vec and produce 200-dimensional vectors, following the distributed representation approach described in Distributed Representations of Words and Phrases and their Compositionality.

The word2vec configuration is continuous bag of words, which learns representations through a task that uses neighboring words to predict a word. The authors use negative sampling at the output of this training procedure. In that setup, sampled alternatives provide contrast with the word that occurs. This embedding stage supplies the vocabulary of vectors. Learning to map those vectors toward dictionary roots is a separate, supervised stage, since identifying the intended root requires examples with lemma labels.

There are also two distinct uses of context. During embedding training, words occur in contexts across the corpus, and those occurrences contribute to the vectors that word2vec learns. During lemmatization, the system looks up the vectors of the actual words next to the particular target occurrence. The target word’s own vector is reused across occurrences of that word. The vectors entering beside it can change from one occurrence to another. Those varying inputs give the network a way to make different predictions for identical target spellings.

The context size is 3, counting the target. The authors put the preceding word first, the target in the middle, and the following word last. Their order determines which set of weights is applied to each word. It also makes the lemmatization input different from a single average of the words in the window. The preceding and following positions can contribute differently even if the same two neighbor words appear in both positions across different inputs.

The paper illustrates what the varying inputs are supposed to capture using taar. The pair electric and suparibaahii accompanies taar when the gold lemma is taar. In the other example, eTaa precedes it and jinis follows it, and the gold lemma is taahaar. At the input layer, the middle vector would be identical for these occurrences. The left and right vectors differ, so the output can differ before the dictionary search even begins. The examples define the intended behavior. The paper gives their gold lemmas, while its test table reports accuracy in aggregate.

From words in context to a Bengali dictionary lemma

The steps in order.

From words in context to a Bengali dictionary lemmaStep 1: Look up the target and neighboring word vectors1. Look up the target and neighboring word vectorsStep 2: Group the input values by embedding coordinate2. Group the input values by embedding coordinateStep 3: Combine each coordinate using learned position weights3. Combine each coordinate using learned position weightsStep 4: Compare the output direction with dictionary root vectors4. Compare the output direction with dictionary root vectorsStep 5: Return the dictionary root with highest cosine similarity5. Return the dictionary root with highest cosine similarity

How the network combines the inputs

The feedforward network has 600 input nodes for the context window and 200 output nodes for the predicted lemma vector. An output coordinate receives only the input coordinates with the same index. Each such output therefore gets a contribution from the preceding word, the surface word, and the following word. Across the network the paper counts 600 connections. The learned weights are specific both to the coordinate and to the position in the window.

The authors motivate this topology by treating corresponding coordinates as carrying corresponding characteristics of the words. The resulting design also has a precise computational implication. A feature present in one coordinate of an input can influence the corresponding output coordinate only. Its numerical value is never sent to another coordinate by the learned mapping. The network combines corresponding coordinates across words while preserving the coordinate system in which the dictionary roots are represented.

oᵢ(j) = ∑ₖ₌₁³ wᵢₖ(j) × θ[j, k],  j = 1, …, 200

Here i identifies a training example, and j identifies a coordinate of a word vector. The index k identifies the input position, with 1 for the preceding word, 2 for the target word, and 3 for the following word. The expression wᵢₖ(j) is the value at coordinate j of the input vector at position k in example i. The weight θ[j, k] multiplies that value. The multiplication sign denotes the product of the weight and the input value, and the summation sign adds the products over the positions indicated by its bounds. The resulting value oᵢ(j) is coordinate j of the output vector oᵢ.

The weight array θ has shape 200 × 3. A row holds the weights used to assemble the output at the corresponding coordinate, and a column holds the weights for one position across all coordinates. The weights are shared across occurrences. The network applies the same entry of θ whenever it encounters the corresponding input position and coordinate, regardless of the word identities. Any change specific to an occurrence comes through the input vector values.

The activation function is the identity, which passes the weighted sum through as the output coordinate. The authors choose it to support a vector-to-vector prediction and avoid imposing the range of a bounded activation such as a sigmoid or hyperbolic tangent. The displayed mapping has no additional layer or intercept term. As a result, its learned operation is linear in the input values. The final act of selecting a dictionary entry can still change abruptly. A change in the output direction can cause a different candidate to receive the highest cosine score.

The restrictions are easiest to see by holding the middle word fixed. At a particular output coordinate, it supplies the same contribution to every occurrence. Differences between those occurrences come from the left and right inputs, scaled by the learned weights for that coordinate. A coordinate whose neighbor weights are small will respond weakly to a change of context. At another coordinate, the neighbors can have more influence. This allows the network to alter the output direction without requiring the same relative contribution from the neighboring words in every dimension.

The equation also shows how the target can be transformed even when the neighbors contribute little. The weights in the middle column can scale the target’s coordinates by different amounts. A vector produced this way can point in a different direction from the original target vector. That possibility matters when interpreting the baseline comparison, since comparing the learned network with the raw target vector changes more than the availability of neighboring words.

Turning a correct lemma into a training target

Every supervised example pairs an input window with the dictionary root assigned to its middle word. The authors look up the embedding of that root and use it as the desired output. This arrangement ties training to the space in which the eventual dictionary search will take place. The network is trained to make the output direction close to the desired direction, which is the property used to rank candidates when it is asked for a lemma.

Jᵢ = 1 − cosine sim(dᵢ, oᵢ)

In this expression, Jᵢ is the contribution to the training cost from example i. The vector dᵢ is the embedding of that example’s correct dictionary root, and oᵢ is the output vector from the network. The expression cosine sim(dᵢ, oᵢ) is the cosine of the angle between the vectors. It is the dot product of the vectors divided by the product of their Euclidean lengths. Subtracting the cosine from 1 makes a higher similarity correspond to a smaller cost.

Cosine similarity compares directions. Positive rescaling of a vector leaves its direction and its cosine with another vector unchanged. Thus the cost encourages the output to agree with the orientation of the dictionary embedding. It places no separate requirement on matching the length of that embedding. An output may serve as a useful query even when its numerical coordinates differ from the gold vector, provided the intended root scores above the alternatives.

J = (1/n) ∑ᵢ₌₁ⁿ Jᵢ

Here J is the overall training cost, n is the number of examples used in the training calculation, and Jᵢ is the individual cost for example i. The summation includes the examples indexed from 1 through n. Multiplication by 1/n takes their mean. The paper’s training objective consequently gives each example the same coefficient in that calculation. Repeated occurrences of a form can make a larger total contribution than a form represented by fewer examples.

The cosine cost offers a continuous signal even when the system would choose the wrong lemma. For instance, moving the output toward the gold embedding can reduce the cost before the gold entry rises to the top of the dictionary ranking. The reverse distinction matters as well. Exact prediction is decided by the ordering among candidates, and the objective uses the gold vector as its reference rather than explicitly penalizing particular competing roots. The quantity minimized during training and the quantity counted in evaluation capture related properties at different levels.

How the weights change during training

The paper differentiates the cost for each example with respect to a weight. The expression contains both the effect of changing the output coordinate and the effect of that change on the length used to compute cosine similarity.

∂Jᵢ/∂θ[j, k] = −wᵢₖ(j)/(‖dᵢ‖ × ‖oᵢ‖) × [dᵢ(j) − (dᵢ · oᵢ)/‖oᵢ‖² × oᵢ(j)]

The expression ∂Jᵢ/∂θ[j, k] denotes the partial derivative of the cost for example i with respect to the weight used at coordinate j and position k. It measures how that example’s cost changes locally when that weight varies and the other weights are held fixed. The value wᵢₖ(j) is the input multiplied by the weight. The vectors dᵢ and oᵢ are the desired and predicted outputs, with coordinate values dᵢ(j) and oᵢ(j). The dot · denotes the dot product, the paired bars ‖ ‖ give the Euclidean norm, and ‖oᵢ‖² is the squared length of the predicted vector. The multiplication and division signs combine these quantities as shown. The leading minus sign comes from subtracting the cosine in the cost.

The input value appears in the derivative because a change in a weight changes its output coordinate in proportion to the value being multiplied. The bracketed expression accounts for the geometry of the output. It uses the desired coordinate and corrects for the way a change to the output also changes its norm. A change that only scales the whole output in the same direction leaves the cosine fixed, which is why the derivative must account for the normalization as well as the dot product.

The authors use batch gradient descent. Here a batch update means that the derivatives from the examples involved in the training calculation are averaged before the weights are moved. The paper sets the learning rate, the multiplier controlling the step from the old weights, to 0.1.

θnext[j, k] = θprevious[j, k] − (0.1/n) ∑ᵢ₌₁ⁿ ∂Jᵢ/∂θ[j, k]

The entries θnext[j, k] and θprevious[j, k] are the next and previous values of the weight for coordinate j and position k. The index i enumerates the n examples being used. Each term ∂Jᵢ/∂θ[j, k] is the derivative for that example, evaluated at the current weights. The summation and division by n give the derivative of the average cost. The factor 0.1 is the learning rate, and subtraction gives a step opposite to the direction in which the derivative indicates that the cost increases.

The paper reports using 10-fold cross-validation on the training data to obtain the weights used by the system. Cross-validation partitions the training collection so that portions can serve in turn as validation data while fitting proceeds using other portions. The paper reports its final accuracy on a separately prepared test set. Its description of cross-validation does not specify how the fits across folds were used to settle on the final weights.

Converting the output into a word

For a test occurrence the network produces an output vector by the same position-specific calculation used in training. The authors then compare it with the dictionary roots. The selection rule ranks those roots by cosine similarity and returns the root corresponding to the maximum.

r̂ = argmax[rⱼ ∈ {r₁, …, rₘ}] cosine sim(vec(rⱼ), o)

Here r̂ is the predicted dictionary root. The set in braces contains the m dictionary roots from r₁ through rₘ, and rⱼ is one candidate, with j now indexing roots rather than vector coordinates. The membership symbol ∈ indicates that the search ranges over that set. The function vec looks up the embedding of a candidate word, o is the output for the test occurrence, and cosine sim compares the directions of the candidate embedding and the output. The operator argmax returns the candidate that attains the largest score, so the result is a dictionary word.

The distinction between vector prediction and word selection is important for understanding what the system can return. The output vector may land between dictionary vectors or elsewhere in the space. The selection stage assigns it to a particular entry. The learned part can change which entry wins, while the dictionary and the candidate embeddings determine the choices available to it. The method is thus a form of dictionary search driven by a learned representation of the local occurrence.

The procedure uses distributional and lexical information at different stages. For prediction it consults position-specific embeddings and the dictionary vectors. When the authors prepare the training data, they also make direct use of spelling, particularly shared prefixes, to find likely root–inflection relationships. That spelling evidence is incorporated through labeled examples. There is no prefix test between the target spelling and each dictionary root in the stated test-time decision rule.

Constructing regular training examples

The authors build the regular portion around the observation that suffixation frequently allows related forms to retain an extended common beginning. The starting items are roots from a Bengali digital dictionary made available by the University of Chicago. The authors select roots at least 6 Unicode characters long. This is a length threshold on the dictionary entries considered for this data-building procedure, with length measured using the Unicode characters in the word.

For each selected root the authors consider its 10 nearest words in the embedding space, using cosine similarity for ranking. They then retain candidates whose shared prefix with the root reaches at least 6 Unicode characters. The search order combines different evidence. The embedding neighborhood proposes words with distributional affinity to the root. The prefix filter checks whether their spellings also support the relationship sought by this part of the procedure.

A shared beginning by itself could collect words that happen to start alike. An embedding neighborhood by itself could include words with related meanings or similar environments that are distinct lexical entries. Requiring both properties gives the authors a practical filter for likely regular inflections. They describe the resulting mappings as mostly stable across contexts. This is a rationale for labeling corpus occurrences of those candidate written forms with the associated dictionary root.

Once a mapping is available, the authors find instances of the candidate form in FIRE and take the surrounding words from the corpus. The context is drawn from a real occurrence, while the lemma label comes from the mapping established by the selection procedure. The result is 9, 536 regular training samples. The number refers to the training examples assembled through this process. The paper describes the prefix and neighborhood conditions used to find the forms but gives no corresponding count of distinct roots represented in these examples.

The two selection thresholds govern training data construction. They favor roots and form pairs for which the combination of embedding proximity and spelling overlap is easy to obtain. Shorter roots or pairs with a substantial change at the beginning could still be available to the dictionary search during inference. The regular data procedure provides a particular subset of examples from which the transformation can learn, and the irregular procedure fills in relationships that a shared-prefix search would be poorly suited to proposing.

Constructing irregular training examples

For the irregular portion, the authors start by crafting 120 different word forms. The motivating examples are forms such as chhile and chhila, which they give as inflections of thaakaa. Their relationship to the root is difficult to capture with the spelling overlap used in the regular procedure. The examples give the network supervision for cases in which the intended dictionary entry is linked to the form even though their orthographies differ substantially.

The authors divide these crafted forms according to how their lemma behaves across contexts. A form that points to a fixed lemma can be paired with randomly selected FIRE occurrences of that form. This gives several contextual presentations of a form with a stable label. Forms whose lemma changes with context require closer handling. For those, the authors manually arrange combinations of a context and its appropriate lemma, so that the different labels are associated with the evidence that supports them.

The treatment of ambiguity is consequential. If every occurrence of an ambiguous spelling were given the same lemma during data preparation, that supervision would provide no positive example of the alternative decision. Assigning labels to selected contexts can present the same middle vector alongside different neighboring vectors and different desired outputs. The learning procedure can then adjust the position weights in response to distinctions that would be invisible in an isolated word list.

This irregular procedure yields 9,623 training samples. The authors combine them with the regular samples to produce the training set of 19, 159 examples. They describe the resulting collection as balanced because the two sources supply almost equal numbers of examples. This balance is defined over examples assigned to the regular and irregular construction procedures. Within either group, the same form can occur in different windows. The paper reports the overall balance at the level at which the training objective averages its example costs.

Experiments and results

A test built from occurrences in news text

The test set consists of 2, 126 instances sampled from FIRE. The authors select examples randomly and manually supply the target lemmas. Each input is a run of 3 adjacent words, with the middle word designated for lemmatization. This setup tests the unit the network receives in ordinary operation as defined by the paper, a surface form together with the local words that flank it.

The reference answer is the gold lemma, the dictionary form assigned to the middle word of that particular instance. The evaluation can therefore distinguish occurrences with the same spelling. If separate contexts call for separate roots, both decisions are scored in terms of the root assigned to the occurrence. This is the same notion of correctness illustrated by the paper’s ambiguity examples. The contexts supply evidence for prediction, and the annotations identify which dictionary entry counts as correct.

The training and test labels are produced through different procedures. The authors use shared spelling, embedding proximity, and targeted manual work to construct the regular and irregular training collection. For the test set they start from randomly sampled text windows and give the targets their gold lemmas. The balance deliberately sought in the training collection should therefore be read as a property of training. The paper reports the test results for the sample as a whole.

The text sources also have roles that overlap. FIRE provides material for the embeddings, occurrences for training pairs, and the windows used to evaluate the lemmatizer. Wikipedia and Tagore’s short stories broaden the text used to create the embeddings. The reported test accuracy is specifically for the manually labeled FIRE sample. The paper gives no corresponding evaluation on windows taken from the other embedding sources.

What the baseline does

The baseline takes the embedding associated with the target word and scores it against the embedded dictionary roots. It returns the root whose direction is most similar to that target embedding. The same basic cosine ranking is used at the end of the proposed procedure. The difference is the vector presented to that ranking. Direct matching uses the target vector, and the learned procedure uses a vector formed by combining the target and its neighbors.

This baseline gives the paper a way to ask what is already possible with the distributional representations and dictionary search. If the surface word’s own embedding lies close to the embedding of the intended root, the baseline can succeed directly. It can also succeed when the target word is itself the intended entry and reaches the highest score. The result for direct matching is therefore important for interpreting the learned system’s result. It captures how much of the task can already be handled by searching the vector space with an untransformed input.

For repeated occurrences of the same target, direct matching starts from the same vector and generates the same candidate scores. The contextual network can generate different query directions for those occurrences. It could also improve an unambiguous case by changing the relative influence of coordinates of the target. The comparison tests all these consequences together, as they arise from the learned transformation.

Exact lemmatization accuracy

The metric is direct accuracy, the fraction of evaluated surface-word occurrences for which the selected lemma matches the gold lemma. A root with a very high cosine score still counts as an error if a different root is the one specified in the annotation. The evaluation uses cosine internally to choose a prediction, then scores that prediction as an exact dictionary-entry decision. It does not award partial credit for a closely related root.

Lemmatizer comparison on the FIRE Bengali test set by exact accuracy

A learned combination of the target and its neighbors yields higher exact accuracy than direct matching from the target vector.

Lemmatizer comparison on the FIRE Bengali test set by exact accuracyDirect cosine matching from the target vector: 68.20Direct cosine matching from the targetvector68.20Contextual neural lemmatizer (this paper): 69.57Contextual neural lemmatizer (thispaper)69.57
The numbers
System or settingaccuracy %
Direct cosine matching from the target vector68.20
Contextual neural lemmatizer (this paper)69.57

On the 2, 126 FIRE test instances, the contextual neural system achieves 69.57% exact accuracy and direct cosine matching achieves 68.20%. The paper gives the margin as 1.37% and reports 29 more correctly lemmatized instances under the learned method. The latter is the net advantage in the count of correct answers. It leaves open how many individual predictions changed, since a net increase can include cases that were corrected as well as cases where the new decision went wrong.

The result establishes the ordering of the systems on the reported test. It also gives a concrete measure of how far the effect extends in that setting. The baseline already recovers the correct lemma for a substantial portion of the sample, and the contextual transformation raises the overall accuracy by the reported margin. The test compares it with a direct search that uses the same kind of lexical representations. It supplies no ranking against the earlier Bengali approaches discussed in the introduction.

What the aggregate result tells a reader

Every occurrence contributes to the reported fraction. If several occurrences of a form appear in the test, their decisions are counted as separate outcomes. The score therefore describes accuracy over the sampled text windows. It does not directly describe the share of distinct surface forms, dictionary roots, or grammatical categories that the system can handle. Recovering a frequent form reliably can contribute more to the test score than recovering an equally difficult form represented by fewer instances.

Accuracy also treats different kinds of failure alike. A prediction that chooses the wrong lemma for an ambiguous spelling contributes an error. So does a prediction that selects a related dictionary entry for an irregular form, or misses a common inflection. The paper’s single accuracy figure measures these outcomes together. To locate the improvement, one would need counts for relevant subsets or a comparison of the systems’ predictions on the same items.

The manually labeled sample makes the end-to-end result directly interpretable as a comparison of predicted and intended roots. At the same time, the paper’s examples, its training categories, and its aggregate result serve distinct purposes. The examples show that a contextual distinction exists. The training categories show how the authors assembled evidence for different kinds of relationships. The test result records the overall difference when the learned system is put to work on sampled FIRE instances.

What the ablations show

The paper reports no component ablations and instead offers an end-to-end comparison with direct cosine matching and an analysis by example of how context can change the correct lemma.

What changes in the baseline comparison

Both approaches use word vectors to rank dictionary roots by cosine similarity. This common decision rule makes the comparison sensitive to the change in the query vector. The baseline provides the target’s own vector. The trained architecture supplies a weighted combination that can change the target’s contribution and add information from the surrounding words. The measured gain is the effect of that replacement on the FIRE sample under the reported training procedure.

An immediate question is how much of the change comes from context. The middle column of the learned weight array can reshape the target’s vector even if there is little contribution from the other columns. Since each coordinate has its own target weight, a change in their relative magnitudes can alter which dictionary roots the query resembles. A target-only system with learned coordinate weights would provide evidence about how far that reweighting could go by itself. The reported baseline is an untransformed target vector, so the experiment leaves that contribution unresolved.

The left and right neighbors likewise enter the comparison together. The positions have separate weights, so their effects are capable of differing. The paper gives the overall result for their combined use. It supplies no result with just the previous word or just the following word, and it does not compare other context lengths. The architecture tells a reader where the contributions enter. The accuracy experiment does not measure their effects separately.

What the contrasting contexts establish

The ambiguity examples hold the written target form fixed while presenting different surroundings and different gold lemmas. For kara, the window with kaaj and tumi calls for karaa. The window with taba and pallaba calls for kara. For kamal, the neighbors sugandhii and puShpa appear with the lemma kamal, whereas daam and jiniser appear with the lemma kamaa. Together with the taar example, these cases make clear why the authors define the task over occurrences.

The evidence from these examples is linguistic. A predictor restricted to a fixed input representation for each target spelling will assign the same score to a particular dictionary candidate wherever that spelling occurs. A predictor with access to the neighbors has the opportunity to rank the candidates differently. The example table identifies which rankings the gold answers would require. It gives no paired set of baseline and learned predictions for those examples.

The examples therefore explain a mechanism by which context could account for part of the overall improvement. They also define a testable category for analysis. A breakdown for forms with context-dependent gold lemmas would show how often the system actually changes its decision in the desired way. The paper presents no accuracy for that category, so the overall margin cannot be attributed specifically to handling the ambiguity illustrated in the examples.

Questions left open by the architecture and the training mix

The distinctive architectural choice is that input and output coordinates connect only when their indices match. The authors argue that corresponding coordinates ought to be the source of information for each output coordinate. The design keeps the mapping tightly constrained. The experiment evaluates that architecture against direct cosine lookup. Its independent contribution would require a comparison with another learned mapping, such as one that allows cross-coordinate connections while using the same training instances and dictionary search. An advantage from the added context and learned weights can coexist with uncertainty about which topology would perform best.

The regular and irregular groups also offer a potential controlled comparison. Regular examples link roots and forms through distributional proximity and shared spelling. Irregular examples add crafted forms and supervised contextual distinctions that the regular filter is poorly suited to finding. The authors train with both groups. Their results neither separate test performance by these categories nor show the consequence of removing one group from training. The measured accuracy is the outcome of the combined collection.

These gaps concern different questions. The baseline comparison addresses whether the complete learned transformation improves on direct matching. The ambiguity examples address whether neighboring words can be relevant to the correct answer at all. Claims about the contribution of specific positions, the value of the connection restriction, or the benefit of the irregular examples require finer comparisons than the paper reports.

Limitations

Limits the authors identify

The authors emphasize that the method is supervised. It needs a training resource in which occurrences are linked to their lemmas. Their data construction cuts down manual work for some examples, but the irregular forms require crafting and, for context-sensitive cases, manual assignment of contexts to labels. The separate test resource also requires manual annotation. In a language where such resources are scarce, this work is part of making the method usable, as well as part of evaluating it.

They distinguish their approach from earlier systems that require other kinds of linguistic resources, and they acknowledge the challenge of applying strong token-based statistical methods to inflected Indic languages. In their discussion of Lemming, the authors point to the size of the labeled corpus and the problem of choosing suitable features. This is their account of barriers to transferring existing techniques. The paper’s own supervised approach supplies an alternative feature representation, with its own requirements for labeled examples, large enough text collections to obtain word embeddings, and dictionary roots for the final search.

The authors also discuss the restricted connectivity as a design choice. They say a more complicated topology could exploit relations across embedding coordinates, and they expect it would need more training data and substantially more training time. They leave exploration of other topologies to future work. This gives the reader the authors’ reason for considering the tradeoff, while the measurements compare only the chosen topology with direct cosine matching.

A further limit is explicit in the proposed future evaluation. The authors call for comparing the approach with the strongest existing lemmatization techniques. The result they report supports an improvement over their own cosine baseline. A comparison with a trained Bengali lemmatizer or with a leading token-based method would address a separate question about relative performance. The paper frames that comparison as future work.

Limits that follow from the evaluation design

The architecture is described in terms intended to apply across languages. The empirical evidence is for Bengali. The Bengali setup uses a particular digital dictionary and a recipe for building regular examples based on extended shared prefixes. The irregular data construction depends on deciding which forms can be paired with a fixed lemma and which require context-specific labels. A new language would require supplying the embeddings, dictionary, and supervision for its own forms. How its training data would be assembled, and how accurate the resulting system would be, remain empirical questions.

The result also reflects the chosen local window. Immediate neighbors can contain evidence of the kind illustrated in the paper, and the architecture is described as extensible to other context lengths. The reported experiment uses 3 words including the target. It gives no measurement of whether a longer window improves the available evidence or introduces additional distractions. Any distinction expressed outside the immediate window reaches this system only indirectly through the embeddings it has already learned.

There is a difference between learning from raw text and testing the supervised mapping on unseen forms or material. FIRE contributes to embedding training and supplies supervised examples as well as the test windows. The paper reports the supervised test set separately, but it does not specify a form-disjoint, lemma-disjoint, or document-disjoint split. Consequently the result does not isolate performance on input forms absent from the supervised examples, or on news documents absent from the other stages. It also does not establish transfer from the news test setting to the other kinds of text used to learn the vectors.

The dictionary search and embedding lookup introduce coverage conditions. A prediction requires vectors for the input words, and the selected result must be present among the dictionary candidates with embeddings available for comparison. In the stated procedure, the network even needs a gold root vector during training to compute its cost. The paper does not describe how it handles an input token without an embedding, a missing candidate vector, or an occurrence without a neighbor at a boundary. The experiment gives the accuracy of the reported setup, with such coverage and boundary behavior left unspecified.

The cosine calculations have their own conditions. The loss and the candidate comparison require vectors with non-zero norms. The selection expression also assumes that a maximum can be turned into a single returned root. The paper gives the scoring rule without describing handling for zero vectors or ties. These points affect how completely a reader can reconstruct the exact decisions made by an implementation from the mathematical description.

Limits on interpreting the size and source of the gain

The authors provide a point estimate for each system on the FIRE sample. They do not report uncertainty intervals, a significance test, or a comparison of the predictions item by item. The result establishes that the proposed system produced more correct answers on the reported sample. The estimate’s stability across independently drawn samples or different training runs is unresolved. The 10-fold training procedure is described as a means of obtaining the weights, and no distribution of test results is given.

The overall gain also leaves different success profiles possible. The system might be especially effective on a subset of ambiguous cases, might mainly improve the geometry of the target vector for familiar inflections, or might draw benefits from both. The paper does not give subgroup accuracies to distinguish these possibilities. The almost equal regular and irregular training counts describe how the training set was assembled. They cannot establish that the two sorts of examples receive similar coverage or accuracy in the independently sampled test.

The gold annotations allow exact scoring, but the paper supplies limited detail about their production beyond manual preparation. It does not report agreement among annotators or how contested analyses were resolved. Nor does it describe the number of dictionary entries covered by the test or the distribution of lemmas within it. The accuracy has a clear denominator of annotated occurrences. Claims about coverage across Bengali roots, consistency across annotation decisions, or performance on especially rare forms would need additional measurements.

Finally, the paper motivates lemmatization through tasks such as translation and word sense disambiguation, while its experiment evaluates lemma recovery directly. The score measures agreement with dictionary-root annotations. It leaves open how the extra correct decisions would affect a downstream task, since those applications can differ in which lemmatization errors matter most.

What came after

A later citing study, Morpheme Boundary Detection and Grammatical Feature Prediction for Gujarati, describes a dataset and a system for analyzing Gujarati forms. Its stated tasks concern the location of morpheme boundaries and the prediction of grammatical features. Those tasks ask for evidence about the internal structure and grammatical properties of a word. The Bengali study asks which dictionary entry corresponds to a particular occurrence.

The connection is a move between different outputs for morphological analysis. In the Bengali work, a set of neighboring word vectors helps guide one dictionary choice. The Gujarati study’s stated goals are to identify boundaries and predict features, so the outputs describe properties of the analyzed form itself. These goals illustrate different kinds of supervised evidence a study can collect about inflected words. A lemma label links an occurrence to a lexical entry. Boundary and feature labels give a description of the form and its grammar.

The citation connects the Bengali paper to subsequent work on supervised morphology for another Indic language. The Gujarati study’s stated scope establishes the problems it tackles, while the citation alone leaves open how, if at all, it reused the Bengali architecture, its vector training objective, or its data construction procedure.

Cite

Cite as Abhisek Chakrabarty, Akshay Chaturvedi and Utpal Garain. 2016. A Neural Lemmatizer for Bengali. Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC'16).

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{chakrabarty2016neural,
  title = {{A Neural Lemmatizer for Bengali}},
  author = {Abhisek Chakrabarty, Akshay Chaturvedi and Utpal Garain},
  booktitle = {Proceedings of the Tenth International Conference on Language Resources and Evaluation (LREC'16)},
  year = {2016},
  url = {https://aclanthology.org/L16-1406/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/chakrabarty-2016-neural-lemmatizer-bengali/