Elamur Research

Flexible and Efficient Hypergraph Interactions for Joint Hierarchical and Forest-to-String Decoding

Paper · 2013 · Martin Čmejrek, Haitao Mi and Bowen Zhou

Summary

A translation system can make a good choice about the words in a sentence and still put them in the wrong order. Another system may handle the sentence structure well but lack a suitable rule for a particular expression. The authors ask whether the two systems can help each other while a translation is still being built. Their study of Chinese-to-English machine translation brings together Hiero, which learns hierarchical phrase rules from aligned bilingual text, and forest-to-string translation, which uses several possible syntactic analyses of the source sentence.

Both systems represent their candidates as hypergraphs, compact networks that record ways of building larger translations from smaller ones. The decoder connects the networks wherever their candidates cover the same stretch of source text. A connection lets a partial translation built with one grammar fill a slot in a rule from the other. The possible directions of transfer define three arrangements. Specification lets Hiero supply material to syntax-based rules. Generalization lets syntax-based rules supply material to Hiero. Interchange permits both directions. Within the allowed connections, learned costs make particular transfers more or less attractive according to their syntactic labels.

The authors train on 16 million sentence pairs and test on Chinese-to-English web and newswire data. They report that all three arrangements improve on the standalone systems across the four test sets. Specification is strongest overall. Its reported gains over the best standalone system range from 0.5 to 0.9 points on the combined (TER − BLEU)/2 measure, where lower scores are better. On MT08 news, for instance, specification obtains a BLEU score of 40.2, compared with 39.6 for the standalone forest-to-string system and 39.2 for standalone Hiero.

The decoder’s selected rules show how unevenly the two grammars share the work. On GALE-web, forest-to-string rules account for 70% of the rules used by specification. They are common on short spans and can also assemble long stretches of a sentence. Hiero often supplies local translations that let a syntax-based derivation proceed. In these experiments, giving each grammar a defined role produces a better overall result than allowing switches in both directions. The choices logged by the decoder help explain that result, while leaving open how much of the gain comes from any particular class of transfer.

Deep dive: Flexible and Efficient Hypergraph Interactions for Joint Hierarchical and Forest-to-String Decoding

This paper joins hierarchical and syntax-based translation in one decoder and tests when sharing partial translations improves Chinese–English output. · about 39 minutes to read

The problem and its context

Different evidence for different decisions

A statistical translation system needs to decide which source words belong together, what they mean in context, and where their translations should appear. Its rules determine which combinations it can propose. Phrase-based translation, hierarchical phrase-based translation, and syntax-based translation place different information in those rules. The authors situate their work in that progression, beginning with Statistical Phrase-Based Translation.

Hiero builds translation rules from aligned sentence pairs. A rule can contain fixed words and slots for smaller translations. The slots make it possible to express a rearrangement and apply it to several phrases encountered during decoding. The rules have a generic category for most such slots. A Hiero rule can therefore apply to a span without a parser first deciding that the span is a noun phrase or a verb phrase.

A syntax-based rule can describe more of the environment in which a translation applies. It might specify both the category of a slot and the structure that surrounds a particular source word. That environment matters when the rule moves material across several constituents or when a source word has different readings in different constructions. The earlier syntax-directed work cited by the authors uses tree fragments that can hold this wider context together in a single rule. Statistical Syntax-Directed Translation with Extended Domain of Locality

The tradeoff appears at the point where a rule is applied. A generic slot can accept translations for a broad variety of source phrases. A more specific slot allows the decoder to take a syntactic distinction into account, provided that the parser finds the category and that the translation grammar can produce something for it. The authors expect Hiero to offer reliable lexical coverage and expect syntax-based rules to help with non-local reorderings. They present this expectation as a reason to test different ways of sharing work. The best division of work is an empirical question.

There is also a choice about how much of the parser’s uncertainty to preserve. A tree-to-string system starts with a selected parse tree. A forest-to-string system takes a packed collection of possible trees, called a parse forest. Several analyses can share the same substructure, so the forest can retain a choice of labels or attachments without making a complete copy of every tree. This also lets a rule match an analysis that the parser ranked below its preferred tree. The paper takes this earlier forest-based approach as its syntax-based starting point. Forest-Based Translation

Where systems can combine their evidence

Earlier work combined systems after they had produced their translations. In that setup, each component returns a ranked set of completed candidates. A separate procedure seeks a consensus using those outputs. The paper’s concern is that the returned candidates represent a small part of what each decoder considered. A useful translation of a phrase can be absent from the returned outputs even if a component had considered it during search. The authors cite word-level combination as one example of work on combining completed outputs. Improved Word-Level System Combination for Machine Translation

Joint decoding moves the interaction into the search. If the systems use compatible ways of building translations, they can make partial hypotheses available to each other. A partial hypothesis is a candidate translation for some source material together with the information the decoder needs to use it in a larger candidate. A rule can assemble a valid sentence using a partial hypothesis that never occurred in either system’s standalone output. The resulting derivation is a sequence of rule choices that can be scored as a whole.

The authors ascribe several potential benefits to this arrangement. The participating grammars can share scoring features, the decoder can introduce features for cross-grammar choices, and individual systems need not complete their own searches before sharing useful material. Their framework depends on compatibility at the level of search. Here, both translation procedures admit a bottom-up description in which partial results become inputs to larger derivations. The paper also discusses earlier work that can combine weighted forests from systems with different search procedures. In that work, each component supplies its forest first, and a subsequent combination stage uses those forests.

The closest precedent is Liu and colleagues’ joint decoding of Hiero with tree-to-string translation. It permits unrestricted combination between the two kinds of rules. The authors treat that freedom as one possible configuration of their own framework. They want to be able to specify which transfers are available at all, then learn whether an available transfer should be attractive in a particular syntactic context. Their experiments pair this finer control with a forest-to-string component that can draw on alternatives in the parse.

This yields two related design questions. One concerns the inventory of partial translations. A parser may propose several structures, and the grammars may give different coverage over those structures and the underlying words. The other concerns the permissions for using each candidate. Equal source spans provide a place to share a result. The grammar labels and the direction of a connection determine what the rest of the derivation can do with it.

The method, step by step

From source ambiguity to partial translations

The paper follows a short Chinese example containing tǎolùn, hùi, and zěnmeyàng. The first expression can be read as a noun referring to a discussion or as the verb discuss. The second can have a meeting-related noun reading or a verbal reading associated with futurity. The rules also give different ways of rendering the last expression. A decision about the category of one word affects which larger constructions can use it. The example uses these alternatives to make the distinction between source coverage and syntactic category concrete.

Start with the syntax-based component. The parser constructs a forest for the Chinese sentence. A node in that forest represents an analysis of a particular stretch of words as a particular category. Several rules of the source grammar can explain the same node. There may also be other nodes with different categories over the same words. Thus a choice about the category of a short span and a choice about how a larger span is assembled can both remain open while the translation rules are matched. The first stage is parsing.

The next stage converts this source analysis into a translation forest. It looks for pieces of the parse forest that fit the source side of a translation rule. A successful match adds a way to translate the larger span, possibly by asking for translations of smaller spans. A source analysis can survive parser pruning and still lack a matching translation rule. Such a node has a role in the analysis of the Chinese sentence but may be inaccessible as a translation item.

Hiero starts with the same words. It fits its own hierarchical rules to the input sequence and produces a translation forest in the same general format. Some rules translate a fixed substring. Others combine that material with the result for a variable span. Their source sides require no syntactic labels from the parser. Once both forests are expressed in terms of spans and derivation steps, the decoder has a shared representation in which to connect them.

Building and searching the joint translation forest

The steps in order.

Building and searching the joint translation forestStep 1: Segment the Chinese input into words1. Segment the Chinese input into wordsStep 2: Parse the input into a packed forest2. Parse the input into a packed forestStep 3: Match syntax-based rules to forest fragments3. Match syntax-based rules to forest fragmentsStep 4: Match Hiero rules to the word sequence4. Match Hiero rules to the word sequenceStep 5: Group translation states by identical source spans5. Group translation states by identical source spansStep 6: Add the permitted transfers and label matches6. Add the permitted transfers and label matchesStep 7: Score complete derivations and output the best translation7. Score complete derivations and output the best translation

What a translation rule specifies

A forest-to-string rule connects a source tree fragment to a target string with slots. The fragment may contain several levels of structure. Its internal nodes bear labels such as NP for a noun phrase and VP for a verb phrase. The frontier is the outer boundary of the fragment. It contains fixed source words or variables that stand for portions of the source tree left open by the rule.

r = ⟨lhs(r), rhs(r), ψ(r)⟩

Here r is a forest-to-string rule. The angle brackets group the parts of the rule. lhs(r) is its source-side tree fragment, and rhs(r) is its target-side sequence of words and variables. ψ(r) assigns a source nonterminal category to each variable. A nonterminal is a grammar label for a constituent that can take part in further derivation. The same variable occurs once in the source fragment and once in the target sequence. It identifies the source constituent whose translation is inserted at that location in the target.

The paper’s rule r₇ illustrates how source syntax constrains an English rearrangement. Its source side describes a clause with a noun phrase followed by a verb phrase. Inside the verb phrase, the rule fixes the word hùi and leaves a slot for another verb phrase. The rule’s target side puts the translation of that inner verb phrase before the translation of the noun phrase, with English words supplied by the rule itself.

lhs(r₇) = IP(x₁:NP VP(VV(hùi) x₂:VP))

lhs(r₇) is the source fragment of rule r₇. IP is the clause category at its root. NP and VP label the noun and verb phrases, and VV is the verb tag attached to the fixed source word hùi. The parentheses place the listed children inside their parent category. x₁:NP means that variable x₁ needs a noun phrase, and x₂:VP means that variable x₂ needs a verb phrase.

rhs(r₇) = x₂ is x₁ going

rhs(r₇) is the target pattern of the same rule. x₂ and x₁ stand for the translated material supplied by the corresponding variables. Is and going are fixed English words. The ordering is part of the rule. Once the variables have translations, their placement follows from the target pattern.

ψ(r₇) = {x₁ ↦ NP, x₂ ↦ VP}

ψ(r₇) is the variable-to-category mapping for r₇. The braces enclose its assignments, and ↦ maps the variable to its required category. x₁ maps to the noun phrase label NP, and x₂ maps to the verb phrase label VP. In the worked example, suitable translations for the slots yield a question about how the discussion is going.

Hiero rules are organized as a synchronous context-free grammar. The source and target patterns are associated with one another, and the variables say which pieces correspond across them. The Hiero source pattern is a single level of grammar structure. Slots and fixed words can be mixed at that level, so the rule can act on a sequence that contains both recognized text and a piece to be translated elsewhere in the derivation.

r = ⟨lhs(r), rhs(r), φ(r)⟩

Here r is a Hiero rule. lhs(r) is its source pattern rooted at X or S, the two nonterminal labels used on the Hiero side of the framework. rhs(r) is its target sequence, and φ(r) maps source variables to categories. The angle brackets again collect the parts of the rule. Here φ(r) describes the grammar rule, while independently indexed instances of φ below denote scoring features.

One example has zěnmeyàng as fixed source material after a variable. On the target side, the rule places the English words how was before the translation yielded by that variable. When the rule matches the example sentence, the variable can cover the first two source words. The rule applies because the input contains the fixed word in that position and the remaining span can fill the slot. There is no requirement that the span be interpreted as a particular Chinese phrase type.

The Hiero rules in the example also include a glue rule. Glue is a way of concatenating already translated segments in source order. It gives the derivation a way to continue assembling output beyond the range of ordinary hierarchical rules. It is counted separately from regular Hiero rules in the authors’ analysis, as are the flat phrase rules that translate a source sequence directly.

How the hypergraph stores the choices

Both grammars can yield many derivations for a sentence. They can also yield different derivations that use an identical partial result. A hypergraph records the component states and lets several candidate derivations reuse them. A hyperedge is a rule application that can draw on a list of prerequisite states. For instance, a rule that requires translated material for both a noun phrase and a verb phrase has both nodes as its prerequisites.

H = ⟨V, E⟩

H is a translation hypergraph. V is the set of its nodes and E the set of its hyperedges. The brackets group these sets into the graph. The nodes identify items that can be derived. The hyperedges record the ways to derive them.

w₁:ₗ = w₁ … wₗ

w₁:ₗ denotes the input sentence. Each w is a source word, the subscript marks its position, l is the length of the sentence, and the ellipsis stands for the intervening words. The paper locates spans by their boundary positions. A span whose left boundary is i and right boundary is j covers the words after i through the word at j.

v = Yᵢ,ⱼ, with 0 ≤ i < j ≤ l

v is a node, Y is its source category, and i and j are its left and right boundaries in a sentence of length l. The inequalities impose a nonempty span inside the sentence. A Hiero node and a syntax-based node may cover precisely the same words while assigning those words different roles in their respective derivations.

e = ⟨tails(e), head(e), target(e)⟩

e is a hyperedge. tails(e) is the list of prerequisite nodes, head(e) is the node produced by the rule application, and target(e) records the target patterns for rules with the matching source pattern. The brackets group this information. A tail supplies a translation for a variable, and the target pattern places those translations among any fixed target words.

In the notation of the paper, BS(v) is the set of hyperedges that enter node v. This is where the decoder finds alternative ways to derive the same item. An incoming hyperedge might translate a span directly, or it might delegate smaller spans to other rules. At the top of each translation graph, the node named TOP covers the entire sentence and marks the goal of the derivation.

For r₇, the noun phrase required by the rule covers the first source word, and the inner verb phrase covers the final source word. The rule itself accounts for the intervening hùi. Applying it gives a clause across the full span. This is how the rule can cover more source material than the portions delegated to its tails.

e₇ = ⟨(NP₀,₁, VP₂,₃), IP₀,₃, (x₂ is x₁ going)⟩

e₇ is the application of r₇ in the example. The first grouped entries, NP₀,₁ and VP₂,₃, are the prerequisite noun phrase and verb phrase nodes. The subscripts give their source boundaries. IP₀,₃ is the clause node produced at the head. In the target pattern, x₁ receives the translation from NP₀,₁ and x₂ receives the translation from VP₂,₃. Is and going come from the rule.

This representation gives the method a common interface. A syntactic derivation can have a detailed analysis under its head node. A Hiero derivation can have an ordering decision under a generic head. What matters at the point of combination is which source words the result covers and which kind of slot the decoder will let it fill. The connection is made between translation states. It leaves the interiors of the underlying rules intact.

Where the forests are connected

The decoder builds the Hiero translation forest and the forest-to-string translation forest, then considers nodes that cover the same source span together. The authors call such a group an interaction supernode. A group can contain several syntax-based categories as well as a generic Hiero state. Grouping by span ensures that a transferred hypothesis accounts for the same source words as the item it will replace.

For every original node, the decoder creates a primed counterpart with the same span and label. The counterpart begins with an empty set of incoming edges. The decoder then replaces the original tails of translation hyperedges with their primed counterparts. The heads of ordinary translation edges stay at the original states. In the example rule, the noun phrase and inner verb phrase needed by e₇ become requests for the corresponding primed states.

At this point ordinary translation steps produce original states, and higher steps ask for primed states. The links that connect them are added explicitly. An identity link passes a finished partial translation through to its counterpart with the same label. A cross-grammar link passes it to a counterpart with a different label from the other grammar. A link within the syntax side can also change the category under which a partial translation is made available.

This construction gives each proposed transfer a place in the record of a derivation. Consider a hypothesis for some span that ends in a Hiero state. An ordinary syntax-based rule cannot use that state directly as a verb phrase. If the scheme allows a link to the primed verb phrase in the same span, the higher rule can use the Hiero result there. The interaction edge records the choice. A feature can count that event and let tuning determine its effect on the score.

The direction of an interaction is the direction in which a completed partial result is passed upward. With the transfer from a Hiero state into a syntax-based slot, Hiero has already translated the smaller item. The higher step is free to use a syntax-based rule. This distinction matters when describing which grammar handles local phrases and which grammar builds the outer structure. A researcher looking downward from the outer rule would encounter the same connection in the opposite order.

The three choices about direction

Specification allows a result from a generic Hiero state, X or S, to fill a more specific syntax-based slot on the same span. A larger syntax-based rule can therefore use a candidate supplied by Hiero for one of its pieces. The reverse cross-grammar transfer is unavailable in this scheme. Along a branch of the derivation built from smaller spans upward, a switch into syntax-based rules makes those rules responsible for the structure above the switch.

The Chinese example contains a derivation that uses this connection. A phrase rule first renders zěnmeyàng as what. A Hiero rule then combines that result with its translation of hùi, producing the material corresponding to what will happen. The two words occupy a span that has both a Hiero node and a clause node in the combined graph. The decoder passes the Hiero result into the syntax-based clause slot. A higher syntax rule then lets the translation of tǎolùn as a verb take that clause as its continuation. The resulting reading is an instruction to discuss what will happen.

The point of the example is the derivation’s availability. The first steps have no need to produce a syntax-based clause. The final syntax rule needs a clause-sized piece that covers the right words, and the specification edge makes the Hiero hypothesis available in that role. The decoder has access to a complete candidate assembled across the grammars. The ordinary scores for its rules and the learned score for its transfer determine whether it wins.

Generalization allows the other direction. A result from a syntax-based state can be passed to a primed X or S on the same span. A higher Hiero rule can then use it. The authors motivate this direction by considering a derivation that benefits from syntactic translation for particular regions of a sentence and then joins them using Hiero or glue. The proposal is especially relevant to a domain in which parsing errors can make large syntactic reorderings risky. The syntax-based analysis can still contribute its regional translations.

Interchange enables both kinds of cross-grammar connection. A derivation can pass from Hiero to syntax-based rules at one point and back at a later point. Different branches can have their own sequences of transfers. The decoder can express the derivations licensed by both one-way schemes, with a scoring configuration tuned for interchange. Whether it chooses a helpful sequence of transfers depends on the scores and the search.

The schemes separate permission from preference. If the graph lacks the reverse connection, a favorable score on some other edge cannot make that reverse switch available. Where the connection does exist, it competes with the identity route and any other permitted transfers. This distinction lets the authors test what happens when the same kinds of grammars are allowed to cooperate under different structural rules.

Recovering syntax-based coverage

A parse forest can contain a verb phrase and a clause spanning the same words. Suppose a translation rule can produce the clause, and a larger rule needs the verb phrase. The verb phrase exists in the source analysis, yet the translation grammar may have no derivation that reaches its state directly. The paper adds a same-span connection so that a result with an available label can fill a slot with the required label. It calls this fuzzy matching.

The Chinese example also allows a fuzzy link from a verb tag to a noun phrase label over the span of the first word. The link leaves the partial English translation and its source coverage intact. It changes the label through which the translation becomes usable. Such a connection can recover a derivation that would otherwise stop at a missing rule application. The same mechanism also increases the choice of derivations when both labels have some coverage.

Fuzzy matching and inter-grammar transfer operate over the same type of source boundary agreement. They answer different questions about the origin of the result. A Hiero-to-syntax transfer makes a result from the generic grammar available under a syntactic category. A fuzzy link starts with a result that already comes from the syntax-based grammar and makes it available under another label on that side. The authors allow an exact category match as the case where the input and required labels coincide.

How the decoder scores transfers

The decoder scores complete derivations using a log-linear combination of features. Its existing scoring components include probabilities for translation choices, scores for the English word sequence, and sparse signals such as those tied to particular words or to how many target words source material produces. Dense features provide scores across many hypotheses. Sparse features concern events that occur in a more limited set of hypotheses.

P(D) ∝ exp(Σᵢ λᵢ φᵢ(D))

D is a derivation, and P(D) is its probability under the log-linear scoring framework. ∝ means proportional to. exp is the exponential function. Σᵢ sums over feature indices i, with λᵢ the weight of feature i and φᵢ(D) its value on the derivation. The components inside the sum let the decoder compare a rule sequence’s grammatical transfers alongside its other translation evidence.

The new interaction features count the relevant edges. There is a separate count for each applicable pair of source and destination labels. Retaining those pairs in the feature definition lets the decoder distinguish, for instance, between passing a Hiero result to a noun phrase and passing it to a verb phrase.

φY→Z(D) = |{e ∈ D : ∃ i,j, tails(e) = (Yᵢ,ⱼ) ∧ head(e) = Z′ᵢ,ⱼ}|

φY→Z(D) is the generalization count for the label pair Y and Z in derivation D. Y belongs to Lₜ, the labels of the syntax-based component, and Z belongs to Lₕ, the Hiero labels S and X. The edge e is among those used by D. The condition after : asks whether there are span boundaries i and j, expressed by ∃, for which e has the single tail Yᵢ,ⱼ and heads into Z′ᵢ,ⱼ. The prime marks the interaction counterpart, and ∧ requires both conditions to hold. The braces collect the qualifying edges, and the vertical bars count them.

φZ→Y(D) = |{e ∈ D : ∃ i,j, tails(e) = (Zᵢ,ⱼ) ∧ head(e) = Y′ᵢ,ⱼ}|

φZ→Y(D) is the specification count in derivation D. The original tail now belongs to the Hiero category Z, and the head belongs to the syntax-based category Y in its primed form. Both share boundaries i and j. As before, e ranges over edges in the derivation, ∃ tests for the relevant span, ∧ joins the tail and head conditions, and the bars count edges in the resulting set. The arrow in the feature name gives the direction from the supplying category to the receiving category.

φU→W(D) = |{e ∈ D : ∃ i,j, tails(e) = (Uᵢ,ⱼ) ∧ head(e) = W′ᵢ,ⱼ}|

φU→W(D) counts the syntax-side matches from U to W in derivation D. Both categories lie in Lₜ. The edge e starts at the sole tail Uᵢ,ⱼ and enters W′ᵢ,ⱼ at the same boundaries. The prime marks the receiving interaction state. The existential condition, conjunction, set braces, and count bars have the same roles as in the transfer features. U and W can also be equal, which describes an exact match.

Interchange activates the specification and generalization feature families together at tuning and test time. There is no additional requirement that a switch in one direction be paired with a switch in the other. The path chosen in the graph determines which feature counts are incremented. These counts are part of the information used to score the derivation.

|Lₕ| × |Lₜ|

This is the authors’ estimate of the number of cross-grammar parameters for a one-way scheme, whether specification or generalization. Lₕ contains the Hiero labels, Lₜ contains the syntax-based labels, and | · | gives the size of the enclosed set. Multiplication counts the pairs that can be formed with a label from each set. Direction is fixed within the scheme.

2 × |Lₕ| × |Lₜ|

This is the corresponding estimate for interchange. The factor 2 counts the two directions for a pair of labels. The other terms have the same meaning as in the one-way estimate. A transfer in each direction can have its own weight.

|Lₜ| × |Lₜ|

This is the potential size of the syntax-side label matrix for fuzzy matching. Each occurrence of |Lₜ| counts the available syntax labels, once for the supplying category and once for the requesting category. The implementation uses a sparse matrix, retaining combinations of labels observed together in the data.

Where rules and scores come from

The bilingual corpus contains 16 million sentence pairs from the DARPA BOLT Chinese-English task. It draws on newswire, broadcast news, and blogs, with materials from sources including LDC, HK Law, HK Hansard, and the UN. The Chinese side goes through word segmentation. Conditional random fields are used to train the segmenter on data from CTB. The resulting word boundaries provide the common span coordinates on which the two translation forests can agree.

The syntax-based training pipeline parses each source sentence using a modified Berkeley parser. The parser generates a forest, and the authors use an inside-outside procedure based on marginal probabilities to limit its size. A marginal probability here concerns a node’s support across possible analyses. Pruning keeps a compact set of source nodes for rule extraction. The parser comes from earlier work on Improved Inference for Unlexicalized Parsing.

3n

3n is the training forest’s limit in context-free grammar nodes, with n the length of the source sentence and 3 the factor multiplying it. The forest-based GHKM procedure extracts tree-to-string translation rules from pairs of a source forest and a target string. Using a forest at this point gives the extraction procedure access to alternatives surviving the training-time pruning. Forest-based Translation Rule Extraction

10n

10n is the corresponding node limit reported for the input hypergraphs at decoding time, again with n the input sentence length and 10 its multiplier. The decoder applies this pruning before the fast pattern-matching step that makes a translation forest from the parse forest. The training and decoding limits therefore act at distinct points. One controls the input to rule extraction, and the other controls the syntactic search structure available for a sentence being translated.

Hiero derives its rules from word-aligned parallel text. Both approaches can draw on scores for English output. The English side of the bilingual corpus and additional monolingual text, including Gigaword and Google News, provide around 10 billion words for training the target-language scoring components. The paper identifies Gigaword by the data release LDC2011T07.

The new interaction feature weights are estimated by tuning with MIRA on development translations. The development set has 1275 sentences from LDC2010E30, with 4 reference translations per sentence. The decoder can thus encounter the transfer choices licensed by a scheme during tuning before using their weights on the test sets. The scored events are the transfers that appear in a candidate derivation, while the development references provide evidence about its output quality.

The authors also test a compact alternative to the sparse fuzzy matching weights. This version estimates the association between syntax labels from counts in the training forests. It looks at which labels head the same span. The conditional form can be evaluated once for each direction of a label pair, because the evidence for using U given W can differ from the evidence for using W given U.

φ(U|W) = −log((Σₛ∈spans Cₛ(U,W)) / (Σₛ∈spans Cₛ(W)))

φ(U|W) is the conditional fuzzy feature for labels U and W in the syntax inventory, with the vertical bar marking conditioning on W. s is a span in the training forests, Cₛ(U,W) counts co-occurrences of the labels on that span, and Cₛ(W) counts occurrences of W. Each Σ adds its counts over spans in the training data. The slash divides the joint count by the conditioning count. −log takes the negative logarithm of that estimated conditional probability.

φ(U,W) = −log((Σₛ∈spans Cₛ(U,W)) / (Σₛ∈spans, A,B∈Lₜ Cₛ(A,B)))

φ(U,W) is the joint fuzzy feature for syntax labels U and W. The numerator sums counts Cₛ(U,W) for the pair over training spans s. The denominator sums pair counts Cₛ(A,B) over those spans and over label pairs A and B in Lₜ. The slash converts the selected pair’s count into a share of the total counted pairs. The negative logarithm turns that estimated joint probability into a feature value. These conditional and joint estimates use the parser’s same-span label evidence, while the sparse formulation gives individual label matches their own tuned weights.

Experiments and results

The comparisons and the test sets

The standalone comparisons are tree-to-string, Hiero, and forest-to-string, abbreviated T2S, Hiero, and F2S in the results. Tree-to-string uses a selected source tree. F2S can match rules to alternatives in the source forest. Independent Hiero decoding establishes how well the hierarchical grammar does with its own search. The authors also include a joint Hiero and T2S baseline, labeled Liu:09, which they describe as their reimplementation of the earlier unrestricted approach.

The three proposed systems all use Hiero together with F2S. Their comparison changes which directions of cross-grammar transfer are available. Generalization admits syntax-based partial translations into Hiero. Specification admits Hiero partial translations into syntactic structures. Interchange admits both. The configurations are tuned and scored as systems, so the reported results reflect the rule inventory, the permissions, and the learned preferences together.

GALE-web comes from LDC2010E30, the corpus that also supplies the separate tuning material. The test split has 1239 sentences and 4 reference translations for each sentence. P1R6-web comes from LDC2012E124. It has 1124 test sentences and 1 reference for each. The two NIST MT08 splits divide the material by genre. MT08 news has 691 test sentences and 4 references per sentence. MT08 web has 666 test sentences and 4 references per sentence.

The experiments report BLEU and a combined score involving TER, the translation edit rate. BLEU rewards agreement with the reference wording through matching sequences. TER concerns how much editing is needed to bring the output into agreement with a reference. Higher BLEU and lower TER indicate stronger performance under the respective measures. The paper reports the combined score as (T-B)/2 in its tables.

(T − B) / 2

T is TER and B is BLEU. The parentheses group their difference, and 2 is the divisor. A lower value represents better performance under the convention used to interpret the results. The authors use this combined criterion in tuning with MIRA. The test tables show BLEU and the combined score, so they allow direct comparison in those two measures.

Results on the web sets

On GALE-web, F2S has the highest standalone BLEU at 34.0. Hiero scores 33.7 and T2S scores 32.6. On the combined measure, Hiero is the strongest standalone system at 10.2, with F2S at 10.3 and T2S at 11.6. The ordering of Hiero and F2S therefore depends on the measure. An evaluation of the joint system against the best separate component needs to specify which score it is comparing.

Standalone and joint decoding on GALE-web by combined score

Specification and interchange share the lowest combined score.

Standalone and joint decoding on GALE-web by combined scoreTree-to-string: 11.6Tree-to-string11.6Hiero: 10.2Hiero10.2Forest-to-string: 10.3Forest-to-string10.3Liu:09: 9.7Liu:099.7Generalization: 9.7Generalization9.7Specification (this paper): 9.4Specification (this paper)9.4Interchange: 9.4Interchange9.4
The numbers
System or setting(TER − BLEU)/2
Tree-to-string11.6
Hiero10.2
Forest-to-string10.3
Liu:099.7
Generalization9.7
Specification (this paper)9.4
Interchange9.4

Specification also gives the highest BLEU on GALE-web, at 35.1. Interchange follows at 34.9, with generalization at 34.4 and Liu:09 at 34.1. The combined measure ties the leading schemes at the displayed precision. Switching to BLEU gives specification the lead. Generalization and the reimplementation also tie on the combined score, although generalization has the higher BLEU there.

On P1R6-web, the standalone BLEU scores are 16.9 for T2S, 17.0 for Hiero, and 17.3 for F2S. The combined scores are 23.5, 23.1, and 23.2 for those same systems. The earlier joint baseline gives 17.0 BLEU and a combined score of 23.0. It has a slightly better combined score than the strongest standalone result according to the displayed values, while F2S retains the higher BLEU.

The proposed systems on P1R6-web give 17.8 BLEU and 22.6 on the combined measure for generalization, 18.1 BLEU and 22.2 for specification, and 17.9 BLEU and 22.3 for interchange. Specification leads on both measures for this set. This comparison is meaningful among systems tested against the same reference for each source sentence. The paper does not attribute the level of the P1R6-web scores to any particular difference between that set and GALE-web.

Results on the MT08 splits

On MT08 news, the standalone F2S and Hiero systems are closely matched. F2S attains 39.6 BLEU and Hiero attains 39.2. Their combined scores are both 6.3. T2S yields 37.7 BLEU and a combined score of 7.8. For this split, the earlier joint baseline gives 38.8 BLEU and a combined score of 6.7. Its result illustrates that giving two grammars a common search is insufficient on its own to guarantee a gain over the strongest standalone system.

Standalone and joint decoding on MT08 news by BLEU

Specification leads the comparison, with generalization and interchange tied behind it.

Standalone and joint decoding on MT08 news by BLEUTree-to-string: 37.7Tree-to-string37.7Hiero: 39.2Hiero39.2Forest-to-string: 39.6Forest-to-string39.6Liu:09: 38.8Liu:0938.8Generalization: 40.0Generalization40.0Specification (this paper): 40.2Specification (this paper)40.2Interchange: 40.0Interchange40.0
The numbers
System or settingBLEU
Tree-to-string37.7
Hiero39.2
Forest-to-string39.6
Liu:0938.8
Generalization40.0
Specification (this paper)40.2
Interchange40.0

The combined scores on MT08 news are 6.1 for generalization, 5.8 for specification, and 6.2 for interchange. Generalization and interchange share their BLEU score on this set but give different combined results. Specification leads on both metrics. In the authors’ comparison of specification with interchange, MT08 news is the set with the larger reported advantage on the combined measure, at 0.4 points.

On MT08 web, T2S reaches 28.1 BLEU with a combined score of 14.5, Hiero reaches 28.8 BLEU with 13.7, and F2S reaches 29.2 BLEU with 13.6. The earlier joint baseline reaches 29.0 BLEU and 13.2. Its stronger combined result relative to the single systems accompanies a BLEU score below F2S. Each proposed scheme reaches 29.6 BLEU. Generalization scores 13.1 on the combined measure, and specification and interchange both reach 12.9.

The MT08 web results put specification’s advantage in perspective. A choice between it and interchange would make no difference to the scores printed for that split. On MT08 news, both metrics favor specification. The joint decoder’s sensitivity to the direction of transfer is thus observable in some evaluation conditions, while others leave less separation among the schemes.

The average and the size of the gains

Average combined scores across the four Chinese-to-English test sets

Specification has the best average, followed by interchange.

Average combined scores across the four Chinese-to-English test setsTree-to-string: 14.4Tree-to-string14.4Hiero: 13.3Hiero13.3Forest-to-string: 13.4Forest-to-string13.4Liu:09: 13.2Liu:0913.2Generalization: 12.9Generalization12.9Specification (this paper): 12.6Specification (this paper)12.6Interchange: 12.7Interchange12.7
The numbers
System or setting(TER − BLEU)/2
Tree-to-string14.4
Hiero13.3
Forest-to-string13.4
Liu:0913.2
Generalization12.9
Specification (this paper)12.6
Interchange12.7

The authors give average improvements over the best standalone system of 0.4 points for generalization, 0.7 for specification, and 0.6 for interchange on the combined measure. They report a range of 0.5 to 0.9 points for specification across the test sets. Their account also gives a BLEU advantage of 0.2 for specification over interchange on three test sets. The largest average gain belongs to the scheme that restricts transfer to Hiero supplying syntax-based rules.

The paper describes all three proposed configurations as significantly better than the standalone systems on all four sets. The tables make the direction and size of the reported point estimates visible. The authors give their significance conclusion without the associated test statistics in the results discussion. On the displayed measures, the consistency of the direction across the sets is more apparent than a large margin between the joint schemes themselves.

The Liu:09 comparison gives a sense of the performance of an already joint baseline. Its average combined score of 13.2 is ahead of the standalone scores and behind those of the proposed schemes. It combines Hiero with T2S, while the new systems combine Hiero with F2S and use learned interaction features. This comparison measures the effect of replacing the earlier joint setup as a whole. The comparisons among generalization, specification, and interchange address the narrower question of what happens with different transfer permissions in the new setup.

What the ablations show

Restricting the search changes the result

Generalization, specification, and interchange provide a controlled comparison of transfer directions. They use the same kinds of translation grammars, with scoring weights tuned for the available connections. Specification obtains the best average combined score and interchange has a slightly weaker average. This shows that the larger set of derivations available under interchange does not in itself assure better test output under the learned scoring and search procedure.

The extra paths in interchange have two consequences. They let the decoder express combinations that the one-way schemes exclude, and they make the selection problem more demanding. A derivation can switch repeatedly between grammars. The authors suggest that it might accumulate favorable interaction weights along such a path and lose some of the syntactic consistency that a one-way scheme encourages. This is an interpretation of what the permitted paths and tuned costs can do. The reported experiments do not attribute individual translation errors or score changes to repeated switching.

Generalization also improves on standalone decoding, so syntax can contribute useful material when Hiero controls the outer derivation. The average comparison favors the opposite direction. With specification, Hiero often resolves a local coverage problem and the syntactic component can use the resulting phrase in a larger rule. The paper examines the chosen derivations to see whether that account fits the behavior of the decoder.

Which rules the decoder used

The authors count the types of rules in the GALE-web outputs. F2S accounts for 18,807 rules, or 58%, in generalization. That share reaches 19,399 rules, or 70%, in specification. In interchange it is 18,400 rules, or 61%. F2S therefore supplies the largest share in every scheme, including the one that lets Hiero take over above a syntactic derivation.

The distribution of glue rules goes in the other direction. Generalization uses 7,367 glue rules, or 23% of all selected rules in that configuration. Interchange uses 4,714, or 16%. Specification uses 571, or 2%. In the last scheme, more of the larger assembly can remain in the syntax-based grammar after a transfer. In generalization, a syntax-derived chunk can pass into Hiero and then be attached to other material through glue.

The authors distinguish flat phrases from the hierarchical rules. Specification uses 5,484 phrase rules, representing 20% of its selected rules, and 2,330 Hiero rules, representing 8%. Interchange uses 3,868 phrase rules, or 13%, and 3,133 Hiero rules, or 10%. The apparent contribution of the hierarchical side therefore depends on which kinds of rule are counted together. A local phrase that feeds directly into syntax and a hierarchical step that combines partial translations have different roles.

The corresponding rule totals are 32,178 for generalization, 27,784 for specification, and 30,115 for interchange. These totals count steps in the selected derivations, which can build equally long outputs using different numbers and kinds of rules. The shares describe the composition of those derivations. They do not measure separate contributions to the final score.

Which partial results changed hands

The edge counts show the point at which one grammar hands off to the other. In generalization on GALE-web, the authors count 5557 transitions from F2S into glue and 695 from F2S into Hiero, for a reported total of 6252 generalization transitions. Thus the usual destination on the hierarchical side is the machinery for straightforward assembly. The syntax-based grammar can handle part of the sentence before its output is incorporated into a larger monotone sequence.

In specification, the authors count 2763 transitions from phrases into F2S, 946 from glue into F2S, and 683 from Hiero into F2S, with 4392 specification transitions in total. The frequent handoff begins at a phrase. This is consistent with the authors’ account of a syntax-based derivation drawing on Hiero’s lexical coverage, often by using a direct translation of a local span.

Interchange changes the mixture in both directions. For generalization within interchange, 4202 transitions go from F2S to glue, and 1178 from F2S to Hiero. For specification within interchange, 2235 go from a phrase to F2S, 841 from glue to F2S, and 839 from Hiero to F2S. The higher count of Hiero-to-F2S transitions in interchange than in specification shows that the same nominal direction can have a different role once the reverse direction is also available. Counts for an edge type are a property of the whole fitted system.

These observations clarify what an interaction count represents. Each counted event says that the decoder chose to use a partial result through a particular cross-grammar link. A configuration with more such events can still score lower on the translation metrics. A small number of strategically placed transfers may be enough to complete many productive derivations, and a frequent kind of transfer can be common because of the design of the graph.

How span length affects what can be chosen

The rule distributions by span length give another view of the selected derivations. Flat phrase rules have a scope limit of 6 words. Ordinary Hiero rules have a limit of 20 words under the maxParse setting, beyond which glue is available for assembly. A long result on the Hiero side can thus incorporate many shorter rules even when a single ordinary Hiero rule cannot cover that stretch.

In generalization, the authors observe F2S rules translating spans of up to 50 words. Glue prevails on spans longer than 7 words in that scheme. Both observations can hold because the rule distribution summarizes many derivations and different spans within them. A long syntax-based step can occur while glue is still the more frequent means of assembling material across the longer span lengths.

Specification shifts the observed distribution towards syntax-based assembly at the long end. The discussion places the upper reach of Hiero and glue activity in this scheme at 40 words and describes the longest completions as entirely F2S. The 40-word observation concerns the scope of the activity attributed to that side, which includes glue. The separate 20-word setting governs ordinary Hiero rule applications. Interchange shows a mixture of the span patterns of the one-way systems.

The authors originally expected local contexts to suit phrase and Hiero rules especially well. The observed preference for F2S at shorter spans in all three schemes complicates that expectation. The syntax grammar contributes at the short end as well as in long assemblies. Specification’s tendency to pass a single phrase straight into F2S is visible on the very short spans of 2–4 words. Interchange shows more hierarchical rule use there. The role of Hiero in the strongest configuration can therefore be described as selective help at short spans, alongside substantial syntax-based coverage even at those lengths.

What the weights suggest about syntactic labels

The learned weights distinguish transfers into broad constructions from transfers involving short phrases or individual word categories. The authors present them as costs when interpreting their table. A more expensive connection makes it less attractive to take that edge, alongside the other scoring terms. The weights indicate the preferences of a jointly tuned decoder.

Under specification, the most expensive reported X-to-syntax transfers include VP at 0.069 and IP at 0.059. These labels often cover relatively large structures in the authors’ GALE-web analysis. A high transfer cost means it is expensive to have Hiero supply the whole piece in that slot. It can encourage the decoder to build the verb phrase or clause within the syntax-based component, preserving the structure relevant to longer reorderings.

Other syntax labels have weights in the opposite part of the cost list. For example, PP has a specification weight of -0.064, and DP has -0.092. Those values make a Hiero candidate comparatively attractive at these interfaces. The authors associate these labels with shorter, often monotone sequences in their discussion. The proposed explanation is that some such constituents can be translated well as local units before the result is incorporated into a larger syntactic derivation.

The verb tag VV has a specification weight of 0.053. A tag directly above a word covers much less material than a broad clause or verb phrase, so span length alone cannot explain the ordering of these costs. The authors suggest that knowing the word’s syntactic role can protect a useful sense distinction or help a higher rule reorder accurately. A higher VP rule can also fix a particular verb in its source pattern. The decoder may get more precise context from that lexicalized rule than from a separate unconstrained translation of the verb. The weight gives a reason to investigate that explanation. It is not a direct measurement of how often the decoder disambiguates a verb correctly.

In generalization, some expensive label transfers concern noun-related categories and other short spans. The authors offer alternative readings. Hiero may already cover some of those local sequences well. Or a syntax-based partial result may benefit from growing into a larger span before the scheme allows it to pass into Hiero. These readings predict different behavior at the word level, and the feature weight alone cannot choose between them. The low-cost treatment of VP can encourage a syntax-based verb phrase to be translated as a unit before the handoff. Some verb-related word tags also appear among the less expensive features, which makes the aggregate ordering harder to reduce to a single linguistic rule.

For interchange, the separate weights for the two directions show some of the same tendencies, with VP and IP less prominent among the most expensive transfers. Each feature is now fitted in the presence of possible reverse transfers. Even a label pair serving the same formal connection can have a different importance because the derivations that precede and follow it have changed.

Testing a different representation of fuzzy matching

The alternative fuzzy-match experiment replaces the tuned label-pair representation with the two directional conditional features and the joint feature estimated from the training forests. The authors report an average decline of 0.1 points on the combined measure relative to interchange. Their point of comparison is the richer interchange configuration, rather than a decoder with fuzzy matching completely removed.

This experiment tests a particular form of compression. The compact feature set summarizes how frequently the parser offers the categories over equivalent spans. The sparse feature set can give each observed pair a distinct weight based on how its use affects translation during tuning. The comparison favors the sparse form by the reported average. It leaves open how much better a decoder with either kind of fuzzy matching is than the same decoder using exact matches alone.

Limitations

Limits identified by the authors

The authors caution against reading the fitted weights as independent measures of linguistic usefulness. The decoder has thousands of features, and several can affect the same translation decision. A cost associated with a verb-tag transfer reflects the other options and features available when that cost was learned. Their explanations of the label patterns draw on the grammar, rule distributions, and examples, and they present some of those explanations as judgments or hypotheses.

They also identify a limit in the choice of interaction schemes. Specification and generalization each permit one cross-grammar direction. Interchange opens both directions broadly. These configurations give clear comparisons, while leaving many other possible policies unexplored. The authors suggest intermediate degrees of freedom and features informed by more than the category label. The experiments establish the behavior of the tested schemes under the reported feature design.

The method assumes that component systems can supply compatible translation hypergraphs. It uses shared source boundaries and a common deductive search to make the transfers available. The paper recognizes this compatibility constraint when discussing the possible advantages of joint decoding and distinguishes its approach from combination methods that can accept forests produced by systems with different search procedures.

Parser errors and rule coverage also limit the syntactic side. A forest preserves alternatives, but it is pruned before rule extraction and before matching at decoding time. Fuzzy matching can make an available translation usable under another category over the same words. Its usefulness depends on what analyses and translations remain available for those words. The decoder can only score and select from the paths that its grammars and graph construction admit.

Limits visible in the evaluation

The results describe a Chinese-to-English system trained at the reported scale. The test material includes web and newswire and gives evidence under several evaluation conditions. The paper’s design gives no direct estimate for another language pair, for a corpus with substantially different training coverage, or for a different source parser. In another setup, the two grammars could have different relative strengths, and the value of the direction of transfer would have to be established again.

The rule, span, and interaction counts provide a detailed view of GALE-web. They show which kinds of derivations the decoder selects on that set. The results on the other sets establish score patterns, but the same breakdown is not reported for each of those sets. One can connect the detailed analysis with the GALE-web scores directly. Its relevance to the other splits is an interpretation instead of a separately measured pattern.

The comparison with Liu:09 changes several elements together. The earlier joint baseline uses a single-tree syntax system and the reimplemented combination. The proposed configurations use a forest, fuzzy category links, and learned interaction weights under the corresponding permissions. The gap between their scores does not isolate a contribution from each change. The comparison among the proposed schemes gives more specific evidence about the effect of allowing different transfer directions in that fuller setup.

The score evidence comes from reference-based evaluation. The paper includes a worked ambiguity and qualitative explanations of rule choices. It does not report a human evaluation that separately rates adequacy, fluency, reordering, or lexical disambiguation. As a result, a particular weight or rule-use pattern cannot be translated into a measured frequency of better decisions in those categories. The examples demonstrate possible derivations, while the aggregate metrics evaluate the resulting translations at the system level.

Efficiency motivates the use of shared hypergraphs, pruning, and fast rule matching. The reported translation scores and derivation counts do not give a direct measurement of runtime or memory use. A count of rules in selected outputs describes the resulting derivations, while resource use also depends on the candidates considered and discarded during search. The experiments therefore establish a quality comparison for the implemented search without quantifying an efficiency advantage over separate decoding and combination.

What came after

The paper appears in the citation history of later work on hypergraph representations and on translation. Those connections differ in what their titles and the citation establish. The earlier study uses a hypergraph to represent alternative derivations and to control the exchange of partial translations between grammars. Later work can cite the study for that representation, for the translation problem it addresses, or for another part of its account. Establishing a particular technical inheritance requires evidence about how the citation is used.

The 2015 work on joint mention extraction and classification names mention hypergraphs as its representation. Mention extraction concerns identifying textual expressions, and classification concerns assigning categories to them. That title establishes its use of a hypergraph in a joint task outside translation. Its citation connects that study to the earlier translation paper. The relation established is between applications of hypergraphs to structured decisions. Whether the mention work adopts same-span transfer, directional interaction, or any of the learned edge costs is unspecified. Joint Mention Extraction and Classification with Mention Hypergraphs

The 2016 work on supervised attention addresses neural machine translation. Its title identifies attention supervision as the subject of its contribution, and its citation places the hypergraph study in its account of earlier translation research. The citation gives no specific role for the earlier paper’s grammar interfaces in the attention procedure. The two works can therefore be placed in the same line of research on translation with a citation between them, while the nature of any methodological transfer remains undetermined. Supervised Attentions for Neural Machine Translation

Cite

Cite as Martin Čmejrek, Haitao Mi and Bowen Zhou. 2013. Flexible and Efficient Hypergraph Interactions for Joint Hierarchical and Forest-to-String Decoding. Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing.

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

@inproceedings{cmejrek2013flexible,
  title = {{Flexible and Efficient Hypergraph Interactions for Joint Hierarchical and Forest-to-String Decoding}},
  author = {Martin Čmejrek, Haitao Mi and Bowen Zhou},
  booktitle = {Proceedings of the 2013 Conference on Empirical Methods in Natural Language Processing},
  year = {2013},
  doi = {10.18653/v1/d13-1052},
  url = {https://doi.org/10.18653/v1/d13-1052}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/cmejrek-2013-flexible-efficient-hypergraph-interactions-joint/