Elamur Research

Training Dependency Parsers from Partially Annotated Corpora

Paper · 2011 · Daniel Flannery, Yusuke Miayo, Graham Neubig et al.

Summary

A sentence can teach a parser something about grammar even when only one of its relationships has been annotated. In dependency parsing, the parser assigns each word a head, the word that governs it in the sentence. Preparing training data typically means recording those links throughout each sentence. That work becomes especially costly when a parser needs to handle a new kind of text. Flannery and colleagues ask whether a parser can learn from individual links and use them to improve on a new domain. Their approach makes it possible to use human annotations of selected words as well as links recovered from an existing corpus with a different annotation standard.

The authors separate learning to score individual links from assembling a tree for a sentence. During training, a word with a known head supplies a complete example. The classifier compares that head with other candidates for the same word. The rest of the sentence still supplies context, including words and parts of speech, even when its other head assignments are unknown. At prediction time, the parser uses the learned scores to seek a dependency tree. In the Japanese experiments, the authors restrict heads to the right of their dependents and designate the final word as the sentence head. That restriction makes tree assembly particularly simple.

On a test set of Japanese dictionary examples, the pointwise parser reached 96.83% accuracy after training on fully annotated sentences. A conventional maximum spanning tree parser reached 96.67%, and MaltParser reached 96.63%. The differences in accuracy were statistically inconclusive. The pointwise parser trained and parsed substantially faster than the conventional tree parser in this setup. MaltParser took less time on both measures and was more accurate when the training set was one-third or less of the full set.

The adaptation experiment started with the same dictionary training data and added selected word dependencies recovered from phrase annotations in newspaper articles. Rules supplied a word link wherever the phrase structure gave the authors enough evidence to propose one. The parser reached 88.44% accuracy on a separate business-newspaper test set when the rules were combined, a gain the paper reports as 2.75% over training on the dictionary data alone. The result shows that an incomplete conversion can provide useful training evidence. The gain belongs to this Japanese newspaper experiment, where the existing phrase annotations supplied the additional supervision.

Deep dive: Training Dependency Parsers from Partially Annotated Corpora

Training Dependency Parsers from Partially Annotated Corpora shows how selected word links can train a Japanese parser and improve it on newspaper text. · about 31 minutes to read

The problem and its context

What complete annotation costs

A dependency tree records how the words of a sentence fit together. For each word, the annotation identifies the position of its head. One word serves as the head of the sentence. The identity of a head answers a question that matters whenever a sentence allows several interpretations. A particle might appear near one verb while serving a role associated with a later verb. A parser has to identify which attachment the sentence supports. The authors point to machine translation and information extraction as applications that can use this kind of analysis.

A corpus with complete dependency annotation supplies the head decisions throughout its sentences. Producing one takes human effort, and the amount of suitable training data becomes a bottleneck for languages with fewer available resources. The same problem can arise within a language that already has a substantial annotated corpus. A parser trained on one source may encounter different forms, sentence patterns, and attachment decisions when it is used on another. The paper draws on earlier work documenting the effect of changing corpora on parsing performance. Collecting annotations from the intended domain offers a way to address the gap, and it brings the cost of annotation back into the project. Corpus Variation and Parser Performance

The authors approach the cost problem at the level of the individual relation. Imagine that an annotator can resolve a difficult attachment in a sentence without recording every straightforward attachment around it. That sentence could still be informative. Under a training procedure that needs the complete correct tree, there is a practical obstacle to incorporating the difficult decision by itself. A procedure that learns from a word's recorded head can treat the sentence as a source of that decision and preserve its remaining text as context. The unit of linguistic annotation can then be smaller than the unit the parser eventually analyzes.

The paper treats the number of annotations as a rough proxy for cost. The underlying question is which links warrant the effort of obtaining them. If some decisions are especially useful for the target domain, a partial annotation strategy lets an annotator concentrate on those decisions. The paper's experiment takes a related route by obtaining partial annotations automatically from a resource that already exists. This creates a concrete test of whether selected links can help, without making the result depend on an estimate of how quickly people could label the same links by hand.

How previous work used incomplete evidence

The paper describes several earlier approaches to adapting parsers. One family makes use of target text without dependency annotations. In self-training, an existing parser predicts analyses for such text and its predictions feed a further round of training. The paper also cites other forms of semisupervised learning, including work on structural correspondence across domains. Roark and Bacchiani investigated supervised adaptation as well, using a target-domain corpus that was already available. Those approaches establish the context for a different source of evidence in the present paper. Some head decisions are available for the target text, and many others are missing. Reranking and Self-Training for Parser Adaptation Domain Adaptation with Structural Correspondence Learning

Research on efficient annotation had also considered which examples deserve attention. As the paper describes it, much of that work concentrated on selecting sentences to annotate. Sassano and Kurohashi investigated smaller units in Japanese and showed how partially annotated data could be used with deterministic dependency parsing. This is an important precursor to the present question. The idea of spending annotation effort below the sentence level was already in use. Flannery and colleagues were interested in a way to make those incomplete examples natural inputs to learning in a parser built around edge scores and maximum spanning trees.

The conventional spanning-tree approach scores a tree by adding its edge scores. During training, the parser described by McDonald and colleagues uses a structured update, meaning that it adjusts scores in response to predictions for entire trees. A complete reference tree supplies the target of that update. Spreyer and colleagues had already shown that the training constraints could be altered for incomplete sentences. If a possible tree respects the annotated edges, its choices for the unannotated words need not count against it. That approach retains tree-level learning and changes the criteria by which trees are judged during training. Non-Projective Dependency Parsing using Spanning Tree Algorithms

There was also prior work on learning structured predictions through local classifiers. Wang and colleagues used predicted surrounding edges as inputs when scoring an attachment. A local decision in that setting can draw on structural predictions made elsewhere in the sentence. Flannery and colleagues choose features that can be obtained from the sentence and the candidate head directly. They were encouraged by work on part-of-speech tagging that obtained competitive results with pointwise prediction, where the decision for a position need not consult predictions for other positions. The paper asks whether that simplification carries over to learning the heads of words. Pointwise Prediction for Robust, Adaptable Japanese Morphological Analysis

Why the unit of annotation matters in Japanese

Traditional Japanese dependency corpora often analyze bunsetsu, phrase units that can contain several words. An annotated dependency between two phrases identifies a relationship at that level. It usually leaves open which word in one phrase depends on which word in the other, and how the individual words attach within either phrase. For applications that need word-level relations, existing phrase analyses therefore supply some evidence but leave some of the required decisions unresolved.

A full conversion would have to assign heads throughout every sentence. The authors make partial conversion a legitimate outcome. If the phrase analysis and the forms of the words support a particular link, they record it. If the evidence leaves several plausible possibilities, the word can remain without a training annotation. The parser's learning procedure has the same requirements for an example whether that example comes from a fully annotated sentence or from such a conversion. It needs the recorded head of the word being used for supervision and the surrounding input from which to compute features.

That distinction leads to two empirical questions. The first concerns the cost of the simpler learning procedure in accuracy when full annotation is available. The second concerns what the procedure gains from additional examples that a phrase-to-word converter can supply with incomplete coverage. The experiments keep those questions separate by using a dictionary test set for the full-annotation comparison and a newspaper test set for adaptation.

The method, step by step

From the sentence to a decision about one word

The input is an ordered sequence of words with part-of-speech tags. A tag identifies the grammatical category assigned to a word by a tagger. A training sentence also has a set of recorded heads, which may cover every word or just a few. The same words and tags are available as input in either case. For each recorded head, the learner asks how the correct candidate differs from other possible heads of that particular dependent.

The Japanese example in the paper centers on the particle は. It can plausibly attach to つなが, glossed as “leads,” or to the later 歓迎, glossed as “welcomes.” The annotator records the link to 歓迎. The sentence then supplies an example of what should be selected for は. Its other dependencies can remain unspecified. Words around the particle and both candidate verbs can still contribute to the decision, because their forms and tags can be read without knowing their own heads.

The authors call this estimation pointwise. A point is the decision about the head of a particular word in its sentence. The candidates at that point compete with each other. Once the head is known for that word, training can use the competition without establishing the correct answers at the other positions. During parsing, the learned scores can be applied to every position for which a head has to be found.

Learning from selected dependencies and parsing new sentences

The steps in order.

Learning from selected dependencies and parsing new sentencesStep 1: Segment sentences and assign part-of-speech tags1. Segment sentences and assign part-of-speech tagsStep 2: Supply known heads for selected words2. Supply known heads for selected wordsStep 3: Extract features for each candidate head3. Extract features for each candidate headStep 4: Train on the recorded head choices4. Train on the recorded head choicesStep 5: Score candidate links in a new sentence5. Score candidate links in a new sentenceStep 6: Select links that form a dependency tree6. Select links that form a dependency tree

The tree score and the candidate score

The authors start with an edge-factored scoring scheme. A dependency link is an edge between a dependent and its head, and each edge has a score. The score of a complete tree is the sum of those individual scores. Parsing means finding the valid tree with the greatest sum.

d̂ = argmax_{d} Σ_{e∈d} σ(e)

Here d denotes a candidate dependency tree, and d̂ denotes the tree chosen by the parser. The argmax operation returns a candidate d that attains the largest value of the expression to its right. The summation sign Σ adds the terms for all edges e belonging to d, with ∈ indicating membership. The function σ returns the score of the edge supplied to it. The set over which the maximum is taken consists of the trees allowed for the input sentence.

Each tree can be written as a sequence of head indices. The symbol wᵢ denotes the word at position i, and dᵢ is the corresponding head index. If that index is j, the head of wᵢ is the word wⱼ. The special index 0 identifies the word that serves as the head of the sentence. The authors present the learning problem for unlabeled dependencies. The output records the head position, with no additional category assigned to the link.

At the scoring stage the input x is the tuple ⟨w, t, i⟩. Here w is the sentence's word sequence, t is its sequence of tags, and i identifies the dependent under consideration. The classifier associates the pair consisting of this input and a candidate index with a feature vector. It uses a log-linear probability, in which a weighted feature score is exponentiated and then normalized across the candidate heads. The paper cites the maximum entropy approach of Berger and colleagues for this choice. A Maximum Entropy Approach to Natural Language Processing

p(j | x, θ) = exp(θ · φ(x, j)) / Σ_{j′∈J} exp(θ · φ(x, j′))

Here p is the conditional probability assigned to head index j for input x at parameter values θ. The vertical bar separates the head choice whose probability is evaluated from the input and parameters it is conditioned on. The feature function φ gives a vector of non-negative values for x paired with a candidate. The parameter vector θ contains a learned weight for each feature, and the dot · indicates their dot product, the sum of the products of corresponding weights and feature values. The function exp is the exponential. The slash divides the exponentiated score of j by the sum of the exponentiated scores for every index j′ in the legal candidate set J. The prime marks the index that varies over the terms of the denominator.

The normalization is specific to the dependent under consideration. A higher weighted score for one candidate gives that candidate a larger share of the probability for that word. Two dependents in the same sentence have different inputs because their positions differ. Their candidate sets can also differ. They share the learned parameters, so evidence about a feature can affect future decisions across many positions and sentences. Independence here applies to the score computations. The probability for a candidate head uses the observed input and the parameters, without requiring the head choice for a different dependent.

Equally important, the paper defines the tree search through the sum of edge scores. The probability formula describes a local head decision, where the alternatives are heads for one dependent. Its denominator has no terms for whole trees. This is what lets training use a local choice directly. The tree objective specifies how scores can be used to produce a complete analysis when the parser is presented with a sentence.

What the classifier sees

The feature set starts with the distance between the dependent and candidate head, their surface forms, and their parts of speech. Distance tells the classifier something about the separation the attachment would span. Surface forms distinguish the particular words. Tags allow it to share evidence across words assigned to the same grammatical categories. All these features can be evaluated for candidates other than the eventual head, because they depend on the positions and the input.

The authors also include word forms from up to three positions to the left of each endpoint and up to three positions to the right. Separate features use the corresponding part-of-speech tags from those left and right contexts. The classifier can thus consult the neighborhood of a possible head as well as the neighborhood of the dependent. For instance, attaching the case marker to a candidate preceded by a particular sequence of categories can be treated differently from attaching it to a candidate in a different environment. The parser can extract that evidence even if no link in the candidate head's neighborhood was annotated.

In the example with は and 歓迎, the word forms and tags at those two positions are available, as are the forms and tags around each. The paper gives 6 as the distance feature for the link. It records the correct head as d₂ = 8. The competing heads for the same particle are at positions 3, 4, 5, 6, 7, and 9. Features are calculated separately for each possible pairing with は. This example illustrates why a single annotation can provide more than a record of one attractive link. It establishes which of the mutually exclusive head candidates should prevail for that dependent.

Context and supervision play different roles. An unannotated word can appear in a feature for a nearby decision. A word whose own head is unrecorded provides no direct answer to the question of where it attaches. In a fully annotated sentence, each recorded decision can be used in the same way as the example with the particle. This allows one classifier to draw on complete and incomplete sentences without requiring different definitions of an edge score for the two kinds of data.

Learning without building trees during training

For a training dependent with a known head, that head supplies the positive choice. Other legal heads for the same dependent supply negative alternatives. In the Japanese setup, a nonfinal dependent only has candidates to its right. A word with an unknown head supplies neither a positive choice nor negative alternatives for its own attachment. Treating an unrecorded link as negative would give it a meaning the annotation lacks. In a sentence with a single recorded attachment, the paper's procedure has supervision for that attachment and leaves the other head decisions out of the training objective.

The experiments use stochastic gradient descent to estimate the feature weights. The updates use examples of recorded head choices, changing weights in response to how the classifier scores those choices relative to their alternatives. Estimating the weights never requires the parser to search for a complete best-scoring tree. The implementation can extract the candidate features and carry out the update even if it has no way to reconstruct the reference tree for the sentence.

This also explains the scope of the authors' claim about training time. The number of annotated dependencies determines how many supervised head decisions are available to train on. Each decision still has a cost that depends on the set of candidates and the features computed for them. A rightward restriction shortens that set compared with a setup permitting heads on either side, and positions near the end of a sentence have fewer rightward choices. The method changes both what has to be annotated and what computation has to be performed for each recorded answer.

Finding the tree at prediction time

The general scoring objective calls for a best-scoring valid tree. A maximum spanning tree algorithm such as Chu–Liu/Edmonds can find a tree from edge scores when unrestricted local choices might produce cycles. A cycle would arise, for example, if following heads from a word eventually led back to the same word. Choosing the highest-scoring head independently at every position would then be insufficient to solve the tree problem.

For the Japanese experiments, the authors assign the final word to the special sentence-head position and require all other heads to lie to the right of their dependents. Every step from a nonfinal word to its chosen head advances in the sentence. The sequence therefore cannot return to its start. Since every nonfinal word has a head and the final word is the only endpoint, every such sequence reaches that endpoint. Under these constraints the authors select the highest-scoring legal attachment at each position directly. The sum is maximal under the stated rightward and root constraints because the chosen score at every position is maximal within its own candidate set.

The paper also states a projectivity assumption for the Japanese comparison. Projectivity concerns the arrangement of the links, expressed in the paper in terms of whether edges cross. The rightward argument explains why the stated local search prevents cycles and produces a connected tree. Crossing is a separate property. Rightward links can cross when their endpoints are interleaved. The local search description gives the rationale for removing cycle resolution, and the paper gives less detail about how crossings would be handled if they arose among locally preferred links.

For the adaptation experiment, the authors apply conversion rules to the NAIST Text Corpus, or NTC, whose newspaper articles come from the Mainichi Shimbun. The corpus has phrase-level dependencies. It also has predicate-argument and coreference resolution annotations that the paper identifies as potentially useful sources of word-level evidence. The reported conversion rules are described in terms of phrase links, word categories, bracket matches, and local word configurations. Annotating a Japanese Text Corpus with Predicate-Argument and Coreference Relations

The conversion uses broad categories to recognize configurations in and around phrases. Content words include nouns, verbs, adjectives, prenominal adjectives, interjections, prefixes, and suffixes. Function words include auxiliary verbs, particles, inflections, and conjunctions. The punctuation category used in the rules covers Japanese and English forms of periods and commas. A separate rule recognizes opening and closing parentheses or brackets. These categories define where each heuristic will make a proposal and which word positions it will connect.

The LAST rule uses a dependency between two phrases. It looks for a head phrase with a content word followed only by an optional run of function words and optional punctuation. In such a case it attaches the last word of the dependent phrase to the final content word of the head phrase. The phrase dependency narrows down the region of the sentence in which to seek a head. The form of the destination phrase then supplies the basis for choosing the particular word. Phrase pairs for which this configuration fails can be left for other rules or left without a proposed link.

PAREN also produces links across phrases. It assigns an opening parenthesis or bracket to the first corresponding closing parenthesis or bracket later in the sentence. The opening and closing symbols can enclose several words. The paper's converted example includes such a link between the Japanese corner brackets 「 and 」, while other words in the bracketed passage still lack head annotations. The converter can use the visible delimiter pattern without having to resolve the dependencies of the material inside it.

The remaining rules work within phrases. FFS looks for a phrase ending in a pair of function words and punctuation, with any preceding words drawn from the categories described above. It attaches the first of those function words to the second and the second to the punctuation. CF applies to a phrase with a sequence of content words ending in a function word. It attaches the content word immediately before that final function word to the function word itself. The preceding material limits the pattern's application, while only the specified head decisions are contributed to training.

INFLECT uses a different kind of cue. If a verb, auxiliary verb, or adjective is immediately followed by an inflection, the inflecting word is assigned that inflection as its head. FUNCT attaches a function word to the following punctuation when they occur adjacently within the rule's scope. Those rules draw on information internal to the phrase, so they can propose individual word links without choosing where the phrase itself attaches.

Together, the rules cover a mix of attachment choices. LAST draws on the original dependencies between phrases, PAREN uses a pair of visible symbols, and the other rules recognize local sequences in phrases. Different rules can supply overlapping annotations. There is no requirement for every word to be covered. The output retains enough of the original sentence for feature extraction and marks the dependent positions for which the conversion supplied heads. The experiment uses those positions alongside the manually annotated decisions from the dictionary corpus.

Experiments and results

Corpora and measurement

The authors distinguish a general domain of dictionary examples from a target domain of newspapers. EHJ-train contains 11,700 example sentences and 145,925 words. The held-out EHJ-test split contains 1,300 sentences and 16,348 words from the same dictionary source. These splits support the comparison of parsers trained with complete word-level dependencies. They also support the experiment that varies the amount of dictionary training data while keeping the test set fixed.

The newspaper adaptation data comes from a different source from the newspaper evaluation data. NTC-train contains 34,712 sentences and 1,045,328 words from Mainichi Shimbun articles. The conversion heuristics determine which of its word-level dependencies are available for training. NKN-test contains 1,002 sentences and 29,038 words from Nikkei business newspaper articles. That split supplies the reference dependencies for measuring how the parser handles the intended kind of text. The adaptation setup therefore relies on related newspaper material for training and a separate collection for testing.

The authors use manually prepared word boundaries and reference heads for the fully annotated data. Their reason for creating a word-based evaluation set was that the Japanese data made available through CoNLL had word dependencies obtained by automatic conversion from phrase analyses. A reference with manual word heads gives the adapted parser an evaluation target independent of the rules used to generate its extra training examples. Part-of-speech tags are supplied automatically in the experiments. The tagger is KyTea, trained on about 40k sentences from the Balanced Corpus of Contemporary Written Japanese. CoNLL-X Shared Task on Multilingual Dependency Parsing

Accuracy concerns whether the proposed head of a word matches its reference head. The experiments use unlabeled links, so there is no accompanying relation label to get right. The paper explains its treatment of labels in the context of Japanese, where case markers link most nouns to a verb and make many of the distinctions the authors care about apparent. This choice fixes what the results mean. They measure success at finding the head position in already segmented and tagged input.

A comparison with complete annotation

The paper compares the pointwise parser, PW, with a deterministic shift-reduce parser and a traditional tree-scoring parser. The deterministic system is MaltParser, configured with the arc-eager algorithm and strict root handling. The traditional system is McDonald's MST Parser, reported with k=5 as its k-best setting. The authors describe using projective parsing algorithms for their Japanese comparison. All systems in the main in-domain comparison train on EHJ-train and parse EHJ-test. MaltParser Non-Projective Dependency Parsing using Spanning Tree Algorithms

Parsing accuracy on EHJ-test after training on EHJ-train

The pointwise parser has the highest observed accuracy in a close comparison.

Parsing accuracy on EHJ-test after training on EHJ-trainMalt: 96.63Malt96.63MST: 96.67MST96.67PW (this paper): 96.83PW (this paper)96.83
The numbers
System or settingaccuracy %
Malt96.63
MST96.67
PW (this paper)96.83

Malt reaches 96.63% and MST reaches 96.67% on EHJ-test. PW has the highest observed accuracy, 96.83%. The authors report that its accuracy difference from the other systems is statistically insignificant. The experiment supports a claim of comparable performance on this split. It also shows that the design can exploit a fully annotated corpus, even though it was chosen partly to make incomplete annotation usable.

These scores address the concern that local learning might sacrifice accuracy by omitting feedback from whole predicted trees. Under the assumptions of this Japanese task, complete-tree training was unnecessary to obtain accuracy in the same range as the baselines. The scores reflect the task's input preparation and structural restrictions, as well as the scoring procedures. The following training-size experiment gives a further condition on the comparison, because the ranking observed on the full corpus changes when the available material is smaller.

Training time and parsing time

The authors timed training and measured the elapsed time per parsed sentence with the same in-domain splits. The reported machine had a 3.33GHz processor and 12GB of RAM. The training measurement describes fitting each system to EHJ-train. The parsing measurement describes running the fitted system on EHJ-test. These metrics capture different costs. One matters when a parser is repeatedly retrained on new annotations, while the other matters when it is used to analyze sentences.

Training time on the full EHJ-train corpus

Pointwise training is substantially faster than traditional MST training, and Malt has the shortest run.

Training time on the full EHJ-train corpusMalt: 14Malt14MST: 1901MST1901PW (this paper): 125PW (this paper)125
The numbers
System or settings
Malt14
MST1901
PW (this paper)125

Malt took 14 seconds to train, PW took 125 seconds, and MST took 1901 seconds. The order is consistent with a reduction in training work for PW relative to the traditional tree-based system. Its updates concern recorded head positions and their candidates, and the authors' rightward restriction reduces the number of candidates to score. The measured time also depends on what these implementations do and how they are configured. In practical terms, the study places PW between the systems it compares and much closer to Malt than to MST in elapsed training time.

Parsing time per sentence on EHJ-test

Pointwise parsing is closer in elapsed time to Malt than to traditional MST parsing.

Parsing time per sentence on EHJ-testMalt: 1.3Malt1.3MST: 32.7MST32.7PW (this paper): 2.8PW (this paper)2.8
The numbers
System or settingms/sent.
Malt1.3
MST32.7
PW (this paper)2.8

On EHJ-test the reported parsing times are 1.3 milliseconds per sentence for Malt, 2.8 for PW, and 32.7 for MST. The pointwise system's head selection in this setup uses the best local score at each position under the rightward constraint. It has no need to resolve cycles through a general tree search. The authors describe its parsing speed as approximately that of the shift-reduce system in comparison with the substantially slower MST implementation. Malt still has the shortest measured time.

Varying the number of dictionary annotations

The authors make smaller versions of EHJ-train by specifying a budget in dependency annotations and taking sentences sequentially until the requested amount has been collected. These are reduced collections of fully annotated sentences. The experiment measures the effect of having less dictionary training material under that construction. It leaves the question of how to distribute the same number of labels across complete and partial sentences for a separate comparison.

With one-third or less of the full training corpus, Malt is more accurate on EHJ-test than either PW or MST. The paper also observes that PW and MST gain accuracy at similar rates across the training sizes it examines. PW reaches the highest observed score with the full set, but a reader choosing among parsers for a smaller training set would see a different ordering. The plotted comparison gives evidence about how the systems behave as data grows, in addition to the single accuracy measurement made at full size.

Adding information from newspapers

For adaptation, the authors start with PW trained on EHJ-train. The baseline for this experiment uses the dictionary annotations alone and is evaluated on NKN-test. The extended training sets add word dependencies obtained by converting NTC-train. The authors run each rule separately to produce a candidate pool, then run the rules together to produce a combined pool. Each adaptation condition selects 5k converted dependencies to add to the dictionary training data. The fixed addition makes the source and type of dependencies vary while keeping the stated number added the same.

With all rules applied, the pool contains 248,148 word dependencies from 1,010,648 possible annotation positions. The last word of each sentence is excluded from the count of candidates because its position as sentence head leaves no ordinary word attachment to recover. The two numbers describe how much supervision the converter makes available and how many positions were eligible. The test of adaptation uses the selected 5k from that pool. The size of the complete pool therefore measures a different part of the procedure from the amount actually added in the reported run.

The combined-rule setting reaches 88.44% accuracy on NKN-test. The paper reports the gain over the dictionary-only baseline as 2.75%. The best single-rule result comes from LAST, with PAREN next. This ranking uses accuracy on the manually annotated newspaper test set. It concerns the usefulness of examples for adaptation and leaves the converter's direct agreement with a complete reference annotation as a separate question. The results show that links recovered from phrase structure can contribute to better word-level parsing of separate newspaper text even when many positions in the conversion remain unannotated.

What the ablations show

The individual conversion runs are the paper's most direct comparison of alternative sources of partial supervision. Each run begins with the same fully annotated EHJ-train material. It obtains additional examples from NTC-train through a particular rule and measures the resulting parser on NKN-test. Because the stated addition is 5k dependencies, an advantage for one rule reflects differences in the examples it supplies under that budget. It cannot be read simply as the effect of making more training annotations available.

LAST has the strongest individual result. Its evidence comes from a phrase dependency and a restricted form for the destination phrase. Those ingredients point to a head in a different phrase and may provide examples that span more of a sentence than an adjacent-word pattern does. PAREN comes next. Its links can also span a stretch of text, with the delimiter pair giving the converter an attachment cue. The authors interpret the ranking as evidence that longer links were especially helpful for this adaptation task.

That interpretation follows from the distinction between the inter-phrase and intra-phrase rules. FFS, CF, INFLECT, and FUNCT describe word configurations inside a phrase, often giving an attachment from one word to its neighbor. The other rules can reach across phrase boundaries. A parser already trained on dictionary data may have learned many of the local configurations that the inner-phrase rules provide, while newspaper-oriented examples of less local decisions could offer other evidence. That is a possible explanation of the observed pattern. The paper compares examples harvested by different rules, so the examples can also differ in their grammatical categories, lexical contexts, or reliability. The experiment does not hold those properties fixed while varying distance.

Moreover, a rule that predicts an attachment reliably and a rule that contributes the most to test accuracy need not achieve the same ranking. The adaptation results score the parser after learning from the examples. They reflect how the new examples interact with the dictionary supervision already available. A rule could supply accurate links for a configuration that the parser seldom gets wrong, while another rule could be more helpful on configurations in which the baseline has greater room to improve. The paper measures the combined effect on head prediction, without reporting a direct accuracy audit of each converted pool.

What combining the rules tests

Combining rules changes the pool from which the fixed adaptation addition is selected. That pool can contain examples based on the original phrase dependencies, delimiter matches, and local arrangements of words. The reported combined result, 88.44% accuracy on NKN-test, shows that this mixture can improve on the dictionary-only baseline. It tests how the selected examples work together under one training condition.

The paper observes that the gain with all rules is smaller than the sum of the gains obtained in the individual comparisons. The authors point to overlap in what the rules convert. When two patterns can yield the same head decision, the combined pool does not gain a wholly new kind of evidence from both. Also, the individual improvements describe distinct runs in which the same dictionary baseline is adapted under the same stated budget. The combined run still adds 5k dependencies. Its result is a measurement of a mixture under that budget, with no basis for summing the individual gains as a prediction for it.

These tests switch between one conversion rule and the pool from all rules. They do not remove each rule in turn from a fixed combination. As a consequence, LAST's leading single-rule performance answers a question about training with LAST as the source of newspaper supervision. The marginal value of LAST in a pool that already contains the other rules could differ. The paper establishes the ranking for the individual conditions and the outcome for the combined one.

How the other comparisons narrow the result

The training-size experiment controls the source of training and test material while varying how many dictionary annotations are available. It reveals a qualification that would be invisible in the full-corpus comparison. Malt leads at the smaller sizes the authors identify, and the two systems based on tree scoring improve at similar rates over the sizes plotted. The experiment therefore grounds the claim of comparable full-data accuracy in a particular amount of training material. It gives no evidence that pointwise learning is preferable simply because labels are scarce.

The timing comparison keeps the training and test splits fixed while changing the system. It demonstrates the elapsed-time differences that motivated the design. It offers a weaker basis for assigning a share of the saving to any particular design choice. Pointwise training, the size of the candidate set, the search used in the Japanese setup, and implementation choices can contribute to the observed times. The authors consider the rightward-head assumption a likely major contributor to the training-time difference between PW and MST. They do not separately measure its contribution by turning it on and off in an otherwise identical system.

The case-marker example explains which inputs a particular scoring decision can use. The paper does not use it as evidence that surface forms, tags, or a particular context window accounts for a measured share of accuracy. There is no feature-removal experiment for that purpose. The explanatory evidence comes instead from comparing parser families under full annotation, changing the volume of their training data, and varying the sources of the converted word dependencies. Each comparison addresses a different part of the argument for partial annotation.

Limitations

Limits identified by the authors

The implementation is tested on Japanese, with the final word designated as the sentence head and other heads restricted to positions on the right. This assumption makes the candidate sets smaller and gives the simple decoding procedure its guarantee against cycles. The authors expect training to take longer in languages where possible heads can lie on both sides of a word. They suggest allowing a candidate at any position distinct from the dependent's own position as a way to extend the approach. A language with those candidate sets would also need a solution to the tree search when local choices can produce cycles. The Japanese results provide evidence for the method under the tested constraints.

The authors acknowledge a possible cost of assuming scores can be estimated independently. Whole-tree learning can use the structure of a prediction in deciding how to update its scores. The pointwise procedure can learn from smaller annotations precisely because it avoids requiring that prediction during training. Its comparable in-domain accuracy shows what happened on EHJ-test. It does not establish equal performance for other configurations of input, output, and training size, and the smaller-corpus results already show a change in the ordering of the systems.

The parser also assumes sufficiently reliable tokenization and part-of-speech tagging before dependencies are annotated. The authors characterize the general formulation as independent of the particular tokenization unit and the meanings of the tags. An application still has to choose those inputs, and the adaptation rules use categories specific to the Japanese data and the conversion the authors wanted. The paper describes extension to labeled dependency parsing as straightforward. The experiments measure unlabeled head choices, so prediction of relation categories remains outside the reported evaluation.

The other explicit restriction is the evidence available from phrase annotation. A phrase dependency alone cannot determine a complete word dependency tree. The converter is deliberately selective and its outputs are heuristic. The authors' reported improvement establishes that the selected annotations can be helpful in combination with complete dictionary supervision, without requiring a complete mapping between the annotation standards.

Limits of what was measured

The timing result belongs to the listed implementations, hardware, settings, and dictionary sentences. The tables measure total training time and elapsed time per sentence in that setting. They do not establish how the three implementations would scale at the same rate when sentence lengths, candidate sets, or other constraints change. In particular, the rightward candidate restriction and the direct decoding procedure are tied to the setup used for the Japanese experiments. They cannot be assumed to deliver the same timing relationship in a setting with heads on either side.

The given explanation of decoding is precise about acyclicity under the rightward constraint. The stated projectivity assumption raises a separate implementation question. A legal rightward choice for each of two dependents can still make their edges cross. Choosing local maxima then solves the best-tree problem with the rightward and root constraints, while enforcing projectivity may introduce further interactions between choices. The paper gives the local rule and the assumptions of the comparison, with limited detail for reproducing a case in which those requirements would lead to different selections.

The adaptation setting compares one pointwise parser trained on dictionary data with versions of that parser that also receive converted newspaper dependencies. It gives a direct estimate of improvement for that setup. It does not compare partially supervised versions of Malt and MST on NKN-test. Earlier work discussed in the paper had already explored ways of training those parsers on incomplete annotations. The in-domain comparisons with Malt and MST measure performance when complete supervision is available, so they cannot decide which approach would make best use of the same partially converted newspaper examples.

The experiment also leaves the budget for manual annotation as a separate empirical question. Counting assignments is a reasonable proxy for how much annotation is purchased in principle. The effort of finding and resolving a difficult construction could differ from that of labeling several simple cases, and an annotator may have to read the whole sentence to decide on a single link. The adaptation study reuses existing annotations through rules and records accuracy after a fixed number of links is selected. It contains no measurement of annotator time or comparison between the costs of partial and full manual annotation.

The target-domain evidence comes from a particular pairing of corpora. The extra supervision is mined from general newspaper articles, and the business newspaper reference set supplies the evaluation. It remains open how often the same conversion rules would yield useful examples for other kinds of target text or for a corpus whose phrase conventions differ. The report gives the size of the combined pool and the amount added to training. It leaves the individual pools' direct annotation accuracy and the variability across different selections of the 5k links unquantified.

Finally, the authors present speed and the ability to accept selected annotations as reasons the approach could support active learning, in which the system helps choose what to label next. The adaptation run instead starts from an available corpus and applies fixed conversion rules. An active-learning evaluation would need to measure the effect of selection decisions over rounds of annotation and retraining. The paper demonstrates capabilities that such a workflow could use. Its measured improvement comes from reuse of existing newspaper supervision.

What came after

Inducing a Discriminative Parser to Optimize Machine Translation Reordering (2012) cites the study in work on inducing a parser for a translation objective. Reordering concerns the placement of translated material when producing text in the target language. The later title identifies that objective as the reason for inducing the parser. In Flannery and colleagues' experiments, the objective of training and evaluation is to recover word heads, although machine translation is one of the applications that motivate having word-level analyses in the first place.

The connection is therefore at the level of what a parser is being trained to serve. The earlier study shows that a parser can be fitted using selected attachment decisions and evaluated against complete word-level reference annotations. The later work takes up parser induction in the setting of a task that can use syntactic decisions downstream. Its citation establishes that connection. The title gives the translation objective, but leaves the role of partial annotation, the use of pointwise scoring, and any reuse of the Japanese conversion rules unspecified.

Cite

Cite as Daniel Flannery, Yusuke Miayo, Graham Neubig and Shinsuke Mori. 2011. Training Dependency Parsers from Partially Annotated Corpora. Proceedings of 5th International Joint Conference on Natural Language Processing.

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

@inproceedings{flannery2011training,
  title = {{Training Dependency Parsers from Partially Annotated Corpora}},
  author = {Daniel Flannery, Yusuke Miayo, Graham Neubig and Shinsuke Mori},
  booktitle = {Proceedings of 5th International Joint Conference on Natural Language Processing},
  year = {2011},
  url = {https://aclanthology.org/I11-1087/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/flannery-2011-training-dependency-parsers-partially-annotated/