Elamur Research

Morphological Analysis for Unsegmented Languages using Recurrent Neural Network Language Model

Paper · 2015 · Hajime Morita, Daisuke Kawahara and Sadao Kurohashi

Summary

In Japanese, a reader can usually tell where one word ends and the next begins even though the sentence contains no spaces marking those boundaries. A computer has to infer them. A wrong boundary can turn a phrase about voting rights into a sequence about foreign affairs, carrots and a political regime. The individual words are recognizable, but they make little sense together. The authors ask whether a system for morphology can use the plausibility of a whole sequence to choose a better analysis. For Japanese, this means finding the words, identifying their dictionary forms and assigning their grammatical categories through part-of-speech tagging.

A language model can score how likely a proposed word is after the words that precede it. The difficulty is getting the training material. Large collections of Japanese text arrive without word boundaries, so an existing analyzer has to supply them. If it repeatedly makes the same mistake, a predictor trained on the resulting sequences may come to favor that mistake. The authors use a recurrent neural network that learns word embeddings, numerical representations that let evidence about different words contribute to a shared prediction. Their argument is that an odd sequence can receive a low score even if its exact wording appeared in the training material. Other examples can teach the predictor that words used in those ways rarely fit together.

The authors train the network on 10 million web sentences analyzed by JUMAN, using dictionary forms and leaving out grammatical tags. They then retrain it on the manually annotated portion reserved for training, which contains 45,000 sentences. A supervised analyzer supplies candidate words and grammatical analyses. During search, each candidate receives both a score from that analyzer and a score reflecting how well its word fits the preceding sequence.

On the combined news and web test sets, the retrained system reached a segmentation F-value of 98.84 and a joint segmentation and part-of-speech F-value of 98.30. The supervised analyzer on its own scored 98.46 and 97.85 on those measures. The retrained system also scored above JUMAN, MeCab, a system using a conventional trigram predictor, and the recurrent system trained only on automatic analyses. The paper reports statistically significant improvements over those alternatives. The comparisons show that automatically analyzed text furnished useful evidence for Japanese segmentation and that retraining on manually checked text improved the result further.

Deep dive: Morphological Analysis for Unsegmented Languages using Recurrent Neural Network Language Model

This paper shows how a recurrent network trained on automatically segmented text improves Japanese word boundaries and grammatical tags. · about 35 minutes to read

The problem and its context

One character string can support several readings

For the task the authors study, written Japanese starts as a continuous string of characters. Tokenization involves deciding which consecutive characters form each word. A Japanese morphological analyzer also has to decide what kind of word each segment is and how an inflected form relates to its dictionary entry. That dictionary form is the lemma. A single analysis thus gives a sequence of spans, along with grammatical and lexical information about what occupies each span. The divisions and labels are related decisions because moving a boundary can change the identity of the words on either side.

The phrase 外国人参政権 illustrates the problem. The intended analysis in the paper is 外国 / 人 / 参政 / 権. Together, the pieces express a foreigner’s right to vote. A different analysis, 外国 / 人参 / 政権, gives legitimate dictionary entries corresponding roughly to foreign, carrot and regime. The characters are in the same order in both readings. The second reading arises because the character that takes part in expressing a person in the intended analysis can also begin the word for carrot. Similarly, the characters around the final boundary can be grouped into a different political term. Looking up words establishes that the alternatives are possible. Choosing between them requires evidence about how they fit together.

The example matters even in a setting where Japanese word segmentation already had accuracy in the high 90s, as the authors describe it. A boundary mistake can alter the words that a subsequent application receives. If the input to machine translation contains a word for carrot where the intended phrase concerns a person, the translator has been given a different lexical problem. A question answering system can likewise receive the wrong units from which to interpret a request. The paper uses such downstream failures to explain why an analyzer with a high aggregate score may still make consequential mistakes. Its experiments evaluate the analysis itself.

The paper describes Chinese and Thai as other languages in which a processor must find word boundaries in continuous text. It notes that Chinese systems often combine segmentation with grammatical labeling. For Japanese, the joint task also includes lemmatization, the recovery of the dictionary form. The paper cites work on Thai morphological analysis in this context. Its proposed scoring idea concerns the plausibility of words in sequence, which makes the question relevant beyond Japanese even though the experiments concentrate on that language. A Conditional Random Field Framework for Thai Morphological Analysis

What dictionaries and labeled examples contribute

The authors describe JUMAN as a rule-based analyzer. It uses information about which words or inflected forms can connect and assigns scores to those connections. Such rules give the analyzer a way to rank paths through possible words. MeCab, by comparison, learns from sentences in which people have supplied the divisions and labels. Its learned preferences concern combinations of words, grammatical categories and inflection. The paper’s illustration points to a gap both approaches can leave. Several locally permissible words can make up an implausible reading. Applying Conditional Random Fields to Japanese Morphological Analysis

Hand-checked examples supply linguistic annotation, explicit judgments about the analysis to recover. Their value is that the learner can compare a proposed path with a reference path. A much larger collection of ordinary text offers more examples of words in use. Its value for the present purpose depends on obtaining word sequences from it first. These sources therefore supply different kinds of evidence. The annotated corpus states how particular sentences should be analyzed. The large corpus can show which lexical combinations commonly occur, subject to the analyzer that produces those combinations.

A dictionary also serves a different function from a predictor of word sequences. Its entries identify what a span could be and what properties go with that interpretation. A predictor gives some of those interpretations more support in a particular context. The voting-rights example contains competing spans that can be made from dictionary words. Adding a plausibility score changes how the analyzer weighs the paths through those entries. It leaves the task of proposing entries and grammatical analyses to the part of the system designed for that purpose.

Why automatic boundaries complicate learning

The paper’s central difficulty is circular. Given well-segmented text, one could estimate which word sequences are likely. Given a good estimate of those probabilities, one could favor likely sequences when segmenting fresh text. For the scale of corpus the authors want to use, the first step depends on automatic analysis. Any systematic mistake in that analysis may enter the evidence about what counts as a normal word sequence. When the resulting estimates are fed back into an analyzer, they can reinforce the original mistake.

The paper distinguishes a recurring string from a recurring pattern of word use. An analyzer may repeatedly meet the same written phrase and make the same cut through it. A predictor that counts particular word combinations will see repeated evidence for that cut. A learner whose representations are shared across contexts can also use what it observes about each of the proposed words elsewhere. The sequence involving a nation, a vegetable and politics is the authors’ intuition for why that wider evidence could help. Each word may occur in other contexts that provide little support for grouping those meanings together.

This argument rests on the quality and distribution of the automatic analyses. The authors reason that an analyzer with high segmentation accuracy should produce relatively few mistakes that jointly support a given implausible pattern across many contexts. The hypothesis concerns how mistakes are distributed through the corpus. It allows the same exact phrase to be analyzed incorrectly frequently enough to mislead a count-based predictor. Generalization offers a way for the evidence from other sentences to matter to the decision about that phrase.

How earlier work brought corpus evidence into segmentation

Earlier Chinese work discussed by the authors learned N-gram features from automatically segmented sentences. An n-gram is a consecutive group of units, here words. These features can provide evidence about which short sequences recur. The authors point out that frequency can also reflect a recurring boundary error. The earlier work grouped frequencies into high, middle and low categories. That choice supplies broad evidence about frequency, with limited ability to express smaller differences between possible sequences.

Another approach used a bigram, which concerns a pair of successive words, for Japanese microblogs. The paper describes its purpose as helping handle informal spellings alongside segmentation and tagging. That work put sequence information to use where written forms vary. Morita and colleagues are concerned with a different decision in this study. The surface characters can all be ordinary, and multiple readings can still compete because the same string admits different groupings into ordinary words.

Work on Chinese had also drawn sequence evidence from individual characters. Since characters are already available in the input, a character-based predictor avoids having to trust a preliminary set of word divisions for its training units. The authors describe the resulting context as more local than the context available from word-based prediction. A word-level predictor can directly express preferences about successive lexical units. It pays for that opportunity by having to learn from a corpus whose units have already been inferred. Deep Learning for Chinese Word Segmentation and POS Tagging

The paper also describes earlier Chinese systems that acquired word embeddings from a corpus and used them as inputs to neural segmentation or tagging systems. The role of the embeddings in the present approach is more specific. The authors learn them in the course of predicting words, then use the resulting sequence scores when ranking transitions during morphological analysis. The supervised analyzer continues to draw on its own word, tag, inflection and character features. The design question is how to combine these sources of evidence while the analyzer is still deciding which words it has encountered.

The method, step by step

From raw characters to competing analyses

The method has a training side and an analysis side. During training, JUMAN turns a large web collection into word sequences for learning recurrent predictions. A manually annotated corpus then serves two purposes. The authors use it to retrain the predictor and to teach a separate supervised analyzer how to score proposed morphological analyses. At analysis time, the supervised features and recurrent predictions contribute to a shared score. Search uses that score to compare different readings of the same input sentence.

The analyzer first looks up entries that can match pieces of the input string. A match carries more information than the characters themselves. It can associate the span with a lemma, an inflection and a grammatical tag. If two entries start at the same point but have different lengths, there is a boundary decision to make. Entries covering the same span can also contribute competing analyses when their labels differ. A sentence is analyzed by picking a sequence of compatible entries that covers the string from beginning to end.

The paper represents the alternatives as a word lattice. Think of the lattice as a map of the ways to move through the sentence. A candidate word covers a particular stretch, and an analysis continues from that stretch into one that starts where it ends. The branches can separate when entries compete and meet again at a later position. The lattice in the paper illustrates this arrangement. It gives the search a common set of candidates while allowing different paths to reach the same point in the input.

When the supervised and recurrent parts score a path, they ask different questions about it. The supervised part checks properties of the entries and nearby combinations, using weights learned from labeled examples. The recurrent part asks how plausible the next lemma is after the lemmas on the path so far. A path with a plausible pattern of local tags may receive weaker lexical support if the chosen words make an unusual succession. The combined score determines how much each kind of evidence contributes to the eventual choice.

Training and decoding the morphological analyzer

The steps in order.

Training and decoding the morphological analyzerStep 1: Segment web sentences with JUMAN1. Segment web sentences with JUMANStep 2: Train recurrent prediction on lemma sequences2. Train recurrent prediction on lemma sequencesStep 3: Retrain prediction on manually annotated sentences3. Retrain prediction on manually annotated sentencesStep 4: Learn supervised feature weights from annotated analyses4. Learn supervised feature weights from annotated analysesStep 5: Build a lattice of candidate words5. Build a lattice of candidate wordsStep 6: Extend paths using both scores6. Extend paths using both scoresStep 7: Keep promising paths and return the highest scorer7. Keep promising paths and return the highest scorer

Learning to predict the next lemma

The large training source is a web collection from which the authors take 10 million sentences. JUMAN supplies analyses for these sentences. The authors convert the analyses into sequences of lemmas and train the recurrent predictor on those sequences. The training input omits part-of-speech tags. This choice focuses the prediction task on which lexical items follow which contexts. A verb encountered in an inflected surface form can contribute evidence about the same dictionary form as another occurrence with a different inflection.

The predictor produces a distribution over possible next words. Its input includes the embedding of the preceding word and a representation of the context. An embedding is a vector whose values are learned through the prediction task. The vector lets the learner reuse aspects of what it has learned about different words in different contexts. The paper appeals to this shared representation to explain how a learner can consider regularities beyond the exact sequence of word identities that appeared in an automatically analyzed sentence.

Recurrence supplies a way to carry a history forward as the sequence grows. When the learner processes another word, the context representation changes with it. The representation available at a later position can therefore depend on earlier choices along the path. A trigram predictor uses a bounded sequence of preceding words to make its estimate. The recurrent predictor encodes prior context in a vector, so distinct earlier readings can lead to different predictions even after some recent words match.

The authors use RNNME, a recurrent architecture with direct connections from input to output. The direct component acts as a maximum entropy predictor and gives simple patterns a route to influence the output without requiring the recurrent part to spend as much capacity encoding them. The paper uses RNNLM as its short name for this implementation. That detail matters to the experimental interpretation because the recurrent system includes both the recurrent context and these direct connections. The paper evaluates the resulting predictor as a whole.

Training on JUMAN analyses supplies breadth but can leave errors in the learned preferences. The authors continue training on manually labeled material after the initial web training. They describe this retraining as a way to address mistakes involving sequences of function words, which contribute grammatical structure to a phrase. Those words can be involved in very short alternative cuts through the same characters. A manually supplied reading can give the predictor a reliable instance of which lexical units the characters actually express in context.

For the manually annotated data, the same training portion supplies the supervised examples and the sequences for retraining the recurrent predictor. The two learners extract different information from it. The supervised learner receives the gold divisions and the accompanying morphological analyses. The recurrent learner continues its word prediction task on lemma sequences. The manual data can thus influence the eventual decision through the supervised feature weights and through revision of the lexical preferences learned from the much larger automatic corpus.

Building the lattice and the supervised score

The lookup stage uses the basic JUMAN dictionary and another dictionary containing 0.8 million words. The additional entries come chiefly from listed items in Japanese Wikipedia articles and from article titles. The dictionaries give the analyzer candidate lemmas, parts of speech and inflection information. The character sequence to be analyzed is still the authority on where a candidate can be placed. The dictionary supplies interpretations of possible spans in that sequence.

Some words are absent from the dictionary. The paper calls them out-of-vocabulary words, abbreviated OOV. During lookup, the analyzer generates possible items by segmenting the input using character types. The paper names Kanji, Hiragana and Katakana in its explanation of this procedure. Script differences provide a basis for proposing candidates even when there is no matching entry in the available dictionaries. This makes candidate generation part of how the system handles unfamiliar words. A score can then decide how strongly to favor a proposed item over paths made from other candidates.

The authors teach the supervised system about these candidates by treating training words absent from the dictionary as OOV. The annotated corpus can therefore contribute examples in which an unfamiliar item belongs on the correct path. Its absence from the lexicon becomes a feature of the training situation. The candidate still needs to be available to the analyzer when it is selecting a path, and the evidence from the rest of the sequence still affects its score.

The base score for a complete tagged sequence is the following.

scoreᴮ(y) = Φ(y) · w⃗

The superscript B identifies the base analyzer, and y is a candidate sequence of words with their tags. Φ(y) is the feature vector computed from that candidate. w⃗ is the vector of learned feature weights. The dot denotes the dot product. It multiplies each feature value by its corresponding weight and adds the products. The result is a single score that can be compared with the scores of other tagged sequences for the sentence.

Some features describe a single item, such as its lemma, grammatical category or inflection. Others describe combinations across neighboring items. The paper uses unigram and bigram features built from these properties, adds lexical features such as character type, and includes trigram features. A unigram feature concerns an individual item, a bigram feature concerns a pair, and a trigram feature spans a succession of three. The information needed for these local features is one reason the base part can score a proposed extension using a short explicit word history. Joint Word Segmentation and POS Tagging Using a Single Perceptron

The weights are learned with exact soft confidence-weighted learning. This is the training procedure the authors choose for adjusting the feature weights from annotated data. The gold examples specify where the words are and which lemmas, inflections and tags go with them. The paper identifies the learning algorithm and the kinds of features it uses. Its main methodological change lies in the extra recurrent score that is combined with this supervised feature score.

The base score is a weighted sum, which makes it a ranking score. As the path changes, the feature vector can change in several ways at once. A moved boundary can result in a new lemma, a different grammatical tag and a different connection to the preceding word. These effects enter through their own features and weights. This is how the supervised part handles the dependencies among segmentation, lemmatization and tagging before recurrent evidence is added.

Scoring a continuation and combining the evidence

For a candidate word covered by the recurrent predictor, the authors use the logarithm of the probability of that word given its context. Here, the context is tied to the path that has been taken through the lattice. As the analyzer scores a longer reading, each successive decision can bring a new contribution. The relevant question at a branch is whether a candidate follows the words on that particular path. If the earlier boundaries change, the word history presented to the predictor can change as well.

The log probability is a score for a continuation. Higher probability yields a higher log score, so the predictor can favor one extension over another. Working with logs also lets the evidence from the succession of word predictions contribute additively along a path. The paper describes the recurrent score in terms of these conditional predictions and uses the same sequence argument for the recurrent and supervised scores when it writes the interpolation. The tagged path determines the lemmas that enter the recurrent calculation.

The authors assign the following score for an OOV word in the language-prediction component.

−Cₚ − Lₚ · length(n)

Cₚ is the constant penalty assigned to an OOV item. Lₚ is the factor for the penalty per character. n is the next candidate word, and length(n) gives its length in characters. The dot denotes multiplication. The minus signs subtract both the fixed penalty and the length-dependent penalty. A longer unknown candidate receives a larger penalty when Lₚ is positive. The authors motivate this by the risk that a long unknown candidate can absorb characters whose proper analysis includes internal boundaries.

Candidate generation and this scoring rule address separate parts of the unknown-word problem. The generation step puts an otherwise unavailable analysis into the lattice. The penalty controls how readily the language-prediction contribution rewards a path that uses it. The constant is fixed in the experiments, while the length factor is chosen on development data. The value of a dictionary entry, a generated candidate and the chosen boundaries can still be affected by the other parts of the overall score.

The authors interpolate the two contributions as follows.

scoreᴵ(y) = (1 − α) scoreᴮ(y) + α scoreᴿ(y)

The superscript I identifies the integrated score, B the supervised base score, and R the recurrent contribution. y is the tagged path being evaluated. α is the interpolation parameter chosen on development data. The expression in parentheses is one minus that parameter and gives the coefficient on the base score. Juxtaposition denotes multiplication by the corresponding score, and the plus sign adds the weighted contributions. The result is again a ranking score for choosing an analysis. The component weights specify the arithmetic of the combination, while the magnitudes of the component scores also influence the ranking.

The recurrent predictor sees lemmas without grammatical tags. A boundary change that alters the lemma history can therefore alter the recurrent score directly. Two analyses with the same lemma sequence supply the same lexical evidence to that component. The base score can still distinguish them through features that depend on their tags and inflections. A change in the preferred segmentation can also change which tags become available in the first place, allowing the recurrent component to affect joint segmentation and tagging indirectly.

To decode a sentence is to pick an analysis from its possible paths. In the recurrent system, two partial paths at the same point in the lattice can carry different context vectors. Even if their recent words match, their earlier differences can affect predictions farther along. A search that carried forward every such history could face a rapidly growing number of paths. The recurrent component therefore changes the demands of decoding as well as the evidence used for ranking.

The authors use beam search. A beam keeps a limited collection of promising partial analyses and discards candidates outside that collection. In this method, each lattice node retains candidates up to the beam width. A candidate carries its context vector and two words of explicit history. The vector is used to carry recurrent evidence forward. The short history supports the local scoring features needed when another word is appended. These pieces of state travel with the candidate that produced them.

The search can compare paths as they reach a node before the remainder of the sentence has been analyzed. Future input may give a stronger continuation to a path that presently looks weaker. If that path has already fallen outside the beam, the search has lost the option of choosing it. The authors expect a sufficiently wide beam to retain viable ambiguities because they consider multiple semantically plausible readings of a sentence uncommon. In their evaluations they choose the width through preliminary experiments.

For the base analyzer, the authors say exact decoding is possible with second-order Viterbi search. In that setting, the features look back far enough to score trigrams, and the state can retain the short history required for future scoring. The paper makes the same observation for the nonrecurrent neural predictors it discusses. With recurrence, the context vector retains information from a potentially longer history. The beam keeps the scoring problem practical by limiting the number of such histories considered at any node.

Experiments and results

The manually annotated news and web data

The authors evaluate on the Kyoto University Text Corpus and the Kyoto University Web Document Leads Corpus. They report results for the former as news and for the latter as web. Both corpora supply manual analyses. These annotations support the supervised training and provide references against which the test predictions can be compared. The web test corpus has a separate role from the much larger web collection analyzed by JUMAN for initial recurrent training.

From each manually annotated corpus, the authors randomly select 2,000 sentences for testing and 500 for development. They use the remaining material for training, giving a total of 45,000 manually annotated training sentences. The supervised analyzer learns its feature weights from that training material, and the recurrent predictor uses it for retraining after the large web run. The development portions are used to select settings. The test portions supply the results reported for news, web and the two test portions taken together.

This design lets the authors compare the systems on texts with different sources while using the same evaluation criteria. The news and web results show whether the ordering on the merged set also holds in each part. The merged evaluation has its own F-values, computed on the combined corpus. It gives a common overall comparison while the separate results show where a favorable aggregate can conceal weaker performance for a particular version.

What the authors compare

JUMAN and MeCab are external analyzer baselines. JUMAN also plays an earlier role in the training procedure, since its automatic output supplies the word sequences for initial recurrent learning. Its test scores indicate how the analyzer responsible for producing those sequences performs on the evaluation material. MeCab supplies a supervised point of comparison with an established Japanese analyzer. The paper’s own base analyzer is the most direct baseline for asking what changes when an additional sequence score is brought into the same general decoding design.

The conventional language-prediction baseline is labeled Base + SRILM. It uses a trigram predictor with Kneser-Ney smoothing, built with the SRILM toolkit. Smoothing adjusts probability estimates so that the predictor can handle sequences that have little or no direct evidence in the training corpus. The authors build this predictor from the same automatically segmented corpus used for recurrent training. It receives an interpolation weight and an OOV length penalty, so its influence on the analysis can be tuned on development data.

Base + RNNLM uses the recurrent predictor learned from the automatically analyzed sentences. Base + RNNLM retrain adds the stage of continued training on the annotated corpus. These variants support comparisons with the supervised base and with the conventional corpus-trained predictor. They also let the authors examine the final retraining stage within the recurrent approach. Each test row reports how those different sources of sequence evidence work when integrated into morphological analysis.

The beam width is 5, selected in preliminary experiments. The authors set the constant OOV penalty to 5, the default in the recurrent implementation they use. They use grid search on development data to choose the interpolation parameter and the length penalty, along with parameters of the word predictors. Grid search evaluates combinations of candidate settings. The final quantities determine how strongly each predictor contributes to the path score and how much length matters when it scores a proposed unknown word.

For Base + RNNLM retrain, the selected interpolation parameter is 0.3 and the OOV length factor is 1.5. Base + RNNLM uses 0.1 and 2.0 for those settings, respectively. Base + SRILM uses 0.3 and 0.5. These are settings for the evaluated systems, chosen using development material. In particular, the two recurrent versions differ in their training history and in the settings with which their scores enter decoding.

What counts as a correct answer

The authors report the F-value for segmentation and another F-value for joint segmentation and part-of-speech tagging. An F-value combines precision, the share of predicted items that agree with the reference, and recall, the share of reference items that the system recovers. For word segmentation, a predicted word has to occupy the correct span. If a system splits a reference word or merges neighboring words, the resulting spans affect the comparison with the reference.

In the joint evaluation, a correct span also needs the correct part-of-speech tag. The measure therefore registers both a boundary correction and the system’s ability to classify the word it has recognized. Conversely, a good choice of tag for a different span cannot give a correct joint item. The analyzer produces lemmas and inflection information as part of its output. The reported test measures concern word spans and span-plus-tag results.

The paper uses a bootstrap significance test over sentences. For each resample, the authors draw as many sentences from the original test set as the set contains, with replacement. That means a sentence can appear multiple times in a resample while another can be left out. The systems are scored on the same resampled material, and the authors compare their F-values. This procedure examines how the observed score differences vary with the composition of the evaluation sample. Interpreting BLEU/NIST Scores

The authors use 2,000 resampled sets and include the original test set in the calculation. They derive a 95% confidence interval for the difference in F-value and treat the comparison as significant when that interval excludes zero. In the results table, they mark the retrained recurrent system as significantly improved over every other system on the reported test measures. The test concerns variation under sentence resampling. The F-values show the size and direction of the scores obtained on the original test material.

The combined results

On the pooled news and web test data, Base + RNNLM retrain has the highest segmentation F-value, 98.84. MeCab scores 98.74, while the recurrent version trained only on automatic analyses scores 98.71. The base analyzer is at 98.46. Adding the conventional trigram raises that baseline to 98.62, and JUMAN scores 98.64. This ordering shows both that the automatically analyzed corpus can supply useful information and that how the system learns from it affects the resulting segmentation.

Word segmentation F-value on the combined news and web test sets

The retrained recurrent system leads the combined segmentation evaluation.

Word segmentation F-value on the combined news and web test setsJUMAN: 98.64JUMAN98.64MeCab: 98.74MeCab98.74Base analyzer: 98.46Base analyzer98.46Base + SRILM: 98.62Base + SRILM98.62Base + RNNLM: 98.71Base + RNNLM98.71Base + RNNLM retrain (this paper): 98.84Base + RNNLM retrain (this paper)98.84
The numbers
System or settingF-value
JUMAN98.64
MeCab98.74
Base analyzer98.46
Base + SRILM98.62
Base + RNNLM98.71
Base + RNNLM retrain (this paper)98.84

The joint evaluation has a similar leading result with some differences lower in the ranking. The retrained recurrent system scores 98.30, compared with 98.16 for MeCab. JUMAN and the recurrent variant without retraining both score 98.14. The base scores 97.85, and adding SRILM yields 97.98. The recurrent system’s best result thus carries over to a measure that also requires the grammatical label. The pooled scores for JUMAN and the recurrent variant before retraining also show why segmentation and joint evaluation deserve separate attention.

Joint segmentation and part-of-speech F-value on the combined news and web test sets

The retrained recurrent system also leads when words need both correct boundaries and correct tags.

Joint segmentation and part-of-speech F-value on the combined news and web test setsJUMAN: 98.14JUMAN98.14MeCab: 98.16MeCab98.16Base analyzer: 97.85Base analyzer97.85Base + SRILM: 97.98Base + SRILM97.98Base + RNNLM: 98.14Base + RNNLM98.14Base + RNNLM retrain (this paper): 98.30Base + RNNLM retrain (this paper)98.30
The numbers
System or settingF-value
JUMAN98.14
MeCab98.16
Base analyzer97.85
Base + SRILM97.98
Base + RNNLM98.14
Base + RNNLM retrain (this paper)98.30

The authors emphasize segmentation in explaining these results. The predictor was trained to judge sequences of lemmas without observing tags, so its direct contribution is to the plausibility of a reading as a word sequence. This can help the joint measure when the word favored by the better segmentation also receives the reference tag. The reported scores establish that the full analyzer improved on both measures. The joint measure combines boundary and labeling outcomes, so it cannot assign the size of the gain to each type of decision.

Looking at news and web separately

For news segmentation, the retrained system scores 99.15. MeCab gives 99.07 and the recurrent system before retraining gives 99.06. The base and Base + SRILM both score 98.94, while JUMAN scores 98.92. The conventional predictor’s equality with the base on this test measure is a useful qualification of its pooled improvement. The apparent benefit of adding short word-sequence statistics depends on which test material is being scored.

On the joint news measure, the retrained version scores 98.70. The recurrent version without retraining reaches 98.59, and MeCab reaches 98.58. JUMAN scores 98.47, the base 98.46, and Base + SRILM 98.40. On this measure, adding the conventional score moves the base downward. The recurrent system learned only from automatically analyzed text moves it upward. These comparisons involve the same broad analysis task and illustrate that an improvement from one way of using automatic text does not imply an improvement from another.

On web segmentation, the retrained system scores 98.37. MeCab and JUMAN score 98.22 and 98.20, respectively. Base + RNNLM reaches 98.17, Base + SRILM reaches 98.13, and the base reaches 97.71. The recurrent predictor trained only on automatic analyses improves on the base but falls short of the external analyzers on this measure. Retraining is the stage that yields the leading score for the recurrent approach on the web test.

On the joint web measure, the retrained system reaches 97.68, and JUMAN is the closest alternative at 97.64. MeCab scores 97.51. The recurrent version without retraining scores 97.45, compared with 97.33 for Base + SRILM and 96.90 for the base. JUMAN is the stronger of the external baselines on this particular measure, although MeCab has the higher web segmentation F-value. This change in order shows that boundaries and tags give different views of comparative performance even on the same test material.

Joint segmentation and part-of-speech F-value on the web test set

The retrained recurrent system finishes ahead of JUMAN on the joint web evaluation.

Joint segmentation and part-of-speech F-value on the web test setJUMAN: 97.64JUMAN97.64MeCab: 97.51MeCab97.51Base analyzer: 96.90Base analyzer96.90Base + SRILM: 97.33Base + SRILM97.33Base + RNNLM: 97.45Base + RNNLM97.45Base + RNNLM retrain (this paper): 97.68Base + RNNLM retrain (this paper)97.68
The numbers
System or settingF-value
JUMAN97.64
MeCab97.51
Base analyzer96.90
Base + SRILM97.33
Base + RNNLM97.45
Base + RNNLM retrain (this paper)97.68

The retrained version leads on both measures in both test sources, as it does on their combination. The unretrained recurrent variant consistently improves on the base within the paper’s results, but its position relative to JUMAN and MeCab depends on the evaluation. In news it comes close to MeCab in segmentation and scores just above it on the joint measure. In web it trails both external analyzers on each measure. The final system’s case rests on the recurrent contribution together with its adjustment using annotated data.

What the ablations show

Adding conventional sequence evidence

The comparisons add different kinds of word-sequence prediction to the same base analyzer. The version using SRILM is the test of whether a smoothed conventional trigram can help through score interpolation. It improves on the base for the combined test and on both web measures. News segmentation is unchanged, and the joint news score declines. The automatic corpus consequently provides some helpful evidence even in the conventional form, with a benefit that varies across the evaluations.

The authors connect the conventional predictor’s behavior to the risk of learning automatically introduced word boundaries. A trigram depends on counts and estimates for short word sequences. Smoothing broadens how it assigns probability when the exact sequence has sparse evidence, but an analysis that occurs repeatedly in the training output can still have substantial support. A recurrent predictor has learned vectors and context representations that allow it to use evidence from other lexical contexts. The experimental question is whether that broader evidence improves decisions when both predictors start from the corpus segmented by JUMAN.

The comparison controls the source of those automatic analyses. It also uses the supervised base in both configurations. It changes the kind of predictor, along with settings selected separately for using it in the analyzer. In every reported test comparison, Base + RNNLM scores above Base + SRILM. This part of the experiment places the recurrent advantage before the manual retraining stage. A difference is already visible when both predictors draw on the automatic corpus for initial learning.

That result concerns the full recurrent predictor and its integration. The recurrent network has learned embeddings, recurrent context and direct input-to-output connections. The paper gives no version where just one of those pieces is removed and the remaining pieces are evaluated under otherwise matching conditions. The contrast supports the use of the recurrent approach in this configuration. The authors’ account of semantic generalization explains why they expect it to work, while the comparison leaves the contribution of each architectural ingredient open.

Continuing training on checked analyses

The contrast between the two recurrent systems examines the value of the second training stage. The version without retraining already uses embeddings and recurrent history, and it already improves on the base. Giving the predictor additional training on the manually annotated portion yields the strongest score in every test row. The effect extends from recognition of word spans to the joint decision about spans and tags. Since the annotations supply reliable analyses, the paper interprets this stage as a way to revise preferences learned from noisy automatic text.

The systems are compared with their own development-selected settings. The interpolation weight rises from 0.1 for Base + RNNLM to 0.3 for Base + RNNLM retrain. The corresponding OOV length factors are 2.0 and 1.5. Thus the retrained predictor also enters analysis with a different weight and different treatment of longer unknown words. The comparison answers which tuned configuration performs better. It leaves open how much of the final difference would remain if decoding used the same settings for both.

The reported comparisons also leave the value of the training order partly open. The automatic-only recurrent predictor shows that the large corpus contributes useful evidence. The retrained predictor shows the performance of using both sources in succession. The paper gives no recurrent variant trained solely on the manually labeled portion. Without that result, the contribution of the initial automatic run to a predictor already trained on the gold corpus cannot be measured on its own. The strength of the combined procedure is directly observed.

The authors single out function-word sequences as a reason to retrain. That motivation is plausible because nearby short words can switch identity when the boundary moves slightly. The test table reports performance over all the evaluated word spans and tags. It contains no breakdown by function-word status. As a consequence, the results show an overall benefit for the retrained system and leave the fraction attributable to revised function-word preferences unmeasured.

What the examples reveal about the errors

The authors return to 外国人参政権 in the discussion of their results. Base + SRILM chooses 外国 / 人参 / 政権, the same reading JUMAN produces. The authors attribute the trigram system’s behavior to the automatically supplied analyses used in training. The example shows concretely how a system can score a path built from familiar words, yet recover the wrong words from the input. The full recurrent system can recover the intended 外国 / 人 / 参政 / 権 reading when a suitable context is available.

The role of context is important because the paper gives a conditional account of the correction. A segment receives a recurrent score in relation to its history. The examples offer a qualitative demonstration of what can change when the context provides support. The paper does not give the language score of each path, the timing of beam pruning for the alternatives, or the frequency of the competing readings in the training corpus. The example illustrates the interpretation of the aggregate result without measuring how often this specific failure pattern occurs.

The other example concerns a phrase meaning roughly “in terms of health and so on.” The intended analysis begins 健康 / など / の / 点 / で. The base analyzer, JUMAN and Base + SRILM instead produce 健康な / どの / 点 / で. The alternative consumes the initial character of など as part of 健康な and combines the remaining character with の. The latter combination yields a different word, どの. A small change in cutting the string thus changes the grammatical roles available for interpreting the whole phrase.

The authors consider that alternative grammatically possible but difficult to interpret in its setting. The full recurrent system recovers the intended analysis. Compared with the voting-rights example, the problem is less conspicuous in the isolated meanings of the candidate words. The trouble appears in how the phrase reads as a sequence. This illustrates why the authors look beyond grammatical compatibility when ranking candidates and why the analysis of ordinary function words can matter to the interpretation of an entire passage.

The example does not come with a matched prediction from the recurrent system before retraining. It therefore demonstrates a correction by the final system while leaving the specific training stage responsible for that correction unresolved. The same distinction applies to the first example. Together, the examples explain the kinds of alternatives that the sequence score is meant to influence. The test-set comparisons establish the broader performance pattern across systems and corpora.

What boundary and tag scores can separate

The joint measure changes whenever a correct span with the correct tag is gained or lost. A recurrent score can improve the joint measure by moving the decoder to a better boundary, by favoring a path that indirectly yields a better tag, or by changing both. Because the language predictor reads lemmas, it has no independent tagging objective in these experiments. Its role is more directly visible in segmentation, where the evaluation asks whether the intended lexical units have been found.

The comparison between segmentation and joint evaluation also shows the value of keeping the measures distinct. In web, MeCab has the higher segmentation score of the two established analyzers, while JUMAN has the higher joint score. On the combined data, the unretrained recurrent version scores above JUMAN on segmentation and ties it on joint F-value. These results identify differences in the behavior of the completed analyzers. A tagging experiment with reference word boundaries would be needed to inspect the tagging decisions in isolation.

Limitations

Limits identified by the authors

The authors begin with the errors in the automatically analyzed training text and continue to treat them as a property of the recurrent training task. The predictor can still be affected by incorrect boundaries. Its learned representations give it access to wider regularities, and retraining gives it cleaner observations. The method therefore reduces the practical effect of noisy training in the reported experiment while continuing to depend on a large collection segmented by an earlier analyzer.

The paper explicitly discusses the decoding cost of recurrence. Different histories can leave different context vectors, making it expensive to explore every plausible path through the lattice. Beam search restricts the histories under consideration, and its success depends on retaining the paths that later evidence would favor. The authors motivate their choice by the expected scarcity of multiple plausible analyses. Their reported setting is the outcome of preliminary experiments. The paper gives no timing measurements, comparison across beam widths or estimate of how often the beam loses a path that would score highest.

The authors describe a unified learning framework as future work. Their evaluated system trains the base and recurrent components separately and combines their scores during analysis. A unified approach using features derived from recurrent prediction is a further design they propose. Applying the approach to Chinese and Thai is also future work in the paper. The experiments establish results on the two Japanese corpora, where the dictionaries, morphological features and unknown-word handling were set up for Japanese.

Limits of the experimental evidence

The training data and supplied lexicons matter to the results. The recurrent predictor receives the output of JUMAN, and the lattice uses the JUMAN dictionary with a large set of additional entries derived chiefly from Wikipedia. The evaluation compares completed systems under these conditions. It gives no controlled comparison across automatic analyzers or dictionary sizes. As a result, the degree to which another source of automatic analyses or a smaller vocabulary would change the final benefit remains open.

Candidate coverage is another constraint visible in the design. The integrated score ranks paths in the lattice built during lookup, including candidates generated from character types. If an intended word or analysis is missing from that lattice, a better sequence score cannot select it. The paper evaluates output F-values and gives examples in which better choices are available. It provides no separate measurement of how often the reference path is present or how accurately the system scores words generated outside the dictionary.

The architecture comparison also has a limited resolution. The recurrent system differs from the conventional trigram in how it represents words, how it uses history and how it assigns probabilities through the direct component. It also has separately selected decoding settings. Higher F-values support the resulting system. Establishing how much the gain specifically depends on semantic similarity, accumulated history or another ingredient would require comparisons that hold the other choices fixed.

The examples give the paper’s semantic interpretation a concrete basis, although they do not make semantic plausibility an independently measured quantity. Neither the probability of the competing paths nor human judgments of their relative plausibility are reported as experimental targets. The study measures agreement with annotated segmentations and tags. The path corrections show that the results are consistent with the authors’ interpretation. They leave open whether some of the improvement comes from recurring lexical or grammatical patterns that the recurrent predictor represents more effectively for other reasons.

Retraining poses a related attribution question. It revises the recurrent predictor and is accompanied by changes in its decoding settings. The experiments demonstrate the improvement available from the whole tuned procedure. A comparison using the same weight and unknown-word penalty before and after retraining would answer a narrower question about the revised predictor at a fixed setting. A separate analysis of function words would address the specific training motivation. The paper reports neither comparison.

The reported significance refers to sentence-resampled F-values for the evaluated systems. The paper supplies the decision rule and marks the significant improvements but does not give the individual confidence intervals. A reader can inspect the observed scores and the reported significance judgments. The report gives less information about the range of plausible score differences under that procedure, and it does not describe variation across independent training runs. News and web provide distinct test material within the Japanese evaluation, while transfer across languages remains untested.

Finally, the paper motivates the task with problems in downstream applications, but the experiment stops at morphological analysis. It provides no translation or question-answering evaluation that would show how many important downstream errors the revised boundaries prevent. It also evaluates tagging jointly with segmentation and reports no separate scores for lemma or inflection accuracy. The strongest direct conclusion is that the retrained recurrent system recovers annotated Japanese word spans and span-plus-tag items more successfully under the tested conditions.

What came after

Japanese understanding as a broader evaluation target

JGLUE, from 2022, cites the paper in work on evaluating general Japanese language understanding. Its scope, as named in the title, is broader than the span and tag decisions studied by Morita and colleagues. The connection is to a distinction already present in the earlier paper’s motivation. A system can be evaluated on the lexical analysis it produces, and it can be evaluated on what it understands from the Japanese input. The earlier paper treats the former as consequential for the latter and measures the former directly. JGLUE: Japanese General Language Understanding Evaluation

The citation establishes a link between the papers. The nature of that link at the implementation level remains unspecified. In particular, the citation alone establishes neither that JGLUE used the recurrent analyzer nor that it compared different segmentations. What can be traced is a change in the stated evaluation target, from the quality of an analysis of the input string to Japanese understanding more generally. A gain on the earlier F-values would need its own downstream experiment before it could serve as evidence of a gain on the later target.

Composition, entailment and similarity

Also in 2022, Yanaka’s work cites the paper in a study of compositional evaluation for Japanese textual entailment and similarity. Entailment asks whether one statement supports another. Semantic similarity concerns how close expressions are in meaning. The compositional focus names a different level of analysis from deciding where words begin and end. Once lexical items have been identified, a further question is how their contributions combine in interpreting the text. Compositional Evaluation on Japanese Textual Entailment and Similarity

The earlier examples explain why word analysis can matter at that level. A sequence about health receives a different reading when its short grammatical words are regrouped. A phrase about voting rights contains different concepts when it is cut into words that include a carrot and a regime. These examples connect the problems conceptually. The citation does not specify whether the later study used the analyzer, adopted its scoring method or examined segmentation as a variable. Those are distinct possibilities whose answers cannot be inferred from the stated topic of the later work.

Both citations place Japanese morphological analysis alongside evaluations concerned with meaning beyond individual spans. The method’s demonstrated contribution remains at the point where a system turns a continuous string into a lexical and grammatical analysis. The later works name evaluation targets at which the consequences of that analysis could be studied. Whether the particular improvements in the paper affect those targets remains an empirical question.

Cite

Cite as Hajime Morita, Daisuke Kawahara and Sadao Kurohashi. 2015. Morphological Analysis for Unsegmented Languages using Recurrent Neural Network Language Model. Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing.

The paper itself, not this page. BibTeX from the library's record of the work. DOI 10.18653/v1/d15-1276

@inproceedings{morita2015morphological,
  title = {{Morphological Analysis for Unsegmented Languages using Recurrent Neural Network Language Model}},
  author = {Hajime Morita, Daisuke Kawahara and Sadao Kurohashi},
  booktitle = {Proceedings of the 2015 Conference on Empirical Methods in Natural Language Processing},
  year = {2015},
  doi = {10.18653/v1/d15-1276},
  url = {https://doi.org/10.18653/v1/d15-1276}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/morita-2015-morphological-analysis-unsegmented-languages-recurrent/