Elamur Research

Improvements to Dependency Parsing Using Automatic Simplification of Data

Paper · 2014 · Tomáš Jelínek

Summary

A dependency parser has to decide which word governs each token in a sentence and what grammatical function that token serves. The Prague Dependency Treebank gives it detailed examples of both decisions, drawn from Czech journalism. That detail also creates a learning problem. Many word forms are rare, grammatical tags sometimes group words that behave differently in sentences, and some distinctions in the treebank's syntax appear too infrequently for a parser to handle them reliably. Tomáš Jelínek asks how much the representation of the data contributes to these difficulties in dependency parsing.

The paper keeps the established settings of MaltParser and MSTParser and changes what they see during training and parsing. Names and numerals with similar grammatical behavior can share a representative, so sentences with different people, places, or quantities can give the parser evidence about the same construction. Grammatical tags can distinguish words that act like nouns from words that act like adjectives. Some syntactic labels can be merged, and expressions with predictable internal structures can be temporarily represented by a single token. After parsing, the system restores the original text from a backup and uses rules to reconstruct structures and distinctions that can be recovered. Rare labels that explicitly record structural ambiguity are dropped as possible predictions.

Both parsers gain accuracy on the d-test split of version 2.5 of the Prague Dependency Treebank. MaltParser's unlabeled attachment score, which checks whether a token has the right governing node, rises from 86.11% to 86.90%. Its labeled attachment score, which also requires the correct grammatical function, rises from 79.80% to 81.35%. The corresponding scores for MSTParser rise from 85.93% to 86.31% and from 78.80% to 79.45%. The paper's opening reports an 8.3% error rate reduction for MaltParser without identifying the metric or comparison behind that figure.

The author singles out the reduction in vocabulary variation as the most effective change. The results also show that the parser matters. The same sequence of changes produces a larger gain with MaltParser than with MSTParser, and the paper reports that some attempted structural changes hurt performance and were discarded. The experiment makes a case for looking at how the training data present a grammatical decision, especially when the intended answer can be preserved through preprocessing and reconstruction.

Deep dive: Improvements to Dependency Parsing Using Automatic Simplification of Data

Reversible changes to Czech text and treebank annotations improve dependency parsing with MaltParser and MSTParser on the Prague Dependency Treebank. · about 32 minutes to read

The problem and its context

What the parser has to learn

A dependency tree represents a sentence as a set of links between tokens. A token's head is the node it depends on. That node can be another token in the sentence or a special root outside it. The parser must choose a head and assign a label to the link. An object label, for example, says something about the role of the dependent in relation to its head. Getting the head right and getting the label right are distinct achievements. A system can recognize that a token belongs with a particular verb and still misidentify its grammatical function.

In the Prague Dependency Treebank, that task extends to punctuation. The annotation covers surface syntax, the grammatical structure of the sentence as written, and includes basic functions such as subject, object, and attribute. It also labels items such as prepositions and coordinating conjunctions. Coordination joins elements as members of a construction, while apposition brings together expressions such as a name and a description of the same entity. The annotation marks participation in these constructions in addition to recording ordinary dependencies. A prediction can therefore involve a token's grammatical role and its membership in a larger structure.

The paper's treebank illustration shows a Czech sentence identifying EKULT, a foundation for ecology and culture, as the organizer. The tree marks the main predicate with Pred, the nominal part of the predicate with Pnom, the subject with Sb, and an attribute with Atr. A preposition receives AuxP. The tree also has nodes marked Apos for apposition and Coord for coordination, with suffixes on the labels of participating nodes. Even this short example gives a parser several kinds of decisions. It must place the predicate and its dependents, fit a description around the name, and recognize the coordination within that description.

Some of the relations in the treebank are non-projective. The paper includes them among the sources of structural variety. In a dependency tree laid out in sentence order, projectivity constrains how attachments can span intervening words. Non-projective links allow structures that go beyond that constraint. The availability of these structures matters to the choice of parser, but it also illustrates a larger issue in the paper. A treebank defines a rich set of acceptable outputs, and the examples available for learning those outputs are unevenly distributed.

The Prague Dependency Treebank comprises Czech journalistic texts with several layers of manual linguistic annotation. The paper puts the amount annotated for surface syntax at 1.5 million tokens. Its scheme follows Czech dependency syntax in considerable detail, with a 300-page manual that explains how to handle particular constructions. The manual can tell a human annotator which grammatical distinction applies and which cases receive special treatment. A trained parser has to recover those regularities from examples and the features made available to it. A distinction can be well defined in the manual and still be difficult to learn from the annotated sentences.

Where complexity enters

Vocabulary is one source of difficulty. A parser can use the spelling of an inflected word or its dictionary form, alongside grammatical features such as case and number. A word's dictionary form is its lemma. A lemma groups inflected variants, but the training data still cover only part of the vocabulary a parser may encounter. Some words in a new sentence will have no counterpart in training. Others may have occurred too rarely to give the parser much evidence about how they attach. The problem also arises when familiar forms can serve different functions and the relevant use is infrequent.

The paper points out that grammatical features and lexical information both have a job. Features like case can show why different inflections occupy different positions in a structure. Word forms and lemmas can carry distinctions that a grammatical tag leaves out. The question is where lexical differences are useful. A change of city name can matter to the sentence's meaning while leaving the grammatical relation induced by a preposition intact. If separate names get separate lexical representations, the parser has to share evidence across those examples through whatever other features it uses. Grouping suitable names allows that evidence to be shared through the lexical representation as well.

Grammatical categories bring a different problem. The morphology of a word concerns such properties as its inflection and grammatical class. The treebank's morphological scheme follows traditional descriptions of Czech. Some categories organize words by meaning or by a conventional grammatical distinction whose relevance to word attachment varies. The paper's example is a category of indefinite pronouns that includes items with the distribution of nouns and others that behave like adjectives. A parser using the original tag has to learn about this split from cues elsewhere in the input. A tag designed with syntactic behavior in mind can put the distinction directly in view.

There is also a problem on the output side. The treebank permits combinations of functions and suffixes, as well as dedicated labels that express structural ambiguity. When some labels have very few examples, a parser has little basis for deciding when to predict them. Other labels repeat a distinction that can already be read from the structure. For example, suffixes that distinguish apposition from coordination can be inferred from the governing construction node. In that case, the information can still be useful in the final tree, even if learning the suffix as part of each full label is an inefficient way to produce it.

Why change the data around the parser?

The paper describes a field that sought better parsing accuracy through new algorithms and better choices of features. Its point of departure is that a parser's input and target representations are also design choices. To study them, the author takes systems with strong published results on the Prague data and uses configurations that had already performed well on Czech. The two systems are MaltParser and MSTParser.

The paper's discussion of prior work also shows that choices about grammatical representation were already part of Czech parsing. The MSTParser configuration uses a reduced tag representation proposed in earlier parsing work on Czech. It supplies part of speech with case where case applies, or part of speech with a subtype in categories without case. The paper notes that expanding these tags with properties such as gender and number may lower MSTParser's accuracy. This is an example of a general tension in the setup. Detailed annotation can encode legitimate linguistic information while making an individual parser's evidence harder to use.

Jelínek extends the investigation to multiple parts of the pipeline. Vocabulary, grammatical tags, the inventory of output labels, and the number of tokens the parser has to connect can each be changed. They present different problems. A word substitution pools evidence across items. A tag revision presents a grammatical distinction more directly. A label merge reduces the alternatives the parser must learn. Replacing a fixed expression with a proxy removes an internal attachment decision and transfers it to a restoration rule. The experiment asks how far those operations can improve the performance of existing parsers under established settings.

The method, step by step

Train and parse in the same representation

Consider a sentence containing a city name. If the identity of the city is irrelevant to a particular attachment, a temporary representative can give the parser a more familiar lexical item. The original name still belongs in the output. The software can record which form it replaced, pass the proxy to the parser, and put the original form back once the parser has selected a head and function. Training uses the same substitution so the parser has a chance to learn from previous sentences that contain the representative.

The same overall procedure handles changes that affect the tree itself. If a sequence of tokens has a predictable internal structure, the sequence can be replaced by a single proxy token. The training tree then describes the proxy's place in the sentence, and the corresponding input to the parser presents the same unit. After the parser attaches that unit and its surrounding dependents, a restoration rule inserts the original tokens and their known connections. In this case, the parser's temporary output has a different shape from the final tree.

Training and prediction have access to different information. Training examples include reference dependency trees, so the software can revise their labels and internal structures directly. New sentences and test inputs are available as text with automatically assigned grammatical tags and lemmas. They can undergo changes that are recognizable from that input. Their final trees are produced by parsing and restoration. The test reference trees serve as the standard for evaluation.

Reversible data simplification around dependency parsing

The steps in order.

Reversible data simplification around dependency parsingStep 1: Prepare automatically tagged and lemmatized sentences1. Prepare automatically tagged and lemmatized sentencesStep 2: Normalize lexical items and revise grammatical tags2. Normalize lexical items and revise grammatical tagsStep 3: Collapse recognized expressions into proxy tokens3. Collapse recognized expressions into proxy tokensStep 4: Transform training trees to match the simplified input4. Transform training trees to match the simplified inputStep 5: Train the parser on the simplified trees5. Train the parser on the simplified treesStep 6: Parse simplified test or new sentences6. Parse simplified test or new sentencesStep 7: Restore original tokens and reconstruct recoverable annotations7. Restore original tokens and reconstruct recoverable annotations

The paper proposes a tool with a training mode and a mode for test and new text. The training mode has access to the annotated syntactic structure. The prediction mode keeps a backup of the changes it makes to the text. In both modes, the temporary representation has to be internally consistent. If collapsing an expression removes positions from the input, the corresponding training tree must use the new token arrangement. Otherwise a dependency could refer to a token position that the parser never receives.

The text backup and the syntactic rules do different kinds of work. The backup can identify the exact word form and lemma that were replaced. A rule can reconstruct a predictable relation within a collapsed expression or a suffix implied by the parsed structure. That distinction matters when considering what it means to restore the output. Restoring a spelling reproduces information recorded before parsing. Reconstructing a syntactic detail can depend on the parse, the recognized construction, or a convention that defines the detail in advance.

Start with a consistent reference annotation

Before applying the main transformations, the author reviews inconsistencies in version 2.5 of the Prague Dependency Treebank. The paper says the data had been in use for 10 years and had undergone testing and revision. A rule-based module intended to check particular constructions nonetheless exposed cases where similar sentences received different labels. For the word líto in expressions of regret such as je mi líto, the paper finds 6 occurrences labeled Pnom, for the nominal element of a predicate, and 3 labeled Adv, for an adverbial function.

This example explains why a cleanup stage belongs in the experiment. Two differently labeled uses might represent a meaningful distinction, or they might reflect inconsistent treatment of the same construction. A pattern detector can flag the cases for inspection. Deciding whether a correction is warranted still requires examining the examples in context. The author built a rule-based tool to flag potentially incorrect trees or functions and had an independent linguist review the flagged sentences. The resulting corrections affected about 0.25% of nodes.

The role of this stage differs from that of the transformations used during parsing. Cleanup revises the reference annotation so that the examples better reflect the intended scheme. Lexical normalization and similar transformations give an existing distinction a temporary representation. The experiment reports cleanup as its own stage, which lets the reader see how the original parser settings perform after the reference data have undergone that review.

Give similar words a shared representative

The lexical step starts by identifying groups of words whose syntactic behavior the author considers equivalent for the purposes of parsing. An item in such a group is replaced by the group's representative. The paper mentions groups of numerals, first names, surnames, and city names. Their memberships matter. The operation has to retain distinctions, such as inflectional case, that help determine how a word fits into the sentence.

The author illustrates this with two sentences that use the same pattern for a group of people going with one person to meet another in a city. One sentence involves Klement Gottwald, Stalin, and Moscow, while the other involves Václav Havel, Walesa, and Warsaw. The quantities also differ. The action and the grammatical arrangement stay aligned across the examples. The transformation maps the differing quantities and names to shared representatives.

In the normalized Czech sentence, the first name is represented by a form of Jan, the surnames by forms of Novák, and the destination by a form of Praha. The numeral uses Pět. The contrast between Novákem and Novákem in the resulting constructions is useful in another way. The same representative can occur at distinct positions with different roles in the sentence, so the parser still needs to read the surrounding words and structure. The city representation appears as Prahy in its construction with do. The example shows normalization working within the grammatical setting of the original sentence.

This operation gives the parser repeated instances of the same lexical forms in constructions whose original words differ. Evidence from a sentence with one city can help when another city occurs in a similar context, provided that both are recognized and mapped appropriately. The same logic applies to inflected forms of names. The grouping does not decide the head of the representative. It changes the range of lexical cues the parser encounters when it learns or makes that decision.

The project uses some 80 groups. The normalization reduces the number of different word forms in the training data by 19%. That figure measures the inventory of distinct forms, so repeated occurrences of a common representative can replace many different inputs while preserving their positions as separate tokens. This vocabulary change is distinct from the reduction in token positions caused by collapsing a fixed expression.

Most lists came from existing language resources. The paper points to lists used for rule-based morphological disambiguation, the process of resolving which grammatical analysis applies to an occurrence of a word. It draws some verb properties from PDT-VALLEX, a dictionary of valency, or the patterns of complements that a word can take. A few lists were compiled manually using the SYN corpus of written Czech. These resources give the transformations their grouping knowledge before the parser is trained.

The design relies on syntactic equivalence within each group. Semantic categories can help locate candidates, since names of cities or members of a class of numerals may share grammatical behavior. The intended criterion is how the items behave in a sentence. If a grouping obscures a useful difference in whether an item takes a complement or how it inflects, it can also obscure evidence needed for a correct parse. The paper's representative sentences work as illustrations because the replaced items fill comparable grammatical positions.

Express the relevant distinctions in the grammatical tags

The next stage revises the grammatical annotation used as input. A morphological tag summarizes properties of the current token. The PDT positional representation has fields for features such as part of speech, number, gender, and case. A parser can use these features alongside lexical identity. Part of speech identifies broad grammatical classes, through the upstream process of part-of-speech tagging.

The example of indefinite pronouns shows why the organization of those fields matters. Czech někdo and něco have noun-like behavior and can serve as subjects or objects. Words such as nějaký and jakýsi are adjective-like and generally serve as attributes. The traditional category gives these items a common semantic classification. For the parser, it can be more informative to know directly which items fill positions typical of nouns and which modify a nominal expression.

The transformation can accordingly remove a distinction that contributes little to the parsing decision and introduce one that tracks syntactic behavior. These are complementary operations. Removing categories can make evidence easier to share across items. Adding a category can make a recurring grammatical contrast easier to recognize. The changes pursue a representation suited to predicting heads and functions, so the result can be more detailed in one respect and less detailed in another.

Both parsers receive automatically assigned morphological information in training and at prediction time. MaltParser uses individual fields of the positional tag as separate features, with forms and lemmas both available in its CoNLL input. Its configuration uses the LibSVM learner and the stacklazy algorithm. MSTParser receives the reduced tags described above. Its input format makes either forms or lemmas available. The original setting uses forms, and the paper uses lemmas in some of its experiments. Thus a change applied to the underlying data may reach the two parsers through different sets of features.

Simplify the labels the parser must predict

The paper counts 84 syntactic functions in use when it includes the combinations of grammatical functions and coordination or apposition suffixes. Of those combinations, 17 occur less than 10 times across the data. At the other end of the distribution, the attribute label Atr occurs 389,000 times. That imbalance creates a learning difficulty for some distinctions in the output. The paper considers removable ambiguity labels and reconstructable suffixes as separate cases.

Labels such as AtrAdv and ObjAtr are combined labels. They encode cases where the annotation recognizes more than one possible analysis, such as an attribute and an adverbial reading. These labels occur rarely, and the paper reports that the parser frequently fails to recover them. The experimental simplification removes combined functions from the set of outputs the parser can learn to assign. That prevents predictions of those labels in inappropriate contexts. It also gives up the ability to predict the original ambiguity label in any context through the simplified label inventory. The paper gives examples of the labels and describes their removal without specifying a recovery rule for them.

Coordination and apposition suffixes offer a way to reduce label variety while retaining a means of reconstruction. A function can carry _Co if its node participates in coordination and _Ap if it participates in apposition. The relevant superordinate node is labeled Coord or Apos. The parser can learn a shared suffix representation, and a rule can recover the distinction from the type of the governing construction after parsing.

For instance, the central grammatical information in an object label is still available when the coordination or apposition suffix is temporarily unified. The parser has fewer combinations to distinguish at label assignment. Once it has located the dependent within the larger construction, the construction type supplies the appropriate suffix. The rule has a definite answer given the requisite structure. A mistake in the larger structure can still lead to an incorrect restored suffix, because the rule relies on the structure it receives.

Replace predictable expressions with one token

The paper applies a related idea to multiword expressions and other recurring sequences with fixed syntactic structure. A phrase is eligible for collapse when its internal tree is known and only one of its nodes can take further dependents outside the expression. The proxy can then stand in for the expression's point of contact with the sentence. After parsing, the other tokens can be inserted with their predetermined relations.

Compound prepositions are the main example. The PDT manual lists some 70, though the paper says only a few are consistently annotated as compound prepositions in the data. The expressions na základě and v rámci, conveying meanings such as “based on” and “within,” are among those used. Their components look morphologically like a preposition followed by a noun. An ordinary parsing decision can therefore give them the analysis of a regular prepositional phrase. The paper gives the recurring expressions single-token representatives such as na_základě and v_rámci.

During training, the source expression's tokens are replaced and the tree is adjusted to refer to the proxy. The corresponding change is made to recognized expressions in test and new text. The parser makes attachments involving the proxy in the shortened sequence. When the expression is expanded, the predetermined internal links are supplied and the connections to the rest of the sentence are assigned through the appropriate node. This procedure avoids asking the parser to rediscover the internal tree of each recognized occurrence.

The paper applies the same treatment to some multiword place names, including Ústí nad Labem. The individual words inside the name contribute to a fixed expression used as a single unit in the larger sentence. Treating the name as a proxy therefore simplifies a different problem from replacing one city name with another. Substitution shares lexical evidence across names that fill comparable roles. Collapsing a name with internal structure changes the parse input so only its external attachments need to be predicted.

The method also handles some difficult interactions between words and punctuation. Czech -li, a conjunction meaning “if,” is written against the preceding verb with a hyphen. In the paper's example, tokenization treats Je-li as a verb, a hyphen, and the conjunction. The parser normally has to fit all those positions into its tree. The paper groups the hyphen and conjunction for parsing and restores the original token arrangement afterwards. The verb remains a separate input token.

The eligibility condition explains what the collapse preserves. A single proxy works when the internal links are sufficiently predictable and the expression's connection to the rest of the sentence can pass through one node. Suppose different words inside the expression could each take modifiers from outside it. A parser attaching a modifier to the proxy would then leave the restoration procedure with an additional choice about where it belongs. The paper's condition avoids that problem for the included expressions. Recognition of the correct expression remains part of the work, especially where a familiar sequence might also have an ordinary compositional use.

Handle well-defined syntactic exceptions with rules

Some conventions in the treebank require more than a generic change to the inventory of labels. The paper discusses být, the Czech verb “to be.” Complements of this verb normally do not take the object function Obj in the account the paper gives. The treebank nonetheless uses that function for dependents in specified constructions. Its examples include a dative pronoun in an expression of regret and a dative pronoun in a statement of someone's age.

An entry in the annotation manual can specify which constructions permit this treatment. A parser exposed to the original trees also sees the association between být and Obj, and the paper reports that parsers extend it to inappropriate contexts. The simplification removes those exceptional object assignments from the training representation. A rule then assigns the relevant function after parsing in the cases defined by the convention. The paper explains the motivation and examples without enumerating the full recognition procedure or all of the temporary labels.

The difference between this rule and the suffix rule is the source of the decision. For coordination and apposition suffixes, the type of superordinate node directly identifies the distinction. For the exceptional use of Obj, the software relies on the description of specific constructions. Both operations move a predictable decision out of general statistical parsing. They require different information during restoration, and the paper's examples illustrate why the choice of simplification depends on the structure being handled.

Restore the text and the structures the rules can recover

Once the parser has worked on the simplified input, the backup identifies the original text values. The outputs also have to be expanded wherever one token stood for several. The reconstruction supplies the internal structure of each recognized expression, along with functions or suffixes that the rules can determine. The finished parse can then use the sentence's original token sequence and the recoverable distinctions of the treebank representation.

The paper proposes checking the transformation software by applying simplification and restoration to training and test data and verifying that the text survives the round trip. This is a check on preservation of the input. When the middle step is an actual parse, the restored syntactic output still depends on the parser's decisions and on the correct recognition of constructions. For example, restoring a city name from the backup says nothing about whether the phrase containing it was attached to the right verb. Expanding a compound preposition guarantees its scripted internal structure only if the occurrence was correctly identified as that expression.

The operations are specified as substitutions, changes to annotations, and structural rules. The paper gives the parser settings and the data procedure in prose. Its method does not introduce a mathematical objective or give formulas for the transformations.

Experiments and results

What was held fixed and what changed

The evaluation uses the d-test data of the Prague Dependency Treebank, version 2.5. MaltParser and MSTParser start with their established Czech configurations, using the original data. The author then reruns the experiments with the reviewed annotation. Subsequent runs add lexical normalization, revised morphological annotation, and a final package of syntactic changes that includes the treatment of fixed expressions. The stages are cumulative. A row labeled for revised morphology, for example, already includes the changes to word forms and lemmas used at the preceding stage.

The baseline settings come from Daniel Zeman for MaltParser and Miroslav Spousta for MSTParser. The paper describes those settings as unpublished. For MaltParser, the pertinent choices include stacklazy, LibSVM, both forms and lemmas, and access to individual fields of the morphological tag. MSTParser starts with the form-based input setting and reduced morphological tags. The experiment thus compares each parser against its own starting point. The competing systems differ in what input features they can use even before the transformations begin.

The reported metrics are unlabeled attachment score and labeled attachment score, abbreviated UAS and LAS. UAS credits a predicted attachment when the dependent has the correct head. LAS requires both the correct head and the correct syntactic label. A token whose head is correct and whose function is wrong therefore counts towards UAS alone. This matters when reading the effects of the syntactic stage, which changes some of the labels the learner predicts and also changes how it handles structures with several tokens.

MaltParser

On d-test, the original MaltParser setting reaches 86.11% UAS and 79.80% LAS. The reviewed data yield 86.12% UAS and 79.86% LAS. Adding the simplified word forms and lemmas takes the scores to 86.44% UAS and 80.58% LAS. At that stage, the parser sees less lexical variation while the later changes to morphological and syntactic annotation are still to come.

The revised morphological features bring the result to 86.79% UAS and 81.07% LAS. With the final set of syntactic and multiword-expression changes, MaltParser reaches 86.90% UAS and 81.35% LAS. Both scores rise at every reported stage. The paper identifies the reduction in word-form and lemma variation as the largest contributor overall in the MaltParser experiment. The unlabeled scores also show a substantial step at the morphological revision, so the relative prominence of a stage depends in part on which score is being read.

MaltParser labeled attachment on PDT 2.5 d-test as simplifications accumulate

Labeled attachment rises across the reported stages, with the largest step at lexical simplification.

MaltParser labeled attachment on PDT 2.5 d-test as simplifications accumulateOriginal setting: 79.80Original setting79.80Reviewed annotation: 79.86Reviewed annotation79.86Added word-form and lemma simplification: 80.58Added word-form and lemma simplification80.58Added morphological revision: 81.07Added morphological revision81.07Added syntactic and expression changes (this paper): 81.35Added syntactic and expression changes(this paper)81.35
The numbers
System or settingLAS %
Original setting79.80
Reviewed annotation79.86
Added word-form and lemma simplification80.58
Added morphological revision81.07
Added syntactic and expression changes (this paper)81.35

The paper's opening reports an 8.3% error rate reduction for MaltParser. The evaluation tables give attachment accuracies for each cumulative stage. The paper does not specify which score, baseline, or comparison produced the reported error reduction, so the attachment scores are the figures that identify the exact dataset, split, and setting.

MSTParser

The MSTParser baseline scores 85.93% UAS and 78.80% LAS on the same d-test data. With the reviewed annotation it reaches 85.94% UAS and 78.83% LAS. The run with simplified word forms and lemmas reaches 86.12% UAS and 79.00% LAS. After the addition of revised morphology, the reported scores are 86.29% UAS and 79.25% LAS. The final package yields 86.31% UAS and 79.45% LAS.

MSTParser labeled attachment on PDT 2.5 d-test as simplifications accumulate

Labeled attachment improves across the stages, with gains spread across lexical, morphological, and syntactic changes.

MSTParser labeled attachment on PDT 2.5 d-test as simplifications accumulateOriginal setting: 78.80Original setting78.80Reviewed annotation: 78.83Reviewed annotation78.83Added word-form and lemma simplification: 79.00Added word-form and lemma simplification79.00Added morphological revision: 79.25Added morphological revision79.25Added syntactic and expression changes (this paper): 79.45Added syntactic and expression changes(this paper)79.45
The numbers
System or settingLAS %
Original setting78.80
Reviewed annotation78.83
Added word-form and lemma simplification79.00
Added morphological revision79.25
Added syntactic and expression changes (this paper)79.45

MSTParser follows the same direction as MaltParser on the reported sequence, with smaller overall gains. Its labeled attachment scores also put the changes in a somewhat different order of prominence. In particular, the movement after the morphological revision is more pronounced than the movement after lexical simplification. That pattern fits the paper's broader observation that the benefit of changing the data depends on the parser. The comparison covers whole settings, so it leaves open which differences in feature use, input format, or parsing procedure account for the difference between systems.

There is another distinction within the results. At the final stage, MSTParser's labeled score moves more visibly than its unlabeled score. The final package changes how some output labels are learned or recovered, so that pattern is compatible with gains in labeling. It does not show how many individual tokens kept their heads and received corrected labels. The same aggregate scores could arise from several mixtures of changed heads and changed functions, especially when a package also changes how token sequences are represented.

What the scores establish

The original and final rows establish that the overall package gives better reported attachment accuracy on this split for both parsers. The intermediate rows place some of the gains earlier than others. Annotation cleanup yields a small change, and both lexical and morphological changes produce gains before the final structural stage is introduced. This ordering is informative because the final improvement could otherwise be attributed entirely to rules for a few difficult constructions.

Each score still summarizes performance across the evaluation material. The tables do not separately score the recognized city names, the compound prepositions, ambiguous functions, or sentences with -li. A gain for a package tells us how the whole evaluated output changed. The explanatory examples show where the author expected the changes to help. Reading the examples alongside the totals gives a plausible account of the operation without turning the examples into measurements of individual effects.

What the ablations show

A sequence of additions rather than isolated removals

The main comparisons are staged additions. Each stage begins with the version of the data used in the previous one, then adds a category of changes. This makes the paper's tables useful for asking what happened when a change was introduced in that order. For instance, the lexical stage follows annotation cleanup. Its measured change is the effect of introducing lexical simplification on top of reviewed data under that parser's setting.

The author also reports testing changes several times, with and without other modifications, and observing consistent gains for the changes retained at each level. The paper gives the cumulative tables as its numerical account of the experiment. It does not give a parallel set of results for the different combinations tried. The distinction matters because a change can interact with earlier steps. A new tag distinction, for example, may help the parser use an already normalized lexical item differently from how it would use the original word.

The cleanup row is the closest comparison to an intervention on annotation consistency alone. It leaves the later simplifications for subsequent stages. Both parsers improve slightly at that point. The separate row makes it possible to see that the final results include the benefit of a reviewed annotation, and that further gains appear when the representations used in parsing are changed. The score for the cleanup step is an aggregate effect of the reviewed cases. It gives no count of which individual corrections led to different predictions.

Lexical and morphological changes affect different decisions

Lexical normalization offers the clearest controlled evidence for pooling examples across word identities. The forms and lemmas stage comes before the morphological revision or final structural package. Both scores rise for both parsers at that stage. For MaltParser, the increase in LAS is the largest step shown in that series. The reduction of 19% in the number of distinct training word forms supplies a separate measurement of how much the lexical representation changed.

Those measurements answer complementary questions. The vocabulary figure shows that grouping the lexical items substantially concentrates the input inventory. The attachment results show whether performance improves when that representation is supplied to the parser. The paper gives no breakdown of the gains by group. Outcomes for numerals, people, cities, and verb classes consequently cannot be recovered from the total. The totals also leave open how much improvement comes from familiar items becoming more frequent and how much comes from rare items or previously unseen forms being mapped to familiar representatives.

The morphology stage isolates a different change in the reported order. The shared lexical representation is already in place, and the new stage gives the parsers tags that better express selected syntactic distinctions. Both parsers gain on both metrics. For MSTParser, the labeled score moves more at this stage than it does at the lexical stage. That is consistent with the value of making certain distinctions more visible in the tag representation. The paper does not give a pronoun-specific score or a comparison in which the tag changes are applied with the lexical representation held at its original setting.

The MSTParser setup also matters to interpretation. It starts with reduced morphology and has either word forms or lemmas available at a time in its input format. MaltParser can use individual morphological fields and both kinds of lexical information. These differences determine which signals a given transformation can supply. The result is a comparison of how the procedure works with the actual settings, without independently varying those settings to identify which capability accounts for each gain.

Why the syntactic comparisons are harder to separate

The final package combines changes to the label inventory with changes to parts of the tree and to multiword expressions. The rise in attachment scores measures the joint effect of that stage on top of the earlier changes. The package can make labels easier to learn, insert known local structures, and alter the sequence on which the parser makes other attachments. The tables give no independent scores for these contributions.

One analysis does provide direct evidence about the rare combined labels. The paper says the parser fails to identify the relevant combined functions in 90% – 100% of cases in the test data. That finding supplies the motivation for dropping them. Exact prediction of those labels was already unusual. The author describes the correctly identified share as 0% – 10% and explicitly treats it as a sacrifice when combined labels are removed. A second benefit is that the parser can no longer choose them where they do not belong. The paper gives no count of those erroneous uses, so the combined-label analysis supports the direction of the tradeoff without quantifying its full contribution to the aggregate score.

The suffix change has a different basis. Recovering a coordination or apposition suffix depends on the type of the higher node, so the paper can show why the full set of suffix combinations need not be learned separately. It reports a slight improvement from unifying them. The argument for the rule is structural, while the score of the final package also depends on how accurately the parser identifies that structure. The paper does not report a separate attachment figure for suffix reconstruction.

For compound prepositions and other collapsed expressions, the intervention changes which predictions the parser makes. The internal relations of a correctly recognized expression are supplied by reconstruction, and its relations to the rest of the sentence still have to be predicted. The paper observes that sentences with -li are harder for the parsers and explains how grouping the hyphen with the conjunction changes the problem. It gives no score for that subset or for the grouping rule alone. These examples show what the procedure delegates to rules, while the final-stage rows show what happened after all retained structural changes were combined.

The author also reports that some attempted simplifications of syntactic structure reduced accuracy and were excluded. The finding establishes that the selection of rules matters. The paper leaves the unsuccessful transformations unnamed and gives no figures for them. The cumulative comparisons therefore describe a package assembled from changes judged beneficial in these experiments, with the rejected changes serving as qualitative evidence that structural simplification can also remove cues the parsers need.

Limitations

Limits the author states

Jelínek acknowledges that some of the reported improvements are below what the paper calls statistical error. The author cites repeat testing, with retained changes tried in different combinations, as evidence that the improvements were consistent. The paper does not give uncertainty intervals, a significance test, or a complete set of repeated measurements. The cumulative results show a steady direction of change for these runs. Confidence in individual small steps cannot be read from the precision of the reported percentages alone.

The author also notes that the parser settings could have been adjusted after each transformation. The study keeps them fixed because it is designed to investigate changes to the data. That choice provides a comparison under established settings, and it leaves a different question unanswered. The results do not identify the best possible configuration for each representation. A parser configured expressly for the simplified data might use the available information differently. A different configuration on the original data could also change the gap attributed to simplification.

The paper recognizes a cost in removing combined ambiguity functions. The parser loses the ability to produce such a label when it is correct through the simplified prediction vocabulary. The author accepts that loss because the parser rarely recovers the labels and can also choose them incorrectly. A reader interested in ambiguity annotation has a separate criterion here. An improvement in aggregate attachment can coexist with the deliberate removal of a class of outputs that matters for that application.

The author explicitly describes the method as language-dependent. The proposal for transfer is to identify comparable sources of unnecessary variation in another language or treebank, then build rules appropriate to them. The paper suggests lexical groups for names, numerals, and some adjectives. It also proposes merging forms whose differences are conditioned by sound, as with v and ve in Czech when the parser uses word forms. Finally, it proposes adapting grammatical tags and collapsing eligible expressions in another annotation scheme. These are suggestions for applying the procedure, with the evaluation itself confined to Czech.

Limits visible in the experimental setup

The evaluation concerns journalistic Czech in the Prague Dependency Treebank and reports results on its d-test split. That context matters for the range of names and expressions encountered, the distribution of syntactic labels, and the way the annotation treats particular constructions. The paper gives no evaluation in another genre, language, or treebank. It also gives no result for a third parser. The agreement in direction across the two tested parsers supports the procedure under both tested configurations, and their different gains show why the magnitude is specific to those settings.

Many transformations depend on linguistic resources and assumptions about the target annotation. The lexical groupings draw on existing databases, a valency lexicon, and lists partly compiled by hand from a corpus. The structural rules use conventions of the Prague annotation. Applying the same procedure elsewhere would involve deciding which word differences can be safely ignored, which grammatical distinctions aid parsing, and which details can be recovered from the output. The paper's examples explain those decisions in the Czech case. It supplies neither an automatic method for discovering all suitable transformations nor a measurement of the work required to prepare them for a new treebank.

There is also a gap between the method's broad claim of reversibility and the recovery illustrated for individual operations. Original forms and lemmas can be restored from a backup. Internal structures for recognized expressions can be restored from their known templates. A suffix can be reconstructed when the parse identifies its superordinate construction correctly. Combined ambiguity labels receive a different treatment. They are removed from the prediction inventory, and the author explicitly counts their occasional correct prediction as a loss. The paper therefore supports different strengths of preservation depending on the operation. Exact preservation of the text is a narrower claim than recovery of every original syntactic distinction.

For similar reasons, the improvement on fixed expressions has a particular interpretation. After a successful recognition and collapse, the parser no longer has to determine the expression's internal relations. A rule supplies them. A better final parse is the intended outcome of the pipeline, and a valid benefit when those conditions hold. It gives no separate evidence that the parser learned to resolve the same internal relations from ordinary tokens. A breakdown of recognition errors, internal reconstruction, and attachments outside the expression would be needed to distinguish those effects. The paper gives the overall attachment results and selected examples.

The experimental tables also limit causal attribution. The stages accumulate, and the final one combines different label, expression, and construction rules. Their scores establish that the cumulative configuration improves attachment under the reported conditions. They cannot establish an independent gain for each rule. Nor do the tables separate redesign of the features from other consequences of the transformations, such as reducing the vocabulary or changing the sequence length. Additional controlled comparisons would be needed to attribute the final benefit to those mechanisms individually.

The baseline configurations and the transformations are described at different levels of detail. The paper names the principal parser settings and input features, gives representative normalization groups, and explains several rule types. Both best Czech settings are described as unpublished, and the paper does not identify a public code release or enumerate all the lexical and structural rules used. The article therefore explains why the procedure works in the examples and reports the conditions of the main comparison, while leaving details open for anyone trying to reproduce each score.

Finally, the aggregate metrics give only limited visibility into what happens to rare constructions. A common pattern can have a large influence on attachment accuracy, while an uncommon annotation distinction can disappear with little movement in the total. The paper's analysis of rare combined labels makes that tradeoff explicit. The tables do not show whether other infrequent but valued categories gained or lost accuracy through simplification. The choice of what to preserve depends on the intended use of the finished trees as well as on the overall scores.

What came after

The later citing work is SYN2015: Representative Corpus of Contemporary Written Czech. Its subject connects to the corpus side of Jelínek's method. Jelínek drew on the SYN corpus of written Czech to compile some of the lexical lists used to reduce word-form and lemma variation. The citation establishes a connection between the papers. Its specific role in the later work is unclear, and the documented connection does not establish that SYN2015 reused the parser transformations or tested their effects. SYN2015: Representative Corpus of Contemporary Written Czech

Cite

Cite as Tomáš Jelínek. 2014. Improvements to Dependency Parsing Using Automatic Simplification of Data. Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14).

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

@inproceedings{tomas2014improvements,
  title = {{Improvements to Dependency Parsing Using Automatic Simplification of Data}},
  author = {Tomáš Jelínek},
  booktitle = {Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14)},
  year = {2014},
  doi = {10.63317/3c4gxwiko3wx},
  url = {https://doi.org/10.63317/3c4gxwiko3wx}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/jelinek-2014-improvements-dependency-parsing-automatic-simplification/