Elamur Research

Projection-based Annotation of a Polish Dependency Treebank

Paper · 2014 · Alina Wróblewska and Adam Przepiórkowski

Summary

A Polish parser trained on a treebank of largely short, similar sentences can do well on other sentences from that collection and struggle with longer newspaper writing. Manually annotating more varied material is expensive. Wróblewska and Przepiórkowski investigate how much of that work can be done by transferring syntax from English translations. Their goal is a Polish treebank, a collection of sentences paired with grammatical analyses, large enough to train a system for dependency parsing.

The authors parse the English half of a parallel corpus and use word correspondences to propose grammatical links between Polish words. They consider every possible cross-language pairing within each aligned sentence pair, giving more weight to links found in more of their automatic alignments. This produces a graph of competing proposals for each Polish sentence. The authors examine several high-scoring trees from each graph, estimate which kinds of grammatical links are credible using an adapted expectation-maximisation procedure, and then use the revised scores to select a final tree. Handwritten rules, informed by a Polish dictionary of predicate arguments, assign Polish grammatical labels and repair recurrent errors in which word governs another.

The resulting treebank contains 3,958,556 induced trees. The authors judge its usefulness by training the Mate parser and testing it on separately annotated Polish sentences. On the 822-tree test with automatic grammatical tags, training on corrected induced trees yields 84.0% unlabelled attachment and 77.3% labelled attachment. Training on the existing Polish treebank yields 88.2% and 78.3%, respectively. On the manually tagged version of the same test, the supervised comparison leads on both measures. On an additional test of 50 longer newspaper sentences, however, training on corrected induced data yields 77.3% unlabelled and 72.1% labelled attachment, ahead of the supervised comparison at 74.7% and 66.4%.

Filtering on unusually frequent crossing dependencies and use of a default grammatical label leaves 2,352,940 trees and produces modest further gains. The strongest improvement among the reported versions of the induced training data follows the application of the structural correction rules. The newspaper result suggests that training on automatically segmented text may help when test sentences are segmented that way too. The authors offer this as an explanation for the result. Their experiment measures how well parsers trained on the resource perform, leaving the accuracy of the projected trees themselves unmeasured.

Deep dive: Projection-based Annotation of a Polish Dependency Treebank

Wróblewska and Przepiórkowski use English parses and word alignments to build a Polish dependency treebank and test it as parser training data. · about 34 minutes to read

The problem and its context

A treebank can represent its annotation grammar better than its next reader

A dependency tree represents a sentence by connecting each dependent word to the word that governs it. A finite verb might govern a subject, for instance. The directed arc records which word governs which, and a grammatical label identifies the relationship. A parser learns to recover these attachments and labels in sentences it has yet to analyse. The paper places this work in the context of applications that use sentence structure, including machine translation, question answering, and information extraction.

The quality of the examples matters because supervised training asks the parser to learn from the analyses it sees. Editors can annotate a collection consistently while the collection still represents a fairly narrow range of structures. The Polish dependency bank available to the authors has 8227 trees, derived by automatic conversion from Składnica. Składnica represents sentences through constituents, or groupings of words. The converted resource represents them through relations between individual words. The source groupings were relatively homogeneous, and the resulting dependency bank averages 10.2 tokens per sentence. These properties describe the resource and the examples available for training treebanks.

The conversion also inherits constraints from the grammar used to create the constituent trees. The paper draws attention to non-projective arcs, which can arise when a dependency tree spans the written word order in a way that requires crossing connections. A useful way to picture the issue is to place the words in sentence order and draw the grammatical links over them. Some structures can be laid out without crossing arcs, while others call for connections that interrupt the spans of other dependencies. Polish has relatively free word order, and the paper treats these configurations as possibilities the annotation should be able to represent.

In the converted bank, only 0.15% of arcs are non-projective. The authors explain that the grammar behind the original annotations excluded phenomena that would have yielded crossing connections. They attribute the few non-projective instances in the dependency bank to manual correction of part of it. A learner trained on those trees thus encounters few examples of structures whose rarity partly reflects an annotation decision. The practical question is how it will handle sentences whose word order and attachment patterns fall outside the bank’s usual range.

There is also a difference between giving a parser a prepared sentence and giving it text processed by an automatic pipeline. Before the parser assigns dependencies, another component determines the token boundaries. It may also supply lemmas, which represent dictionary forms, and assign grammatical categories and features. Such preparations affect what the parser has to work with. A difference in boundaries changes the units that can be joined by a dependency. A change in a grammatical tag changes the information attached to a unit. The paper’s comparison between the existing bank and additional newspaper sentences is motivated by both kinds of variation, along with the greater syntactic complexity of the newspaper material. Tokenization · Lemma · Part-of-speech tagging

What a translation can tell a parser

The authors describe supervised training as the strongest approach available at the time of their study, with reliable annotated examples as its prerequisite. Creating those examples by hand takes substantial time and expense. Research on unsupervised grammar induction tries to learn structure without such annotation. In the account given by the paper, the resulting dependency parsers still trail both supervised parsers and systems that transfer information across languages.

Annotation projection offers another source of evidence. Suppose an English sentence has a dependency between a predicate and its argument. If a Polish translation contains words corresponding to the predicate and the argument, the English analysis suggests a relation to investigate between the Polish counterparts. The rationale is that translations often share a predicate–argument structure. A predicate’s valency describes what kinds of arguments it can take, and those relations may carry over reasonably well even when the words or their positions change. This supplies a reason to propose Polish attachments from English ones while leaving room for the languages to realise the same meaning through different syntax. Linguistic annotation

Word order independence is particularly useful for this purpose. The connection proposed in Polish follows alignments for the endpoints of an English arc. The Polish counterpart of the dependent can appear on either side of the Polish counterpart of the governor. Correspondence depends on which words align. Their sequence in English gives the procedure no requirement about their sequence in Polish. This is the sense in which the projection can accommodate different word orders.

The paper credits Hwa and colleagues with pioneering projection for dependencies. It describes early work that supplemented projection with smoothing and extensive filtering to obtain usable trees. Another strand selected relations judged reliable and trained on partially specified structures. Constraint-driven work used projected information to limit the structures a parser could learn to favour. In that approach, a projected relation supplies a condition on learning and can be useful even when there is no completed target tree to put in a corpus. Dependency Grammar Induction via Bitext Projection Constraints

The paper also groups several studies under transfer of delexicalised parsers. A delexicalised parser uses representations that reduce dependence on the identities of particular words, which makes transfer between languages possible through features they can share. The authors situate their proposal alongside that line of research. Its immediate product is a set of explicitly annotated Polish sentences, which can subsequently serve as training examples for a Polish parser. Cross-Language Parser Adaptation between Related Languages · Multi-Source Transfer of Delexicalized Dependency Parsers · Selective Sharing for Multilingual Dependency Parsing

The authors had previously explored weighted projection. Here they carry the weighting into the choice of a tree after projection. A connection can receive strong initial support because the words at both ends align reliably. A separate question is whether dependencies of that kind recur in the promising analyses of Polish sentences. The procedure uses both sources of information. Once it has chosen the attachments, a Polish annotation scheme determines what labels to give them and which recurrent constructions to repair. This division sets up a practical middle ground in the amount of manual work. The authors write rules for classes of cases, and the pipeline applies them across a large corpus.

The method, step by step

The method begins with pairs of sentences that translate each other. It needs an English parse, correspondences between English and Polish words, and grammatical information about the Polish words. The English parse supplies the relationships to transfer. The correspondences say where each endpoint could land. The Polish information helps decide how those relationships should be expressed in the target annotation scheme.

Projection can propose multiple governors for the same word. The proposed links can also form loops or combine in other ways that a dependency tree cannot accommodate. The authors therefore keep the proposals in a directed graph and assign them scores. They compare plausible trees within the graph, revise the scores using evidence pooled from the corpus, and choose a full tree. A rule stage then assigns Polish grammatical functions and repairs certain attachments.

From aligned translations to Polish dependency trees

The steps in order.

From aligned translations to Polish dependency treesStep 1: Prepare aligned English and Polish sentences1. Prepare aligned English and Polish sentencesStep 2: Parse English and tag Polish2. Parse English and tag PolishStep 3: Weight possible cross-language word correspondences3. Weight possible cross-language word correspondencesStep 4: Project English dependencies into Polish graphs4. Project English dependencies into Polish graphsStep 5: Estimate relation probabilities from high-scoring trees5. Estimate relation probabilities from high-scoring treesStep 6: Rescore arcs and select a tree6. Rescore arcs and select a treeStep 7: Assign Polish labels and repair recurrent errors7. Assign Polish labels and repair recurrent errors

Preparing the bilingual material

The authors assemble parallel text from Europarl, DGT-Translation Memory, OPUS and the Pelcra Parallel Corpus. They process the text to identify tokens and sentence boundaries, then align sentences across the languages. Each projection takes place within a paired English and Polish sentence. A correspondence involving text outside that pair plays no role in the graph for that sentence. DGT-TM

Once the sentences are paired, the authors use Moses to produce automatic word alignments. A sentence alignment identifies equivalent passages at sentence scale. A word alignment proposes which individual tokens correspond within the pair. The method obtains a Polish-to-English alignment, an English-to-Polish alignment and a combined alignment produced with the grow-diag-final-and heuristic. The combined set draws on the directional alignments. Its membership gives the projection procedure an additional indicator of support for a link.

The direction in which an alignment is estimated differs from the direction of a dependency arc. An English-to-Polish word alignment connects tokens in different languages. A directed dependency has a governor and a dependent within one language. Both directional word alignments contribute to the same weighting process. The English parse provides the distinction between the governor and dependent when a dependency is projected.

The English sentences are analysed with a handcrafted grammar based on Lexical Functional Grammar. The grammar runs in the Xerox Linguistic Environment. The authors take the most probable analyses and convert them to dependency structures. This matters because the projection operates on explicit arcs between tokens. The conversion gives it an English governor, an English dependent and a grammatical function for each relation to be transferred. The experiment yields 4,946,809 English dependency structures at this stage.

On the Polish side, the Pantera tagger supplies morphosyntactic information. This includes categories and properties that describe how a word functions grammatically, some of which are reflected in its form. A candidate arc can later be described in terms of identities, lemmas or parts of speech. The rules that assign Polish functions also refer to the grammatical properties of the words they connect. The Polish annotations thus enter the procedure as evidence about the endpoints of candidate relations. Morphology

Turning word correspondences into dependency proposals

For each sentence pair, the authors construct a complete bipartite graph. A bipartite graph has two distinct groups of nodes, and its edges run between the groups. Here the groups are the English tokens and the Polish tokens. Completeness means that every token on one side has a possible edge to every token on the other. Edges in this graph stand for possible cross-language correspondences, including possibilities that the automatic alignments have given no support.

Each edge gets a weight equal to the number of alignment sets in which it appears. A link found by multiple alignments receives more weight than a link found by only one. An edge can remain in the complete graph with a weight of 0. The weights indicate the degree of agreement under the particular alignment procedure the authors use. Because the combined alignment is derived from the directional ones, agreement is best understood as a feature of that procedure. The paper uses the count as an indicator of certainty.

To project an English dependency, the method picks a Polish counterpart for the English governor and a Polish counterpart for the English dependent. These choices use separate edges in the bipartite graph. Together they propose a directed arc from the Polish governor to the Polish dependent. The English grammatical function is carried along with that proposal so the method can use it both to characterise the relation and, later, to assign a Polish label.

The paper’s projection figure separates these operations spatially. The English dependencies appear over the words on the source side. Word correspondences occupy the middle of the diagram. Below them, the Polish graph contains arcs proposed by following those correspondences. The figure omits the Polish arc weights and labels so that the route from an English attachment through the alignments to the target graph stays visible.

A pair of correspondences can support a projection when at least one of its edges has a positive weight. Thus an English head with a supported Polish counterpart can propose an attachment involving a plausible but unconfirmed Polish counterpart of the dependent. The same rule applies when the supported correspondence belongs to the dependent. A pairing with two unsupported endpoints is excluded. This admission rule gives the graph room to include dependencies that a stricter alignment requirement would miss.

The range of choices can still be broad. An English relation may lead to several proposals when the graph offers several Polish endpoints. A Polish word can receive incoming arcs from different governors. The contributions of English relations are therefore best understood at this stage as alternatives. The projected digraph is the collection of those alternatives for a single Polish sentence. Its directed arcs concern syntax within Polish, whereas the edges of the bipartite graph still concern correspondence across languages.

Setting the initial arc weights

The initial score combines evidence from both endpoints with evidence from repeated projections. The paper gives this scoring function.

s = w_d + w_g + 2 × w_d × w_g × f

Here s is the initial score of a projected arc. The symbol w_d is the bipartite edge weight for the correspondence used to transfer the dependent, with d standing for dependent. The symbol w_g is the counterpart for the governor, indicated by g. The frequency f counts projections of English relations of the same kind made through correspondence edges with the same scores. The constant 2 multiplies the joint term. The addition signs combine the endpoint terms and the joint term, and the multiplication signs indicate the factors in that joint term.

The endpoint terms make it possible to give an initial score to an arc with support on just one side. When either endpoint weight is 0, the joint term contributes nothing, so frequency provides no additional boost through that term. When both endpoints have support, the product allows the recurrence of that kind of projection to strengthen the score. The formula thus treats a frequently observed pattern backed by both correspondences differently from a proposal whose evidence comes from a single aligned word.

This frequency concerns projection patterns. Later, the authors estimate a probability for a relation type using candidates in high-scoring trees. The two sources of evidence answer different questions. Initial frequency asks how frequently the projection makes a comparable transfer under the same alignment scores. The later probability reflects which relation types receive support within a structurally plausible subset of the proposals. The initial weighting can be computed before a Polish tree has been chosen.

The projection stage produces 4,946,809 initially scored Polish graphs in the experiment. The count is a measure of how many graphs are available to the induction stage. At that point, the graph for a sentence can contain incompatible candidate arcs. A high score is evidence in favour of an attachment. Its place in a complete analysis also depends on the alternatives and on how the arcs fit together.

Using several plausible trees to learn about the arcs

A maximum spanning tree is the admissible spanning tree with the highest total arc weight. In this application, the graph is directed. A tree spans the sentence by connecting its nodes consistently as a dependency structure. Choosing a tree rules out cycles and forces proposals for a dependent to compete within a complete structure. An arc with a strong individual weight can lose its place when it conflicts with other useful arcs.

The authors first run a procedure due to Camerini and colleagues to obtain the k best trees from each initially scored graph. The symbol k refers to the number of ranked trees requested. These trees are ordered according to the initial weights. Their union supplies a pool of arcs for estimating a distribution over relation types. An arc can enter that pool through a strong alternative analysis even if it is absent from the initial best tree.

This intermediate selection addresses two risks. An estimate based only on the leading tree would commit early to the strongest choices under the alignment-based scores. A useful relation could disappear from estimation because an incompatible attachment held a slight initial advantage. At the other extreme, estimating from the whole graph would expose the learning procedure to every proposal that passed the permissive admission rule. The high-scoring trees offer a way to keep alternatives that can participate in plausible full structures while reducing the number of less promising ones.

Consider a word with competing proposed governors. Both attachments might have credible alignment support, while the initially highest-scoring tree has room for only one of them. If a high-ranking alternative tree includes the other attachment, the estimation stage can still consider it. Evidence from occurrences of similar relations can change the balance when the graph is rescored. This example follows from the design of the candidate pool. The paper explains the value of retaining possible correct arcs in terms of an assumption about their presence among the ranked trees.

For probability estimation, an individual arc is represented as a relation type. The type combines features of its lexical endpoints with the projected English grammatical function. The endpoint features may include tokens, lemmas and parts of speech. For instance, using grammatical categories would allow different word forms to contribute evidence about a shared configuration, whereas including token identities would distinguish configurations involving different words. The paper gives the available feature families and defines a type through a feature representation.

The authors obtain the distribution over these types using a version of Dębowski’s expectation-maximisation selection procedure. Dębowski originally used this approach to choose likely valency frames from sets of candidates. A valency frame specifies the kinds of arguments a predicate can govern. The adaptation uses competing arcs entering a Polish word in place of competing frames. Its statistical output is a probability distribution over types of arcs. The procedure draws support from the recurring types in the candidate sets derived from the high-ranking trees.

A local selection procedure could choose the likeliest incoming arc for each lexical node. Combining those local choices may create a cycle, as when a chain of governors leads back to its starting word. The authors use the distribution from the final iteration of the selection procedure as evidence for rescoring the graph. They run a tree search after rescoring, so the final attachments are chosen together under a structural requirement. This gives the learned preference for a relation type a way to influence the output even when the preferred arcs at different nodes compete.

Revising weights and selecting the final tree

For a candidate arc represented in the extracted trees, the revised score is the initial weight’s square root multiplied by the probability of its relation type.

s* = √s(v_k, v_i, l) × p_j

The symbol s* denotes the revised weight. Inside s(v_k, v_i, l), the function s is the initial score just defined, evaluated for the arc in question. The symbol v_k denotes the governor node and v_i the dependent node. Here k and i are node indices, with the k in v_k serving a different role from the number of ranked trees. The symbol l denotes the projected grammatical label. The square-root sign √ reduces the influence of the magnitude of the initial score, and × denotes multiplication. The subscript j identifies the feature representation of this arc, obtained by applying the paper’s feature mapping, called f_r, to the governor, dependent and label. The symbol p_j denotes the estimated probability of relation type j. This feature mapping serves a different purpose from the projection frequency f in the initial scoring function.

Taking the square root preserves the ordering due to initial scores among arcs with the same probability factor. The probability factor enables differences among relation types to change the ranking when the types differ. Thus the final weight still retains evidence about the quality of a particular projection. It also reflects a preference learned from recurring types across the candidate analyses.

An arc missing from all the extracted trees would receive a probability factor of 0 under the direct scoring scheme. That would give the same final weight to every such arc, even if their original projection scores differed. The authors use a fallback weight to retain a distinction among these proposals.

s* = √s(v_k, v_i, l) × min_j p_j × α

Here s*, s, v_k, v_i, l and p_j retain their meanings. The expression min_j p_j denotes the smallest probability across the estimated relation types indexed by j. The symbol α is a discount factor. The square root and multiplication signs again indicate how the initial weight and the probability factor are combined.

0 < α < 1

In this condition, α is the fallback discount. The values 0 and 1 are its lower and upper bounds, and each < sign means “less than.” The restriction places the fallback’s probability factor below the smallest estimated probability when that probability is positive. The final score of an arc also depends on its initial weight, so the discount applies to the probability factor instead of specifying an absolute ordering of all arcs.

The final selection runs on the rescored projected graph. The authors use the same ranked tree algorithm with its requested tree count set to 1. Arcs culled from the estimation pool can still compete through the fallback. An arc supported by the learned distribution can contribute its new weight to the best complete tree. The output of this stage is a set of Polish attachments carrying transferred English grammatical labels. The term unlabelled in the paper describes the status of the trees as Polish annotations, since the English labels have yet to be translated into the target scheme.

Giving the attachments Polish grammatical functions

A projected label is evidence about a relation, and the Polish words themselves give additional information about which label fits. The authors study recurring configurations in a development collection of 30,322 induced trees. They look at the English functions on the arcs alongside the Polish words’ morphosyntactic properties. They also use a dictionary that lists argument frames for Polish verbs and some quasi-verbal predicates. The latter can express predication with an inflectional pattern that differs from ordinary verbs. Walenty

Labelling begins with arcs whose governor is a verb covered by the dictionary. The first pass looks for a Polish argument that matches a projected English function and fits a frame for that verb. The words involved must satisfy the morphosyntactic conditions specified for the relation. For example, the projected label SUBJ can support assigning the Polish subject label subj. An English COMP can support the Polish finite complement label comp_fin when the argument properties fit. The projected function acts as a condition on these assignments, alongside evidence from the dictionary and tags.

The next pass returns to dependents of dictionary-covered verbs whose arcs still carry English functions. It considers the frames compatible with the arguments already assigned in the first pass. The purpose is to use a partial Polish analysis to interpret the remaining dependents. A candidate Polish function is allowed to differ from the English function on the arc. It must be available in a compatible valency frame and respect restrictions on repeated arguments.

The restricted labels include subj, obj, pd, comp_fin and comp_inf. The list protects designated argument positions from being assigned repeatedly under the same governing verb. Suppose a dependent has already been assigned a function in the first pass. That assignment can rule out a frame without the argument, and it can keep the next pass from treating the same function as an available slot where repetition is disallowed. Earlier decisions thus influence which readings of the remaining arcs the procedure can consider.

In the final pass, the authors turn to any remaining arcs requiring Polish labels. Situations include dependents of verbs outside the dictionary’s coverage and arcs with governors that are tagged as something other than a verb. There are 45 pre-defined labelling rules for this stage. The rules specify properties of the connected words and can consult the projected grammatical function. The pass extends annotation beyond the predicate arguments that the dictionary can resolve.

One of the paper’s examples is English home and Polish do domu. The English word can bear the function OBL while the Polish equivalent is expressed as a prepositional phrase that receives comp. The example shows what the labelling stage has to reconcile. The expressions can occupy corresponding roles while requiring different categories and labels in the two annotation schemes. The projected function helps identify the relation, and the Polish scheme supplies the final annotation.

Repairing the structure

The labelling passes assume that the induced governor–dependent relationships are already suitable for Polish. The correction stage deals with cases in which this assumption fails. An English parse can be erroneous, an alignment can send an endpoint to the wrong word, or the induction stage can choose the wrong attachment among its candidates. A well-formed structure under the tree search is compatible with any of these problems. The grammar can also differ across the languages even when the projection faithfully carries over the English evidence.

The authors identify recurring problems by inspecting trees in the development collection. They write 31 correction rules for frequent errors and divergences. The phenomena include conditional clitics, mobile inflections, reflexive markers, numeral complements and negation markers. Some matter because Polish expresses the construction in a particular way. Others are an issue because the annotation conventions differ between the source and target. The correction rules give the pipeline a way to act on these patterns after the general tree search.

The example the authors spell out concerns the mobile inflection. It is a clitic that marks person and number and can occupy different positions in a Polish clause. The rule identifies it by the lemma być and the part-of-speech tag aglt. The first condition checks immediately to its left. A verb form or the conditional clitic by in that position becomes the governor. If that condition fails, an immediately following verb form can serve as the governor. The conditions specify their order of precedence. They use the position and grammatical form of Polish tokens to recover an attachment that the English tree may supply only indirectly.

That example also clarifies the scope of the repair stage. Word order was irrelevant to whether paired endpoints could transmit an English arc. A Polish-specific rule can still use adjacency when a particular construction makes it informative. Projection supplies a general procedure for proposing and selecting relations. Correction can supplement that procedure with knowledge about the actual positions and functions of words in the target sentence.

After labelling and any applicable corrections, the induced trees constitute a corpus that can be used to train a parser. The authors subsequently consider a filtered version as well. The filter looks at properties of entire trees, including the prevalence of non-projective arcs and the default label dep. It affects which completed examples are retained for training. The individual rules have a different role. They assign functions or change analyses within the examples.

Experiments and results

Training conditions and the supervised comparison

The experiment asks an indirect question about the value of the induced trees. If a parser trained on them can analyse separately annotated Polish sentences, the training resource carries information that transfers to new text. The authors use this extrinsic evaluation because they lack a Polish–English parallel corpus with reference dependency trees suitable for checking the projection directly. The scores therefore measure the output of the trained Polish parser against reference analyses of test sentences.

The parsing system is Mate, which the paper identifies as version 3.5. It is the system used for training on the induced data and for the supervised comparison. Using a common parser keeps the basic parsing machinery consistent across these comparisons. What it learns depends on the source and preparation of its training trees. Mate

The experiment examines a sequence of induced training sets. The induced version uses the induced structures before Polish dependency labels are assigned, so the paper reports head attachment scores for that condition. The labelled version adds labels under the Polish scheme. The modified version applies the correction rules as well. Each of those versions contains 3,958,556 trees. In the filtered version, some of the corrected trees are removed, leaving 2,352,940. The supervised comparison is trained on 7405 trees from the existing Polish dependency bank.

The paper reports one training iteration for the induced conditions and 10 iterations for the supervised condition. For induced training it gives a heap size of 100 million features, and for supervised training it lists the corresponding setting as 100M. Both use a threshold of 0.2 for non-projective approximation. These are comparisons of the resulting trained parsers under the reported settings. The source of supervision, amount of training data and number of training iterations vary between the induced and supervised conditions.

For the filtered condition, the paper reports cutoffs of more than 30% non-projective arcs and more than 10% arcs with the default dep label. A high share of non-projective arcs can flag a structurally unusual analysis for filtering, even though individual non-projective arcs can be correct. A high share of default labels suggests that many relations in a sentence have been left with a generic grammatical function. Both measures operate at the level of a tree, so applying the cutoffs can exclude an example that contains useful attachments alongside questionable ones.

The test material and the two attachment scores

The manual test consists of 822 reference trees taken from the existing Polish dependency bank. The automatic test uses the same 822 trees with automatically assigned parts of speech and morphological features supplied to the parser. The sentence material and reference dependencies are shared. This makes the comparison informative about what happens when the parser receives automatic grammatical annotations in place of the manually prepared ones.

The additional test uses 50 sentences drawn from Polish newspapers. Their average length is 15.3 tokens, and 2.2% of their arcs are non-projective. They first undergo automatic tokenisation, lemmatisation and part-of-speech tagging. Experienced linguists then annotate their dependency trees and correct errors in lemmas and tags. The automatically chosen token boundaries are retained. This test combines newspaper text, greater structural complexity and a tokenisation procedure that can differ from the conventions of the existing bank.

Unlabelled attachment score, or UAS, measures how often the parser gives a token the correct governor. Labelled attachment score, or LAS, requires both the correct governor and the correct grammatical function. If a parser finds the word a dependent attaches to but assigns the wrong function to their relationship, the attachment can earn credit under UAS alone. Reporting both scores helps locate the nature of the performance difference. The paper treats LAS as the more useful indicator in its comparison on the automatically tagged test because the intended result includes grammatical functions.

On the manually prepared test

The initially induced training data yield 73.7% UAS on the manual test. After Polish labels are assigned, the parser reaches 74.6% UAS and 69.4% LAS. With the correction rules applied to the data, it reaches 85.1% UAS and 79.2% LAS. Filtering the corrected trees raises the scores to 86.0% UAS and 80.5% LAS. The supervised parser reaches 92.9% UAS and 87.4% LAS, the highest scores on this test.

Mate training conditions on the manual Polish treebank test, labelled attachment

Supervised training leads on the manually prepared test, with filtered training highest among the induced conditions.

Mate training conditions on the manual Polish treebank test, labelled attachmentLabelled induced trees: 69.4Labelled induced trees69.4Corrected induced trees: 79.2Corrected induced trees79.2Filtered induced trees: 80.5Filtered induced trees80.5Supervised treebank training (this paper): 87.4Supervised treebank training (thispaper)87.4
The numbers
System or settingLAS %
Labelled induced trees69.4
Corrected induced trees79.2
Filtered induced trees80.5
Supervised treebank training (this paper)87.4

This test rewards a parser that can reproduce the analyses of the original Polish dependency bank using the grammatical input available there. The supervised training split comes from that bank, which gives the parser examples drawn from the same annotation environment as the evaluation. The induced data have been adapted to the bank’s Polish annotation scheme, but remain products of a different data source and procedure. The gap on this test establishes that the particular induced training sets have yet to match the supervised comparison under these conditions.

On the automatically tagged test

For the automatic test, the parser trained on the original induced structures reaches 72.8% UAS. With Polish labels on the training trees, it reaches 74.0% UAS and 68.1% LAS. With correction rules applied, it reaches 84.0% UAS and 77.3% LAS. The filtered condition gives 84.7% UAS and 78.3% LAS. The supervised parser yields 88.2% UAS and 78.3% LAS.

Mate training conditions on the automatically tagged Polish treebank test, labelled attachment

Filtered induced training ties supervised training when governors and grammatical labels must both be correct.

Mate training conditions on the automatically tagged Polish treebank test, labelled attachmentLabelled induced trees: 68.1Labelled induced trees68.1Corrected induced trees: 77.3Corrected induced trees77.3Filtered induced trees (this paper): 78.3Filtered induced trees (this paper)78.3Supervised treebank training: 78.3Supervised treebank training78.3
The numbers
System or settingLAS %
Labelled induced trees68.1
Corrected induced trees77.3
Filtered induced trees (this paper)78.3
Supervised treebank training78.3

Comparing the manual and automatic versions is possible without changing the sentences under evaluation. The supervised score is lower with automatic input annotations on both measures. The corrected and filtered induced conditions also score lower on both measures when the automatic inputs are used, and the LAS ranking changes in relation to supervised training. The filtered condition matches supervised LAS and trails supervised UAS. The result is consequently a match on the joint task of head and function assignment, while the supervised parser gets more heads right when the labels are ignored.

The distinction helps interpret the authors’ claim of comparability. A reader concerned with selecting the correct head in isolation would still see an advantage for supervised training on this test. A reader concerned with fully specified dependency arcs would see that the preferred filtered training condition reaches the same reported score. The unfiltered corrected condition approaches that LAS using the larger collection. The two measurements support different statements about what has been recovered.

On the longer newspaper sentences

On the additional test, the original induced condition yields 65.4% UAS. The labelled condition gives 65.1% UAS and 61.2% LAS. With the correction rules, the parser reaches 77.3% UAS and 72.1% LAS. The filtered condition has 78.5% UAS and 73.6% LAS. The supervised parser scores 74.7% UAS and 66.4% LAS.

Mate training conditions on the additional newspaper test, labelled attachment

Corrected and filtered induced training both lead the supervised comparison on the newspaper sentences.

Mate training conditions on the additional newspaper test, labelled attachmentLabelled induced trees: 61.2Labelled induced trees61.2Corrected induced trees: 72.1Corrected induced trees72.1Filtered induced trees (this paper): 73.6Filtered induced trees (this paper)73.6Supervised treebank training: 66.4Supervised treebank training66.4
The numbers
System or settingLAS %
Labelled induced trees61.2
Corrected induced trees72.1
Filtered induced trees (this paper)73.6
Supervised treebank training66.4

For the corrected, filtered and supervised conditions, performance on the newspaper sentences is lower than on the tests derived from the original bank. The notable change is in how those conditions rank. The corrected and filtered conditions move ahead of supervised training on both metrics. The labelled condition without corrections stays below supervised training on both. Having more induced sentences and giving their arcs Polish labels is therefore insufficient by itself to obtain the result that motivates the authors’ conclusion.

The authors suggest that training on automatically tokenised sentences prepares a parser to analyse test sentences that have also been tokenised automatically. A parser learns which units it can expect to see and what attachments occur among them. If a construction is split differently at test time, the input may contain a different set of nodes from the one the parser learned to handle. The newspaper material makes that explanation plausible because its token boundaries are left as the automatic procedure produced them. Sentence length, text source and structural complexity also differ, so the newspaper result establishes the ranking for this particular combination of conditions.

What the ablations show

The paper reports staged comparisons of the training data, without separate ablations for the components that score the candidate trees. Its evidence about the pipeline comes from observing which changes in the finished training examples improve attachment scores and from testing those versions under different input conditions.

Assigning functions and correcting governors

The transition from induced to labelled trees shows the effect of adding Polish grammatical functions to the training data in this setup. On the manual and automatic tests, the parser’s UAS rises from 73.7% to 74.6% and from 72.8% to 74.0%, respectively. On the newspaper test it moves from 65.4% to 65.1%. The induced baseline has no reported LAS, so adding labels establishes a labelled result that can be compared with later stages. The UAS figures show that labelling alone has a small and test-dependent effect on head accuracy. They give no separate estimate of how much the dictionary contributes within the labelling stage.

The comparison between labelled and modified trees is the clearest evidence for the repair stage as a whole. The training tree count is 3,958,556 in both conditions. On the manual test, LAS moves from 69.4% to 79.2%. On the automatic test it moves from 68.1% to 77.3%. On the newspaper test it moves from 61.2% to 72.1%. The unlabelled scores rise across the tests as well. Since UAS concerns the governor, the gains include improvements in the attachments the trained parser predicts.

The changes are compatible with what the correction rules are designed to address. If a transferred tree gives a Polish clitic a misleading governor, supplying a more suitable grammatical label leaves that incorrect head available for the parser to learn. A repair that adjusts the head changes the training signal for attachment. The experiment gives this explanation traction at the level of the complete ruleset. It supplies no breakdown by construction, so the result cannot identify whether the mobile-inflection rule or any other individual repair accounts for a particular share of the gain.

The newspaper comparison is especially informative here because the ranking changes within successive versions of the same induced collection. The labelled training set trails the supervised comparison, and the corrected training set overtakes it. Attributing the newspaper advantage solely to the size of the parallel corpus or to automatic tokenisation would leave that difference unexplained. Those properties are shared by both induced conditions. The tested intervention between them is the application of correction rules.

Filtering trades coverage for a small gain in accuracy

Filtering compares training on all the corrected induced examples with training on the subset that passes the cutoffs. The smaller set gives higher UAS and LAS on each test. The pattern supports the authors’ assessment that there is some value in discarding trees flagged by these properties, with a considerably smaller improvement than the one associated with correction. For instance, on the automatic test the corrected condition reaches 77.3% LAS and the filtered condition reaches 78.3% LAS. The result is obtained with 2,352,940 retained trees.

The filter combines a change in the composition of training data with a change in their quantity. Because the removed trees are selected by their annotations, it is reasonable to read the result as evidence for the usefulness of this filtering policy in the reported experiment. The comparison gives no separate result for selecting a subset of the same size without the two criteria. It also gives no independent score for filtering on each criterion. The observed benefit belongs to the combined selection procedure and the training set it produces.

The paper’s earlier description of the Polish bank puts the non-projectivity criterion in perspective. Few arcs of that kind in the original bank reflect a limitation of its source annotations. In the induced collection a high proportion within a single tree is used as a warning sign. These observations concern different questions. A grammatical structure with a crossing dependency may be valid, and a tree with many such dependencies can still be worth treating as suspect when they were generated by a noisy projection process. The scores show the downstream effect of the chosen cutoff. They give no direct estimate of the validity of the arcs that it removed.

The default-label filter likewise works with a proxy for annotation quality. A concentration of dep indicates limited specificity in the labels assigned. It says little by itself about which individual governors are right. The experiment compares the combined effect of excluding trees on the basis of such proxies with keeping all corrected trees. The moderate gains are consistent with a sizeable share of usable training evidence surviving correction even before filtering.

Changing the test conditions changes the comparison

The manual and automatic versions of the main test provide the closest controlled comparison of input conditions. Their reference structures come from the same 822 sentences. Replacing manually prepared grammatical information with automatic tags and features lowers the supervised condition’s LAS from 87.4% to 78.3%. The filtered condition goes from 80.5% to 78.3%. The comparison shows why the practical evaluation setting matters for the paper’s headline finding. A lead on prepared input can narrow to a tie once the annotations a parser receives are produced automatically.

The newspaper comparison serves a different analytical purpose. It checks performance on a sample that combines longer sentences, more non-projective arcs and retained automatic tokenisation. It demonstrates that training on the existing bank can lead to a different ranking under this mix of conditions. Because the changes occur together, the test supplies evidence about performance on the sample as a whole. Isolating the contribution of token boundaries would require keeping the sentences and their other inputs fixed while varying their segmentation.

The experiments do not compare alignment combinations, alternative initial scoring functions, different sizes of the ranked tree pool, or induction with and without the expectation-maximisation step. The quality of those components is argued through their role in the method and evaluated jointly through the finished training pipeline. The paper’s controlled variation begins later, with the treatment of the training trees and the annotations supplied at test time.

Limitations

Limits identified by the authors

The main limit is the absence of reference dependency trees for the aligned English and Polish material. The authors explain that this prevents them from directly evaluating the induction procedure or the quality of its outputs. The use of a trained parser answers whether the trees provide a productive training signal. A high score on that task can coexist with substantial errors in individual training examples. The results cannot tell a reader how frequently a particular projected sentence has the right tree before correction or how often a particular repaired attachment agrees with a human analysis.

The paper’s account of translation also states a substantive qualification. Predicate–argument structures can carry over across languages while their grammatical expression differs. Polish constructions involving clitics or reflexive markers illustrate how transfer can fail, and differences in annotation practice can create similar problems for constructions that both languages have. Structural correction is the remedy investigated here. Its coverage depends on the errors identified during development and the rules defined for them.

The authors describe the procedure as partially automatic. Induction produces the target attachments automatically, while Polish labelling and repair require rule design. The procedure also draws on an English grammar and a Polish valency dictionary. The authors argue that designing the rules takes less manual effort than annotating the trees individually at this scale. The reported experiments concern attachment accuracy and corpus size. The paper gives no measured comparison of annotation hours or the effort required to prepare the supporting resources.

The authors also qualify their explanation for the advantage on the additional test. They propose that automatically tokenised training data may better prepare a parser to handle automatically tokenised test material. The newspaper sentences are a small sample, and the paper identifies differences from the Polish dependency bank in their length, tokenisation and structural complexity. The observed advantage motivates the explanation and continued research.

Limits visible in the experimental setup

The supervised system is a comparison with a specific treebank and training procedure. Its performance describes what can be obtained from the 7405 training trees and the settings the authors use. A larger manual treebank, or one sampled from a corpus with different constructions and segmentation conventions, would present a different comparison. The paper’s evidence supports claims about the recorded setup. Treating the supervised score as a general ceiling for supervised parsing would extend it beyond that setup.

The scale difference also determines what can be inferred. The study compares a large induced training resource with the manual training split that was available. This is appropriate to the practical question of whether projection is a way to acquire useful training data. It gives no matched-size comparison that could establish how informative an individual induced tree is relative to an individual manual one. Strong aggregate performance from a large resource is compatible with lower average accuracy of its annotations.

The tests are informative about different aspects of robustness. The automatic version of the 822-tree test changes the grammatical inputs while preserving the test material. Its results provide evidence about sensitivity to automatic morphosyntactic annotation under those conditions. The additional newspaper test changes several factors together. Its result supports a claim about the 50 newspaper sentences. It cannot distinguish greater robustness to tokenisation from better coverage of longer sentences, particular constructions or other characteristics of those sentences.

Aggregate attachment scores also leave the structural mechanism unresolved. For instance, the newspaper test contains 2.2% non-projective arcs, yet the paper reports overall scores for that test. From those totals it is impossible to tell whether the induced training data improve analysis of the non-projective arcs themselves or chiefly help elsewhere in the sentence. The same applies to the constructions named in the correction rules. Better overall attachment after repair does not locate the gains among clitics, negation, numeral complements or other relations.

Several practical choices remain open for reproducing the statistical stage from the description. The authors specify the ranked-tree procedure and state that final extraction requests 1 tree. They give the range for the fallback discount in the scoring rule. The experiment does not state a numerical size for the earlier ranked pool or a chosen value for the discount. The paper describes the kinds of endpoint features that can define relation types and explains the adaptation of EM selection without reporting a separate comparison of those feature choices. These omissions limit what can be concluded about the sensitivity of the method to its settings.

Finally, the reported demonstration concerns transfer from English to Polish. The general scoring and tree selection procedures could in principle be applied to other aligned language pairs. Their success here depends on the availability of source parses, alignment evidence and rules that address target-language phenomena. The Polish results establish the outcome of using those ingredients together for this pair. A comparison across language pairs would be needed to estimate how much of the result carries over when the source annotations, translation correspondences and required repairs change.

What came after

The paper ends with the authors’ intention to continue investigating automatic induction of Polish dependency structures. The available record identifies no later study that can be traced to this pipeline. The paper therefore leaves a documented result for the English-to-Polish experiment and an open empirical question about how far the method transfers across text sources, segmentation conventions and language pairs.

Cite

Cite as Alina Wróblewska and Adam Przepiórkowski. 2014. Projection-based Annotation of a Polish Dependency Treebank. 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{wroblewska2014projection,
  title = {{Projection-based Annotation of a Polish Dependency Treebank}},
  author = {Alina Wróblewska and Adam Przepiórkowski},
  booktitle = {Proceedings of the Ninth International Conference on Language Resources and Evaluation (LREC'14)},
  year = {2014},
  url = {https://aclanthology.org/L14-1446/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/wroblewska-2014-projection-based-annotation-polish-dependency/