Initial Experiments in Data-Driven Morphological Analysis for Finnish
Paper · 2018 · Miikka Silfverberg and Mans Hulden
Summary
The Finnish word kisaan can mean “into the competition” or “I am competing.” A reader can typically tell which interpretation fits a sentence. Silfverberg and Hulden study the step that comes before such a choice. Given a spelling by itself, can a system return every grammatical reading that the word could have? This is a problem in morphology, the study of how words are formed and how their forms express grammatical information. For kisaan, the answer must include a singular noun that expresses direction into something and a present-tense verb. Returning either reading alone leaves the analysis incomplete.
The authors train their system to reproduce the grammatical readings of OMorFi, an existing Finnish analyzer. They run OMorFi on Finnish texts from Universal Dependencies, retain the tokens it recognizes, and remove dictionary headwords from the answers. For a new input, the system combines a representation built from its characters with a representation associated with the whole word. It gives each grammatical analysis found in training a separate score. Every analysis with a positive score can enter the answer, so the procedure can return the noun and verb readings together. A lookup rule supplies the recorded answers for spellings that occurred in training.
On the retained test tokens, the analyzer gets the entire set right for 87.24% of occurrences. On the subset whose spellings were absent from the supervised training split, exact-set accuracy is 44.18%. Some of those spellings may still have a whole-word representation learned from other Finnish text. On that same subset, the system’s precision is 58.37% and its recall is 43.56%. In other words, the analyzer retrieves a smaller share of the readings it should supply than the share of its suggestions that agree with the reference. That matters when another system must pick an interpretation from the candidates it receives.
The authors trace roughly 27% of errors to confusion between common and proper nouns. Capitalization can help identify a name, but a common noun can also be capitalized at the beginning of a sentence, and the system receives no surrounding words. Other mistakes concern whether a participle also has an adjective or noun reading. The results show that the system can recover useful analyses of spellings absent from supervised training. They suggest a role alongside an existing analyzer, while leaving performance on words OMorFi itself cannot recognize unmeasured.
Deep dive: Initial Experiments in Data-Driven Morphological Analysis for Finnish
See how a Finnish morphological analyzer learns which readings a word can have, and how its accuracy changes when the spelling is new to it. · about 33 minutes to read
The problem and its context
Which readings can a spelling have?
A word in a sentence has a particular grammatical use. The spelling alone can support several uses, each with its own description. In the paper’s example, the noun reading of kisaan carries singular number and illative case. The illative accounts for the directional sense in “into the competition.” The verb reading carries active voice, indicative mood, present tense, and first-person singular. The two readings share an input spelling and differ in the grammatical information they supply. A system that receives just that spelling has enough information to propose the alternatives, while deciding which one fits a passage would require the passage.
The input is a word form, a form as it occurs in text. A lemma is the headword used to identify the lexical item to which a form belongs. The distinction matters because a morphological analyzer can provide information at both levels. It can identify the lexical item and give the form’s grammatical description. Silfverberg and Hulden focus on the grammatical descriptions. Their question is whether a system can learn which bundles of grammatical properties go with a spelling. Part of speech, case, and number are examples of the properties that can appear together in a bundle.
This choice sets the unit of prediction. Saying that kisaan can be a noun and that it can mark a destination gives pieces of a reading. The desired answer joins them in a single description, along with singular number. The verb information goes in a separate description. A list of all the properties mentioned anywhere across the alternatives would lose the distinction between the two uses. The set must preserve which properties belong together, even as it leaves the choice of use open.
The paper describes morphological analysis as an important preparatory step for processing languages such as Finnish. One reason is their high type–token ratio. A token is an occurrence in text, while a type is a distinct form. When many of a collection’s occurrences have different spellings, remembering what to do with previously encountered forms covers only part of the work. Another reason is that compounding and derivation can produce new lexical items. A compound brings lexical material together, while derivation uses a word or its parts to form another lexical item. The authors emphasize that an analyzer needs to cope with the new forms these processes produce in running text.
What a learned analyzer would have to replace or extend
The paper takes hand-built analyzers as the standard for this task. Building one requires knowledge of the language, expertise in linguistics, and familiarity with the formalism used to express the rules. Coverage also depends on maintenance. New lexical items appear in text, and a resource that needs to recognize them must be kept up to date. Those costs motivate asking how far an analyzer can get by learning from examples of spellings paired with their complete sets of readings.
Learning from an existing analyzer gives this question a concrete form. A hand-built resource can supply many examples of what a complete answer looks like. If a learner can recover a similar answer for a spelling whose analyses it has never been shown, some information in those examples has transferred. The distinction between coverage and transfer is important from the start. Coverage asks whether an analyzer can return readings for text it encounters. The experiment asks whether a learned system can infer the reference readings for forms the reference already covers, including ones withheld from supervised training.
The authors relate their question to work on morphological guessers. A guesser of the kind they describe tries to infer a word’s inflectional type, which concerns the pattern its forms follow. This and their task share an interest in extracting grammatical information from a word whose behavior may be unfamiliar. Their output has a different purpose. It enumerates the possible readings of the form that actually arrives as input, including alternatives that belong to different parts of speech. The authors say that they were unaware of earlier applications of deep learning to the task they set out to study.
Analysis, disambiguation, and generation
Work on morphological tagging and disambiguation was more plentiful, according to the paper. These tasks seek a reading that fits a word in a given sentence. A list of possible readings can help by giving the tagger candidates to choose among. The paper cites earlier work in which lexical information from hand-built analyzers improved neural tagging. This connection explains a practical motivation for producing a good candidate set. A candidate generator supplies alternatives, and a context-sensitive procedure uses the sentence to select among them.
In the authors’ account of earlier Japanese work, a system using conditional random fields returns a sentence tokenization and an analysis for each resulting token. Its output commits to both how to divide the text and how to analyze the pieces. The Finnish experiments start with tokens already supplied and ask for their grammatical possibilities in isolation. The difference lies in what counts as success. A single contextually appropriate analysis is useful for the Japanese system’s objective, while an ambiguous input in the Finnish task requires all the target alternatives. Applying Conditional Random Fields to Japanese Morphological Analysis
The paper also discusses work on Kazakh that uses a hidden Markov approach to select a subset of readings that could plausibly occur in context. Returning a subset makes its output closer in shape to a set of readings. Its use of the sentence gives that set a different meaning. A reading can be excluded because it is implausible in the particular occurrence. In the Finnish setup, the same reading belongs in the answer whenever the spelling supports it. Both the Japanese and Kazakh examples help locate the Finnish study among tasks that distribute the work differently between word analysis and contextual choice.
Morphological reinflection provides another comparison. In the CoNLL-SIGMORPHON reinflection shared task, the direction of interest is from a lemma and grammatical description to a word form. A generator receives information about the grammatical form it should produce. An analyzer starts with the result and works back towards possible descriptions. Generation was already a growing area of research using character sequences, and the authors took inspiration from systems that encode an input and then predict an output. In their experiment, the output takes the form of a set because a spelling may be compatible with several grammatical descriptions at once.
This difference in output also explains why the paper moves away from the sentence-level sequence prediction approaches it discusses. Assigning an analysis to each position in a sentence gives a sequence of decisions. Silfverberg and Hulden pose a separate question for every permitted analysis of a single token. The order in which the positive answers could be listed has no grammatical significance. Their design keeps sequence processing for the part of the task where order matters, the letters in the input word.
The method, step by step
Constructing the answers to learn from
The authors start with the Finnish portion of the Universal Dependencies treebank collection, called UD_Finnish. A treebank contains text with linguistic information attached to it. Here, the text supplies naturally occurring token forms and an established division into training, development, and test data. The reference answers for this particular task come from running OMorFi on the tokens. This lets the authors ask for every reading the analyzer gives a spelling, even though a token comes from a sentence where a reader could choose a particular use.
OMorFi is an open-source analyzer with high coverage of Finnish, including the ability to analyze compounds and derivations. If it supplies no reading for a token, the authors remove the token from the experiment. They apply this rule to all the splits. A token with no OMorFi result is a case without a reference answer for the study’s purposes. Treating it as an example with an empty answer would instead tell the learner that it should produce no reading for that spelling. Filtering keeps those two interpretations apart.
The authors then remove the lemma from each available reading. Recovering a headword is the task of lemmatization, which the paper sets aside. The authors point to reinflection as a way of treating that problem separately. For the task here, if readings had different headwords and shared the rest of their description, the transformed answer contains the shared description once. If the readings differ in a grammatical property retained by the authors, both can still appear.
This gives ambiguity a specific meaning in the experiments. A form is ambiguous to the system when the target contains several distinct grammatical analyses after lemma removal. Some forms would have more readings in OMorFi’s original output, because differences between headwords can distinguish analyses there. The prediction target is the set produced by the transformation. The experimental measure therefore follows the task definition all the way from data preparation through scoring.
Giving each complete reading a place in the answer
The system treats the task as multi-label classification. In this usage, a label is an entire analysis such as Noun+Sg+Nom, where the properties say that the form is a singular noun in the nominative case. A label can contain several grammatical properties, but it is a single item for prediction. Each item in the inventory gets a position in an output vector, an ordered list of values. Several positions can be active together. In the answer for kisaan, the noun and verb descriptions occupy different positions.
The inventory comes from the transformed readings in the training data. The authors say that there are thousands of possible analysis types for Finnish, which makes the output vector large. Most of its positions are irrelevant for a given spelling. The kisaan example makes this easy to see. A score for the attested singular illative noun reading is useful there. A score for the attested present-tense verb reading is useful for a different reason. All the other positions give the system places to express that their corresponding analyses are absent. The vector is a way to hold these decisions together for the input.
From a Finnish spelling to candidate readings
The steps in order.
The lookup at the beginning applies to spellings in the supervised training data. It can supply the answer directly. The scoring steps describe the learned route used when the training answer is unavailable. The two routes deliver sets in the same format, so the evaluation can compare either kind of answer with the transformed OMorFi readings.
The input notation in the paper describes a spelling as a sequence of characters.
x = x₁ … xₙ ∈ Σ*
Here x is the input token, x₁ through xₙ are its successive characters, and n is the length of the input. The ellipsis stands for the intervening characters. The symbol Σ denotes the Finnish alphabet in the paper’s notation. The superscript star in Σ* denotes strings over that alphabet, and ∈ means that the token belongs to that set. The equals sign expresses that the input is given to the character encoder through its ordered letters.
y ∈ {−1, 1}^|A|
Here y is the reference vector for the input. The braces contain the allowed values of a reference entry, −1 for an absent analysis and 1 for a present analysis. A is the set of analysis types observed in training, and |A| is the number of elements in that set. The exponent notation specifies a vector with that many entries. The membership sign says that the reference vector is drawn from those possible vectors. The two positive entries for kisaan correspond to Noun+Sg+Ill and Verb+Act+Indv+Pres+Sg1. The latter tag describes a first-person singular verb in the active indicative present.
A useful implication of this representation is that it treats combinations of features as known objects. A noun’s number and case are encoded together when they occur in the same label. The system learns to score that bundle using the evidence available in the word. The output vector has no newly created position for a grammatical bundle absent from the inventory. This is different from representing the word with characters, where the encoder can process a sequence even if that exact sequence was missing from supervised training.
Reading the spelling and looking up the word
The spelling component uses a bidirectional long short-term memory network, abbreviated LSTM. An LSTM updates an internal state as it reads successive items. Here those items are the characters of a single word. One direction reads from the beginning towards the end and the other reads from the end toward the beginning. This lets the procedure accumulate information about a spelling from either end before assembling a representation for the word. The input for kisaan contains the successive characters k, i, s, a, a, and n.
Each direction supplies its final cell state, the part of the LSTM’s internal state the authors choose to carry forward. They place the two vectors end to end, an operation called concatenation. The hidden state dimension is 100, and each final cell state they use also has 100 components. Joining the two final cell states yields a spelling representation with 200 components. The character network has a single bidirectional layer. The scorer works from the final states, without a separate mechanism for retrieving or weighting the state at each letter.
For a reader following the information through the system, the final states are the point at which the variable-length input becomes a fixed-size representation. A spelling can contain more or fewer characters, and the object passed to the next stage still has 200 components. Those components are learned through the analysis task. The method does not specify a feature that is explicitly designated as, for example, a detector for the ending of an illative noun. Information about such a pattern can help minimize the training loss if the character network learns to encode it.
The other input is a whole-word representation. Word embeddings are vectors associated with words. The authors initialize theirs with vectors learned from Finnish newsgroup text, using the word2vec implementation in gensim. The newsgroup material provides another source of evidence because a spelling encountered there can have a vector learned from the text in which it appears. In the analyzer, the relevant vector can be retrieved when the spelling is entered without a sentence. The paper cites the earlier work on distributed representations of words and phrases.
These two ways of representing a word make different evidence available. The character pathway can respond to recurring spelling patterns that occur across multiple words. The whole-word pathway can supply information specific to the spelling being looked up. For an ambiguous form, the whole-word vector is still a single input to the scorer. The separate decisions about noun and verb readings happen farther downstream. The architecture can use the combined evidence to activate both analyses without assigning a separate embedding to each of the word’s readings.
A special learned embedding serves words absent from both the training vocabulary and the pretrained embeddings. A new spelling can still go through the character encoder. Its whole-word contribution then comes from a common unknown-word vector, which is shared with other words in the same situation. If the spelling occurs in the pretrained vocabulary, its absence from supervised training alone does not force this substitution. This distinction becomes important when reading the paper’s results for out-of-vocabulary tokens.
To train the unknown-word vector, the authors sometimes substitute it for a training word’s ordinary embedding. The probability of substitution is 2%. On such an occasion, the spelling presented to the character network and the required set of analyses stay the same. Changing the word vector while keeping the answer available gives the training procedure examples of how to use the fallback. The substitution acts on the representation of the word, while the character sequence continues to distinguish it from other inputs.
Combining the evidence and scoring the readings
The whole-word vector has 200 components, matching the size of the character representation. The authors add the two vectors component by component. A single-layer linear perceptron takes this sum and assigns a score to every analysis in the inventory. A linear scoring layer uses learned weights to convert the combined components into its output values. The character encoder already performs the work of turning a sequence into a vector, so the last layer can operate on a fixed-size input.
e(x) + B(x₁, …, xₙ)
In this expression, e(x) is the whole-word embedding selected for token x, including the unknown-word embedding when appropriate. The function B is the bidirectional character encoder, and x₁ through xₙ are the input characters. The ellipsis indicates the remaining positions in the sequence. The plus sign is elementwise vector addition. Its result is the input to the linear scorer.
There are two distinct operations involving the vectors, each at a different point. The authors concatenate the forward and backward character states to keep both state vectors as parts of the spelling representation. They then sum the resulting spelling representation with the whole-word vector. The latter operation combines the sources before the scoring layer sees them. Concatenation at that second point was also tried, and the paper reports the outcome of that comparison.
The score of a label gives the learned route a way to accept or reject that label for a particular input. The scores need no common total and several scores can be positive. Each score is read against the same boundary. The architecture therefore has a place for a frequent analysis to receive a high score while another plausible analysis for the same spelling receives a positive score of its own. It also allows every score to fall outside the accepted range.
Fitting the scores to the reference
During training, the reference entry for each analysis is the target value. The predicted entries are real-valued scores from the linear layer. The authors use absolute error, called L1 loss, calculated separately at every position and then added across the vector. In the following notation, the sum runs over the position associated with each training analysis.
L(y(x), y) = ∑ᵢ |y(x)ᵢ − yᵢ|
Here L is the loss on the token, y(x) is its predicted score vector, and y is its reference vector. The index i identifies the same analysis in both vectors, so y(x)ᵢ is that analysis’s predicted score and yᵢ is its target. The minus sign takes their difference. The vertical bars take the absolute value of that difference, and ∑ᵢ adds those values over the output positions. The equals sign defines the total loss.
If a score is below its target, the distance to the target contributes to the loss. A score above its target contributes in the same manner. The best fit for an individual example occurs when every score equals the corresponding reference value. The score is still useful at prediction time if it lies on the correct side of the boundary without equaling the target. This distinction explains how the system learns from a graded error while delivering a discrete answer. It also explains why a change in the loss need not produce a change in the returned set on the same example.
The authors use a learning rate of 0.0001 with the Adam optimization procedure. Adam updates the parameters using information accumulated from the gradients of the training objective. Its settings in the paper are β₁ at 0.9 and β₂ at 0.999. The beta parameters govern the running estimates used by the optimizer. Development data guides the hyper-parameter choices, and the network is trained for 50 epochs. An epoch is a pass through the training data. Adam
The character network uses 50% dropout on its recurrent connections during training. Dropout temporarily masks parts of the computation while the parameters are being fitted. The paper applies it to connections used as the character state is carried through the spelling. The random replacement of a whole-word vector serves a separate purpose and has a separate probability. The authors implement the system using DyNet.
Turning scores into an analysis set
At prediction time, the criterion for including an analysis through the learned route is the sign of its score.
y(x)ᵢ > 0
In this inequality, y(x)ᵢ is the predicted score for the analysis at position i when the input is x. The greater-than sign specifies a strict comparison, and 0 is the decision boundary. A positive value admits the analysis to the set. A score at the boundary is excluded along with the negative scores. If both of the appropriate scores for kisaan are positive, both readings enter the answer. The system need not decide which receives the highest score to do this.
For a test spelling already found in the supervised training data, the authors instead return its recorded analysis set. The reason this shortcut is available follows from the definition of the task. The target is the range of readings for an isolated spelling, so a change in sentence context does not call for a different list. A stored set can be reused across occurrences. The learned scorer is needed to supply the readings of spellings for which the supervised training data yields no such record. The paper examines the effect of the shortcut over the course of training and reports test results for the unfamiliar spellings separately.
Experiments and results
The test population
The corpus partition follows version 2.0 of UD_Finnish. Before filtering, the training split contains 162,827 tokens, the development split contains 18,311, and the test split contains 21,070. These are counts of occurrences, so repeated spellings can contribute multiple tokens. Training examples provide the labeled word forms used to fit the system. The development data is used to choose settings, and the test data is held out for the reported evaluation.
OMorFi recognizes 157,317 training tokens, or 96.6% of that split. In development it recognizes 17,762 tokens, or 97.0%, and in the test split it recognizes 20,447 tokens, also 97.0%. The remaining tokens do not enter the respective experimental sets. The paper describes the unrecognized share across UD_Finnish as approximately 3%. The analyzer’s coverage figures describe which cases have reference answers. The evaluation figures describe how closely the learned system reproduces those answers after the authors’ transformation.
The paper reports average ambiguity of 1.82 in training, 1.76 in development, and 1.84 in testing. These numbers refer to distinct analyses per recognized token. They tell the reader something the size of the dataset cannot. The correct answer will often involve alternatives, and those alternatives affect the score even if the input spelling is familiar. The averages do not describe the number of dictionary headwords per token, since the experimental readings have undergone lemma removal.
The word vectors come from a different resource, Suomi24. The authors train them on roughly 71M words of Finnish newsgroup material, drawn from texts available on the discussion forums of Suomi24 between 2001 and 2015. This corpus supplies distributional information used to initialize the whole-word embeddings. The grammatical labels still come from OMorFi applied to UD_Finnish. The two resources contribute different things to the experiment, and vocabulary familiarity can arise from either.
What the reference and the comparisons establish
The benchmark is agreement with OMorFi’s lemma-stripped analysis sets. OMorFi is the reference used to generate the answers, instead of a competing system whose independently scored accuracy appears beside the new approach. The paper does not report a separate baseline score from a competing morphological analyzer. Its main numerical comparison is between performance on all eligible test tokens and performance on the eligible tokens that are out of vocabulary relative to supervised training.
Calling a token out of vocabulary, or OOV, in the results means that its spelling never occurred in the supervised training split. This differs from the condition for using the unknown-word embedding, which also requires that the spelling be absent from the pretrained vocabulary. The OOV test slice can consequently include words with a pretrained vector as well as words that receive the shared fallback. Both kinds of word are unfamiliar in the sense relevant to training answers. The published results group them together.
The all-token evaluation includes occurrences eligible for the recorded-answer rule. It also includes the OOV subset, so the rows describe overlapping test populations. The restricted result is useful for understanding generalization to spellings without stored answers. The wider one describes performance across the actual retained token mix, with familiar spellings allowed to occur as frequently as they do in the test corpus. A difference between the scores can reflect the mix of test forms, the possibility of lookup, and the evidence available to the learned scorer. It does not isolate one of those influences on its own.
Measuring the whole answer and the individual readings
Full analysis accuracy is a per-token exact-match measure. A token counts as correct when its returned set and its transformed reference set contain precisely the same analyses. If the reference for kisaan requires the noun and verb labels and the system supplies the noun only, the set is incomplete. Supplying the required labels together with an extra reading also misses exact match. The metric rewards a set that can stand in for the reference on that token.
Accuracy = C / A
Here Accuracy names full-set accuracy, and C counts the evaluated test tokens for which the returned set exactly matches the reference. In this formula A counts all evaluated tokens in the group being scored. It is local notation for the token count, distinct from the analysis inventory denoted by A in the method. The slash means division, and the equals sign defines the measure.
The authors also count agreement at the level of individual analyses. These counts give partial success a place in the evaluation. A token receiving one of its required labels contributes a correct analysis even when the set as a whole misses exact match. A label of the right type for some other word does not contribute if it is attached to the wrong token. What matters here is the proposed analysis for each occurrence.
r = TP / T
Here r is recall, TP is the number of correct analyses recovered by the system, and T is the total number of reference analyses for the evaluated test group. The slash divides recovered analyses by available reference analyses. Recall answers how much of the required reading inventory across those tokens was retrieved.
p = TP / P
Here p is precision, TP again counts correctly recovered analyses, and P counts all analyses the system returns for the evaluated test group. The slash divides the correct suggestions by all suggestions. Precision answers how much of the material returned by the analyzer agrees with the reference.
F = 2pr / (p + r)
Here F is the F-score, p is precision, and r is recall. In the numerator, 2pr means the product of 2, p, and r. In the denominator, the plus sign adds precision and recall, and the parentheses group that sum for division. The measure combines the two analysis-level scores so that a low value on either side limits the combined result. It answers a different question from full-set accuracy, which judges whether all of a token’s decisions together are correct.
The measures also differ in how the properties of an analysis enter the score. A reading that gets noun case and number right but confuses common and proper noun categories is the wrong complete label. Its shared features can be linguistically informative, but the label-level metrics do not award separate credit for those features. When the paper describes parts of an erroneous analysis as correct, it is drawing on qualitative inspection. That is evidence about the nature of a mistake beyond what can be read from the aggregate metrics.
Test accuracy across familiar and unfamiliar spellings
On all retained test tokens, full-set accuracy reaches 87.24%. Restricting the evaluation to the out-of-vocabulary test subset gives full-set accuracy of 44.18%. The denominator changes to the eligible tokens without a training record. Each value still answers the same question about exact reconstruction. The restricted score shows that the procedure can produce entire analysis sets for many spellings for which it cannot retrieve the supervised answer. It also shows why a reader interested in such spellings needs more than the aggregate score.
Finnish Universal Dependencies test groups by full-set accuracy
The analyzer recovers complete reading sets more reliably across the retained test set than among spellings absent from training.
The numbers
| System or setting | accuracy % |
|---|---|
| All retained test tokens (this paper) | 87.24 |
| Out-of-vocabulary test tokens | 44.18 |
Both rows are results for the authors’ system. On an OOV token, the output comes from scoring the inventory, with the spelling representation and whichever whole-word representation is available. A correct answer in that subset is evidence of generalization beyond the stored training entries. It does not establish that the spelling was wholly unfamiliar, since it may have appeared in the newsgroup corpus. Nor does it tell whether the learner has seen related spellings or other forms that use the same patterns. Those relationships are compatible with the kind of transfer the method is designed to exploit.
The all-token score describes the utility of the combined procedure on the retained corpus. A test corpus with many reoccurring forms gives an analyzer opportunities to reuse answers. That property can be helpful in deployed processing as well. An engineer reading the result still needs the restricted score to understand what happens when lookup is unavailable. The two measures address different events that can occur within the same stream of text.
Which readings the system retrieves
Across all retained test tokens, recall is 89.66%, precision is 94.03%, and F-score is 91.79%. For OOV test tokens, recall is 43.56%, precision is 58.37%, and F-score is 49.89%. Each of these is based on analyses counted over a test group. The F-score reflects the combination of recovered and reliable readings, while exact-match accuracy considers the complete answer for each occurrence.
Finnish Universal Dependencies test groups by analysis recall
The analyzer recovers a smaller share of the reference readings on spellings absent from supervised training.
The numbers
| System or setting | recall % |
|---|---|
| All retained test tokens (this paper) | 89.66 |
| Out-of-vocabulary test tokens | 43.56 |
Finnish Universal Dependencies test groups by analysis precision
Suggested readings agree with the reference less often when the input spelling is absent from supervised training.
The numbers
| System or setting | precision % |
|---|---|
| All retained test tokens (this paper) | 94.03 |
| Out-of-vocabulary test tokens | 58.37 |
Precision exceeds recall in each group. The precision value describes the reliability of the suggestions the system makes. The recall value describes how much of the required material those suggestions cover. Together they characterize a setting in which the accepted labels miss a substantial share of reference readings on unfamiliar forms. False suggestions also occur. A wrong answer can contain a mix of accepted readings that should be dropped and omitted readings that should be included.
The distinction has a direct consequence for morphological part-of-speech tagging or disambiguation if the analyzer supplies the set of selectable readings. An extra candidate can in principle be rejected by a procedure that sees the sentence. A missing candidate gives such a procedure no option to select from the supplied set, even when the surrounding words make the intended reading clear. The data show the size of the recall problem under the reported decision rule. The paper’s discussion of downstream use explains why it matters, independently of whether each false suggestion would in fact confuse a tagger.
What the ablations show
Where the paper compares design choices
The paper includes limited design comparisons and an error analysis, without a numerical ablation series that isolates the contribution of each input or training choice. The direct comparisons concern how the character and whole-word vectors are joined and when the system uses stored training answers. They provide evidence about practical design decisions. The separate test groups and the analysis of errors add evidence about where the resulting analyzer succeeds and where it encounters difficulty.
The authors tried concatenating the finished character vector and the whole-word vector before computing the output. In that arrangement the scoring layer receives separate groups of components for the two sources. The chosen arrangement adds the vectors first, so the scoring layer receives a combined representation of the same size as either vector. The authors report that concatenation extended training time and yielded no improvement in accuracy. They consequently use addition. The paper gives no separate accuracy or training-time values for this comparison.
The comparison bears on whether the proposed combination is adequate for the tested system. It does not tell how much each source contributes by itself, because both are present in the tested combination choices. It is possible for addition and concatenation to perform similarly while the character pathway supplies much of the useful evidence. It is also possible for similar scores to depend on both pathways. The report supports the choice of the simpler combination for this experiment. A ranking of the two input sources would require a different comparison, such as evaluating with one source unavailable.
The second comparison concerns replacing a prediction with a recorded training set when the spelling allows it. The authors describe a substantial benefit from this rule early in training and little effect when training is complete. Early on, the exact answer for a familiar spelling is already available to the lookup route while the scorer is still learning its parameters. The smaller late effect is consistent with the fitted scorer having learned to handle familiar spellings better. The paper reports the trend qualitatively and supplies no separate final test score with lookup disabled.
The restriction to OOV tokens eliminates the availability of a stored supervised answer by definition. It also changes which words are being evaluated. It is therefore informative as an assessment of the learned route on the words that require it, but it cannot measure the effect of disabling lookup on the same test tokens. The qualitative comparison across training stages addresses the lookup rule more directly. The difference in their questions explains why the two observations belong together without being interchangeable.
What capitalization can and cannot tell the analyzer
The authors report that roughly 27% of errors involve confusing common nouns and proper nouns. Finnish names ordinarily start with a capital letter, so case can provide evidence toward a proper reading. A capital also occurs at the beginning of a sentence, where it can appear on a common noun. The word encoder sees the letters of the form and can respond to their case. The scorer has no information about where in the sentence the form occurred. A capitalized input can therefore be compatible with either of the situations the authors describe.
Many of these predictions have suitable case and number and use the wrong part of speech. For the task’s full-label evaluation, a proper-noun reading and a common-noun reading are distinct even when they share their inflection. The error inspection shows that a failed label can still reflect a successful inference about the form’s grammatical behavior. This helps explain why a broad score alone gives an incomplete picture of what the character encoder can recover.
The authors also point out that proper nouns are frequently absent from the pretrained word embeddings. A word-specific vector could offer a clue to a proper reading if suitable distributional information were available. Assigning the shared unknown-word embedding gives the scorer no such word-specific signal. The paper does not measure how much of the reported confusion comes from missing embeddings and how much comes from capitalization and context. Both possibilities are raised to explain why a task that seems easy from the orthography can prove difficult on isolated inputs.
When a plausible reading disagrees with the reference
Another recurring error is giving a participle a noun or adjective reading that OMorFi does not list. The authors illustrate it by comparing taitava, meaning “skillful,” with sanova, a participial form of “to say.” OMorFi accepts both a participial and an adjectival reading for taitava. For sanova, it supplies the participial reading without the adjective reading. A learner that extends the adjectival analysis too freely can produce a plausible-looking candidate and still disagree with the established reference.
The authors describe these distinctions as mostly conventional and difficult to infer reliably from spelling or distribution. The example separates evidence for recognizing a participial form from evidence that a particular word also has an established use in another grammatical category. The spelling component can exploit patterns that recur across participles. Success at reproducing the extra readings depends on knowing when the reference makes that additional distinction.
This observation sharpens the interpretation of false positives. The system can miss an analysis because it failed to learn a general pattern, or it can propose an extra one because it applied a pattern beyond the forms recognized by OMorFi. The participle examples give a concrete instance of the latter possibility. The authors also mention a range of less frequent mistakes and say they would require more detailed examination. The paper gives examples and a prominent error share, while leaving a comprehensive allocation of the remaining errors open.
Limitations
Limits and open questions identified by the authors
The authors emphasize the performance drop on spellings that do not occur in the training split. Learning enough to reconstruct analysis sets on some of those inputs is the principal evidence for the approach. Recovering much less of the required material for the same group sets the practical limit visible in the experiment. In particular, a system used to supply candidate readings cannot assume its coverage for the words with no stored answers will resemble its coverage across the retained corpus.
The authors propose adjusting the threshold to change the balance of precision and recall. In place of the fixed decision boundary, they describe using an adjustable threshold.
y(x)ᵢ > TH
Here x is the input spelling, i identifies an analysis, and y(x)ᵢ is its score. The greater-than sign is again a strict comparison. TH denotes a threshold whose value could be selected as a hyper-parameter for the desired operating point. With fixed scores, lowering the threshold can only retain the same labels or admit additional ones. Whether those added labels improve recall enough to justify the extra suggestions depends on how many agree with the reference. The paper leaves measurement of this tradeoff to future work.
The potential need for higher recall follows from the way a downstream disambiguator could use the answers. When the correct analysis is absent, the constraint imposed by the analyzer prevents a selector from choosing it. An adjustable boundary could change this constraint without modifying the character encoder or redoing the supervised training. The paper reports evaluation at the fixed boundary. It offers no threshold curve or downstream evaluation from which to judge the cost and benefit of moving that boundary.
The authors also identify a possible improvement to the pretrained vocabulary representation. They suggest embeddings that draw on sub-word information, such as fastText, to help with names. Sub-word information allows parts of a spelling to contribute to its word-level representation. That would address a different point in the system from the existing character encoder, since the proposal concerns the source of the pretrained embedding supplied alongside the encoder. The authors present it as future work, with no measured gain for proper names. Enriching Word Vectors with Subword Information
Their account of participles identifies a different kind of limitation. An improvement in how the system encodes recurring spelling patterns may help detect participles, while the reference’s decisions about related noun or adjective readings can depend on the particular word. The authors regard spelling and distribution as unreliable guides to those decisions. The paper gives examples of this issue and indicates that interpreting the variety of rarer errors would call for a more extensive analysis.
Lemmatization is outside the task the authors evaluate. Removing lemma information simplifies the target and merges analyses that otherwise would be distinguishable. The paper suggests that headword recovery could be handled using methods related to reinflection. It evaluates the ability to give grammatical categories and features in the chosen set representation. A system that also needs the lexical identity behind each reading would require that information from another procedure or an expanded task.
Limits that follow from the experimental setup
The results are scores against a reference created by OMorFi. Strong agreement establishes that the system can reproduce the analyzer’s decisions on the evaluated forms. The setup does not include an independent human assessment of whether every reference set captures all acceptable Finnish uses. This distinction matters for cases like the participles. Agreement shows fidelity to the resource’s treatment of a form. Establishing whether the treatment captures all usages would require evidence of a different kind.
Filtering has a related consequence for the idea of extending an existing analyzer. The words for which OMorFi supplies no answer are where an extension could add direct coverage. Those very cases are excluded from the reported test set because the study uses OMorFi to build the test answers. The OOV result shows transfer to forms missing from the supervised training examples, with reference readings available for evaluation. It does not measure how often the system would give acceptable readings on forms on which OMorFi has no analysis. Evidence for that use would require reference judgments for such forms.
The output inventory introduces another boundary to generalization. An unfamiliar spelling can receive a known grammatical bundle if the scorer finds evidence for it. A grammatical bundle absent from the training inventory has no score of its own, even if individual features in it occur in other bundles. Nor does the paper report how frequently the test references contain a bundle unavailable to the system in this way. The experiment shows the performance of classification over the established inventory. It leaves the possibility of generating new bundles outside the system’s demonstrated capabilities.
The OOV result also leaves open a distinction within word familiarity. For some test forms absent from supervised training, a pretrained word vector may be available. For others, both the supervised record and the word-specific vector are unavailable. Since the paper combines these cases, its result cannot establish performance for the latter group on its own. A breakdown by embedding availability would help identify how much of the observed generalization happens while the scorer is relying on the spelling and the shared fallback. The reported combination comparison does not supply that breakdown.
The experiment evaluates the system on Finnish text from the specified treebank partition. The paper motivates the problem through properties shared with other morphologically complex languages. The Finnish evaluation provides no direct measurement of transfer to another language or to another source of grammatical analyses. It also gives no separate evaluation on a new genre of Finnish text. The newsgroup material used to initialize embeddings serves as training evidence. Its inclusion does not provide a second test domain with measured analysis performance.
Finally, the use of token-level counts has implications for how broadly to read the results. Repeated occurrences increase the influence of a spelling when they all fall within an evaluated group. Full-set accuracy on the retained test mixture describes how often a token occurrence received the expected answer under that weighting. It does not give each distinct spelling the same influence. The restricted OOV figures still apply to a corpus slice measured over tokens. This leaves room for different behavior across rare forms, recurring forms, and forms that vary in the number of analyses they require.
What came after
The authors’ discussion leaves several concrete directions open. One concerns how to set the decision threshold for an analyzer that supplies candidates to a context-sensitive procedure. Another concerns whether pretrained embeddings built with sub-word information yield better treatment of names. A further question is whether the approach provides useful readings for words beyond OMorFi’s coverage, where the original evaluation procedure cannot supply the reference. Each would require a different experiment, because each changes a different part of the claim that can be made from the results.
No later citing study is documented here that carries out those extensions or builds on the Finnish system. The threshold change and the use of sub-word embeddings are proposals in the paper. Its demonstrated result is that a learned analyzer can reproduce complete grammatical reading sets for some Finnish spellings withheld from supervised training, while recovering substantially less of the reference on that group than on the retained test corpus as a whole.
Cite
Cite as Miikka Silfverberg and Mans Hulden. 2018. Initial Experiments in Data-Driven Morphological Analysis for Finnish. Proceedings of the Fourth International Workshop on Computational Linguistics of Uralic Languages.
@inproceedings{silfverberg2018initial,
title = {{Initial Experiments in Data-Driven Morphological Analysis for Finnish}},
author = {Miikka Silfverberg and Mans Hulden},
booktitle = {Proceedings of the Fourth International Workshop on Computational Linguistics of Uralic Languages},
year = {2018},
doi = {10.18653/v1/w18-0209},
url = {https://doi.org/10.18653/v1/w18-0209}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/silfverberg-2018-initial-experiments-data-driven-morphological/