Elamur Research

Syntactic Parsing and Compound Recognition via Dual Decomposition: Application to French

Paper · 2014 · Joseph Le Roux, Antoine Rozenknop and Matthieu Constant

Summary

A parser needs to know when several written tokens behave as a single word. In French, pour l’instant functions as an adverb, even though its individual tokens have different grammatical categories. A system that identifies compounds before it parses can give the parser useful lexical units, but a missed compound or an incorrect merge then becomes part of the parser’s input. In this paper, the authors let the two tasks inform each other. A phrase-structure parser predicts how the sentence is organized, while sequence labellers identify compounds by marking their boundaries. Through an optimization method called dual decomposition, the components can revise their initial decisions until they agree. The two tasks are parsing and the identification of multiword expressions in French.

The authors first combine recognizers that describe compounds in different ways. One predicts only where a lexical unit starts or continues. Others also predict a grammatical category, either for the whole compound or for the tokens inside it. Every recognizer can express its segmentation through the same boundary indicators. The joint system asks them to agree on those indicators and uses the sum of their scores to select a solution. The authors then add the parser, which supplies the same indicators by reading the spans of compound subtrees. When the components disagree, the algorithm changes their scores at the disputed boundaries and decodes the sentence again. If the resulting predictions agree, they achieve the best attainable score for the specified joint objective.

On the French SPMRL 2013 development set, the combined recognizers reached a segmentation F-score of 83.36, compared with 82.44 for the strongest individual recognizer and 82.90 for a vote using the same recognizers. On the test set, the full system, which joined the parser and compound recognizers with a part-of-speech tagger, reached a parsing F-score of 83.80. The LORG parsing baseline scored 82.92, and the strongest shared-task entry reported in the comparison scored 82.86. For test-set compound boundaries, the full system scored 82.44, compared with 81.54 for the recognizers working together without the parser or the separate tagger.

The experiments show that consensus can help both tasks on the same benchmark. They also expose a practical dependency of the method. The components must respond to changes in the scores of the transitions on which they are asked to agree. In preliminary runs these changes had little influence on the recognizers, so the authors added features for adjacent labels. The resulting recognizers were slower in isolation, while the development-set combination reached consensus on every sentence in the reported run. The guarantee concerns the score on which the components are coordinated. The benchmark comparisons establish how well the resulting predictions matched the treebank.

Deep dive: Syntactic Parsing and Compound Recognition via Dual Decomposition: Application to French

French parsing and compound recognition improve when a phrase-structure parser and sequence labellers use dual decomposition to agree on word boundaries. · about 37 minutes to read

The problem and its context

The input has tokens, but their lexical grouping is unresolved

The ambiguity addressed here sits between the written sentence and the syntactic tree. The system receives a sequence of tokens in order. It still has to decide which tokens make up a lexical unit. The data distinguish ordinary single-token words from compounds, which are sequences that have some degree of meaning as a unit and can receive a grammatical category of their own. In this setting, segmentation means finding those lexical groups over the supplied tokens. Splitting raw characters into tokens would be a different problem, covered by tokenization.

A compound has an inside and an outside. In the paper’s example, pour l’instant has a preposition, a determiner and a noun inside it. As a whole, it is an adverb. The example illustrates why a grammatical analysis may need both levels. The tree records the familiar categories of the individual tokens and gives the entire span a category that describes how it functions in the sentence. Assigning a category to an individual token or lexical unit is the job of part-of-speech tagging.

For their work, the authors draw on the version of the French Treebank with phrase-structure annotations that was made available for the 2013 SPMRL shared task. A phrase-structure tree represents nested groups of tokens, each with a grammatical label. In this version of the French data, a compound has a dedicated subtree. Its root carries the category of the whole compound with a + suffix. Immediately beneath that root are the categories of the component tokens, and the tokens themselves are the leaves. The example adverb has the root ADV+. This annotation lets a program inspect a tree and recover the compound as a span, as well as its category and the categories of its constituents. The shared-task setting is described in the SPMRL 2013 overview.

The abundance of these annotations makes segmentation part of the ordinary parsing workload for this corpus. The treebank’s representation also makes the decisions interdependent. A compound subtree commits the parser to a specific pair of boundaries. A segmentation decision, in turn, affects which units the surrounding syntax must account for. Consider the difference between treating vin rouge as a compound noun and leaving its tokens as independently grouped material. The choice changes what the tree says about the span, although the words arrive in the same order either way. The paper asks how to use this dependence without giving either component permanent control of the decision.

Earlier approaches used different evidence

The paper groups evidence for compounds into lexical and syntactic clues. A dictionary can directly list a group of words as a possible compound. A corpus can also show that particular words tend to occur together. A syntactic analysis offers a different clue by placing the prospective unit in the structure of a sentence. These sources are complementary. A dictionary entry is a reason to consider a reading, while the sentence supplies evidence about whether that reading fits a particular occurrence.

Previous work had already used sequence labellers to recover compounds. Such a system assigns a label to every token, and a linear-chain conditional random field scores a sequence of those labels. The chain lets the recognizer use information about adjacent decisions. The framework also accommodates features from annotated text, compound dictionaries, grammatical tags and outputs from a named entity recognizer. The paper cites sequence-labelling work as evidence that this is a practical way to combine different cues. Finding names in text is the task of named entity recognition.

A parser can recover compounds directly if its training trees mark them. The studies discussed in the paper gave different answers about how much a parser gains by being lexicalized, which here means using word information in its grammar-based decisions. In the work by Green and colleagues on tree substitution, the lexicalized approach was more accurate than the unlexicalized approach tested there. The paper also discusses results by Constant and colleagues in which a product of probabilistic grammars with latent annotations could be more accurate without lexicalization. Their strongest such parser achieved recognition performance comparable to a conditional random field that lacked external information. These studies concern different parser configurations, so the paper treats the results as evidence that the choice depends on the system. It cites work on lexicalization and French parsing, tree substitution grammars for multiword expression identification and parsing approaches to multiword expression identification.

External information was an important difference between the approaches. The authors describe it as comparatively easy to introduce into a conditional random field. Incorporating it directly into a probabilistic context-free grammar with latent annotations was harder. A previous effort instead gave arbitrary features to a reranker, which scores analyses after a parser proposes them. In the comparison described by the authors, that system fell behind a conditional random field given the same external information. The two kinds of component thus came with different strengths. A sequence labeller could draw readily on dictionary and token-level evidence, and a parser could evaluate candidates as part of a sentence-wide tree.

There was also precedent for coordinating linguistic decisions during search. The paper cites joint parsing and name recognition as a related case where an analysis of spans can interact with the construction of a tree. It also draws on earlier work that used dual decomposition for natural language processing and parsing. That approach made it possible to express a complex decision in terms of simpler searches with shared constraints. The earlier work includes joint parsing and named entity recognition, dual decomposition and linear programming relaxations and dual decomposition for parsing with non-projective head automata.

The architectural choice is when to fix the boundaries

A straightforward pipeline can run a recognizer, merge each proposed compound into one token, and pass the converted sentence to a parser trained on merged compounds. The parser then builds syntax around the units it receives. That is a workable way to let a specialized recognizer handle segmentation. It also commits the system to the recognizer’s decision before the parser can evaluate any of the alternatives. Restoring the compound subtrees after parsing recovers the original token sequence and tree format. It leaves the initial segmentation in place.

A joint search keeps the grouping open while the components evaluate the sentence. Each specialist can keep its own representation. The labeller evaluates a path of token labels, and the parser evaluates a complete tree. The system needs a common language only for the decisions that connect the two tasks. Here, that common language consists of compound starts and ends. The authors’ contribution is to express these as precise agreement constraints and show where their effects enter the existing decoding algorithms.

This setup also separates the matter of gathering evidence from the matter of obtaining a consistent answer. A labeller can make use of dictionary entries even though the grammar has no corresponding dictionary feature. The parser can respond to the structure of a sentence even though the labeller’s output is a chain. The shared boundaries give the evidence a way to influence the final result. To see how that works, it helps to start with the labellers, which share the same input and the same segmentation conventions but differ in what else they try to predict.

The method, step by step

Turn a compound into a pattern of labels

The simplest recognizer marks each token with B or I. A B can start an ordinary word or begin a compound. An I means that the current token continues a compound already under way. An isolated B therefore marks a single-token word, and a B followed by one or more I labels marks a compound. In Luc aime le vin rouge, the basic scheme gives B to Luc, aime, le and vin. It gives I to rouge. The change from B at vin to I at rouge identifies vin as the beginning of the compound.

The authors use five label inventories. The first is this basic scheme. The second and third add information only on compounds. In the partial scheme, both vin and rouge carry the category of the compound noun, marked as NC+. Their B and I prefixes still distinguish the beginning from the continuation. In the partial-internal scheme, vin receives the ordinary noun category NC and rouge the adjective category ADJ, again with their respective segmentation prefixes. In both partial schemes the other tokens retain bare B labels.

The complete and complete-internal schemes also supply grammatical categories for tokens outside compounds. They can distinguish, for example, a proper noun, a verb and a determiner before vin rouge. They differ in which categories they put inside compounds. The complete scheme repeats the category of the whole compound on its tokens. The complete-internal scheme supplies each token’s individual category. As with the partial schemes, stripping away the categories leaves a usable segmentation.

These are alternative descriptions of the same annotated sentence. Recording a distinction can help a recognizer learn which sequences go together. It also divides training examples among more labels, so some combinations become rarer. A system trained to recognize a noun followed by an adjective can exploit a pattern that the basic vocabulary never explicitly predicts. The basic system, on the other hand, can count all instances of the same boundary pattern together. The authors respond to this tradeoff by letting different inventories contribute to a common segmentation.

The training annotations supply the labels needed for each scheme. For the sequence labellers, lexical information can also come from dictionary entries containing an inflected form, a lemma and a grammatical category. An inflected form is the form encountered in use, and a lemma is the entry form. The form and lemma can each contain several tokens. DELA contains a million entries, including 110,000 compounds. Lefff contains 500,000 entries, including 25,000 compounds. Prolex supplies roughly 100,000 entries for place names. These resources supplement the shared-task data. The paper notes that a previous shared-task system had also used them.

The algorithm keeps the estimated parameters of the components separate from the adjustments made during sentence decoding. The recognizers and grammar can be fitted to their own training representations. When decoding a sentence, the procedure starts with zero adjustments and introduces them at boundaries that cause disagreement. In this sense the joint system is a way of using trained components together. Its iteration takes place when predicting a sentence, and the prices computed for that sentence are part of the search over its candidate outputs.

Joint decoding of French syntax and compound boundaries

The steps in order.

Joint decoding of French syntax and compound boundariesStep 1: Read the sentence as ordered tokens1. Read the sentence as ordered tokensStep 2: Decode label sequences and a phrase-structure tree2. Decode label sequences and a phrase-structure treeStep 3: Extract compound starts and ends from each output3. Extract compound starts and ends from each outputStep 4: Compare boundary indicators across components4. Compare boundary indicators across componentsStep 5: Adjust scores at boundaries where predictions differ5. Adjust scores at boundaries where predictions differStep 6: Decode again until agreement or the iteration limit6. Decode again until agreement or the iteration limit

Score each possible label sequence

The recognizers use linear-chain conditional random fields, or CRFs. Think of a label sequence as a path that makes a choice at each token. A CRF scores what label the path chooses at an individual position and how successive labels go together. The local scores can depend on observations from the sentence. The chain structure concerns the output labels used in each score. It lets the system compare complete paths without trying every complete sequence one at a time.

The paper writes the conditional distribution in the following form.

P_c(y | x) = exp(Σ_{p ∈ ℘(x)} w_c · f^c_p(x, y_p)) / Z(w_c, x)

Here c identifies a CRF, x is the token sequence, and y is a sequence of labels from its inventory L_c, with one label per input token. The CRF’s input vocabulary is denoted by Σ when that symbol names the set of possible input tokens. In the formula, Σ is the summation sign. P_c(y | x) is the probability assigned to y conditional on x, and exp is the exponential function. ℘(x) is the set of scoring locations in the sentence, indexed by p. A location is either a single position or a pair of neighboring positions. ∈ means membership in that set. y_p is the part of the label sequence at location p. The feature function f^c_p converts the input and those local labels into a vector. w_c is the vector of learned weights for that CRF, with one weight per feature dimension, and · is the dot product. Z(w_c, x) normalizes over the possible label sequences and is fixed once the sentence and weights are fixed.

For decoding, the relevant quantity is the score in the exponent. All candidate paths share the normalizing factor, and the exponential preserves their ordering. The paper therefore identifies the best label sequence directly by maximizing the sum of feature scores.

ŷ_c = arg max_y σ_c(x, y) = arg max_y Σ_{p ∈ ℘(x)} w_c · f^c_p(x, y_p)

ŷ_c is the selected label sequence and arg max_y returns a sequence y attaining the largest value. σ_c(x, y) is the unnormalized score for that sequence. The locations p, the local labels y_p, the weights w_c and the feature functions f^c_p have the same meanings as in the probability formula. When the input sentence is understood, the authors often write the score with just the candidate output as its argument.

The Viterbi algorithm finds the best path. Its graph G_c = (V, E) has a set V of nodes and a set E of directed edges. Each ordinary node pairs an input token x_i at position i with an admissible label l. Edges lead from one position to the next. The graph also has START and STOP states. A path from START to STOP represents an entire labelling. Going forward through the graph, the algorithm stores the best score at each node. To reach a node it considers each predecessor, takes that predecessor’s accumulated score, and adds the feature score for the label pair. It keeps the best of those choices and includes the single-position score of the current label. Stored predecessor choices recover the best path at the end.

The practical advantage is that the search can discard weaker prefixes when they reach the same node. The remaining part of the sentence sees the same last label in either case, so each prefix has access to the same continuations. The work grows linearly with sentence length and quadratically with the size of a single recognizer’s label inventory. The agreement procedure preserves this graph. It only modifies the scores of transitions that express decisions about boundaries.

Express the same boundaries in every inventory

A token with a B prefix may be a whole word by itself. To find a compound start, the algorithm therefore looks for a B followed by an I. To find a compound end, it looks for an I followed by a B. The bigram location is indexed by the position of its second token. The two transition types specify the boundaries while leaving grammatical categories free.

The paper uses b(l) for the predicate that label l begins with B and i(l) for the predicate that it begins with I. In bi(i, y) or ib(i, y), the first argument i is a position. The predicates inspect the labels at positions i − 1 and i in the sequence y. bi(i, y) is true for a B to I transition. ib(i, y) is true for an I to B transition. The use of i as a position is distinct from i(l) as the test for the prefix.

D(y)[i] = 1 if bi(i, y) holds, and 0 otherwise

D(y) is the vector of compound starts implied by label sequence y. Its entry [i] gives the indicator for the transition into position i. The value 1 marks the start of a compound at position i − 1. The value 0 marks a location without that start decision. For vin rouge, this is the transition from vin to rouge.

F(y)[i] = 1 if ib(i, y) holds, and 0 otherwise

F(y) is the corresponding vector of compound ends. The transition into position i registers a compound that ended at position i − 1. The values 1 and 0 indicate the presence or absence of that end. Two labellers can produce the same D and F while assigning different categories to vin and rouge. They have agreed on the decision that the architecture shares.

This representation gives the authors a direct test for consistency. Each labeller contributes a whole path with a score, but the interaction depends on just the two vectors extracted from that path. In particular, agreement on vin rouge is stronger than finding the string in a dictionary, and narrower than agreeing on all the parts of speech. It is a decision that this occurrence of the string joins those particular sentence positions into one unit.

Define the joint search and relax the constraints

The goal is a collection of label sequences with the highest total score among collections that agree on the compound boundaries. The sequences can each come from a different inventory.

max_{(y¹, …, yⁿ)} Σ_{c=1}ⁿ σ_c(yᶜ)

Here n is the number of CRFs, c ranges over them, yᶜ is the proposed label sequence from CRF c, and (y¹, …, yⁿ) is the collection of those sequences for the same input. σ_c(yᶜ) is that CRF’s score. The max is taken over the collections allowed by the following constraints.

∃ u₁, u₂ such that for every c, D(yᶜ) = u₁ and F(yᶜ) = u₂

The sign ∃ means that shared boundary vectors u₁ and u₂ must exist. u₁ is the common vector of starts and u₂ the common vector of ends. D(yᶜ) and F(yᶜ) are the boundary vectors computed from the sequence proposed by CRF c. The equalities require every proposal to agree with the same start and end vectors.

One way to solve this would be to combine all the CRF labels at each token into a single composite label. The resulting inventory would be the Cartesian product of the individual inventories, with a composite state specifying a choice for every component. Viterbi could operate on that new inventory, while excluding combinations that violate the boundary requirements. The paper observes that even after such exclusions the inventory grows exponentially with the number of components. And because Viterbi considers transitions between allowable states, the cost depends quadratically on that inventory’s size. The product construction also leaves the problem of incorporating a parser, whose output is a tree.

The authors keep the elementary searches and use Lagrange multipliers to coordinate them. A multiplier is a real-valued price attached to a constraint. There is a vector of prices for starts and a vector for ends for each CRF. A price changes the appeal of a boundary at a particular location. A positive price lowers the adjusted score of a path that chooses that boundary, while a negative price raises it. The paper first expresses the constrained decision as a maximization with an inner minimization over the price vectors.

max_{(y¹, …, yⁿ, u₁, u₂)} min_{(Λᴮᴵ, Λᴵᴮ)} [Σ_{c=1}ⁿ σ_c(yᶜ) − Σ_{c=1}ⁿ ((D(yᶜ) − u₁) · Λᴮᴵ_c + (F(yᶜ) − u₂) · Λᴵᴮ_c)]

Λᴮᴵ collects the start-price vectors Λᴮᴵ_c for all components, and Λᴵᴮ collects their end-price vectors Λᴵᴮ_c. Each vector is indexed by bigram location. D(yᶜ) − u₁ and F(yᶜ) − u₂ record violations of the shared vectors for CRF c. The dot products multiply the discrepancies by their respective prices and sum over positions. min chooses the infimum over the price vectors in this expression. For a feasible collection of outputs all discrepancy terms vanish. A violated equality can be given a price of the sign and magnitude needed to drive that collection’s adjusted score arbitrarily low. The outer max therefore favors feasible collections and evaluates them by the original total score.

The next step reverses the order of optimization. This gives the dual problem, whose best value is an upper bound on the best feasible joint score.

min_{(Λᴮᴵ, Λᴵᴮ)} max_{(y¹, …, yⁿ, u₁, u₂)} [Σ_{c=1}ⁿ σ_c(yᶜ) − Σ_{c=1}ⁿ D(yᶜ) · Λᴮᴵ_c + u₁ · Σ_{c=1}ⁿ Λᴮᴵ_c − Σ_{c=1}ⁿ F(yᶜ) · Λᴵᴮ_c + u₂ · Σ_{c=1}ⁿ Λᴵᴮ_c]

The prices are now chosen by the outer minimization, and the best outputs for those prices are chosen by the inner maximization. The same yᶜ, u₁, u₂, D, F and σ_c appear as before. In this expanded expression, the shared vector u₁ is multiplied by the sum of the start prices, and u₂ by the sum of the end prices. The auxiliary vectors are unrestricted in this relaxation. If either sum has a non-zero coordinate, maximizing over the corresponding auxiliary coordinate makes the score unbounded. The useful prices therefore satisfy the following conditions.

Σ_{c=1}ⁿ Λᴮᴵ_c = 0 and Σ_{c=1}ⁿ Λᴵᴮ_c = 0

Each 0 denotes a zero vector over the bigram locations. At each location the start prices sum to zero across the n components, and the end prices sum to zero independently. Under these conditions the terms involving u₁ and u₂ disappear. What remains is a sum of maximizations that can be solved separately.

min_{(Λᴮᴵ, Λᴵᴮ)} Σ_{c=1}ⁿ max_{yᶜ} [σ_c(yᶜ) − D(yᶜ) · Λᴮᴵ_c − F(yᶜ) · Λᴵᴮ_c]

The outer search is over the prices satisfying the zero-sum conditions. The inner max_{yᶜ} asks component c for its best path under its own modified scores. The two subtracted dot products are simply the charges for the compound starts and ends on that path. Viterbi can include them locally. When an edge is a B to I transition it receives the start adjustment for that location. When it is an I to B transition it receives the end adjustment. Both tests use only the two labels on the edge.

The upper bound has a useful interpretation. At any prices that sum to zero, a feasible collection has an adjusted total equal to its original score. The price paid by one component for the common boundary is offset by the prices of the others. Maximizing each component’s score independently can give a total at least as high as the score of any particular feasible collection. If those independently chosen outputs agree, they are themselves feasible and attain the upper bound at the current prices. That is the certificate. Agreement at the end of an iteration is sufficient to establish optimality for the specified joint score and available candidates.

Update the boundary prices

The algorithm starts with zero prices and decodes each recognizer. It averages the start vectors and the end vectors from the results. For a given coordinate, the average is the share of components choosing that boundary. A component that chooses a disputed boundary is above the average there. A component that omits the same boundary is below the average. The next iteration raises the price for the former and lowers it for the latter. This changes how attractive the competing paths are when each component searches again.

The paper uses projected subgradient descent to carry out that update. The component maximizations can change their winning outputs abruptly as prices change, which is why the method uses a subgradient. Subtracting the average makes the update sum to zero across components. The prices can then remain on the required zero-sum set throughout the search.

Δᴮᴵ_c = α_t [D(yᶜ_t) − (Σ_{d=1}ⁿ D(yᵈ_t)) / n]

Δᴮᴵ_c is the change to component c’s start-price vector. t indexes the iteration and α_t is the step size. yᶜ_t is the best path found by CRF c at that iteration. d is a summation index over the n CRFs, and yᵈ_t is the corresponding path for component d. The second expression inside the brackets is the average start indicator vector across the components.

Δᴵᴮ_c = α_t [F(yᶜ_t) − (Σ_{d=1}ⁿ F(yᵈ_t)) / n]

Δᴵᴮ_c is the change to the end-price vector for CRF c. F extracts the end indicators, and the remaining symbols have the same roles as in the start update. The algorithm adds each of these changes to the price vector used for the next decoding pass. If all components already have the same starts and ends, each vector equals its average and every update is zero.

For the CRF combination, the stated iteration cap τ is 1000. The authors use a schedule that can shrink the updates when the dual objective increases.

α_t = 1 / (1 + k)

Here α_t is the step size used at iteration t, and k counts the increases in the dual objective between successive iterations up to that point. The schedule responds to increases in that objective. The count of all iterations can continue to grow while the step size stays the same.

This procedure keeps distinct predictions available even when the first pass disagrees. Suppose the lexical clues favor a compound and a second recognizer favors separate words. The first iteration records the disagreement at the affected start and end. The penalties then make the disputed compound less attractive to the first recognizer and more attractive to the second. Either can change, depending on the scores of its alternative paths, and the next pass returns a whole sequence in which the new choices still fit the rest of the sentence. The same device works when there are disagreements at several locations. The Viterbi pass evaluates their combined effect on complete paths.

Add a phrase-structure parser to the agreement

A parser can obtain boundary indicators from a tree by locating compound-labelled subtrees. If a compound starts at position i − 1, the paper’s definition sets D(a)[i] to 1 for tree a. If it ends at position i − 1, it sets F(a)[i] to 1. All other entries are 0. Thus the tree signals the same B to I and I to B decisions as a labeller. The paper’s illustration of a stolen credit card shows this alignment between a compound subtree and the corresponding chain of labels. The + category is what distinguishes a compound node from an ordinary constituent. The category itself is outside the boundary constraint.

The parser scores trees using a probabilistic context-free grammar, or PCFG. Such a grammar supplies rules for building a parent constituent from its children and associates probabilities with the rules. The score of a tree is the logarithm of the probability the grammar gives it. Expressing the score in logarithms lets the decoder add the rule contributions when it combines smaller trees. The underlying formalism is a context-free grammar.

The parser uses CKY, a dynamic program that stores the best analyses of spans. The paper presents the binary-rule case and assumes a parse forest is available. A forest compactly represents alternative trees by sharing their constituents. For a given category and span, the algorithm considers how to split the span into child constituents. It adds their scores and the log probability of the rule that joins them. A compound compound’s start and end prices can be charged at its own node because the node already tells the parser which span it covers.

s = π[(B, i, k)] + π[(C, k + 1, j)] + w_{A→BC}

Here s is the candidate score before any charge for the current node. π holds the scores of best subtrees already computed. The symbols A, B and C denote grammar categories, with B here a child category instead of the sequence-label prefix. The parent A covers positions i through j. The left child B covers i through the split point k, and the right child C covers k + 1 through j. A→BC is the binary rule that combines the children, and w_{A→BC} is its log-probability score.

s ← s − Λᴮᴵ[i] − Λᴵᴮ[j + 1]

← means to replace the candidate score with the adjusted value. This line, written in the appendix-free CKY pseudocode of the paper, applies when A is a compound category. Λᴮᴵ and Λᴵᴮ are the parser’s start- and end-price vectors. The CKY pseudocode writes the start lookup with its span-start index i and the end lookup with j + 1. The earlier boundary-vector definition indexes a start by the second position of the B to I transition. Those descriptions use different start indices. The agreement constraint specifies the intended correspondence by the underlying token span. The parser keeps the highest scoring candidate for each node and retrieves a tree rooted over the entire sentence.

In the parser–CRF combination, the collection being optimized now contains a tree and a label sequence from each recognizer. The authors give the CRF scores a common relative weight so that the aggregate contribution of the recognizers can be adjusted against the parser’s score.

max_{(a, y¹, …, yⁿ)} [σ_p(a) + δ Σ_{c=1}ⁿ σ_c(yᶜ)]

a is the tree, p identifies the parser, and σ_p(a) is its score for that tree. n, c, yᶜ and σ_c(yᶜ) again denote the number of CRFs, an individual CRF, its output and its score. δ weights the summed CRF scores relative to the parse score. The authors tune δ on the development set. The maximization is subject to agreement among all components.

∃ u₁, u₂ such that for every c, D(yᶜ) = D(a) = u₁ and F(yᶜ) = F(a) = u₂

D(a) and F(a) extract start and end indicators from the tree. For the chosen collection the vectors for every yᶜ and for a must equal the common starts u₁ and ends u₂. The agreement still concerns boundaries. Differences in the categories present in the tree and the label sequences can survive this test.

The authors apply the same relaxation and projected updates, now averaging across the parser and the recognizers. The CRFs continue to solve path problems, with their contribution weighted in the joint score. The parser solves the tree problem with node adjustments. Each iteration obtains full candidate outputs before testing for consensus. The paper describes this loop and also evaluates a further extension with a separate part-of-speech tagger. The parser used in the experiments already combines several grammars by dual decomposition. The authors give the detailed boundary-coordination algorithm for the parser and recognizers and refer to earlier work for the tagging and multiple-parser extensions.

Experiments and results

Data, implementations and what the scores measure

The experiments use the French phrase-structure data from the SPMRL 2013 shared task. In that corpus, 15% of tokens belong to compounds. The share is 12.7% if numerals are omitted. The training split contains 23,658 compounds, the development split 2120, and the test split 4049. These figures count annotated compound occurrences for each split, whereas the percentages describe the share of tokens that fall inside compounds. The figures with and without numerals characterize the corpus. The results are presented as evaluations on the designated splits.

Development-set experiments served several purposes. They compared the label inventories, selected a combination of recognizers, and compared architectures that fed information to the parser in different ways. The development set was also used to tune the relative score weight of the recognizers and the grammar. The paper uses the test split to compare the chosen joint architecture with the principal alternatives. These are distinct comparisons even when the same system name appears on both splits. A system’s development F-score and its test F-score each describe its agreement with that split’s annotations.

For sequence labelling, the authors implemented the modified decoding algorithm in Wapiti. The parser is LORG with probabilistic context-free grammars with latent annotations, abbreviated PCFG-LA. Latent annotations are category distinctions used internally by the grammar. The LORG baseline already combined 4 such parsers by dual decomposition. It was therefore a substantial syntactic baseline before the experiment added specialized compound and tagging components. The authors evaluated parse trees with the version of EVALB adapted by the SPMRL 2013 organizers. The sequence-labelling software is described in Practical Very Large Scale CRFs.

For compound recognition, precision asks what share of predicted compounds agree with the reference boundaries, while recall asks what share of reference compounds the system recovers. F-score balances the two. Recognition with a part-of-speech requirement also checks the grammatical category of the compound. A separate development evaluation measures segmentation and tagging jointly over all lexical units. A prediction has to recover both the unit and the appropriate tag in that evaluation, and the paper reports a version restricted to compounds.

The parse evaluation measures precision and recall of predicted constituents and reports their F-score. The exactness score, displayed as EX in the paper, captures agreement for whole parses under the evaluator. The Tag column reports part-of-speech tagging accuracy. Those columns answer different questions. A better boundary decision can help recover constituents without changing the grammatical tags of many individual tokens. A change that fixes a portion of a tree can improve constituent F-score without making the entire parse exact. Consequently, the paper’s main comparisons have to be read with the metric and the split attached.

Combining the recognizers on the development set

The best individual recognizer by segmentation F-score was the partial-internal CRF. It recorded recall of 79.59 and precision of 85.49 on the development set. Its F-score was 82.44. The partial scheme had precision of 85.57 and recall of 78.98, giving F-score of 82.14. The basic scheme had F-score of 82.12. The complete scheme scored 81.36, and the complete-internal scheme scored 80.80. A scheme could thus be valuable to the combination even when its standalone ranking was lower.

The best combination found by the authors used the basic, complete and partial-internal schemes. They call this recognizer combination MWE. On development-set segmentation it reached recall of 80.82 and precision of 86.07. The comparison vote used those same recognizers. Each had one vote, with ties settled using the strongest system’s decision. That alternative recorded recall of 80.49 and precision of 85.46. The dual-decomposition combination led the vote on both measures.

Development-set compound segmentation F-score by recognition system

Consensus decoding leads both the strongest individual recognizer and the vote using the same components.

Development-set compound segmentation F-score by recognition systemPartial-internal CRF: 82.44Partial-internal CRF82.44Partial CRF: 82.14Partial CRF82.14Basic CRF: 82.12Basic CRF82.12Complete CRF: 81.36Complete CRF81.36Complete-internal CRF: 80.80Complete-internal CRF80.80Vote: 82.90Vote82.90MWE with dual decomposition (this paper): 83.36MWE with dual decomposition (this paper)83.36
The numbers
System or settingF-score
Partial-internal CRF82.44
Partial CRF82.14
Basic CRF82.12
Complete CRF81.36
Complete-internal CRF80.80
Vote82.90
MWE with dual decomposition (this paper)83.36

The authors also compare MWE with the complete CRF on the combined task of segmentation and tagging. Across all lexical units on the development set, the complete CRF obtained F-score of 94.29 and MWE reached 94.59. Restricted to compounds, the same comparison gave 78.32 for the complete CRF and 80.00 for MWE. The complete inventory supplies categories for this evaluation on the whole sequence. The comparison shows that requiring agreement only on boundaries can still help an output that is judged on both boundaries and tags.

Comparing ways to pass information to the parser

The development comparison starts with LORG alone. One extension supplies part-of-speech predictions in a pipeline, and another connects the tagger and LORG through dual decomposition. The authors also have LORG agree on boundaries with MWE. Their fullest system uses joint decoding with LORG, MWE and the separate POS tagger. This separates the effect of introducing a source of evidence from the question of how to connect it to the parser.

The authors also test pipelines that first use MWE to identify compounds and merge them. A version of LORG trained on this merged representation then parses the sentence. After parsing, the pipeline expands each compound back into its subtree for evaluation. One variant also uses a POS tagger. This baseline asks how well specialist compound recognition works when the parser receives its decisions as fixed lexical units. It retains the contribution of the recognizers while changing when the boundaries are decided.

LORG alone obtained a parsing F-score of 82.19 on the development set. Giving the parser tags through a pipeline brought the score to 82.47. Joining the tagger and parser by dual decomposition gave 82.61. The joint system with the compound recognizers and parser gave 82.99. The merge pipelines scored 82.59 without the added tagger and 82.69 with it. The full joint system reached 83.40, with constituent recall of 83.38 and precision of 83.42. Its exactness was 20.73 and its tagging accuracy 97.85. Those were the highest values reported for these development configurations in their respective columns.

There is some variation across metrics in the intermediate cases. On development-set tagging accuracy, the joint tagger and parser reached 97.84, and the joint compound recognizers and parser reached 97.41. The latter configuration’s stronger parse F-score thus came with a weaker tagging score in that comparison. On development exactness, both configurations scored 19.19, while the POS-to-parser pipeline scored 19.22. The full combination improved on these scores, but the intermediate comparisons show why the paper evaluates more than one outcome.

Test-set parsing and compound recognition

For the SPMRL 2013 test set, the full system recorded constituent recall of 83.74 and precision of 83.85. LORG’s recall was 82.79 and its precision 83.06. The full system achieved exactness of 23.81 and tagging accuracy of 97.87. The corresponding LORG scores were 22.00 and 97.39. The test-set comparison with Björkelund and colleagues supplies a parsing F-score for their shared-task system. That system used a pipeline with a morphosyntactic tagger, a product of grammars with latent annotations, and a reranker. Its comparison row gives no other metrics.

French SPMRL 2013 test-set phrase-structure parsing F-score

The full joint system leads both LORG and the strongest shared-task entry reported in the comparison.

French SPMRL 2013 test-set phrase-structure parsing F-scoreLORG: 82.92LORG82.92Björkelund et al. shared-task system: 82.86Björkelund et al. shared-task system82.86Joint POS, MWE and LORG (this paper): 83.80Joint POS, MWE and LORG (this paper)83.80
The numbers
System or settingF-score
LORG82.92
Björkelund et al. shared-task system82.86
Joint POS, MWE and LORG (this paper)83.80

The compound results let the reader follow how much of the recognition behavior is already present in individual components. On test-set compound boundaries LORG achieved recall of 78.03 and precision of 78.63. The partial-internal CRF reached recall of 78.27 and precision of 82.84. The MWE combination went further in both measures, with recall of 79.68 and precision of 83.50. The full architecture reached recall of 80.76 and precision of 84.19. The ordering in F-score follows these improvements.

French SPMRL 2013 test-set compound boundary F-score

The full joint architecture recovers compounds most accurately, followed by the recognizer combination.

French SPMRL 2013 test-set compound boundary F-scoreLORG: 78.49LORG78.49Partial-internal CRF: 80.49Partial-internal CRF80.49MWE with dual decomposition: 81.54MWE with dual decomposition81.54Joint POS, MWE and LORG (this paper): 82.44Joint POS, MWE and LORG (this paper)82.44
The numbers
System or settingF-score
LORG78.49
Partial-internal CRF80.49
MWE with dual decomposition81.54
Joint POS, MWE and LORG (this paper)82.44

When the test-set compound evaluation also required the correct tag, LORG had F-score of 75.57 and MWE had 78.28. The full system reached 79.54. Its recall on this joint compound-and-category criterion was 77.92 and its precision 81.23. The standalone parser recorded recall of 75.43 and precision of 75.71, and the combined recognizers obtained recall of 76.49 and precision of 80.10. The best full system thus led when a compound had to be found and categorized as well as when its span alone was evaluated. Its constituent scores also led the reported parsing comparison. These results establish that the architecture improved the measured outputs together on this test set.

What the ablations show

Richer categories help in combination, with a cost in isolation

Changing the CRF label inventory is the first controlled comparison. Each inventory expresses the segmentation, while the categories carried by its labels change. The development scores show that the richer inventories did not automatically produce better compound boundaries. The partial-internal CRF led the individual systems at 82.44 F-score, ahead of the complete and complete-internal schemes at 81.36 and 80.80. Giving internal grammatical categories only to compound tokens was useful in this comparison. Extending category prediction to every token made a more demanding sequence-labelling task and coincided with lower segmentation scores.

There is an important distinction between the usefulness of an inventory on its own and its usefulness next to other inventories. The complete CRF, despite its standalone boundary score, was part of the best joint combination. It was also the component that could supply grammatical categories on all segments for the joint segmentation-and-tagging evaluation. The basic CRF brought strong recall among the individual recognizers, at 79.74 on the development set, and the partial-internal scheme combined high recall with stronger precision. The reported comparison supports selecting a combination by its joint performance. The aggregate scores do not identify which individual disputes the complete CRF helped resolve.

The comparison with voting holds the set of recognizers fixed. The vote reached development segmentation F-score of 82.90, and score-based consensus reached 83.36. Voting gives each component a single contribution to the decision and settles ties using the strongest recognizer. The joint method repeatedly asks each recognizer for its best path under shared boundary pressures. This allows evidence about alternative paths to matter after the first prediction. The score difference supports the use of the iterative combination for these recognizers. The comparison addresses the particular vote implemented in the paper. Other voting and combination rules remain unevaluated.

Where the parser receives the evidence matters

The development parsing comparisons show what happens when the authors add the POS tagger, the compound recognizers, or both. Starting from LORG at 82.19 F-score, the joint tagger configuration reached 82.61 and the joint recognizer configuration 82.99. With both sources present, the score was 83.40. In this setup, each addition is associated with a stronger constituent score, and the best score uses both. The joint tagger’s advantage on the tagging column and the joint recognizers’ advantage on the parsing column give some context for why bringing them together was worthwhile. They influence overlapping parts of the overall analysis through different predictions.

The merge pipelines examine the effect of committing to boundaries early. Their development F-scores of 82.59 and 82.69 already show that specialized compound predictions can help LORG when passed forward as input. The joint recognizer and parser at 82.99 and the full joint system at 83.40 were stronger under the same development evaluation. This is consistent with the proposed benefit of permitting a boundary to be reconsidered during parsing. The merge pipelines also train the parser on a different representation of the sentence, because their compounds are already single units. The comparison evaluates those working architectures as a whole, so the numerical result belongs to the architectures rather than to a change in the timing of segmentation in isolation.

On the test split, the boundary recognition ordering sheds further light on the contributions. LORG can recognize compounds through its trees. The best standalone CRF has stronger boundary scores, and its combination with other recognizers improves further. The full system is stronger again. From the parser’s perspective the specialists provide useful segmentation evidence. From the recognizers’ perspective the full joint setting provides access to predictions informed by sentence structure and the separate tagger. The test results compare the full system with the recognizers alone. They leave open how much of that particular test-set improvement is attributable separately to the parser and to the POS tagger.

The authors interpret the parsing advantage over the shared-task pipeline as consistent with being able to recover from a mistake by one component. The mechanism allows this. A component’s initial choice can be displaced when it is repeatedly at odds with other choices. The comparison records the final output scores. It does not track initial mistakes and their individual repairs, and the systems differ in several ways beyond the flow of information. The development comparisons within the authors’ architecture are closer evidence about the effect of joint decoding.

The boundary features affect how fast consensus is reached

A preliminary comparison concerns the sequence features. The early CRFs relied mainly on features of individual labels. The agreement updates act on transitions. The authors found that changing the scores of those transitions had little influence on predictions in the preliminary setup, and consensus was slow to obtain. They added adjacent-label feature templates derived from selected single-label templates. The enriched recognizers were on average 1.8 times slower in isolation than the preliminary versions. The authors kept those features to make the iterative agreement search practical.

For the best CRF combination, MWE, the paper reports convergence on every development instance in an average of 2.14 iterations. The agreement test here was equality of the boundary indicators. It was possible to pass that test even when the recognizers used different grammatical categories for the same compound. Taken together, the convergence figure and the preliminary comparison explain why the strength of transition features mattered to this design. The update can only act through the choices it prices, and a recognizer whose paths barely respond to changes on those transitions may take longer to change its decision.

This feature comparison is diagnostic. The paper gives the relative cost of enriching the individual CRFs and the convergence statistics for the selected combination. It leaves open a direct end-to-end time comparison of the preliminary and enriched full architectures. The available evidence identifies a tradeoff between the cost of a pass and the ability of that pass to respond to the shared constraints. It also helps explain why an apparently favourable standalone decoder can be a less practical component once each sentence requires repeated decoding.

Limitations

Limits the authors identify

Dual decomposition replaces the large joint search with repeated searches in the components. The authors identify iteration as the cost of this design. The fixed cap in the CRF procedure bounds the work spent looking for agreement. The optimality guarantee applies when the outputs actually agree. It is a statement about maximizing the objective defined by the component scores, their relative weight and the agreement constraints. It depends on solving the component searches as specified. A collection returned at the iteration limit without consensus has no certificate from the agreement test.

The authors also report the dependence of convergence on the transition features, along with the slower individual CRFs that follow from enriching them. Their average of 2.14 iterations on the development set applies to the best recognizer combination. They give no accompanying convergence rate or mean iteration count for the full parsing architecture. They describe how further elements can be incorporated and evaluate a system that adds a tagger. The detailed presentation of the tagger and multiple-parser extensions is left to prior work and the experiments.

As a claim about scope, the paper proposes that agreement on boundaries can be applied to other treebanks that annotate compounds and, more broadly, to other combinations of segmentation and parsing. Its own experimental evidence comes from French SPMRL. The proposed transfer depends on being able to express compatible boundary decisions from the relevant components. The French representation makes that connection direct because compound subtrees identify contiguous spans with a category marker.

Limits visible in the evaluation and representation

The shared constraints cover starts and ends of contiguous compounds. Even the richer CRF schemes use a common B/I structure, in which the I labels continue a unit across adjacent tokens. A discontinuous expression would need a different way to identify membership, since start and end positions alone would describe a span that also included the intervening material. The experiments therefore give evidence for the treebank’s compound representation. They leave open how to coordinate a parser and recognizer for discontinuous expressions or for annotations with different definitions of lexical grouping.

Boundary agreement also leaves grammatical disagreements unresolved at that interface. The parser can assign a category to a compound, and a CRF using an enriched inventory can assign one as well. The stated equations can certify agreement even if these categories differ. This matters when interpreting the gains in recognition with tagging. Those gains are measured against the test annotations after decoding. The constraint provides no general guarantee that all participating outputs will agree on the grammatical label. The separate POS extension adds tagging evidence, while the displayed compound constraints are still position-based.

The treatment of lexical resources also sets the conditions for the reported results. The recognizers could use French dictionaries beyond the shared-task corpus. The paper notes that such resources had appeared in previous shared-task work, and it explains how dictionaries can help with gaps in training. There is no reported removal of all dictionaries from the selected joint system. The results therefore leave open how much of its absolute recognition performance depends on that coverage, and how much of its advantage would persist with a substantially weaker lexicon. A single language and treebank also leave cross-language comparisons open.

Finally, the metrics are aggregate comparisons. The paper gives support for the direction of the effect across segmentation, categorization and parsing. Its tables do not break down gains by compound length, frequency, category or dictionary membership. They also give no uncertainty estimates for the reported differences. The results support the benchmark comparisons directly. Claims about which linguistic cases benefit most, how often the architecture repairs a specific component error, or how the same choices would perform on another dataset would require more evidence.

What came after

The citing work connects the paper to two strands of research. One concerns the construction of parsers for particular kinds of text. The other concerns how multiword expression processing is described and evaluated. The links establish that these works cite the paper. The scope of a citing work alone leaves open whether it adopted the boundary constraints, reused an implementation, or treated the joint architecture as prior work.

The 2014 work on tweets puts the paper in the context of dependency parsing. A dependency analysis describes grammatical relations between words, while the French experiments use nested constituents and dedicated compound subtrees. The tweet work’s title establishes its goal of building a dependency parser for that text setting. Its citation gives a connection between that parser and the earlier joint treatment of segmentation and syntax. The nature of any algorithmic reuse remains unspecified. A Dependency Parser for Tweets

The survey from 2017 cites the paper within the broader subject of multiword expression processing. The French experiment supplies a specific architecture within that subject. It encodes expressions both as spans in a tree and as chains of token labels, and it coordinates the two representations through boundaries. The survey’s stated scope is broader than that architecture and encompasses multiword expression processing as a research area. Its citation connects the French experiment to that wider literature. Multiword Expression Processing survey

The PARSEME shared task from 2017 takes up automatic identification of verbal multiword expressions. Identification is a goal it shares with the French paper, while the stated evaluation focus is on expressions with a verbal component. The French paper’s own evaluation includes compounds from several categories and treats identification jointly with the recovery of a full phrase-structure tree. The shared-task title establishes a different scope for the identification problem. The citation places the joint French system among the work preceding that evaluation effort. PARSEME shared task on verbal multiword expressions

The 2018 PARSEME work continues that shared task in Edition 1.1 and again cites the French study. It retains automatic identification of verbal multiword expressions as the stated subject. The two PARSEME citations show that the French study remained connected to successive editions of this evaluation effort. What the French paper itself demonstrates is a way to make the recognition and parsing decisions interact when both can describe a compound through compatible boundaries. Whether an individual shared-task system reused that machinery is a separate question. PARSEME Edition 1.1

Cite

Cite as Joseph Le Roux, Antoine Rozenknop and Matthieu Constant. 2014. Syntactic Parsing and Compound Recognition via Dual Decomposition: Application to French. Proceedings of COLING 2014, the 25th International Conference on Computational Linguistics: Technical Papers.

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

@inproceedings{roux2014syntactic,
  title = {{Syntactic Parsing and Compound Recognition via Dual Decomposition: Application to French}},
  author = {Joseph {Le Roux}, Antoine Rozenknop and Matthieu Constant},
  booktitle = {Proceedings of COLING 2014, the 25th International Conference on Computational Linguistics: Technical Papers},
  year = {2014},
  url = {https://aclanthology.org/C14-1177/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/roux-2014-syntactic-parsing-compound-recognition-dual/