Treebank Annotation Schemes and Parser Evaluation for German
Paper · 2007 · Ines Rehbein and Josef van Genabith
Summary
How much of a parser’s score comes from getting the sentence right, and how much comes from the way the answer is written down? In parsing, a system assigns a syntactic structure to a sentence. Researchers frequently judge that structure against a treebank, a collection of sentences with reference analyses. Ines Rehbein and Josef van Genabith examine two German treebanks whose conventions give the same kinds of constructions different numbers of branches and phrases. Their concern is that a score can reward one style of linguistic annotation even when the same kinds of mistakes occur in both. That possibility matters for an earlier claim that low scores for German reflected treebank design and that German was no harder to parse than English.
The authors compare TIGER, which generally uses flatter structures, with TüBa-D/Z, which uses more layers. They select comparable samples and make the same number of edits of each kind to the reference trees. The edits simulate mistakes such as attaching a prepositional phrase to the wrong part of a sentence, assigning a phrase the wrong category, or including a neighboring word within its boundaries. On these edited trees, the standard PARSEVAL measure gives TIGER a weighted score of 87.09 and TüBa-D/Z 95.30. Leaf-Ancestor, which compares the sequence of labels above each word, puts the samples closer together. The experiment starts from correct trees, so there is no difference in parser performance to account for the PARSEVAL gap.
The authors then train the same kind of parser separately on the two resources. With reference word categories supplied, TüBa-D/Z leads on PARSEVAL in the native annotation of each corpus. When the authors convert its predictions and reference trees to a flatter, TIGER-like form after parsing, its score falls slightly below the score of the parser trained directly on TIGER. With raw sentence input, PARSEVAL still favors TüBa-D/Z. Leaf-Ancestor favors TIGER, as does an evaluation of which word depends on which other word. Before using that last measure, the authors check their conversion from trees to word relations against relations recovered from the original annotations.
The results show that a comparison of native PARSEVAL scores can confound the quality of a parse with the amount and arrangement of structure the treebank records. They also show why switching metrics can change the apparent winner. Each metric asks for a different kind of agreement. The experiments compare resources for German, leaving unresolved the broader question of whether parsing German is more difficult than parsing English.
Deep dive: Treebank Annotation Schemes and Parser Evaluation for German
Controlled errors and three evaluation methods show how German treebank annotation changes parser scores and complicates comparisons with English. · about 33 minutes to read
The problem and its context
What a parsing score inherits from its reference trees
A treebank supplies examples of how sentences have been analyzed. The words are the leaves of a tree, and labels higher up identify groups such as noun phrases or clauses. A tree can show that several words belong together, which kind of phrase they form, and where that phrase sits within a larger construction. Those decisions are visible during training and again during evaluation. A parser trained from the treebank learns which structures occur in its examples. A scorer then checks how closely the parser’s predictions agree with the structures in held-out examples, meaning sentences set aside for testing.
Preparing those examples requires decisions at more than one level. Annotators have to decide how a construction works, and they have to choose how to express that analysis in the tree. A prepositional phrase, for example, can contain a preposition together with material centered on a noun. An annotation scheme can put a separate noun phrase around that material or place its parts directly under the prepositional phrase. This choice changes the branches and labels against which a parser will be judged. It also changes the rules a grammar extracted from the trees will see.
That distinction is central to the paper because the standard measure for the parsers under discussion, PARSEVAL, scores labeled groups of words. A predicted phrase counts as a match when it has the same category and covers the same stretch of words as a reference phrase. An analyst may recognize the intended noun phrase in a prediction whose boundary extends slightly too far. PARSEVAL treats the predicted and reference phrases as unmatched. An incorrectly labeled phrase also fails the match, even when the words grouped together are exactly the right ones.
The paper situates this concern in earlier criticism of PARSEVAL. The cited criticisms include its treatment of imperfect spans and its lack of a way to give different weights to linguistically different mistakes. A phrase with the wrong boundary and a phrase assigned the wrong category both contribute through the counts of matched and unmatched constituents. A score summarizes those counts. To understand what produced the score, a reader needs to know what the annotation treats as a constituent in the first place.
How German entered the debate
The authors start from a question about German and English that had already appeared in the parsing literature. German is described as less configurational than English. In this context, that means the arrangement of words and phrases gives a less fixed guide to their syntactic roles. The paper’s description of German clause structure gives a concrete sense of what that entails. It distinguishes clauses with the verb in initial, second, or final position. An annotation scheme must decide how to represent phrases around these differently positioned verbs and how to mark grammatical relationships when the words involved are separated.
Earlier results discussed by the authors suggested that German parsers generally scored below the strongest results reported for English. That pattern admitted several explanations. It could reflect the structures the parsers had to recover. It could also reflect the choices made when encoding those structures in a treebank, including choices that affect what a grammar is able to learn. A further possibility, which this paper isolates, is that the scoring rule itself changes its response when the reference representation changes.
Kübler’s work compared German parsing on NEGRA and TüBa-D/Z using LoPar and a probabilistic grammar extracted from each treebank. The grammars were unlexicalised, meaning that rules for the arrangement of phrases use syntactic categories without being specialized to particular words. The paper reports that the earlier comparison found a PARSEVAL difference of about 16%. That number came from comparing German resources. Its relevance to English was indirect. If altering the German annotation could move German scores into the range reported for English, perhaps the cross-language score gap had been as much about the choice of treebank as the choice of language.
Kübler and colleagues drew that broader conclusion. They argued that limitations of the NEGRA annotation for this kind of grammar explained the previously low German scores. Related experiments described by Rehbein and van Genabith modified the TüBa-D/Z annotation to resemble NEGRA. The researchers then extracted grammars from the modified versions. These studies treated annotation features as choices that could affect the parser’s ability to acquire and use a grammar.
For Rehbein and van Genabith, the move from those experiments to a conclusion about German and English depends on the meaning of a score. If a transformation affects both the grammar being trained and the structures available for scoring, a score change can arise at either stage. A match rate on one treebank can then carry a different implication from the same match rate on another treebank. The English resource in the earlier comparison was Penn-II, whose annotations also have their own design. The Penn Treebank
Two conventions for representing German syntax
The German resources under study share a language, a broad text genre, and a system of word categories. They still make different representational commitments. TIGER builds on NEGRA’s relatively flat annotation scheme. It extends that tradition in areas including the annotation of what complements verbs take, the treatment of appositions and parenthetical material, coordination, and the representation of proper names. The earlier work on annotating languages with free word order gives the background to that approach. An Annotation Scheme for Free Word Order Languages
One difference concerns long-distance relationships. TIGER permits branches to cross when drawn above the words in their sentence order. This lets an annotator connect a phrase to a node even if the words dominated by that node are discontinuous. In the comparable TüBa-D/Z example, a grammatical function label carries the information about what the separated phrase modifies. A grammatical function describes the role of an element in the larger structure. A category such as prepositional phrase describes what kind of element it is. The two can coexist in the original annotation.
The corpora also differ in how finely they divide a phrase internally. TIGER generally gives several elements a shared parent where TüBa-D/Z inserts an intermediate phrase. TüBa-D/Z permits a phrase node with just one child, called a unary branch. The original TIGER convention avoids unary branching. More intermediate phrases and unary branches mean that a word can have a longer chain of labeled nodes above it.
In clauses, TüBa-D/Z also groups words and phrases into topological fields. The fields relate constituent order to the positions occupied by the verb or its parts. VF, MF, and NF are the labels for the initial, middle, and final fields, respectively. LK and VC identify the left and right sentence brackets, positions the verb can occupy. These categories record information about the organization of the clause. Their inclusion also supplies labeled pieces of structure for a scorer to compare.
The treebanks offer a way to investigate the evaluation question within German, where language itself can be held constant. The paper uses that setting to ask whether comparable errors receive comparable penalties, whether a score changes when a completed parse is rewritten, and whether the ranking holds when success is defined in terms of word relationships. Each question targets a different connection between an annotation convention and a measurement.
The method, step by step
Follow the structure from the reference to the score
The procedure begins with reference sentences and their annotated trees. The authors prepare the trees for a common parsing procedure, then select held-out samples with comparable sentence lengths and word-category profiles. From there, they use the reference trees in several ways. They edit them to simulate errors. They also score predictions produced by grammars learned from separate training sentences. Finally, they compare predictions after changing which structural details count toward agreement.
From German treebank annotation to parser evaluation
The steps in order.
The experiments share a distinction between which analysis is being tested and how agreement is measured. For a simulated error, the only analysis changes are the edits the experiment deliberately makes. For a predicted tree, the parser has already made all its decisions before the authors change the output format. For the dependency evaluation, the object being scored changes again. Instead of asking whether a phrase has the right label and boundaries, the evaluation asks whether an individual word has been assigned the right head.
Prepare the phrase structures
The authors use Release 2 of both corpora. TIGER contains more than 50,000 sentences and TüBa-D/Z roughly 22,000. Both are collections of German newspaper text, although they draw from different newspapers. Their words are annotated with the Stuttgart Tübingen tag set. A part-of-speech tag, abbreviated POS, identifies a word’s grammatical category in context, such as a determiner or a finite verb. This shared inventory lets the authors use the same categories to characterize the sentences and, in one experiment, to supply reference input to the parser. Part-of-speech tagging
The original corpora supply both phrase categories and grammatical function labels. TIGER has 27 phrase categories and 49 function labels. TüBa-D/Z has 30 phrase categories and 36 function labels. Counts of category types describe the size of the inventory. Counts of phrasal nodes describe how often actual labeled phrase instances appear in the trees. These two properties affect different aspects of the experiment. A corpus can use categories repeatedly within a sentence and produce many nodes even with a relatively small inventory.
A context-free grammar describes how a category can expand into an ordered sequence of children. A contiguous tree is the form of input used to extract the grammars in this paper. TIGER’s original representation allows crossing branches, so the authors make those graphs suitable for the parsing setup. When resolving a crossing, they move a non-head child upward while leaving the head child in place. A head is the element that serves as the structural center of a phrase for the analysis being used.
The paper illustrates this operation with a sentence about prospects for public contracts. In TIGER’s illustrated analysis, the prepositional phrase concerning public contracts is associated with the adjectival region of the tree in a way that produces a crossing. The prepared version attaches it straight to the sentence node and leaves the adjectival phrase’s head in its original position. If a node originally joined that head to the moved material, the operation can leave the node with a single child. The prepared TIGER trees can therefore contain unary branches even though the original annotation convention avoids them.
Both resources receive a virtual root, a common node above the sentence structure, and both have their functional labels removed for the parsing experiments. This gives the grammars and the basic phrase-structure scores a narrower target. The authors return to the original function labels when checking the dependency extraction later. They can use information available in the reference annotation to test an automatic procedure that must work on predicted trees without those labels.
Select test sentences with comparable profiles
The authors screen the corpora for sentences within the same length interval.
10 ≤ n ≤ 40
Here n is sentence length measured in words. The symbol ≤ marks an inclusive bound. The values 10 and 40 are the shortest and longest eligible sentence lengths in words.
For sentences of a given length, the authors calculate average counts for a set of grammatical categories. The categories include prepositions and determiners, nouns and related categories such as proper names and personal pronouns, and interrogative pronouns. They also include finite and nonfinite verbs, past participles, and imperatives. Conditioning on length makes the category counts easier to compare. A given count of nouns, for example, tells a different story in a short sentence and in a much longer one.
A candidate can enter the pool if its counts for the listed categories satisfy the paper’s tolerance, with deviation of at most 0.8 from the corresponding average at that length. The authors then randomly select 1024 sentences from each eligible pool. The sampling procedure seeks sentences that are similar in properties pertinent to the edit operations and parsing comparison. It uses observable cues such as the occurrence of phrase-building word categories as a practical approximation to similarity in syntactic complexity.
The resulting samples contain comparable amounts of text per sentence while retaining the difference in phrase density. In the complete resources, TIGER averages 17.60 words and 8.29 phrasal nodes per sentence. TüBa-D/Z averages 17.27 words and 20.69 phrasal nodes per sentence. The reported phrasal-node counts per word are 0.47 and 1.20, respectively. In the selected samples the word averages are 14.49 for TIGER and 14.75 for TüBa-D/Z. The corresponding phrase averages are 6.97 and 19.18 per sentence, and 0.48 and 1.30 per word. These figures describe the references available for scoring. They give a way to distinguish a difference in amount of text from a difference in how much phrase structure the annotation places over that text.
Use the reference trees to simulate errors
For the first experiment the authors take a correct analysis as the starting point and ask how its score changes after a controlled edit. They apply each edit type an equal number of times in the two held-out sets, then compare the edited trees with the original references. A gold tree is the reference analysis designated as correct for the evaluation. Here the gold trees also supply the starting structures, so the authors know what was deliberately changed.
The attachment edits move a prepositional phrase, abbreviated PP, to a different place in the tree. In the first case the PP starts inside a noun phrase, abbreviated NP, and is attached one level higher. In the other case the edit changes a PP associated with a verb to one associated with a noun. The eligible sites include PPs at sentence level, inside a verb phrase, or in a TüBa-D/Z middle field. The edit simulates a familiar choice in syntactic analysis. A PP may describe an event or action, or it may qualify an entity mentioned in the sentence. A different attachment can express a different answer to that question.
The category edits keep a phrase in place and change what kind of phrase it is said to be. One replaces a PP label with an NP label. The other replaces a verb phrase label, VP, with a PP label. The resulting trees allow the authors to test exact label matching separately from changes in where the phrase begins and ends. In a tree that already contains these categories, the mechanical operation is simple, and the details of the phrase beneath the edited label can be left intact.
The boundary edits add neighboring material to a PP. One takes an adverb immediately to its left into the phrase, and another takes in a common noun immediately to its left. A further condition brings those two boundary-edit procedures together. These edits change the span a PP covers. The motivation for testing spans separately is that a parser can identify the right category and much of the right content while making a mistake about whether an adjacent word belongs inside.
Each edit family targets a different part of what a phrase tree says. An attachment edit changes which larger unit a phrase belongs to. A label edit changes the phrase’s category. A boundary edit changes the words it covers. The experiment holds the edit counts and types fixed across the two corpora. The surrounding trees retain their different annotation conventions, so the resulting scores show how the chosen evaluation responds when the same operations are performed in those different structures.
Extract grammars and then change the output representation
The next experiment adds learned parsing. The authors use BitPar, which is designed to parse with highly ambiguous probabilistic context-free grammars, or PCFGs. A PCFG associates probabilities with grammar expansions so that the parser can prefer some analyses of a sentence over others. Ambiguity arises when the grammar licenses several possible trees for the same input. The grammars are unlexicalised in the sense used earlier, with phrase-level rules expressed in categories. BitPar
The TüBa-D/Z training sample contains the 21,067 trees outside its held-out test set. TIGER is larger, so the authors take 21,067 training sentences from it as well, starting at sentence 10,000 and skipping any sentences reserved for testing. Both grammars are thus trained from the same number of sentences. They still have access to the different sequences of children and intermediate categories specified by the two corpora. The extracted TIGER grammar contains 21,163 rule types, while the TüBa-D/Z grammar contains 5021. A rule type is a distinct expansion available to the grammar. The figures describe the extracted grammars, including the effects of the conventions used to construct their training trees.
The parser runs on the held-out sentences associated with each grammar. For the conversion experiment, the input includes gold POS tags, the word categories recorded in the reference annotations. Supplying those categories reduces the role of word-category assignment and lets the experiment concentrate on the phrase structures built from that input. The later experiment starts from raw text, leaving word categories for the parser to handle as part of producing its analysis.
The authors then apply a conversion to the TüBa-D/Z predictions and to the TüBa-D/Z reference trees. They remove topological-field nodes and unary nodes in separate and combined conditions. To make the structure more like TIGER, they also remove the NP layer inside PPs and adapt category labels to the TIGER inventory. When an intervening NP is removed, the material that its node organized can become children of the PP. Applying the same transformation on both sides keeps the evaluation target consistent with the format of the predictions. The TIGER comparison includes a condition removing the unary nodes that were introduced during preprocessing.
The paper demonstrates the conversion on a sentence about the share of men who take parental leave. The source reference has field labels for the initial field, middle field, and left sentence bracket. The converted reference dispenses with those layers and uses TIGER-style categories. The corresponding prediction contains a mistake involving the placement of adverbs. The gold tree attaches the adverbs to the PP, while the prediction groups them within an NP governed by that PP. This example makes the timing of the conversion concrete. The prediction already contains the mistaken grouping when the conversion begins. Removing layers and rewriting categories changes how such a choice is expressed and how much of it the scorer can see.
This order differs from the earlier experiments that converted a training treebank before extracting a grammar. Those studies let the annotation changes influence what rules could be learned and what structures the parser could produce. Here the parser has finished by the time a tree is converted. Changes in the resulting scores can therefore be interpreted in light of the change in the representation of the existing analyses.
Score phrases, paths, and heads
PARSEVAL, implemented with evalb throughout the paper, compares labeled spans. A span is the stretch of words covered by a node. A candidate constituent matches a reference constituent when both the label and the span agree. To calculate precision, divide the number of proposed constituents that match the reference by the total number of constituents the parser proposes. Recall is the share of reference constituents recovered by the parser. The f-score combines those two measures using their harmonic mean, so a result reflects how well the prediction does on both.
The counts can be written directly from the matching procedure.
P = M ÷ A
Here P is precision as a proportion, M is the count of matched items, and A is the count of items in the analysis under evaluation. The equals sign gives the definition, and ÷ means division. For PARSEVAL the items are labeled constituents. The analysis may be a predicted tree or a deliberately edited reference tree. Reported precision expresses this proportion as a percentage.
R = M ÷ G
Here R is recall as a proportion, M is the count of matched items, and G is the count of items in the gold reference. The equals sign gives the definition, and ÷ means division. For PARSEVAL, G counts the labeled reference constituents. Reported recall expresses the resulting proportion as a percentage.
Leaf-Ancestor, abbreviated LA, takes one word at a time. It reads the sequence of labels on the path from that leaf toward the root and compares it with the path for the same word in the reference tree. The path records which categories contain the word, together with the order in which they are nested. The comparison uses Levenshtein distance, which describes how many edits to a sequence are needed to turn it into another sequence. In this application, a sequence element is a node label. When a phrase changes category, the altered label appears in the paths of the words under that phrase. The metric summarizes the similarities of the word paths, so errors can have different reach depending on how many leaves lie beneath the altered part of the tree.
In the third evaluation, the authors extract a collection of word-to-head relations from each analysis. A word’s head is the word it depends on in the resulting relation. For example, in the tree for the sentence about a city administration counting stray cats, the adjective modifying the cats depends on the noun for cats. That noun in turn depends on the participle for counting. The method evaluates whether the head assignments, together with the part-of-speech information in the relations, agree between the predicted and gold analyses. Dependency parsing
⟨WORD, POS, HEAD⟩
The angle brackets enclose an ordered triple, and the commas separate its fields. WORD is the word whose relation is recorded. POS is that word’s part-of-speech tag. HEAD is the word selected as its head, with a root case for a word that has no head in the sentence. Precision and recall have the same count definitions as above, with the triples serving as the items. The triples used for scoring omit grammatical function labels.
The authors validate the conversion before relying on it for parser evaluation. For each corpus they derive dependencies from the original test trees with the help of the original annotations. They remove the topological fields when preparing TüBa-D/Z trees for this comparison. They also make a version of the trees with the functional information stripped, choosing heads through heuristics, meaning rules that look at the remaining tree structure to decide which child provides the head. The dependencies from these stripped trees are scored against the dependencies recovered with the original information. The check tests whether a procedure suitable for predicted trees can recover nearly the same relations when given correct phrase structures.
Experiments and results
The same edits lead to different phrase scores
The first experiment compares modified references with untouched references. Both test sets have 1024 sentences drawn from the matched eligibility procedure. The equal numbers of each edit give the experiment its baseline. An untouched tree agrees with its own reference, and each edit changes an analysis whose starting point is known. Differences in the scores of the edited trees can therefore be examined without having to infer which mistakes a parser actually made.
The edit frequencies vary considerably across conditions. The two attachment conditions use 85 and 89 insertions in each test set. Changing PP labels to NP labels uses 1427 substitutions per set, and changing VP labels to PP labels uses 500. Adding the adverb to the PP is done 71 times in each set. Adding the noun is done 181 times, and the combined boundary treatment has 252 insertions. The weighted average across conditions reflects their frequencies, so it gives substantial influence to the category changes.
On PARSEVAL, the same edit always leaves TIGER with the lower score in the comparisons reported. Moving a PP from inside a noun phrase one level higher gives an f-score of 98.84 in TIGER and 99.57 in TüBa-D/Z. The paper reports that the 85 edits lower the two scores by 1.16 and 0.43, respectively. Changing verb attachment to noun attachment yields 98.75 and 99.55. A reader can see the same direction with these relatively infrequent edits before considering the aggregate.
Changing the PP labels to NP labels gives a PARSEVAL f-score of 80.02 for TIGER and 92.73 for TüBa-D/Z. Changing VP labels to PP labels gives 93.00 and 97.45. The boundary conditions likewise favor the denser annotation. For the adverb edit, f-scores are 99.01 and 99.64. For the noun edit, they are 97.47 and 99.08. For the combined boundary treatment, they are 96.51 and 98.73. The most conspicuous gaps occur in the label conditions, where the substitutions are also numerous.
PARSEVAL on the TIGER and TüBa-D/Z controlled-error test sets
The denser annotation receives the higher score under matched error insertions.
The numbers
| System or setting | Labelled bracketing f-score |
|---|---|
| TIGER, frequency-weighted average | 87.09 |
| TüBa-D/Z, frequency-weighted average (this paper) | 95.30 |
The weighted Leaf-Ancestor averages are 94.98 on TIGER and 97.18 on TüBa-D/Z. The two sets are closer on this measure. In the attachment conditions, for example, the TIGER results are 99.62 and 99.66, while the TüBa-D/Z results are 99.70 and 99.78. The frequent category edits are still visible. Changing PP to NP gives Leaf-Ancestor averages of 92.45 and 95.24. Changing VP to PP gives 96.05 and 99.28. Thus the finding is about how much the contrast changes with the metric. This particular alternative still assigns an advantage to TüBa-D/Z on the controlled edits.
Gold tags and conversion after parsing
The next comparison uses parser output from the held-out sets with gold POS input. The original, preprocessed annotation of each treebank supplies its native baseline. On TIGER, PARSEVAL precision is 83.54 and recall is 83.65, with an f-score of 83.59. The native TüBa-D/Z precision is 92.59 and recall is 89.79, with an f-score of 91.17. Thus the native scores would favor TüBa-D/Z by either precision or recall in this condition.
Leaf-Ancestor gives a different ordering for the gold-tag predictions. The average is 94.69 on TIGER and 94.23 on TüBa-D/Z. Each score comes from comparing the words’ paths against those in the reference annotation of its own corpus. The reversal is already present before any conversion. It shows that the evidence for the apparent TüBa-D/Z lead depends even at this stage on which kind of structural agreement is counted.
The conversion results track what happens when intermediate layers are removed from the existing TüBa-D/Z outputs and references. Removing only topological fields gives a PARSEVAL f-score of 90.53. Removing only unary nodes gives 87.76. Removing both gives 85.23. The most extensively flattened condition, which also removes the NP layer inside PPs, gives 83.16. The corresponding Leaf-Ancestor averages are 93.93, 93.59, 92.91, and 92.47. Both scores respond to the conversion, with the larger change across the conditions appearing in PARSEVAL.
PARSEVAL across TüBa-D/Z test-set conversion settings with gold POS input
Agreement falls as the completed parses and references are converted to a flatter format.
The numbers
| System or setting | Labelled bracketing f-score |
|---|---|
| Native TüBa-D/Z structure (this paper) | 91.17 |
| Topological fields removed | 90.53 |
| Unary nodes removed | 87.76 |
| Topological fields and unary nodes removed | 85.23 |
| Fields, unary nodes, and NPs inside PPs removed | 83.16 |
The final TüBa-D/Z conversion is slightly below the native TIGER baseline by f-score. The components help explain what that means. Converted TüBa-D/Z still has PARSEVAL precision of 87.15, compared with 83.54 for TIGER. Its recall is 79.52, compared with 83.65 for TIGER. In that comparison the converted parser output gets a greater share of its proposed phrases to match, while covering a smaller share of the phrases in its transformed reference. The final Leaf-Ancestor averages, 92.47 for the converted TüBa-D/Z trees and 94.69 for TIGER, also favor TIGER.
There is a separate unary-node comparison on TIGER itself. With these nodes removed, PARSEVAL precision and recall rise to 84.33 and 84.48, giving an f-score of 84.41. Leaf-Ancestor also rises, to 94.83. The nodes in question were a side effect of preparing TIGER’s crossing branches for the parser. This comparison goes in the opposite direction from removing unary structure in TüBa-D/Z. It points to a role for which specific structures are removed and how frequently the parser was getting them right.
Raw text and evaluation by word relationships
The final experiment uses the same grammars and held-out sets but passes raw text as input. The dependency output for TüBa-D/Z is extracted after removal of the topological fields. Before this evaluation, the conversion check on gold trees yields a dependency f-score of 99.64% for TIGER and 99.13% for TüBa-D/Z. Each number compares relations from stripped gold trees, with heads found heuristically, against relations from the original gold annotation with functional information available. These are scores for the extraction procedure on correct trees. The parser results separately incorporate mistakes in the predicted structure.
On the raw-text predictions, PARSEVAL again favors TüBa-D/Z. Its labeled bracketing f-score is 85.47%, compared with 81.12% for TIGER. TüBa-D/Z has precision of 87.24 and recall of 83.77, and TIGER has precision of 81.21 and recall of 81.04. The scores for both resources are lower than with gold POS input, and the f-score gap between their native annotations is narrower in this condition. The gold-tag and raw-text comparisons use the same split, giving a direct indication that the input condition matters to the apparent size of the difference.
For the same raw-text experiment, Leaf-Ancestor gives TIGER an average of 93.88 and TüBa-D/Z an average of 92.58. This repeats the ordering from the native evaluations with gold tags and displays a larger separation. The metric reflects agreement in word paths through each corpus’s own annotation.
On the dependency measure, TIGER’s precision is 85.71 and recall is 85.72. TüBa-D/Z’s precision is 76.64 and recall is 76.63. In this condition TIGER leads both in the share of proposed triples that are correct and in the share of reference triples that are recovered.
Dependency precision on the German treebank test sets with raw text input
The TIGER-trained parser has the higher share of matching word-to-head triples.
The numbers
| System or setting | Dependency precision % |
|---|---|
| TüBa-D/Z-trained parser | 76.64 |
| TIGER-trained parser (this paper) | 85.71 |
Read together, the raw-text results describe different successes. The TüBa-D/Z grammar does better at producing the labeled spans expected by its native references, as measured by PARSEVAL. TIGER has the stronger results on the paths and triples selected by the other evaluations. These comparisons bring the paper’s concern into view with actual parser output. A reader given only the native constituent scores would see a consistent TüBa-D/Z advantage across the input conditions. Access to the scores for other structural units changes what can be said about that advantage.
What the ablations show
More matching nodes can dilute the effect of an error
The controlled edits isolate sensitivity to a known change. Imagine a PP whose category is replaced while its span and the rest of its tree are preserved. The changed phrase fails to match the original one under PARSEVAL, while all the unchanged labeled spans can continue to match. In a denser reference tree, there are more such spans over a similar amount of text. The altered phrase therefore accounts for a smaller share of the material counted by the metric. The first experiment gives this explanation empirical support under both very frequent label substitutions and the less frequent attachment and boundary changes.
This interpretation requires attention to the particular operation. Reattaching a phrase can alter the spans of its old and new parents. Expanding a phrase can affect a neighboring phrase as well. The matched insertion count is a count of experimental operations. The number of phrases that fail to match after an operation can depend on how the two annotations organize the affected words. The experiment’s evidence concerns the response of the scorer to matched kinds and counts of edits in these resources, with their respective structures left in place.
The differences in absolute scores also depend on edit frequency. The category conditions produce the most apparent differences, and the paper attributes part of their visibility to the many opportunities to substitute the labels. The high scores for attachment and span edits need to be read in light of how frequently those operations were performed. A high aggregate score after a comparatively rare edit says little by itself about how consequential a particular changed attachment might be for the interpretation of a sentence.
A word’s path is affected by the size of the changed phrase
The paper shows how the metrics diverge on a TIGER sentence about the city administration of Venice counting stray cats. For the four edits illustrated in that sentence, PARSEVAL gives 83.33 each time. The equality means that the errors produce the same score under exact labeled-span matching. It gives the reader no basis for distinguishing the structural reach of these modifications.
The Leaf-Ancestor scores for the same sentence are 96.30 after raising the PP, 96.00 after relabeling the PP as an NP, 91.00 after relabeling the VP as a PP, and 96.40 after the illustrated boundary change involving the common noun. In the original analysis, the phrase referring to Venice contains the preposition and the place name. Changing its category affects their paths. The changed VP contains the words corresponding to for the first time, straying, cats, and counted. Each of their paths now contains a different category at that point in the tree. The lower Leaf-Ancestor score tracks the broader reach of the VP change within that sentence.
This example supports a particular interpretation of the word-path metric. It distinguishes errors according to the paths they change. It does so indirectly through the descendants of the affected constituent and the edits to their label sequences. A label change high enough to affect several words can receive a larger penalty than a label change in a small phrase. The result leaves open how those changes should be ranked by linguistic importance. An error involving few words can still matter for understanding who did what.
The authors also observe that the deeper TüBa-D/Z structures can reduce the number of words reached by certain label substitutions. A layer in that corpus may have a smaller set of leaves beneath it than the corresponding affected phrase in TIGER. The smaller difference in the aggregate Leaf-Ancestor scores shows reduced sensitivity in this test. The example supplies a reason for the sensitivity that remains. Representational choices still determine the sequences of ancestor labels and which words share a given ancestor.
Changing the scoring representation changes the size of the lead
The post-parsing conversions are the closest thing to a feature ablation in the study. When the topological fields are removed or the unary nodes are collapsed, the same BitPar decisions underlie the converted trees. Those operations alter the material available to the scorer. They thereby help separate a measurement change from the effects of learning a different grammar. That separation is what the earlier order of training and conversion could only address jointly.
The fields-only condition leaves much of the native TüBa-D/Z PARSEVAL lead in place. The unary-only condition has a larger effect. The combined condition reduces the score further, and removing the separate NP layer inside PPs brings it down to the vicinity of the TIGER baseline. The sequence demonstrates that several features of the denser structure contribute to how the native score behaves. It also shows the value of leaving the observations in their actual sequence of conditions. The impact of removing one kind of node can depend on the other structures that surround it and on the errors already present.
The TIGER unary condition further qualifies the density explanation. The paper’s controlled edits show that a larger set of unchanged matching nodes can soften the score penalty for an edit. Removing nodes that the parser predicts poorly can have the opposite effect, since their presence created opportunities for disagreement. The increase observed when unary nodes are removed from prepared TIGER trees is consistent with that second mechanism. It does not identify the correctness of every removed node. Together, the conditions support an account in terms of the distribution of correct and incorrect structures, with density influencing how much each contributes to the final score.
The dependency check provides a separate control for the interpretation of the raw-text ranking. If the head extraction worked well only on TIGER, the dependency result could largely reflect that conversion. The gold-tree comparison finds strong agreement for both corpora, supporting the use of the automatic extraction on each. The larger dependency difference appears when the procedure is applied to predicted trees. The evidence applies to the recoverable head relationships in this evaluation, alongside the paper’s evidence about phrase scores and word paths.
Limitations
Limits identified by the authors
The paper’s central limit concerns the comparison between German and English. Its experiments show that scores for two German corpora are sensitive to the combination of annotation scheme and evaluation metric. The analysis therefore undermines the inference that a German parser score in the range of an English score settles a question about the languages. It is still unclear whether parsing German is more difficult than parsing English. No English grammar is trained or tested in the experiments reported here.
The authors propose a possible way to pursue the question. They suggest testing grammars trained on the German corpora and on Penn-II through dependency evaluation, seeking comparable training and test samples, and carrying out controlled error insertion across resources and languages. They also identify a difficulty with the proposal. The definition of comparable data becomes harder to establish across languages. Their selection procedure for German uses counts from a shared set of categories within fixed sentence lengths. Applying a similar idea across languages would require a defensible account of which structures and kinds of sentences correspond.
The authors also qualify the evidence for Leaf-Ancestor. It is less sensitive than PARSEVAL to the difference in node density in the controlled comparisons. Its dependence on word paths means that the distribution of words under the changed nodes still matters. A metric that reduces the observed gap under one set of edits can remain sensitive to features of the annotation. The paper raises the question of which metric is best suited to cross-treebank assessment. Its results leave that question open while demonstrating a concrete problem with relying on labeled bracketing alone.
Limits visible in the design
The held-out sets are comparable by explicit selection criteria. Their lengths and the counts of selected POS categories are screened, and both contain German newspaper sentences. The samples come from different newspapers, and the matching operates on properties of separate sentences. It cannot supply the control that would come from having the same sentences independently analyzed in both schemes. Differences in vocabulary, constructions, or editorial style can still influence the training and parser experiments. In the controlled-error study, the known edits give a more direct basis for comparing penalties, even though the locations they affect occur in separate texts.
The controlled errors cover specified attachment, category, and span changes. The frequency-weighted results characterize those edits as applied to these test sets. Actual parsers can produce several interacting errors within the same sentence, and the distribution of their mistakes need not follow the frequencies in the simulation. The experiment can establish differential sensitivity to known changes. Estimating the full mix of parser mistakes in each native scheme would require a way to identify and count equivalent errors in predictions under both conventions.
The conversion after parsing removes distinctions from TüBa-D/Z and preserves the decisions that survive in the flatter representation. It can also remove the very node that expresses a decision. The conversion therefore changes which choices can be evaluated and how those choices appear. The resulting trees are TIGER-like analyses of the TüBa-D/Z sentences. They are scored against converted TüBa-D/Z references, while the TIGER system is scored on its own test set. The result supports a claim about the sensitivity of scores when existing predictions and references are rewritten. It supplies no head-to-head comparison of the two grammars against a single independently annotated set of sentences.
The parsing results also belong to a specific training setup. Both grammars are unlexicalised PCFGs extracted from prepared trees, and both are used with BitPar. Matching the training sample sizes controls the amount of data at the level of sentence counts. It leaves the structural content of those sentences and the distributions of grammar rules free to vary. The native results show how these two training resources work with this particular procedure. Their ordering cannot establish how a parser with access to a different kind of information would behave.
The dependency comparison narrows the target in a different way. A correct triple preserves an agreement about a word, its POS, and its head. It leaves grammatical roles outside the score and may give the same credit to trees with different phrase groupings. This is part of what allows it to compare structures without counting every intermediate phrase. The close agreement of the two gold-tree conversions supports the automatic procedure under reference-quality input. Its behavior on incorrect trees may also depend on where the errors occur, especially if a phrase error changes which child the head heuristic selects. The dependency scores give evidence about the relations defined in the paper, and the comparison does not establish a complete measure of syntactic analysis.
What came after
Later papers cite this study in work on German parsing, evaluation across parsing frameworks, and the interpretation of reported scores. Their subjects show where the problem recurs. A score can depend on the target representation, on the unit counted as a match, or on the way the evaluation is specified. The citations establish a connection to Rehbein and van Genabith’s study. The particular conversions and results of the later papers are outside what those connections alone establish.
The closest continuation by subject is the work on a dependency-driven parser for German dependency and constituency representations. Constituency describes the grouping of words into phrases. Dependency describes links between words and their heads. Rehbein and van Genabith use those two perspectives at evaluation time by extracting word links from predicted phrase trees. The later title places both representations within the scope of a German parser whose approach is driven by dependencies. It addresses the relationship between the representations at the level of the parser as well as raising the question of what an evaluation should count. A Dependency-Driven Parser for German Dependency and Constituency Representations
A broader strand takes up statistical parsing for languages with rich morphology, where information expressed in word forms can be relevant to the analysis. The SPMRL overview discusses the subject at the level of what to parse, how to parse it, and where the research should go. Its citation places the German case within that broader concern. Rehbein and van Genabith show how a result for a particular language can reflect the annotation and evaluation that accompany it. In the broader SPMRL setting, interpretation likewise depends on establishing what structures a test expects a system to recover. Statistical Parsing of Morphologically Rich Languages
The SPMRL shared-task overview makes cross-framework evaluation part of the task’s explicit scope. A shared task organizes comparisons around a common evaluation effort. The application to morphologically rich languages expands the setting beyond a pair of German resources. The connection is the need to make a comparison interpretable when the frameworks in use may differ in how they package syntactic information. The German study supplies an example of the failure that a cross-framework evaluation has to address. Matching more labeled spans under one convention can coexist with recovering fewer of the word relations counted under another. Overview of the SPMRL 2013 Shared Task
The work on identifying multiword expressions through parsing takes up a different prediction target. Its concern is the recognition of expressions involving several words. The connection to the German study lies in the decision about which words to group and how to represent that group. Rehbein and van Genabith show how an added phrase layer can affect the measured agreement of an entire parse. The expression-identification work focuses attention on particular groupings whose recovery is the task in its own right. Parsing for Identifying Multiword Expressions
The Arabic Treebank study addresses granularity directly in a grammar induction setting. It concerns the derivation of a variable-granularity property grammar from the Arabic Treebank ATB. Grammar induction is the process of deriving a grammar from data, and granularity concerns the level of detail at which the structures are described. Here the connection runs through the choice of detail made available to the grammar. In the German paper, much of the experimental leverage comes from changing which layers are represented. The later work’s subject places variation in descriptive detail within the grammar being induced. Induction of a Variable Granularity Property Grammar from the Arabic Treebank ATB
The call for clearer reporting of the BLEU score carries the concern with score interpretation into machine translation. It focuses on how scores are reported. The German paper’s setting is syntactic evaluation, where the size and contents of the reference inventory matter for the number a parser receives. The BLEU paper addresses clarity about a different measurement, with the citation connecting two settings where a familiar metric name can leave important details of the comparison implicit. A Call for Clarity in Reporting BLEU Scores
Cite
Cite as Ines Rehbein and Josef van Genabith. 2007. Treebank Annotation Schemes and Parser Evaluation for German. Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-CoNLL).
@inproceedings{rehbein2007treebank,
title = {{Treebank Annotation Schemes and Parser Evaluation for German}},
author = {Ines Rehbein and Josef {van Genabith}},
booktitle = {Proceedings of the 2007 Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning (EMNLP-CoNLL)},
year = {2007},
url = {https://aclanthology.org/D07-1066/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/rehbein-2007-treebank-annotation-schemes-parser-evaluation/