Cross-framework parser stacking for data-driven dependency parsing
Paper · 2009 · Lilja Øvrelid, Jonas Kuhn and Kathrin Spreyer
Summary
When a sentence contains an auxiliary and a main verb, which should govern the subject? A hand-written grammar may organize the sentence around the main verb, while the reference annotation used to train a parser may put the auxiliary in charge. Both analyses can identify the subject and still give it different heads. The paper asks whether a parser trained on annotated examples can benefit from the grammar’s analysis even when the conventions disagree. The task is dependency parsing, which assigns each word a syntactic head and a label describing its relation to that head.
The authors run the English and German grammars of the Parallel Grammar Project through XLE, a grammar-driven parsing system. They convert the selected analyses into word-to-word dependencies and extract additional information such as case, the kind of phrase being coordinated, and whether a noun denotes a time. They align this information with the words in manually checked reference data and make it available to MaltParser, the parser that learns from those data. The training targets remain the original reference dependencies. At each step of parsing, MaltParser can consult the grammar’s proposed attachments and features while deciding which attachment to build under the reference conventions.
With manually assigned part-of-speech tags and ten-fold cross-validation, the English Penn Treebank baseline has a labeled attachment score of 89.64. Adding the grammar’s dependencies with simple labels raises it to 89.79. In German, on the Tiger treebank, the baseline scores 85.97. The best configuration combines dependencies carrying information about shared grammatical functions with other grammar-derived features and reaches 87.78. The combined inputs help German more than either input alone. In English, the grammar’s dependencies give the strongest result, and adding the full set of extra features lowers the score relative to using those dependencies alone. The advantage of stacking survives when automatic tags replace the manually assigned tags. With the full training data, even partial grammar analyses are worth retaining.
The authors also use the German parsers on parliamentary text outside their training domain. They transfer the resulting dependencies to Dutch translations through automatic word alignments and use the transferred analyses to train a Dutch parser. On the Dutch Alpino test set, training on projected fragments yields a mean unlabeled attachment score of 68.60 with the stacked German source parser and 67.67 with the German baseline. Training on complete projected trees also favors the stacked source. The experiment follows the benefit of combining parsers through a setting where the final score depends on several intervening steps, including word alignment and learning from incomplete Dutch annotations.
Deep dive: Cross-framework parser stacking for data-driven dependency parsing
Cross-framework parser stacking uses a hand-written grammar to improve dependency parsing in English and German and transfer syntax to Dutch. · about 34 minutes to read
The problem and its context
What the two parsers know
A dependency analysis describes how the words in a sentence fit together by attaching each dependent to a head. For a subject, predicting that it is a subject answers only part of the question. The parser must also decide which word it is the subject of. A dependency tree makes those decisions across the sentence and identifies its root. A reference tree records them according to a particular set of annotation conventions. Those conventions matter because a parser is trained to reproduce the choices in a treebank.
The two approaches in the paper arrive at these choices from different starting points. A data-driven parser learns which decisions tend to go with the configurations it has seen in annotated sentences. A grammar-driven parser starts with a lexicon and grammatical rules that describe which analyses are possible. It can use statistical evidence to choose among them. A development the authors emphasize is that broad-coverage grammar-driven parsing had already become a practical hybrid of hand-written linguistic descriptions and learned disambiguation. Grammar-driven parsing in their experiment therefore includes an automatic choice whenever several analyses satisfy the grammar.
The grammars come from a collaborative project whose English and German descriptions use a common inventory of grammatical features. Some properties are expressed as relationships between a predicate and its arguments. Others record distinctions such as tense, the type of an adverbial, or the syntactic level at which coordination takes place. The parser trained on a treebank sees distinctions made available by that treebank and its own feature specification. Even a richly annotated treebank can organize these distinctions differently from the grammar. The shared grammatical feature inventory comes from The Parallel Grammar Project.
The systems also have different routes to an error. The grammar can lack a lexical entry or a rule needed for the sentence. A parser that learns from examples can struggle with a configuration that its training data represent poorly. Alongside errors, there are systematic disagreements about which word should head a construction and how fine-grained a relation label should be. A method that treated every disagreement as a mistake would obscure the differences in what the systems were designed to represent.
English and German give the authors a way to see how this plays out under different conditions. Their English reference material records parts of speech and syntactic structure. The German treebank also includes categories such as case and gender. German argument placement can vary, and a single inflected form can express multiple cases. The authors point out that this makes case cues and word order less straightforward to interpret. A likely place to seek complementary evidence is where a decision calls for several properties of a construction at once, instead of a single cue that already determines the answer.
Why combine the parsers during learning?
Interest in dependency parsing had grown through shared tasks that gave researchers common data and scoring conventions for multiple languages. In this setting, a team could compare parsers even if they built dependency trees in very different ways. The German experiments in the paper use the treebank release prepared for the CoNLL-X Shared Task on Multilingual Dependency Parsing.
One line of earlier work sought to improve learned parsing by changing how its features or representations express linguistic distinctions. Another combined the predictions of several parsers, often through some form of voting. With voting, the systems have already produced predictions by the time those predictions are combined. The authors discuss this approach in relation to earlier work on Dependency Parsing and Domain Adaptation with LR Models and Parser Ensembles.
The closer precedent gives one parser access to another parser’s decisions while it learns. It paired a graph-based dependency parser with a transition-based parser. The former makes decisions over candidate dependency structures, while the latter constructs its answer in a sequence of actions. Their different predictions can supply features that help each system make its own decisions. The authors borrow that way of connecting systems from Integrating Graph-Based and Transition-Based Dependency Parsers.
The extension in this paper is to bring in a parser that starts from a different grammatical framework. There is first a representation problem. A parser operating on word positions cannot directly use an abstract grammatical structure in which an auxiliary and a main verb contribute to the same predicate, or in which a single noun serves as an argument of multiple predicates. There is then a learning problem. Even after the grammar’s analysis has been translated into word-level features, MaltParser has to find regularities that connect those features to the annotation it is meant to produce.
The authors also identify a close contemporary study that used information from an English Head-driven Phrase Structure Grammar in a data-driven parser. That work examined domain adaptation and argued that grammar-derived analysis could help beyond the source domain. The experiments here ask how a Lexical Functional Grammar analysis can be turned into a useful input, which parts of it help, and whether the value of the resulting parse survives when used further downstream.
The method, step by step
From a reference sentence to a second analysis
Start with a sentence whose reference dependency tree has already been recorded. Run the grammar-driven parser over the sentence text and keep its selected analysis. Convert that analysis into something that can be attached to the reference tokens. The resulting training example carries the original dependency answers and the automatic grammar evidence alongside them. MaltParser learns to predict the original answers with that evidence available. At test time, the grammar-driven stage supplies the same kinds of evidence for the sentences MaltParser must parse.
How the grammar supplies evidence to MaltParser
The steps in order.
Training and use have distinct sources of information. During training, the manually checked heads and labels determine what the transition classifier should learn to reproduce. The grammar annotations, which can be obtained automatically, supply some of the input features used to make those decisions. Test sentences can therefore be processed with the grammar first and the trained dependency parser second. They do not need manually supplied heads or relation labels. The early experiments do supply reference part-of-speech tags to MaltParser, a condition the authors later change.
XLE produces an analysis in Lexical Functional Grammar, abbreviated LFG. Its constituent structure, or c-structure, describes the grouping of words into phrases. Its functional structure, or f-structure, describes properties of the sentence such as which expressions are arguments of a predicate. These views support different kinds of evidence. A phrase category can characterize a coordination construction, while a functional link can say that a noun is the object of a verb. The method uses information from both views, though the functional analysis is the starting point for conversion to dependencies.
XLE combines pieces of grammatical information through unification, which requires the constraints contributed by different pieces of the analysis to be compatible. The set of possible analyses is held in a packed representation, and a statistically learned scoring component ranks them. The disambiguator was trained on a standard treebank and uses log-linear scoring to select one analysis. The paper points to earlier work on Parsing the Wall Street Journal using a Lexical-Functional Grammar and Discriminative Estimation Techniques.
The authors configure XLE to return useful information when a full analysis is unavailable. Fragment parsing can supply local analyses, such as separate noun and prepositional phrases, under a special root named FRAGMENTS. Skimming limits how much work XLE performs on a subtree and processes the remaining material more lightly once that bound is reached. These choices are made at the grammar stage. MaltParser subsequently receives the converted information that is available for the sentence. Whether weak or incomplete information should be passed along is tested separately.
Converting functional relations into token relations
The conversion begins with the correspondence between tokens and functional structures, called the φ-projection, where φ names this mapping. XLE’s extraction engine runs rewrite rules over the analysis. A functional link whose endpoints correspond directly to words can become an arc between those words. Labels are drawn from the functional paths in the analysis, so the converted output has its own label vocabulary.
The paper illustrates the straightforward case with a German noun phrase referring to past behavior. The word Verhalten, meaning “behavior,” is the nominal head. Its functional structure contains links to the determiner das and the adjective damalige. The extraction can put both words in dependency relations with Verhalten, using the grammar’s specifier and adjunct relations. The phrase grouping contributes to identifying the construction, and the functional links provide the information needed to build the arcs.
Other cases require a deliberate decision about which token will represent a functional structure. More than one word can map to the same structure. The paper’s English passive example has the auxiliary were and the lexical verb traded sharing one f-structure. The conversion takes the word that introduces the predicate, traded, as the structural head and attaches the other word with the generic label PHI. This preserves a link between the co-heads while giving each word its own node in a dependency representation.
This decision can affect several arcs at once. In the reference analysis of the passive sentence, were heads the sentence. In the converted analysis, traded heads it. The subject shares consequently gets different heads depending on which representation is consulted. The fact that a head field is different in the two versions does not by itself show that the grammar associated shares with the wrong event or missed its role. During training, MaltParser sees the reference answer and the grammar’s alternative and can learn from their relationship.
Keeping evidence about shared arguments
LFG can give a dependent more than one grammatical governor. Raising and control are among the constructions for which the grammar shares a functional structure across predicates. In the paper’s English example involving a company being allowed to begin marketing a lens, the company takes part in both the allowing and the beginning. In another example about anthers that are difficult to clip, the anthers are the subject in the higher clause and the understood object of clipping. The German example about judging past behavior to be correct also has overlapping functions assigned to one noun phrase.
A word-based dependency tree requires a single head for such a dependent. For both conversion variants, the authors keep the closest head. In the Single variant, the resulting arc carries the label for that attachment. In the Complex variant, the same single arc carries a label that gathers the functions found along the relevant paths. A label such as SUBJ-OBJ records that subject and object functions are involved. It can distinguish a shared argument from an ordinary instance of one of those functions while keeping the converted analysis compatible with the input expected by MaltParser.
Complex labeling retains the functions in a compact form. The selected arc still leads to only one head, so the feature does not recover the original graph with all its attachments. Its possible benefit is that the distinction between a simple and a shared function is available during transition classification. The comparison between Single and Complex therefore changes the representation of the evidence about multiple governors while keeping the converted head selection the same.
Making the annotations line up
An arc whose endpoint is a grammar token can help the learned parser only if that endpoint can be mapped to a token in the parser’s input. XLE and the treebanks have different conventions for what counts as a token. In the paper’s examples, the name New York forms a single grammar word form while the treebank represents its parts separately. Hyphenated expressions, initials, other punctuation within sentences, and the English possessive ending also require attention. The relevant issue is tokenization.
The authors add a post-processing step so the grammar analysis and reference annotation can be lined up word by word. When a grammar unit is split, the analysis can be copied to the resulting pieces, as with the composite name. When pieces are joined, the authors keep the analysis of the final piece for the joined form. What matters at this point is the indexing of the grammar evidence. The conversion keeps genuine differences in the grammatical analyses, including the choice of sentence head.
A tokenization mismatch can otherwise throw off the correspondence for later words in the same sentence. After post-processing, the number of tokens left without a mapping to grammar-derived analysis is reduced by 85.8% in the English material and 66.8% in the German material. These are relative reductions in token mismatch, with no attachment decision involved in their calculation.
The coverage figures distinguish between a sentence receiving some grammar analysis and individual words receiving aligned grammar evidence. After XLE parsing and dependency conversion, the authors report sentence coverage of 95.4% for English and 97.3% for German. After the alignment fixes, 92.3% of English tokens and 95.2% of German tokens can be mapped to their counterparts. The final sentence coverage is 95.2% for English, representing 45,238 sentences, and 96.5% for German, representing 38,189 sentences. Because partial output is allowed, the sentence figures do not give the fraction for which XLE produced a complete analysis.
Extracting features beyond attachment
The converted arcs say which words the grammar connects and how it names those connections. The authors also extract properties whose natural representation is a feature value. Some concern grammatical form, including case, person, number, tense, and passive or perfect marking. Other cues describe clause type, coordination, or the preposition associated with a governing expression. Still others distinguish types of adverbial, types of nominal reference, and categories such as time or location. These families span morphology, syntax, and aspects of meaning.
Many values are binary or drawn from a list of categories. Some are word forms from elsewhere in the construction. For example, a feature describing a governing preposition can carry the actual form of that preposition. A property can also be associated with a word through another member of its phrase. Definiteness on a German common noun may be supplied by its determiner. A token-based feature can therefore summarize an analysis that originally involved several words.
The grammars share much of their feature inventory, and the extraction also includes language-specific features. For instance, the English inventory distinguishes whether a noun is countable and marks the progressive, while features listed for German include definiteness and auxiliary selection. The extracted features vary in how much they add beyond the treebank. Some categories are already represented in the German annotation. Their presence there does not settle whether an automatic value attached to a token by XLE will help the classifier. Each parser configuration defines which attributes the classifier can inspect.
The authors call the additional input field XFEATS. It is static in the sense that its values come from the grammar analysis before MaltParser starts making transitions. During parsing, the positions from which MaltParser retrieves XFEATS can change. As the next word enters the stack and the parsing state advances, a different token’s grammar information becomes relevant. This distinction also applies to the grammar’s proposed dependencies. They are fixed for a sentence, even while the parser consults them for different pairs of words.
Learning the next parsing action
MaltParser uses a sequence of transitions to construct a tree. At each step it has a stack of tokens available for attachment decisions, a queue of input tokens still to process, and a graph of dependencies it has already built. The paper expresses the configuration as a triple.
⟨S, I, G⟩
The angle brackets enclose the ordered components of the configuration. S is the stack, I is the input queue, and G is the dependency graph under construction. The classifier uses features of the current configuration to decide which transition to apply next. A transition advances the process by changing the configuration and can add an arc to G.
The baseline features describe tokens in and around these positions. FORM is a word’s surface form, POS is its part-of-speech category, and DEP is a dependency relation already known in the developing analysis. The feature specification can ask for a word’s part of speech at the top of the stack, or the form of the next input word. It can also reach into the current graph for information about a head or dependent. The paper illustrates the distinction with a feature matrix whose rows pick the token and whose columns pick the information to retrieve. That matrix is an example of how features are specified. The actual English and German runs use their respective parser settings.
Stacking adds the grammar’s proposed head, XHEAD, and relation label, XDEP, to the information available for the tokens in a configuration. The example in the paper shows that XDEP can be read for both the token on top of the stack and the next token in the input. A separate input-arc feature consults XHEAD for those positions and indicates whether the grammar predicts a leftward arc, a rightward arc, or no arc between them. The classifier can thus observe a direct proposal for the pair it is considering. It can also use a proposed relation even in a configuration where the grammar and reference point to different heads. The interface extends MaltParser.
In the XFEATS experiments, the grammar’s additional features were also read for both the item at the top of the stack and the upcoming input token. The authors tried widening this context by adding positions in the input and stack and information about syntactic neighbors. They started from the compact configuration, added candidates incrementally, and also tried a configuration containing all the tested additions. Since the broader context yielded no further significant improvement, they used the compact version for the reported comparisons.
All baseline and stacked configurations use the arc-eager parsing algorithm. The parser learns its transition decisions with support vector machines, using LIBSVM and a polynomial kernel. Both languages use relaxed root handling, which lets eventual root dependents remain unattached during parsing and was selected because it improved the baselines. The arc-eager strategy comes from An Efficient Algorithm for Projective Dependency Parsing.
For English, the authors take the learner and parser settings and baseline features from the pretrained English MaltParser configuration. For German, they use the settings of a German CoNLL-X parser, including pseudo-projective parsing. That technique lets a parser whose ordinary attachment procedure constructs projective trees handle analyses with dependencies that can cross in the sentence’s word order. The source of this part of the German setup is Pseudo-Projective Dependency Parsing.
Experiments and results
What is compared
For English, the material comes from sections 2–24 of the Penn Treebank’s Wall Street Journal portion and is converted to dependency format. For German, the authors use the CoNLL-X release of the Tiger treebank. The two collections provide the manually checked targets for training and scoring. In the principal experiments, the POS features used by MaltParser come from the reference annotation. This lets the comparison focus on how the parser uses the added grammar evidence when ordinary word categories are already supplied reliably.
The experiments use ten-fold cross-validation. The authors train and test on rotating portions of each treebank, giving every portion a turn as held-out data. The arrangement is intended to make substantial use of the available material, including examples of less frequent constructions such as raising and control. Each comparison between configurations uses the relevant language’s reference annotations and the same parsing strategy, with changes to the input features under study.
The scores reported in the paper are LAS (labeled attachment score) and UAS (unlabeled attachment score). UAS is the percentage of scored tokens assigned the correct head. LAS requires that both that head and the dependency label agree with the reference. Overall attachment scoring follows the shared-task practice of excluding punctuation. For the separate analysis of individual relations, the authors can examine punctuation as a category in its own right.
The significance comparison for the cross-validation runs uses a randomized parsing evaluation. Under its null hypothesis, exchanging results between the two systems should frequently yield an overall difference at least as large as the observed one. A difference that rarely appears after the exchange counts as evidence against that hypothesis. The procedure shuffles the results 10,000 times per comparison. The paper gives the average p-value across folds and its standard deviation, written σ. The significance results address the comparisons for which they are reported, and many settings with close scores are distinguished only by their observed ranking.
English with reference part-of-speech tags
The English baseline scores 92.48 UAS. With the Single conversion it reaches 92.61 UAS, the strongest English head-assignment result in the cross-validation experiments with reference tags. The gain in labeled attachment is 0.15 percentage points, a 1.4% reduction in labeled attachment error as reported by the authors. The Single comparison with the baseline is significant at p<.02 with σ=.05.
English Penn Treebank cross-validation with reference tags, labeled attachment
Simple grammar dependencies give the strongest English result, and the combined inputs score below the separate additions.
The numbers
| System or setting | LAS % |
|---|---|
| MaltParser baseline | 89.64 |
| Single grammar dependencies (this paper) | 89.79 |
| Complex grammar dependencies | 89.74 |
| Additional grammar features | 89.77 |
| Single dependencies with features | 89.69 |
| Complex dependencies with features | 89.70 |
The Complex variant also scores above the baseline, although its result is lower than that of Single. Complex has 92.58 UAS. The full set of additional grammar features, called Feats, reaches 92.55 UAS. The paper reports a significant gain from Feats over the baseline at p<.04 with σ=.08, with an increase of 0.13 percentage points in English LAS. Because Feats supplies the extra linguistic properties alone, this comparison establishes that useful grammar evidence can be extracted even without passing the proposed dependency arcs to MaltParser.
Adding Feats to Single yields 92.52 UAS, while adding it to Complex yields 92.53. In this English setting, the LAS and UAS results agree on the ordering of the broad choices. Each combined configuration falls below the corresponding dependency-only configuration. The data establish that the extra evidence did not accumulate into a stronger overall result under these settings. They leave open what a different feature representation or classifier would do with it.
German with reference part-of-speech tags
The German baseline scores 88.68 UAS. Single reaches 89.72 UAS, and Complex reaches 89.76. The Single comparison with the baseline is significant at p<.0001 with σ=0. The corresponding German LAS gain is 1.45 percentage points, which the paper reports as a 10.3% reduction in labeled attachment error. The small increase from Single to Complex is statistically inconclusive.
German Tiger cross-validation with reference tags, labeled attachment
Combining the proposed dependencies with additional grammar features gives the strongest German results.
The numbers
| System or setting | LAS % |
|---|---|
| MaltParser baseline | 85.97 |
| Single grammar dependencies | 87.42 |
| Complex grammar dependencies | 87.46 |
| Additional grammar features | 87.30 |
| Single dependencies with features | 87.77 |
| Complex dependencies with features (this paper) | 87.78 |
The German Feats configuration reaches 89.63 UAS and improves significantly on the baseline at p<.0001 with σ=0. Single with Feats reaches 90.01 UAS, and Complex with Feats reaches 90.02. For the latter configuration, the gain over the German baseline amounts to 1.81 percentage points in LAS, or a 12.9% reduction in labeled attachment error. The paper reports significant improvements for the combination experiments over the baseline and for the combined comparison with the individual Complex and Feats experiments.
The largest practical choice in this German comparison is whether to give MaltParser the additional features alongside the converted arcs. Both combined configurations achieve higher attachment scores than the configurations that supply only one of these inputs. The ranking of the combined configurations themselves gives little basis for preferring one label scheme on score alone. The evidence for retaining the other features is stronger than the evidence for the added complexity of the arc labels.
What changes with automatic tags
A parser applied to new text will ordinarily receive part-of-speech categories from a tagger. The authors replace the reference tags in the treebanks with TreeTagger predictions, then train and test MaltParser again. Both languages use the same experimental setup as before apart from the change in tags and the feature comparisons specific to this experiment. MaltParser now learns with the kinds of POS errors that can recur in its input at test time. XLE continues to tag its own input. The role of the separate predictions is part of the experiment on part-of-speech tagging.
For the English Penn Treebank, the automatic-tag baseline scores 91.67 UAS and 88.56 LAS. With the grammar’s Single dependencies it reaches 91.88 UAS and 88.77 LAS. Adding the extra linguistic features alone yields 91.84 UAS and also reaches 88.77 LAS. The two options thus tie on the reported labeled score, with dependencies alone scoring higher on head assignment. The paper reports a significant LAS gain for each over the automatic-tag baseline. The gain described for the dependency configuration is 0.21 percentage points, a 1.8% reduction in labeled attachment error.
Combining dependencies and other features in English gives 91.88 UAS and 88.76 LAS, very close to dependencies alone. The English automatic-tag experiments therefore soften the loss associated with combining inputs in the reference-tag runs, without establishing a gain from that combination. Adding the XLE tag as an extra feature alongside the TreeTagger tag gives 91.46 UAS and 88.26 LAS when used on its own. Including XLE tags together with the other grammar inputs yields 91.63 UAS and 88.44 LAS, again below the corresponding use of dependencies and features together.
In the German Tiger experiments, the automatic-tag baseline has 87.13 UAS and 84.14 LAS. Complex dependencies give 87.36 UAS and 84.69 LAS, while the additional features give 87.15 UAS and 84.41 LAS. When both inputs are present, the results are 87.86 UAS and 85.31 LAS. This combined configuration improves on the German automatic-tag baseline by 1.17 percentage points in LAS. The authors find significant gains over that baseline from the dependencies alone, the features alone, and the combination.
German also shows an interaction with the extra POS feature. Using XLE POS with the usual TreeTagger features, before introducing the arcs or other grammar features, gives 86.72 UAS and 83.61 LAS. But adding XLE POS to the combination of dependencies and extra features yields 88.27 UAS and 85.72 LAS, the strongest German automatic-tag result. Relative to the automatic-tag baseline, the paper reports a gain of 1.58 percentage points in LAS and a 10% reduction in labeled attachment error for that full configuration. A second POS tag by itself is an inadequate test of how well the tag will work alongside the rest of the analysis.
The reference-tag baselines remain higher than the automatic-tag baselines. The baseline LAS decrease on changing tag conditions is 1.08 percentage points for English and 1.83 for German. Grammar-derived features recover some of the attachment accuracy under automatic tagging. That experiment supports use when human POS annotation is unavailable, and the separate projection study takes the additional step of applying the source parsers to out-of-domain text.
How much of the benefit reaches Dutch?
The projection experiment changes what is being evaluated. English and German attachment scores measure how well MaltParser can reproduce a treebank after learning from it. In projection, a German parser supplies syntax for parallel text and a Dutch parser is subsequently trained on transferred versions of those analyses. The final Dutch score measures the whole route from German parsing to Dutch prediction. This use of a source language to induce annotations in a target language follows earlier work on Inducing Multilingual Text Analysis Tools via Robust Projection across Aligned Corpora.
In the paper’s illustration, the German auxiliary haben and main verb geführt correspond to Dutch hebben and gevoerd. The German dependency can be transferred by following those two alignments to its Dutch endpoints. The relative order of the verbs changes between the sentences, and the transferred arc follows the words to their new order. In the illustrated Dutch sentence, this results in a non-projective tree. Word alignment is the evidence for the correspondence. Simply copying the positions from German would place the endpoints incorrectly.
From Europarl, the authors take 100,000 parallel sentences and parse their German portions. They compare the German baseline with the best combined German system from the reference-tag feature experiments. Both source parsers operate on text from outside the Tiger training domain. The grammar-driven component used by the stacked parser runs automatically, and German dependencies are projected to the Dutch translations through automatic word alignments.
The authors build Dutch training data in two ways. They first retain only projected analyses that form complete trees. This yields projected training sets of 15,300 words with the German baseline and 15,600 words with the stacked source. They then train with the projected dependencies more broadly, using a version of MaltParser adapted to learn from incomplete input. A Dutch fragment in this experiment is produced by projecting arcs through a word alignment that may fail to preserve the full tree. The incomplete German XLE analyses tested earlier come from the grammar’s own fallback procedure.
The final evaluation uses 386 sentences from the Dutch Alpino treebank in the CoNLL06 test set. It reports mean UAS and standard deviations. A fixed monolingual test set replaces the cross-validation scheme used for the English and German experiments. For training, the authors use ten random orderings of the corresponding training data, and they compare the sources with a t-test. They report significance at p << 0.01. Because each source parser can yield a different tree for a given German sentence, it can also affect whether that sentence’s translation survives the complete-tree filter.
Dutch Alpino CoNLL06 test set, unlabeled attachment after projection from German
The stacked source improves both training regimens, and retaining projected fragments yields the strongest Dutch result.
The numbers
| System or setting | UAS % |
|---|---|
| Baseline source, complete trees | 63.94 |
| Stacked source, complete trees | 65.38 |
| Baseline source, fragments retained | 67.67 |
| Stacked source, fragments retained (this paper) | 68.60 |
For the complete-tree experiments, the standard deviations in Dutch UAS are 0.70 with the baseline source and 0.29 with the stacked source. With projected fragments retained, they are 0.39 and 0.40 respectively. The result with fragments answers an important question about the pipeline. The value of the stronger German source remains visible when the Dutch learner uses incomplete projected analyses, so it does not depend on restricting the training material to the sentences whose projected trees happen to be complete.
What the ablations show
Which kinds of linguistic information contribute?
The comparison called Feats isolates the grammar’s additional linguistic properties from its proposed dependency tree. To look inside that bundle, the authors test groups based on the kind of information each feature expresses. The morphosyntactic group, Morph, includes case, number, agreement-related properties, and verb categories such as mood and tense. The structural group, Struc, includes coordination level and information about clauses, governing prepositions, and subcategorization, the kinds of arguments an expression can take. The semantic group, Sem, includes adverbial classes and nominal properties such as reference to a time or location.
For German, Morph reaches 89.45 UAS and 87.11 LAS. Struc reaches 89.10 UAS and 86.50 LAS. Sem reaches 89.21 UAS and 86.63 LAS. Each group improves on the German reference-tag baseline. The morphosyntactic subset gives the largest gain among the separate groups, consistent with the role that categories such as case and gender play in the language. The significance of the structural and semantic gains shows that the full feature result also draws on information beyond word forms and agreement. The full bundle scores higher than any individual group.
For English, Morph reaches 92.53 UAS and 89.74 LAS, and Sem reaches the same scores. Struc reaches 92.51 UAS and 89.72 LAS. Each result is slightly above the corresponding reference-tag baseline, and the paper finds none of these individual improvements significant. The bundle as a whole improves significantly on the baseline. This supports a contribution from the combined feature inventory under the tested conditions. It does not determine whether the result comes from several individually weak features or from a smaller group whose contribution is obscured in the broad comparisons.
The structure-only experiments make a separate contrast. Complex and Single both choose the same head in cases of shared attachment. The information added by Complex is on the label. In English, the difference favors Single, and in German it slightly favors Complex when the grammar’s arcs are the only input added. The German difference is statistically inconclusive. The experiment therefore gives stronger evidence for the value of access to a second dependency analysis than for preserving the additional functions in complex labels. The paper does not report a separate accuracy test restricted to the constructions for which those labels were designed.
The tests that expanded XFEATS to more positions address a different issue. Extending the set of positions from which the classifier could retrieve grammar information did not give a further significant gain. The eventual specification exposes substantial grammatical analysis for the tokens immediately involved in a parsing decision. The finding is about the positions the authors tried and the way they encoded those features. It does not resolve whether other summaries of a larger portion of the grammar analysis would help.
Which dependency decisions improve?
The authors report results by dependency relation because similar attachment scores can conceal different changes in how sentences are analyzed. They use F-scores, which balance precision and recall for a relation. Precision asks how often the system’s predictions for that relation are correct. Recall asks how many of the reference instances are recovered. A ranking by F-score change alone could put a very rare relation at the top even when it accounts for little of the overall change, so the authors weight each change by the corresponding relation’s frequency.
Wᵢ = P(Deprelᵢ) × (Fbest,ᵢ − Fbase,ᵢ)
The subscript ᵢ identifies a dependency relation. Deprelᵢ is that relation, and P(Deprelᵢ) is its relative frequency in the treebank. Fbest,ᵢ and Fbase,ᵢ are its F-scores in the best configuration and the baseline. The minus sign denotes the score change and the multiplication sign weights that change by frequency. Wᵢ denotes the resulting quantity used to rank relations.
In English, the best reference-tag system is Single. The subject relation rises from 94.85 to 95.31 F-score, the object relation from 91.53 to 91.90, and the root relation from 87.30 to 88.13. The paper also reports a gain in predicatives, the relations involved when a property is attributed through a predicate. These results cover several points in the sentence where evidence from a full grammar could matter. The analysis gives examples of how it can contribute, without treating the aggregate change for a label as evidence of one uniform mechanism.
The subject of a subordinate clause without an overt complementizer is one English example. After a reporting verb such as said, a noun phrase may begin the reported clause without a word like that announcing the boundary. The grammar can supply a subject analysis that helps MaltParser attach the noun phrase within the embedded clause. This is a case where the same grammatical role in both resources supplies additional evidence for a decision the baseline may find hard.
English punctuation also improves on the per-relation measure, from 69.23 to 72.59 F-score in Single. The authors connect this to how the English grammar treats sentence-final punctuation. The effect is visible in the overall English comparison if punctuation is scored. The paper reports that the Single LAS gain is 0.18 percentage points when punctuation is included, compared with 0.15 under the shared-task rule that excludes it. The corresponding punctuation improvement does not appear in the German analysis.
For German, the best reference-tag configuration is Complex+Feats. Its F-score for the subject relation goes from 87.12 in the baseline to 90.01. Accusative objects go from 78.04 to 84.31, and genitive attributes from 82.93 to 90.78. Datives go from 52.85 to 73.26, though their relative frequency in the ranking is 0.01. The frequency weighting explains how a relation such as the common MO modifier can matter greatly to the ranked outcomes while showing a smaller change in F-score. MO rises from 76.00 to 77.99 in the same comparison.
The paper uses adverbials to show why the relation inventories matter. The English treebank distinguishes temporal, directional, and locative adverbials, among others. The German treebank groups many of these attachments under MO. A parser that identifies an attachment as adverbial in English can still miss the particular class required by the treebank. Many distinctions in the English reference annotation are expressed by a broad adjunct label in the converted grammar analysis. As a consequence, the direct arc input contributes less to this part of the English task. The additional features provide some help with temporal adverbials in the reference-tag analysis, through information such as whether a noun denotes a time or what kind of adverbial a phrase contains.
For German, the grammar can distinguish directional or locative obliques from general adjuncts within material the reference annotation often treats as modifiers. Consider the example with auf den Glastüren, a phrase referring to glass doors. The baseline attaches it to als, which precedes it, and gives it a postnominal modifier label. XLE links it to erscheinen, the verb meaning “seem,” and describes it as a directional oblique. The stacked parser attaches it to the verb and assigns the reference label. The grammatical cue helps even though the label emitted by the grammar is different from the one the learned parser must produce.
The frequency of disagreement makes this more than an isolated example. For subject attachments, the grammar’s head differs from the reference head in 54% of the English cases and 45% of the German cases. Other improved English relations have substantial head mismatches too, including 57% for objects and 27% for the root. For German, the corresponding mismatches are 47% for MO and 28% for accusative objects. Disagreement in the head field is plainly compatible with an overall gain for the relation.
There is variation on the label side as well. In the German training data, MO corresponds to the grammar’s ADJCT label in 72% of the instances. Other examples receive labels for directional or locative obliques, or for objects. The learned parser can use these correspondences in context. The comparison demonstrates that the grammar and treebank can describe overlapping structures without being interchangeable. It does not quantify how much of the performance gain comes specifically from systematic alternatives such as lexical versus finite verb heads.
The automatic-tag error analysis repeats several of the patterns, with some changes in which relations gain the most. The English improvements still include subjects, objects, the root, and punctuation. The adverbial relations examined there do not improve over the automatic-tag baseline. In German the added evidence has a particularly strong effect on accusative objects, genitive attributes, and subjects. The MO F-score gain is 1.19 percentage points with automatic tags, compared with 1.99 in the reference-tag experiment. The shift shows why the per-relation results should be read in light of what other evidence the parser has available.
Do incomplete grammar analyses help?
A full XLE analysis supplies more structural information than a collection of fragments. The authors examine the difference by selecting sentences that receive complete grammar analyses and training and testing a new baseline and a new stacked parser on that selection. They use the strongest prior configurations for each language, Single for English and Complex+Feats for German. Restricting the data in this way costs 15.8% of the English sentences and excludes 30% of the German sentences.
On the English full-analysis subset, baseline LAS is 89.63 and stacked LAS is 89.87. The authors report a gain of 0.24 percentage points in labeled attachment, an error reduction of 2.4%. On the German subset, the baseline obtains 86.89 LAS and the stacked parser reaches 89.04. This is a gain of 2.15 percentage points, a 15.3% reduction in labeled attachment error. The gains relative to each subset’s baseline are larger than in the original comparisons. The error analysis also finds similar patterns by relation on these selected sentences, with somewhat stronger effects.
The selected-subset experiment compares a baseline and stacked parser under conditions favorable to the grammar. The sentences chosen are ones that the grammar can analyze in full. This also changes the material seen during training and testing. For example, the German selected-subset baseline starts from a higher LAS than the German full-data baseline. The comparison therefore gives a view of how the parsers work together on sentences XLE can handle completely, rather than an estimate of what would happen if XLE could produce equally good analyses for every sentence.
The authors then hold the amount of training data fixed and change which automatic annotations are visible. In one run, the training examples with fragmented XLE analyses still contain the grammar evidence that is available. In the other, the grammar fields for those cases are left unspecified. Under the second treatment, English LAS is 89.70, compared with 89.79 when fragmented evidence remains available. For German the corresponding scores are 87.54 and 87.78. On the full datasets, the learners fare better with the fragments present. A fragment may supply a usable local attachment or property even when the grammar has failed to assemble a sentence-level analysis.
Limitations
Limits the authors identify
The grammar output is automatic, contains errors, and has incomplete coverage. XLE’s mechanisms for returning partial analyses make it feasible to offer grammar evidence for more sentences, with a corresponding variation in the quality of that evidence. The full-analysis comparison is explicitly a selected condition. In particular, it can exclude constructions that both parsers handle poorly. A high score on this subset gives no direct estimate of performance on the excluded sentences.
Reference POS tags are a controlled input for the main cross-validation comparisons. The authors identify their use as a reason those comparisons can give an optimistic picture of performance on new text. The TreeTagger runs address that issue by training and testing with predicted tags. These runs still take place on the treebank collections. The use of a fixed set of manually annotated examples for scoring is valuable, and the projection study is the paper’s separate test of a change in domain and subsequent use of the annotations.
The authors describe extending the method beyond these LFG grammars as a possibility with concrete prerequisites. There must be annotated data for learning the target analyses, a grammar capable of supplying useful input, and a way to convert or align the grammar output with dependency tokens. Even the English and German runs require language-specific attention to that final step. The paper also leaves richer representations of long-distance dependencies, control and raising, and semantic or discourse analysis for future investigation.
The authors caution that comparisons with an earlier German MaltParser result use different test sets. The scored comparison within this paper is between configurations evaluated with the same experimental procedure. The established gains are relative to those baselines. An apparently higher score taken from another evaluation does not establish a stronger parser under common conditions.
Limits visible in the comparisons
English and German differ in more than the shape of their grammars. They use different annotation schemes, baseline specifications, and starting levels of accuracy. The adverbial comparisons show that the intended output can be more or less fine-grained across collections. The authors connect the large German contribution of morphosyntactic features to the language’s grammar, and that explanation is consistent with the ablation. The experiment varies neither the language nor the annotation scheme independently, so it cannot assign the difference in gains to morphology alone.
The method preserves the treebank convention as the criterion of correctness. Converting the grammar output allows MaltParser to use analyses that disagree with that convention, but the evaluation still measures agreement with the reference heads and labels. This is especially relevant to the passive example. The stacked parser can learn the treebank preference for an auxiliary head even if the grammar’s lexical head is a coherent account of the same predicate. Attachment accuracy cannot adjudicate between the grammatical theories implicit in the two conventions.
Grouped features establish the effects of particular bundles more directly than the effects of individual properties. The discussion of temporal expressions and German case illustrates plausible ways the grammar evidence helps. Even alongside the ablations, those observations do not give an independent estimate for every feature. Similarly, the reported head mismatches show that gains occur in the presence of different analyses, but there is no experimental comparison that systematically removes just the convention differences while holding grammar errors and linguistic information fixed.
The conversion itself inevitably compresses the grammar analysis. Attaching a shared argument to its closest head selects one link, and a complex label keeps information about functions without storing the other head as a separate dependency. The co-head rule similarly selects a token to represent a structure realized by several words. The comparison establishes the usefulness of features from that conversion. It leaves open how much of the remaining LFG information could be used, and how a different mapping would change which evidence survived.
For annotation projection, the paper tests a German-to-Dutch route with Europarl as the parallel source and Alpino as the target evaluation. The target comparison uses UAS, so the demonstrated transfer gain concerns attachment heads. It says less about the transfer of dependency labels. It also does not show whether a different language pair or a different alignment regime would preserve as much of the gain. Training with fragments gives the target learner access to a less restricted pool of projected evidence, while changing the amount and character of the material it can learn from.
There is an additional limit to what can be attributed to source parser accuracy in the complete-tree projection experiment. The source parser helps determine which Dutch sentences survive filtering, because different German attachments can project into different patterns of connectivity. The training sets are therefore not necessarily made up of the same sentences. The fixed Dutch test set shows which source pipeline produces the better target parser under that regimen. It does not isolate the effect of changing arc accuracy while holding the projected training sample constant.
What came after
The later paper in the documented citation record is Speculation and Negation: Rules, Rankers, and the Role of Syntax (2012). Its focus, as stated in its title, is the role of syntax in work on speculation and negation, alongside rules and rankers. That puts the citation in a downstream setting. Øvrelid and colleagues had used Dutch dependency accuracy to test the value of a syntactic analysis after transfer and retraining. The later paper’s topic places syntax in relation to a different task, where the analysis is relevant to the treatment of speculation and negation.
The citation establishes the connection between the studies. It leaves the later paper’s specific use of the stacking method undetermined, including whether it ran the XLE conversion, used the combined MaltParser system, or drew on the work as background for its treatment of syntax.
Cite
Cite as Lilja Øvrelid, Jonas Kuhn and Kathrin Spreyer. 2009. Cross-framework parser stacking for data-driven dependency parsing. Traitement Automatique des Langues, Volume 50, Numéro 3 : Apprentissage automatique pour le TAL [Machine Learning for NLP].
@inproceedings{ovrelid2009cross,
title = {{Cross-framework parser stacking for data-driven dependency parsing}},
author = {Lilja Øvrelid, Jonas Kuhn and Kathrin Spreyer},
booktitle = {Traitement Automatique des Langues, Volume 50, Numéro 3 : Apprentissage automatique pour le TAL [Machine Learning for NLP]},
year = {2009},
url = {https://aclanthology.org/2009.tal-3.5/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/ovrelid-2009-cross-framework-parser-stacking-data/