Elamur Research

Converting Dependency Structures to Phrase Structures

Paper · 2001 · Fei Xia and Martha Palmer

Summary

A dependency tree tells you which words go together by linking each dependent word to a head. A phrase tree shows how words form groups, which groups sit inside others, and what grammatical category each group belongs to. The same sentence can be represented either way, but a list of head–dependent links leaves some of the grouping decisions open. Fei Xia and Martha Palmer ask how much of a phrase tree can be recovered from those links. Conversion would let researchers reuse annotated corpora across the two formats, help them construct new treebanks, and give systems for dependency parsing and phrase-structure parsing a common basis for comparison.

The authors begin with the conversion in the other direction. A head table identifies which child supplies the head of each phrase, and the words that head the remaining children become dependents of that word. Reconstructing phrases requires additional decisions. A word may need a phrase around it before it can attach to its head, and the resulting phrase can sometimes attach at different heights. The authors compare a strict X-bar procedure that adds uniform layers of structure, a procedure used in work on the Czech dependency treebank that keeps trees as flat as possible, and their own procedure. Their converter distinguishes arguments from modifiers and uses separate tables for possible phrase categories, argument placements, and modifier placements. Changing the tables lets the same procedure reproduce either of the earlier approaches or follow the conventions of a particular corpus.

The experiment starts with Section 0 of the English Penn Treebank. The authors turn its phrase trees into dependency trees, run each converter on those trees, and compare the results with the original brackets. The table-driven procedure achieves 86.24% unlabelled bracket recall and 88.72% precision. It recovers more original brackets than either alternative and produces a total bracket count close to the reference count. The flat procedure keeps the highest precision, while the X-bar procedure adds many extra brackets. In a manual review of the first twenty sentences, the authors trace thirty-one differences to problems in the reference annotation, the tables, the initial conversion to dependencies, and the reconstruction rules. One rule shared by all the converters is especially consequential. A word’s part-of-speech tag is assumed to determine a unique path through phrase categories, yet the Treebank sometimes gives words with the same tag different paths.

The authors also argue for keeping empty categories in dependency trees. These are elements represented in the syntax even though they have no spoken or written word at that position. Keeping them can preserve information about omitted arguments for machine translation and help represent displaced constituents without losing information about surface order. This proposal extends the paper’s central point. A converter can supply useful conventions for information that the target representation needs, and the choice of what to preserve in the input still matters.

Deep dive: Converting Dependency Structures to Phrase Structures

Xia and Palmer compare ways to turn word dependencies into phrase trees and show how corpus-specific rules recover Penn Treebank bracketing. · about 36 minutes to read

The problem and its context

Two ways to annotate the same sentence

A treebank records a syntactic analysis for each sentence in a collection. The Penn Treebank exemplifies linguistic annotation organized around phrases. A phrase tree can distinguish a noun phrase from a verb phrase, show which words belong to each, and show how they combine into a clause. It can also annotate the job a phrase performs. For example, an NP label identifies a noun phrase, while the Penn Treebank’s SBJ function tag identifies a subject. The category tells the reader what kind of group it is. The function tag tells the reader what it does in its immediate context. The Penn Treebank

The Czech dependency treebank exemplifies annotation organized around relations between words. Here a head is a word that governs another word, its dependent. A word can depend on a head and in turn govern dependents of its own. In the ordered dependency tree used to illustrate the paper, heads are parents, and the representation also retains the positions of the words. This makes it possible to tell whether a dependent occurs to the left or right of its head, a distinction that becomes useful when assigning phrase structure.

Consider the paper’s English example, in which Vinken is the subject and join is the main verb. In the phrase tree the subject is a noun phrase and the sentence also has a verb phrase. Under the head choices illustrated by the paper, the dependency representation links Vinken to join. That link identifies the governing word. It leaves open which phrase boundary surrounds Vinken and which layer of structure receives the subject. A converter must supply both decisions to recover the grouping in the phrase tree. The distinction is easy to miss when the subject contains a single word. An NP around that word is still a decision about the tree, even though it encloses exactly the same text as the word itself.

Phrase annotation also leaves some decisions to downstream users. The paper uses the same sentence to ask whether Vinken should depend on the modal will or on join. Someone building a dependency treebank has to settle that choice for the annotation to be usable. A phrase treebank can record the constituent structure and leave the lexical head implicit. Different head rules can then derive different dependencies from that structure. The choice of representation therefore affects which decisions an annotator makes directly and which decisions a later procedure must supply.

From grammatical comparison to corpus conversion

The paper places this question against an earlier discussion of the relationship between dependency grammars and phrase-structure grammars, including context-free grammar. Its own question is practical. Given the annotation in an existing corpus, what steps produce a usable tree in the other format? And how close can the result come to the conventions of another annotation scheme? This brings choices such as the placement of an adverb or the presence of a noun phrase around a single word into the same experiment as the broader contrast between the representations.

Earlier parsing work cited by the authors used head percolation tables to locate heads in phrase trees. A table can specify a direction of search among a node’s children and the categories eligible to supply its head. These rules let a converter propagate a word’s identity from a low point in the tree through the phrases that word heads. The authors discuss the practice in connection with work by Magerman and Collins. Their use of the technique makes the dependency input for the experiment and illustrates why that input reflects choices about heads. Magerman’s statistical parsing work and Collins’s lexicalised parsing work

For the opposite conversion, the paper draws on approaches with different aims. It connects the first to Covington’s work and to X-bar theory, which gives a lexical head an intermediate projection and a full phrase projection. It connects the second to work by Collins and colleagues, who converted a Czech dependency treebank to obtain phrase structures. That method uses fewer layers and largely preserves the local family of a dependency tree as a flat group in the phrase tree. Both procedures offer a systematic answer when the input lacks brackets. Their different answers make them useful comparisons for a converter designed to follow a particular treebank. A Statistical Parser for Czech

Why aim at an existing treebank?

The authors give several reasons to judge a conversion against a corpus that already has phrase annotation. A publicly available treebank supplies a stable reference against which the same sentence can be checked repeatedly. It also supplies the kind of reference already used to evaluate phrase-structure parsers. Converting the output of a dependency parser into that format would, in principle, let researchers apply similar measures to both kinds of output. In that use, the quality of the converter is relevant because a missed bracket could arise during conversion even if the dependency parser supplied the intended relation.

Another motivation is corpus construction. The authors envisage using parallel texts, with phrase structures available in one language, to help build phrase annotations in the other. Conversion from dependencies to phrases would provide a way to produce trees in the desired form as part of that work. A target treebank would then give researchers a basis for checking how well the resulting phrase boundaries fit its annotation practice. The paper introduces this as a reason to care about the output format and the quality of reconstruction.

A practical reference also sets a specific target. If a treebank puts a given modifier inside a verb phrase, a converter is rewarded for reproducing that placement. If another plausible analysis attaches it higher, the same evaluation registers a disagreement. The authors acknowledge that phrase analyses, like choices of dependency heads, can be disputed. Their design therefore turns a broad question about possible syntactic representations into a testable question about matching one set of conventions.

The method, step by step

Establishing the dependency input

A head percolation table works locally. At any constituent node, the converter looks among the immediate children and chooses one as the head child. The term head child refers to the child whose subtree contains the word that will head the whole constituent. A head child can itself be a phrase. To find the word, the procedure follows head-child decisions down through that phrase until it reaches a token. Viewed from the bottom up, that token supplies the head of each larger phrase reached through the corresponding sequence of head choices.

The paper illustrates the lookup with a rule for S, the category used for a sentence. The rule searches from the right and takes the first child labelled S or VP, where VP denotes a verb phrase. The search is among children of the current node, so a VP buried inside a different child does not enter that choice directly. The category and search direction together specify how to select the branch that carries the lexical head. Where a scheme provides the relevant phrase labels and has consistent head positions, these rules can be relatively simple to write.

Once this selection is available at every constituent, the procedure adds word dependencies. Each child other than the head child supplies the word at the dependent end of a link. The head word of the chosen child supplies the governing end. In the example with Vinken, the sentence’s verb phrase contributes join and the subject noun phrase contributes Vinken. Their relation can now be expressed as a dependency between the words. The same operation at lower nodes adds the relations internal to each phrase.

A more elaborate version described by the authors also uses an argument table and a tagset table, which supplies information about the annotation labels. This version can mark the relation of a dependent as an argument or an adjunct. An argument occupies a role licensed by its head, such as the phrase selected by a preposition. An adjunct adds modifying material. The reverse converter uses the distinction to look up possible attachments in separate tables. The dependency relation and the role assigned to it thus affect the set of phrase trees that can be recovered.

The forward conversion can make errors even when the input phrases are well formed. Take the paper’s example of a name followed by an appositive, a second expression identifying or describing the same referent. In John Smith, the CEO of FNX, the conversion can choose the description to supply the head where the authors expect the name. That decision changes the dependency tree passed to the next step. A converter rebuilding phrases starts from the resulting head choice, so later disagreement with the original may have arisen before the rebuilding stage.

The decisions involved in rebuilding a phrase

In the reverse direction, a projection is a constituent headed by a word or by a lower constituent along the same head path. A verb can head a VP, and that VP can carry the same head into an S. The ordered list of available categories is a projection chain. It describes categories that a head may supply. The converter still has to decide how far along the chain to build in an individual sentence.

Suppose a dependent is a noun and its head is a verb. The converter needs to know what phrase categories are available for both. It then needs to decide whether the dependent attaches as a word or projects to a nominal phrase before attaching. Finally, it has to place the attachment on the verb’s chain. For a verb that projects through VP to S, putting the constituent under S makes it part of the clause at a higher level than putting it inside VP. Both outcomes can correspond to a dependency on the same verb.

These decisions interact once the dependent has a subtree of its own. All of that subtree has to enter the head’s phrase tree together. If the dependent already heads a phrase containing its own dependents, the root of that phrase is the lowest point from which the converter can attach it as a unit. Conversely, even a dependent with no dependents of its own can require another layer when the head’s attachment rules expect a phrase category. The competing conversion procedures differ in how they handle cases between these extremes.

Algorithm 1 builds the X-bar layers

The first procedure supplies the same projection inventory to every lexical category. A head has an intermediate projection and a maximal projection. The intermediate layer is the category conventionally read as “X-bar,” and the maximal layer is the full phrase.

X → X′ → XP

X is the starting category of the head word. X′ is the intermediate constituent headed by X, and XP is the full phrase headed by the same word. Each → marks an available upward projection, from the word to the intermediate category and then to the full phrase.

The procedure requires a dependent to build its own chain to the maximal level before attaching to its head’s structure. A dependent whose subtree consists of a single word consequently still contributes a phrase. This yields regular trees in which each dependent enters the construction at the same kind of projection, even though the roles that dependents bear can differ.

The algorithm makes those roles matter at the attachment end. It distinguishes arguments, modifiers, and specifiers. A specifier occupies a designated position in the X-bar phrase, separate from the positions for the head’s arguments and modifiers. Each role has a fixed place in the configuration. Modifiers, for instance, are attached as sisters of the intermediate projection, where sisters are nodes with a common parent. For multiple modifiers of one head, the paper allows a shared intermediate layer or a series of stacked intermediate layers. The illustrated sentence uses the shared version. Both variants retain the premise that a modifier’s role determines where it attaches.

With these rules, the word links determine who belongs with whom, and the X-bar scheme supplies the shape of the grouping. A new dependency does not require the procedure to learn a different set of possible projections for the dependent or its head. The same scheme covers categories whose treatment in a specific treebank may differ. That consistency explains both the attraction of the method as a general construction and the need for a separate empirical test of how closely it matches an annotation scheme.

Algorithm 2 puts dependents beside the head

The second procedure supplies a single phrase projection for each head category. If a dependent has no dependents of its own, it attaches as a word. If it governs other material, it projects to a phrase so that the head word and its local group can attach together. The tree therefore acquires a layer where one is needed to carry a subtree.

In either case the dependent attaches beside the head word. A bare word and a completed dependent phrase have the same relation to the head at this point in the output. The converter handles different dependency roles alike. Consequently, material that might receive several distinct attachment heights in the X-bar construction can appear together under one parent.

This is a different meaning of economy from the one later used by the authors’ converter. The flat procedure can tell whether a dependent has internal structure, and that information decides whether it gets a phrase. It has no separate rule that would wrap a single proper noun in NP specifically because the noun is a subject, or attach a right-hand modifier outside a nominal group because the target corpus does so. Repeating the same local operation throughout the dependency tree produces the flat shape the procedure is designed to obtain.

Algorithm 3 puts the annotation conventions in tables

The authors’ converter retains a small set of construction rules and delegates the category-specific choices to tables. It distinguishes arguments and modifiers. The projection table describes which chain is available from each category. The argument and modification tables then describe what kinds of dependents a head can receive and on which side they may occur. A particular collection of entries is intended to reflect the language and the target treebank.

How the table-driven converter rebuilds phrase structure

The steps in order.

How the table-driven converter rebuilds phrase structureStep 1: Start with an ordered and tagged dependency tree1. Start with an ordered and tagged dependency treeStep 2: Find the projection chain for the head2. Find the projection chain for the headStep 3: Build each dependent’s phrase subtree3. Build each dependent’s phrase subtreeStep 4: Look up allowed arguments and modifiers4. Look up allowed arguments and modifiersStep 5: Choose the lowest compatible attachment5. Choose the lowest compatible attachmentStep 6: Extend each dependent only as needed6. Extend each dependent only as neededStep 7: Insert extra nodes for designated modifiers7. Insert extra nodes for designated modifiers

The projection table can give different head categories chains of different lengths. The Penn Treebank conventions discussed in the paper give determiners no further projection, adverbs an adverbial phrase, and verbs a path that can run through a verb phrase, a sentence, and SBAR, a subordinate-clause category. The authors treat S and SBAR as projections of the verb for conversion purposes. They explain that a grammatical theory might assign the corresponding higher phrases to heads that the Penn Treebank does not represent explicitly. Their table follows the categories actually available in the corpus.

One of the paper’s projection entries stops at S and illustrates how to read the table.

V → VP → S

V is the verb category. VP is the verb phrase category, and S is the sentence category. The first → allows a verb to supply the head of a verb phrase. The second allows that head to carry upwards to a sentence through the verb phrase. An available step can be left unbuilt when the conversion needs no higher node.

The argument table can specify that a preposition accepts a noun phrase or a sentence on its right. Its categories express what the dependent must look like at attachment time. If the available dependent structure consists of a word and a possible phrase projection, the table may license the phrase category and thereby require the converter to build it. Direction restricts the match further. A rule allowing a category on the right does not license the corresponding left-hand attachment.

The modification table can describe asymmetric treatment on the two sides of a head. In the example given, a noun phrase allows a determiner or an adjective to its left, and it allows a prepositional phrase or a sentence to its right. These are permissions about the local phrase arrangement as well as about category combinations. They make it possible for a nominal group on the right and a bare category on the left to fit the same overall conversion procedure.

Each lexical category still has a unique chain in the projection table. The flexibility lies in giving different categories distinct chains, in allowing a particular chain to stop at different levels, and in choosing attachments in response to context. For instance, the authors describe a noun modifying a verb, as yesterday does in their example, as projecting to NP under the relevant Penn Treebank convention. For a noun modifying a noun, the outcome depends on its side. A right-hand nominal modifier can project to NP in an appositive construction, while a left-hand nominal modifier can remain below NP. The projection table can make NP available in both cases. Attachment rules determine when to use it.

Different conditions can also change the height on the head’s side. In the authors’ discussion of the Penn Treebank, the position of an adverbial phrase relative to the verb and its subject can affect whether the adverbial attaches at sentence or verb-phrase level. In noun phrases, a left modifier such as an adjective may share a parent with the noun, while a right modifier such as a prepositional phrase can sit beside an NP. These cases motivate providing more choices than a fixed attachment height for every member of a dependency type.

How the converter chooses a pair of attachment levels

The paper works through an example with a head X, two arguments Y and Z, and a modifier W. It assumes the phrase structure for each dependent is already built. The task at the current head is to integrate those structures into a larger phrase tree. This bottom-up organization matters because the head can only receive a dependent as an intact subtree. The dependent’s current root gives the converter a starting point for its search.

X₀ → X₁ → … → Xₖ

X identifies the head in the example. X₀ is its starting category, X₁ is its next projection, and Xₖ is the highest projection on its chain. The subscripts index levels, with 0 marking the base, 1 marking the next level, and k marking the top index. … allows intervening levels. The arrows indicate the direction from lower to higher categories.

Z₀ → Z₁ → … → Zᵤ

Z identifies the dependent argument. Z₀ is its starting category, Z₁ is the next category available to it, and Zᵤ is the highest projection on its chain. Here u is the top index of the dependent’s chain. The ellipsis stands for any intervening levels, and the arrows again lead upwards. The structure already made for this dependent is rooted at Zₛ, with s marking its current height.

The next step is to consider possible positions on X’s chain from the bottom up. The position ultimately chosen is Xₕ, where h is the index of the node that will become the parent of the dependent phrase. At this position the argument table must license the dependent’s category as an argument of the immediately lower projection, Xₕ₋₁. That lower projection and the dependent then share Xₕ as a parent. This indexing distinction matters because the table describes the relation to the constituent already in place, while the output tree needs a parent node that groups the two together.

t ≥ s

t is the index of the candidate attachment category Zₜ. s is the index of the root Zₛ already built for the dependent. The ≥ sign means that the candidate can be at the current root or above it. A lower choice would exclude some part of the dependent’s existing structure from the unit being attached.

A position on the head’s side is feasible if there is a permitted category on the dependent’s side at or above that existing root. The converter chooses the lowest feasible position on the head’s chain. It also prefers to extend the dependent only as far as the attachment requires. Therefore, once the converter has attached Zₜ, the presence of a higher possible Zᵤ in the table does not cause it to build another node automatically. If minimizing the head’s attachment height and minimizing the dependent’s projection call for different decisions, the authors give priority to the lower attachment on the head’s side. They say the conflict is rare in practice, if it occurs at all.

For W, the modifier, the same kind of search uses the modification table. There is also a restriction imposed by word order. Once a dependent has attached at a particular level, another dependent on the same side and farther from the head may attach at that level or higher. In the example, after Zₜ becomes a child of Xₕ, a farther same-side W cannot attach below Xₕ. This connects local attachment to the ordering of dependents. A category combination can be licensed by the table and still be unavailable at a lower level given how intervening material has been incorporated.

Why a proper noun projects and a modal adds a VP

The worked sentence with Vinken shows how the argument table turns a lexical category into a phrase when needed. The starting tag is NNP, a proper-noun tag. At the relevant level the table permits an NP argument of a VP. The bare NNP does not fit that slot. Projecting Vinken to NP produces a dependent of the allowed category, which can then attach where the sentence is formed. The algorithm adds this phrase even though there is no need to gather additional words under Vinken.

The example also distinguishes two ways of attaching a modifier. A sister-adjoining modifier goes under a parent shared with the constituent it modifies. A Chomsky-adjoining modifier is placed higher by adding a node around the existing constituent and attaching the modifier under that new node. The extra layer preserves a separate constituent for the material already built. In the paper’s sentence the date expression Nov. 29 sister-adjoins in the verb-phrase structure. The modal will, with the tag MD, is treated as Chomsky-adjoining.

The authors extend their modification table to distinguish those options. For the modal they insert an extra VP and attach will there. This makes the modal combine with the existing VP as a group. With that extension, the worked example yields the same phrase structure as the Penn Treebank tree shown for the sentence. This example illustrates a structural convention the table has to specify in addition to such information as which modifier category is permitted and which side it occupies.

How the general procedure reproduces the alternatives

The authors argue that both earlier algorithms can be obtained by configuring their converter appropriately. For an X-bar configuration, the tables give each head the uniform intermediate and maximal projections, require the dependent’s full phrase at attachment, and encode the fixed structural positions prescribed by the X-bar construction. The table-driven search then has the choices that implement those rules. Flexibility in the converter’s other configurations does not require a more flexible result under these restrictions.

The paper spells out the flat configuration in more detail. It gives each lexical category a single phrase projection. For arguments, where the dependency can relate a given pair of categories, the table allows both the bare dependent category and its phrase projection. The modification table likewise accommodates the bare and projected forms in the flat arrangement. A dependent with an existing phrase subtree carries that subtree into the parent. An isolated word can use its base category because that category is already licensed. The same search for a low attachment and a minimally extended dependent thus implements the intended flat behavior when supplied with these options.

The ability to encode the earlier algorithms separates the inventory of possible phrase structures from the procedure that builds them. The comparison is between alternative ways of specifying the desired groups: a uniform layered analysis, a minimal flat analysis, and a set of choices tailored to the Penn Treebank. The paper describes the tailored entries as treebank-specific information supplied to the algorithm. It gives no separate statistical training procedure for estimating those entries. The experimental data enter through the trees that supply the dependency input and the phrase structures used for evaluation.

Experiments and results

A conversion round trip on the Penn Treebank

The authors evaluate on Section 0 of the Penn Treebank. They report that an English dependency treebank was unavailable for their setup, so they derive word dependencies from the corpus’s phrase structures. Each dependency tree is then passed to each reconstruction procedure. The original phrase tree supplies the reference for that sentence. All three converters therefore receive the same analysis at the word-dependency stage. Their outputs can be compared for differences that arise when they choose phrase boundaries and attachment heights from that input.

This is a round-trip evaluation. It asks how closely a reconstruction from derived dependencies recovers the starting annotation. That differs from asking a parser to generate dependencies from the words of a previously unparsed sentence. In the round trip, the original syntax already contributes to the dependency tree through the forward conversion. Some of that syntax is retained in the head links and any accompanying role distinctions. Other aspects, such as the category and extent of particular phrases, must be recovered by the reverse procedure.

The paper identifies Lex-Tract as producing the dependency trees and notes that those trees omit punctuation. The authors use a simple program to attach the punctuation to the reconstructed phrase trees as high as possible. This handling is part of the conditions under which the output is compared with the corpus. It keeps punctuation from requiring the same argument or modification decisions as words represented in the dependency input.

The two baselines represent opposite ways to decide when a phrase should exist. Algorithm 1 implements the strict X-bar construction. Algorithm 2 implements the flat construction used in work with the Czech treebank. The Czech treebank is the origin of that approach in the paper’s account. The shared test data for the comparison are English Penn Treebank trees. The comparison shows how those constructions behave when their English outputs are judged against the same target annotation.

What the measurements count

The central measures are precision and recall for unlabelled brackets. A bracket corresponds to a constituent boundary in the sentence. The unlabelled comparison checks the boundary without requiring the same syntactic category. For instance, a span proposed as an NP by a converter and given a different phrase label by the reference can agree in the unlabelled comparison. Categories matter internally because the conversion uses them to find legal attachments. The principal scores ask how well those decisions recover the extents of the groups.

Recall asks how many reference brackets the output recovers. A converter can cover many of those groups while adding numerous groups of its own. Precision asks how many of the brackets the converter outputs agree with brackets in the reference. A conservative converter can score well on precision by proposing familiar groups while missing substantial structure. Reading the two together is particularly important here because the baselines were explicitly designed to build trees with different amounts of layering.

The paper also reports a no-cross percentage and an average crossing count. A crossing occurs when an output bracket and a reference bracket overlap in an order that prevents either from enclosing the other. For example, an output span can begin within a reference span and finish outside it. The no-cross percentage captures how often the comparison avoids that kind of conflict, and the average count reflects how many crossing brackets occur on average. A tree can omit an expected group while avoiding a crossing. These measures therefore describe a different property from the recovery counted by recall.

The final measure is the ratio of the number of test brackets to the number in the original trees. It helps explain the amount of structure each algorithm builds. A ratio close to parity establishes that the output contains a similar quantity of brackets. It takes precision and recall to establish how many of the groups themselves match. Here the bracket count is especially informative because both excessive projection and insufficient projection can be seen directly in the resulting tree sizes.

Unlabelled bracket recall on Penn Treebank Section 0

The table-driven converter recovers the most reference brackets.

Unlabelled bracket recall on Penn Treebank Section 0Algorithm 1, X-bar: 81.34Algorithm 1, X-bar81.34Algorithm 2, flat: 54.24Algorithm 2, flat54.24Algorithm 3, table-driven (this paper): 86.24Algorithm 3, table-driven (this paper)86.24
The numbers
System or settingrecall %
Algorithm 1, X-bar81.34
Algorithm 2, flat54.24
Algorithm 3, table-driven (this paper)86.24

Unlabelled bracket precision on Penn Treebank Section 0

The flat converter has the highest precision, with the table-driven converter close behind.

Unlabelled bracket precision on Penn Treebank Section 0Algorithm 1, X-bar: 32.81Algorithm 1, X-bar32.81Algorithm 2, flat (this paper): 91.50Algorithm 2, flat (this paper)91.50Algorithm 3, table-driven: 88.72Algorithm 3, table-driven88.72
The numbers
System or settingprecision %
Algorithm 1, X-bar32.81
Algorithm 2, flat (this paper)91.50
Algorithm 3, table-driven88.72

Average crossing brackets on Penn Treebank Section 0

The flat converter has the least crossing, and the table-driven converter crosses less often than the X-bar converter.

Average crossing brackets on Penn Treebank Section 0Algorithm 1, X-bar: 0.90Algorithm 1, X-bar0.90Algorithm 2, flat (this paper): 0.10Algorithm 2, flat (this paper)0.10Algorithm 3, table-driven: 0.27Algorithm 3, table-driven0.27
The numbers
System or settingaverage crossing brackets
Algorithm 1, X-bar0.90
Algorithm 2, flat (this paper)0.10
Algorithm 3, table-driven0.27

What each tree shape gains and loses

Algorithm 1 recovers 81.34% of the unlabelled reference brackets in Section 0. Its unlabelled precision is 32.81%, and its output-to-reference bracket-count ratio is 2.48. A procedure that projects categories through a uniform intermediate and maximal layer has many opportunities to place a boundary that agrees with the reference. It also creates boundaries for groups that the Penn Treebank leaves without a separate bracket. The bracket count helps explain how substantial recovery and low precision can coexist. Its Section 0 no-cross score is 50.81%, with 0.90 average crossing brackets.

Algorithm 2 reverses much of this pattern. On the same section, it achieves 91.50% unlabelled precision and 54.24% unlabelled recall, with a bracket-count ratio of 0.59. It proposes relatively few brackets, and the brackets it does propose tend to be supported by the reference. Requiring a group only where a dependent governs other material leaves some reference constituents unrepresented. Its no-cross score is 94.90%, and its average crossing count is 0.10, both the best values for those measures in the comparison. Sparse grouping gives a converter fewer occasions to propose conflicting boundaries, so these results belong alongside its recall.

Algorithm 3 gives 86.24% unlabelled recall and 88.72% unlabelled precision on Section 0. Its corresponding bracket-count ratio is 0.98. The amount of structure is close to the amount in the reference, and the matching measures show that much of it occurs at the expected boundaries. The converter records 84.33% no-cross and 0.27 average crossing brackets. It leads the comparison in recovered reference brackets, while the flat converter produces fewer bracket conflicts and leads in precision. The proposed converter’s main result is the combination of relatively broad coverage and relatively high precision under the same test conditions.

The contrast between Algorithm 1 and Algorithm 3 is revealing because both can build layered structures. The X-bar baseline supplies layers uniformly, and the table-driven converter supplies them when the categories and attachment conditions call for them. Having fewer brackets than the X-bar output is compatible with matching more of the reference brackets. Conversely, the contrast with Algorithm 2 shows why high precision alone gives an incomplete account of reconstruction. The flat output is more selective, and many boundaries in the corpus are absent from it. The table-driven output supplies more of those expected groups while retaining precision close to the flat result.

The example sentence and the aggregate evaluation answer different questions. In the worked example the authors can trace an individual NP to the argument table and an extra VP to the handling of the modal. On Section 0, precision and recall quantify the aggregate fit of the proposed procedure. Those scores reflect the joint operation of the projection inventory, the two attachment tables, and the conventions used to build and compare the trees. The manual analysis then takes a closer look at where that joint procedure disagrees with the reference.

What the ablations show

The paper gives no component ablation in which the authors remove one table or heuristic at a time; it instead compares complete conversion strategies and manually classifies the table-driven converter’s disagreements.

What changes when the entire strategy changes

The comparison holds the dependency source and the phrase-tree reference fixed. It changes the policies for projecting and attaching dependents together. The X-bar procedure systematically adds levels. The flat procedure supplies a phrase when it has a dependent subtree to carry. The authors’ procedure can use either kind of behavior locally, guided by the category of the dependent, the category on the head’s chain, the dependency role, and the position. The resulting score patterns connect policy choices to the amount of structure produced. The experiment does not isolate the contribution of any one decision to a given score.

The special-case argument supplies a further comparison at the level of design. Since the authors’ procedure can encode the other strategies, a reader can see which restrictions recover each one. In the flat case, permitting bare and projected categories makes the completed subtree determine which is required. In the X-bar case, the prescribed categories and role positions make higher projections obligatory. This establishes the range of the conversion procedure. The English results separately assess one use of that range, the configuration intended to match the Penn Treebank.

The strongest full-system comparison comes from looking at matching boundaries and tree size together. The table-driven system’s bracket count is close to the reference, and its recall leads the comparison. Having roughly the right amount of structure would be insufficient if most boundaries occurred in the wrong places. The recall and precision results give direct evidence of boundary agreement. They leave open questions about which entries or distinctions account for most of that agreement, because those factors were changed as part of a complete strategy.

Where the remaining bracket differences arise

The authors examine the first twenty sentences of Section 0 and find thirty-one differences in bracketing for Algorithm 3. They give each difference a source. This review uses a small, specified portion of the test section. It shows concrete ways that a mismatch can arise at several stages of the round trip, beyond the final act of deciding where to attach each dependent.

The authors attribute seven differences to annotation errors in the Penn Treebank. The corpus is the reference used by the scoring procedure, so its decisions count in the evaluation even where a manual inspection identifies a mistake. Correcting that source of disagreement requires a review of the annotation. This category illustrates why the measured task is agreement with a corpus and why the authors describe the corpus as an imperfect standard.

They attribute three differences to errors in treebank-specific tables. This is a different diagnosis from finding that the rules lack the capacity to express the right result. If an attachment or projection is expressible but the relevant entry is wrong, a change to that entry can address the case. The authors view such changes as relatively straightforward. The manual count gives the scale of that diagnosis within the reviewed sentences.

Another seven differences are attributed to flaws in the initial conversion from phrase structure to dependencies. The mistaken head in an appositive noun phrase is a concrete example of how that can happen. Once the description has been chosen to head the phrase instead of the name, the reconstruction algorithm receives a dependency configuration grounded in that choice. Since the same round trip created the dependency input and judged the resulting structure, the final difference can reveal an error made at the earlier stage.

The remaining fourteen differences are attributed to a mismatch between the reconstruction heuristics and Penn Treebank conventions. These cases most directly expose limits in the authors’ structural assumptions. Improving an individual table entry can change which category or attachment is available. Some cases require a rule that chooses between projection paths for the same starting category. The review gives the authors evidence of this distinction by tracing output brackets back to the paths their procedure permitted.

When a tag needs more than one projection chain

All three converters assume that a category has a unique path of projections. Algorithm 3 allows more variation between categories than the earlier methods, but its projection table still assigns one chain to a particular tag. Its attachment rules can stop on different nodes within that chain. They cannot choose a different branch when the target category sits on an alternative chain.

The paper lists examples from the Penn Treebank. The adjective tag JJ typically leads to an adjective phrase, ADJP, in the examples discussed, and it can also lead to NP. CD, a cardinal-number tag, can lead to NP directly or through QP, a quantifier phrase. NN, a common-noun tag, can lead directly to NP or pass through NX on the way to NP. These examples involve different annotation choices. Some substitute one phrase category for another. Others introduce an intervening category between an existing lexical tag and a phrase the usual chain also reaches.

The verbal examples show the same issue in other categories. The past-participle tag VBN can project through VP to S or through VP to RRC, a reduced relative clause. The tag VBG can head a chain through VP to S, and the paper also gives a route to PP, a prepositional phrase. Merely allowing more or less of the normal chain cannot produce all of these analyses, because the chain would need to make a category available that otherwise has no place in it.

For adjectives, the authors sketch a more contextual rule. An adjective tagged JJ can serve as the head of an NP when it follows the and no noun immediately follows the adjective, as in the rich are getting richer. Other contexts could take the ADJP route under the proposed heuristic. The example shows what information a more flexible procedure would need to use. The adjective’s surroundings decide which chain it should have, after which the converter can once again choose how far up that chain to project.

The adjective rule is a suggested remedy, and the paper also suggests using additional heuristics or statistical information more generally. It reports no new Section 0 score for a converter using those alternatives. The contribution of the review is to identify specific structural choices missing from the existing procedure and to distinguish them from mistakes that can be corrected in the reference, in a table entry, or in selecting the dependency head.

Limitations

Limits the authors identify

The authors treat the Penn Treebank as a practical standard with imperfections. Different head choices can give plausible dependency trees for the same sentence, and different phrase analyses can also be linguistically defensible. Agreement with the Treebank therefore supports a claim about its annotation conventions. The manual checks give examples of disagreements attributable to the reference itself. That matters particularly when interpreting the precision of a method designed to supply more structure than the corpus generally records.

The head-selection stage has its own conditions for success. The authors observe that the ease of writing a head table depends on the language, its annotation scheme, and the definition of the desired dependency representation. A strictly head-initial or head-final pattern can make a directional rule easy to write. The Penn Treebank appositive example shows a case where a simple head choice misses the relation the authors want. The reconstruction starts from those chosen relations, so better reverse conversion alone would leave some sources of disagreement unresolved.

The paper also identifies the constraint imposed by a single chain for each part-of-speech category. Allowing a determiner, adverb, and verb to have different chains solves the uniformity problem of the earlier algorithms. A category whose projection changes with context requires another distinction. The authors suggest adding treebank-dependent heuristics or drawing on statistical information. Their adjective example makes the proposal concrete and also shows how closely such a rule depends on the desired annotation.

A further limit concerns empty categories. Phrase annotation can explicitly represent a syntactic element where there is no overt word. Dependency annotation sometimes omits these elements, leaving the converter without the corresponding position or role. The authors give several reasons to preserve that information. For translation, an omitted argument can matter when the source language allows it to be dropped and the target language calls for it to be expressed. The paper names Chinese and Korean as source-language examples and English as a target-language example. An explicit marker gives a system moving between dependency representations evidence that the role is present.

The second reason concerns conversion quality. A reference phrase tree can contain empty categories, so retaining them in the dependency representation would let the reconstruction carry corresponding elements into the output. The paper proposes that this could improve the conversion. Its reported results do not measure the improvement from adding them.

The third reason concerns order in constructions such as English wh-movement, where an expression appears away from a syntactic position associated with it. The dependency can be non-projective, meaning that the grouping induced by the word links need not correspond to nested, contiguous pieces of the surface sentence. The authors explain that a traversal of the dependency tree can yield the wrong word order if an empty category marking the movement is missing. This is a limit on reconstructing order from those links, alongside the problem of recovering phrase categories and boundaries.

Limits of the experimental setup

The input dependencies come from the same phrase annotations used as the reference on Section 0. As a consequence, the experiment establishes how the converters behave on dependencies produced by this forward conversion. An independently annotated dependency corpus could make different choices about heads, dependency types, or omitted elements. Predicted dependencies could introduce other errors. The paper’s proposed use in parser comparison would require taking those additional sources of variation into account when reading a phrase score as evidence about a dependency parser.

Similarly, the English result demonstrates an advantage for the authors’ configuration against one corpus. The second baseline’s origin in Czech work explains its design, but it does not supply a Czech evaluation of the table-driven converter. The paper gives a reason to expect the same strategy to accommodate other conventions. The tables are changeable and can reproduce several structures. How much effort a new inventory would require, how reliably it could be configured, and how accurately the resulting converter would match another corpus are outside the reported test.

The numerical comparison chiefly concerns unlabelled brackets. These metrics directly support claims about constituent boundaries in Section 0. They do not establish category accuracy, reproduction of function tags, or exact recovery of every tree. The worked example demonstrates that the converter can reproduce a particular full phrase structure when the tables and attachment conventions supply the needed information. A corpus-wide claim about that fuller kind of agreement would require an evaluation that checked the corresponding labels and features.

The report gives examples of table entries and describes their structural roles. It does not provide a measured comparison between manually specified tables and tables obtained through statistical estimation. The results therefore show what the configured procedure achieves under the stated setup. They do not quantify the data or effort needed to configure the same procedure for a new annotation scheme. The paper’s discussion of correcting table errors and introducing contextual rules suggests distinct ways to improve the setup, with their effects still to be measured.

The manual review is limited to the first twenty sentences. Its counts identify several real causes of disagreement in that part of the corpus. They do not establish how the thirty-one differences represent the distribution of errors across Section 0 or across other material. Similarly, the paper’s possible applications to parallel-corpus annotation and translation explain the value of preserving particular information. The reported experiment measures reconstruction of Penn Treebank brackets, with no downstream evaluation of those applications.

What came after

The later citations span direct work on dependency-to-constituency conversion, related questions about transferring syntactic analyses, and applications that operate on words and phrases. These connections vary in how much they establish. A paper whose stated task is conversion can be placed beside Xia and Palmer’s method at the level of the main research question. A citation in a paper on sentiment or entailment establishes a connection to the conversion work, while leaving the role of the converter itself unspecified.

Conversion and transfer across languages

The clearest continuation is A Learning-Based Dependency to Constituency Conversion Algorithm for the Turkish Language. It takes on the same conversion direction for Turkish and describes its approach as learning-based. This places it directly alongside the question Xia and Palmer make concrete: how to recover constituent structure when the source representation supplies dependencies. Their procedure encodes possible projections and attachments in explicit tables. The later work’s stated approach puts learning at the center of the conversion problem. The relationship supported here is the shared conversion objective and the different stated basis for the method.

Cross-Language Parser Adaptation between Related Languages cites the conversion paper in work on adapting parsers across related languages. The problems meet at the question of whether an analysis remains usable when moved away from the setting in which it was produced. Xia and Palmer consider the changes needed to move between annotation formats and discuss corpus building with parallel texts. Parser adaptation addresses transfer between languages. The later citation places their conversion work in that transfer discussion, without establishing that the adaptation procedure runs the Penn Treebank converter or uses its tables.

Phrases and dependencies in opinion analysis

Phrase Dependency Parsing for Opinion Mining cites the paper in work whose stated task brings phrases and dependency relations together for opinion mining. That task is structurally close to the conversion problem because both levels of description matter. Phrase boundaries determine the extent of a group, and dependencies represent links of governance. Xia and Palmer examine how much information about the former can be reconstructed from the latter. The later work uses phrase dependency parsing for an application, with the exact role of Xia and Palmer’s procedure left unspecified by the citation.

Two citing papers concern contextual polarity, the sentiment an expression takes on in the setting where it occurs. Recognizing Contextual Polarity in Phrase-Level Sentiment Analysis frames that problem at phrase level. Recognizing Contextual Polarity: An Exploration of Features for Phrase-Level Sentiment Analysis investigates features for the same stated task. Their titles make clear why the phrase is a relevant unit for the application. A phrase-level decision needs an expression with an identifiable extent. The citations connect that work to a paper about recovering such groups, with no basis for assigning any particular conversion setting or result to the polarity studies.

OpinionFinder: A System for Subjectivity Analysis cites Xia and Palmer in the description of a subjectivity analysis system. Here the connection is to a system aimed at analyzing language for subjectivity. The citation puts syntactic conversion in the context of that application. It does not establish which components use dependency or phrase structures, or which of the conversion algorithms, if any, is used.

A citation in Arabic textual entailment

ArbTE: Arabic Textual Entailment carries the citation into work on whether an Arabic text supports another statement. This is a further application context and is distinct from the direct Turkish continuation. The citation establishes that the entailment work refers to the paper. It leaves open whether the authors convert trees, compare representations, or cite the work for another reason.

Across these works, the direct methodological continuation is the extension of the conversion question to Turkish with a learning-based approach. The other citations place the paper in studies of language transfer and applied analysis. The original experiment supplies a precise test relevant to that broader setting: given word dependencies and a specified phrase annotation scheme, researchers can measure which boundaries a conversion recovers and trace failures back to the input analysis, the rules, or the reference.

Cite

Cite as Fei Xia and Martha Palmer. 2001. Converting Dependency Structures to Phrase Structures. Proceedings of the First International Conference on Human Language Technology Research.

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

@inproceedings{xia2001converting,
  title = {{Converting Dependency Structures to Phrase Structures}},
  author = {Fei Xia and Martha Palmer},
  booktitle = {Proceedings of the First International Conference on Human Language Technology Research},
  year = {2001},
  doi = {10.3115/1072133.1072147},
  url = {https://doi.org/10.3115/1072133.1072147}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/xia-2001-converting-dependency-structures-phrase-structures/