Learning Phrase Boundaries for Hierarchical Phrase-based Translation
Paper · 2010 · Zhongjun He, Yao Meng and Hao Yu
Summary
A translation rule can know that two pieces of a sentence should switch places and still move the wrong words. In hierarchical phrase-based machine translation, a rule can leave slots for phrases of different lengths. That flexibility lets the system reuse a reordering pattern in many sentences. It also leaves the decoder with a choice about where each phrase begins and ends. In the paper’s opening example, a rule can move a complete expression or leave its last word behind. Both applications fit the rule, but the choice changes how the sentence is put together.
The authors use bilingual training text to learn where such cuts are likely to belong. They start with sentence pairs whose words have been linked across the two languages. They look for the largest source spans that correspond to a target span and preserve enough of the original order to be treated as a unit. The ordering test tolerates some crossing links, which can occur in real alignment data. Each source word then receives a label marking the start, interior, or end of its span, or identifying a span that contains just that word. A classifier learns to predict these labels from nearby source words and their part-of-speech tags. The training procedure uses word alignments in place of manually marked phrase boundaries or a syntactic parse.
At translation time, the classifier supplies probabilities for the possible labels at every source position. The decoder uses them to score the boundaries implied by each way of assembling a translation. When joining pieces changes a boundary, the decoder updates the score. This gives it a reason to keep a likely phrase together while leaving competing rule applications available. The final derivation also yields a segmentation of the source sentence.
The benefit depended on how much context the classifier received. With a context window of n = 3, the BLEU score rose from 14.66 to 15.19 on MT06G and from 26.29 to 27.25 on MT08. Both improvements were significant at p < 0.01. On MT06N, the highest score was 34.73 at n = 4, against a baseline of 34.42, and the gain was statistically nonsignificant. The smaller windows, n = 1 and n = 2, lowered BLEU on every reported test set. An example from MT08 shows the kind of correction the feature can support. The baseline separated two topics that belonged together, while the boundary-aware decoder kept their conjunction intact.
Deep dive: Learning Phrase Boundaries for Hierarchical Phrase-based Translation
A study of how phrase boundaries learned from bilingual text guide word reordering and improve hierarchical Chinese-to-English translation. · about 36 minutes to read
The problem and its context
A rule can specify an ordering without specifying a span
Phrase-based translation draws on examples of how stretches of source text were translated. In the paper’s account, a phrase is a string of words used as a translation unit. Its usefulness comes from its correspondence with a target string. A phrase in this sense can be a grammatical constituent, such as a noun phrase, but the extraction procedure can also find useful correspondences that cut across constituent boundaries. The paper treats this freedom as a strength of statistical phrase-based translation.
In hierarchical phrase-based translation, a rule can contain variables alongside ordinary words. A variable stands for material that another rule will translate. If the variables occur in different orders on the source and target sides, the rule specifies a reordering. The same arrangement can apply when its slots contain longer stretches than those in the sentence pair from which the rule was learned. A single pattern can therefore handle movement over both short and long distances.
The benefit of that generalization depends on what fills the slots. An ordinary word in a rule gives the decoder a specific item to match. A variable gives it a place to put material, with little indication of what belongs there. A rule can consequently fit several source spans around the same fixed word. The decoder may be able to complete a translation under many of these fits. The availability of a complete derivation, a sequence of rule applications that covers the input, says little by itself about whether a particular cut preserves the source expression.
The authors illustrate the problem with a rule that renders the Chinese word “de” as “in” in the construction under discussion. The source material to the left and right of “de” changes places around “in” on the English side. The rule has 5 possible matches for the left variable and 3 for the right, yielding 15 derivations in the example. The authors judge 14 of those derivations incorrect. The pattern that effects the swap is useful. Its many possible matches are the source of the ambiguity.
In the intended derivation, the right variable covers [7, 9], so the whole span moves together. In one incorrect derivation, it covers [7, 8], and the word at [9, 9] is handled separately. The rule still performs its prescribed exchange. The change lies in what the exchange acts on. An error in choosing an endpoint can thus appear in the translation as a reordering error, even though the rule has done exactly what its source and target patterns say.
The counts belong to this particular illustration. They establish the range of plausible applications for the rule in that sentence, instead of a corpus-wide estimate of search errors. What matters for the method is that the alternatives differ in a way a source-side feature could recognize. The longer and shorter fits put a boundary at different positions. Evidence about those positions can change how the decoder ranks the derivations.
How earlier work placed limits on phrase choice
The paper describes several attempts to make phrase selection more sensitive to structure. Chiang’s earlier hierarchical approach included a feature rewarding phrases that matched constituents in a syntactic tree. A constituent is a stretch treated as a unit by the analysis of a sentence. As the authors recount it, this general constituent feature did not bring a significant improvement. A shared reward for matching a constituent gives the decoder limited information about which kinds of matches matter.
Marton and Resnik distinguished among constituent types. Their features register whether a phrase matches or crosses a boundary for a particular syntactic category. That design lets the translation system assign different importance to the boundaries associated with different categories. The paper reports substantial improvements for those soft syntactic constraints.
The related work also includes source-context features for phrase-based translation, among them features drawn from constituent structure. Another approach used a dependency tree to detect violations of syntactic cohesion. In a dependency analysis, relations between words indicate which words are structurally connected, giving the decoder a basis for penalizing choices that break those connections. The authors also describe a syntax-driven bracketing approach that learns whether phrases are likely to be translated together. These methods differ in where they intervene, although each uses a syntactic account of the source to inform a translation decision.
The present paper asks whether training translations can supply evidence about phrase boundaries directly. The relevant unit is a span whose aligned translation stays sufficiently together and in order. Sometimes that unit will coincide with one a parser would identify. The alignment test can also find units that have no corresponding constituent label. This gives the classifier a different target from a feature that scores whether a phrase agrees with a source parse.
The distinction matters because syntax and translation supply evidence about different events. A parse describes relations within a sentence. A word alignment describes correspondences across a sentence pair. Where a construction changes order across languages, the alignment gives evidence about what moved together in that instance. Where an alignment is noisy, its evidence may be misleading. The paper’s definition of a translation span addresses this problem by allowing a limited departure from strict order, while still requiring a coherent correspondence across the languages.
Turning boundaries into labels
A separate precedent came from Chinese part-of-speech tagging and word segmentation. Chinese word segmentation determines where word breaks fall in a string of characters. Ng and Low represented the task by assigning each character a positional label. A character can begin a word, occupy its interior, close it, or constitute the whole word. The training sentences for that segmenter already had word boundaries marked.
The translation paper uses the same labeling scheme at a different scale. Its input consists of source words, and its labels say how those words belong to larger translation spans. A beginning label on a source word identifies the start of a multiword unit. An end label marks its other edge. A word that forms a span by itself needs only the singleton label. The analogy provides a compact representation for the output and a reason to try a classifier that looks at the local context of each input position.
The supervision differs in a way that shapes the rest of the method. A word segmentation corpus supplies decisions that have already been made about the source string. Here the authors derive phrase labels from bilingual alignments. The target sentence is therefore involved in deciding what label a training word should receive. During translation, the system has the source sentence and its local features. It must estimate the boundary probabilities before it can choose a target output.
The paper brings these ideas together by making the estimates part of normal rule scoring. It preserves the hierarchical decoder’s ability to try an unusual span when other evidence favors that choice. At the same time, a derivation that keeps a well-supported unit together can receive a better boundary score than one that breaks the unit apart.
The method, step by step
Training and decoding use the same definition of a span for different purposes. During training, the authors can look at both sentences and infer where reasonably ordered translation units lie. They turn those units into labels and teach a classifier to recover the labels from the source context. During decoding, the classifier scores possible labels for each word. The decoder checks how those probabilities fit the boundaries implied by its current rule application and revises the score if a later combination changes a label.
Learning and using phrase boundaries
The steps in order.
What a hierarchical rule contains
The translation system uses a weighted synchronous context-free grammar. A grammar rule expands a symbol on the source and target sides together. Ordinary words contribute fixed text. A nonterminal is a symbol that can be expanded by another rule, and the grammar identifies which source and target occurrences stand for the same piece of the derivation. The paper writes the general form as follows.
X → ⟨α, γ, ∼⟩
X is the nonterminal being expanded, and → marks the rewrite. The brackets enclose the paired sides of the rule and their correspondence. α is the source string and γ is the target string. Both can contain ordinary words and nonterminals. ∼ specifies a one-to-one pairing between nonterminal occurrences on the two sides. A paired occurrence can have a different position in the target string than in the source string.
The opening example omits the separate correspondence field because the subscripts already show which occurrences match.
X → ⟨Xₗ de Xᵣ, Xᵣ in Xₗ⟩
X and → again denote the expanded symbol and its rewrite. The left member of the pair is the source pattern, and the right member is the target pattern. Xₗ marks the variable on the source left, and Xᵣ marks the one on the source right. The subscripts retain those identities in the target pattern. de and in are the fixed words in the two patterns. Reading the target side from left to right places the translation of Xᵣ before “in” and the translation of Xₗ after it.
Each candidate translation receives evidence from several feature functions. The paper presents their combination in the following proportional form.
Pr(e ∣ f) ∝ ∑ᵢ λᵢ hᵢ(α, γ)
Pr(e ∣ f) denotes the conditional translation quantity for target sentence e given source sentence f, and ∝ reads “is proportional to.” The sum ∑ᵢ runs over feature indices i. Each hᵢ is a feature function evaluated on source and target material α and γ, and λᵢ is its weight. The expression displays the weighted feature combination that matters for ranking. It leaves out the exponential and normalization that would turn a log-linear score into a conditional probability.
The existing features give several kinds of evidence. A phrase translation probability in each direction concerns the correspondence between the source and target strings. Lexical weights in both directions give word-level evidence for the correspondence. A word penalty lets output length contribute to the score, while a rule penalty gives the system a way to score rule use. A target n-gram feature scores English sequences from their local word histories. The boundary score joins this log-linear feature framework as an additional term. Minimum error rate training, or MERT, tunes the decoder’s feature weights on a designated development set.
The decoder’s job is to find a highly scored way to translate the input under the grammar. The boundary feature concerns the source spans used in that derivation. It can affect the final English text by changing which derivation wins, even though it neither supplies English words nor changes their order on the right-hand side of a grammar rule.
Finding a phrase pair in the alignments
The authors begin with a source sentence, its target translation, and links between their word positions. Write a source interval as [j₁, j₂], with positions numbered from 1 through J. The paper’s restriction on the endpoints is as follows.
1 ≤ j₁ ≤ j₂ ≤ J
1 is the first source position and J is the source sentence length. j₁ and j₂ are the inclusive left and right endpoints. Each ≤ allows equality, so the interval can consist of a single position.
For a source position j, the authors use Aⱼ for its alignment links and refer to the lowest and highest target positions linked to it as L(Aⱼ) and H(Aⱼ). The distinction is important because a source word can link to several target words. A span between the lowest and highest link covers the whole extent of that word’s links, including any intervening target positions.
Finding a candidate translation unit involves a test about its edges and a test about its interior. The edge test asks whether the proposed source and target extents belong together as a phrase pair.
∀(j, i) ∈ A, j₁ ≤ j ≤ j₂ ↔ L(Aⱼ₁) ≤ i ≤ H(Aⱼ₂)
A is the word alignment for the sentence pair, and (j, i) is a link from source position j to target position i. ∀ means “for every,” and ∈ means “belongs to.” j₁ and j₂ bound the source interval. L(Aⱼ₁) is the lowest target position linked to its first source word, while H(Aⱼ₂) is the highest target position linked to its last source word. ≤ includes the endpoints. ↔ says that the source membership test and the target membership test have the same truth value for every link.
In practical terms, if a link starts inside the source interval, it has to end inside the target interval. The converse also applies. A link ending inside the target interval cannot come from outside the source interval. This prevents a candidate from taking only the convenient part of a word’s translation or claiming a target stretch whose links also belong to a different source stretch. The test governs alignment links. It does not require each word inside the intervals to have a separate counterpart.
The strict interior test compares the target extents associated with ordered source positions.
∀k₁, k₂ ∈ [j₁, j₂], k₁ ≤ k₂ → H(Aₖ₁) ≤ L(Aₖ₂)
k₁ and k₂ are source positions drawn from the closed interval [j₁, j₂]. ∀ applies the condition to every such pair, and ∈ indicates interval membership. → is implication. If k₁ precedes k₂ or is equal to it according to ≤, the highest target link of k₁, H(Aₖ₁), must be at or before the lowest target link of k₂, L(Aₖ₂). Aₖ₁ and Aₖ₂ are the respective sets of links.
For distinct source positions in ascending order, the idea is that the earlier position’s target links must finish before the later position’s links can extend to its left. Equality of target endpoints is allowed. A source span that meets the phrase-pair test and this order test is called monotone. The formula as printed also includes equal source positions. Taken literally for a word linked to several target positions, that case would require its highest link to be at or before its lowest. The accompanying explanation describes a comparison between an earlier word and a later one. The pseudo-monotone test used to build the classifier does not have this self-comparison problem.
Relaxing the interior ordering test
The authors expect real word alignments to contain complex or noisy correspondences. The strict test would split some spans even when their general order remains apparent. Their relaxed definition preserves the phrase-pair requirement and replaces the strict interior test with a comparison of the lowest links.
∀k₁, k₂ ∈ [j₁, j₂], k₁ ≤ k₂ → L(Aₖ₁) ≤ L(Aₖ₂)
k₁ and k₂ again range over the source interval [j₁, j₂], as indicated by ∀ and ∈. → makes the right-hand comparison conditional on the left-hand ordering. The L terms now refer to the lowest aligned target positions for both source words, using the link sets Aₖ₁ and Aₖ₂. ≤ allows successive lowest links to remain at the same target position or increase.
The result is a pseudo-monotone span, abbreviated PM span. Suppose the earlier source word has links that start before those of a later word but extend past the later word’s first link. The strict comparison fails because the earlier word’s highest link is too far to the right. The relaxed comparison can pass because the earlier word’s lowest link is still in the expected order. The paper illustrates this with an aligned expression in which the upper link of one word crosses the lower link of the following word. The crossing is tolerated when the span still meets the other requirements.
The relaxation has a clear boundary of its own. If the later word’s lowest link lies before the earlier word’s lowest link, the proposed span fails the relaxed interior test. A candidate can also fail the phrase-pair test when an alignment link crosses its outer edge. Allowing some crossing within the span therefore preserves a distinction between an ordered stretch with overlapping links and a stretch whose aligned parts begin in reverse order.
The authors also treat a single source word as a pseudo-monotone span by convention. This gives them a span for a word that might otherwise belong to no phrase pair. The convention matters because the classifier needs a training label at every source position. It lets the annotation proceed even where the alignment does not supply a larger usable unit.
Joining spans and choosing their outer boundaries
If two PM phrase pairs are consecutive in the same order on both sides, the authors can combine them into a larger PM pair. The paper represents that combination as follows.
(Fⱼ₁…ⱼ, Eᵢ₁…ᵢ) ⊕ (Fⱼ₊₁…ⱼ₂, Eᵢ₊₁…ᵢ₂) = (Fⱼ₁…ⱼ₂, Eᵢ₁…ᵢ₂)
F denotes the source sentence and E the target sentence. A subscript written with … covers the positions from its first index to its last, inclusive. The source intervals begin at j₁ and j + 1 and end at j and j₂, respectively. The target intervals begin at i₁ and i + 1 and end at i and i₂. Here + 1 denotes the position immediately following a boundary. Each parenthesized pair contains a source span and its corresponding target span. ⊕ denotes the combination of pairs that meet the consecutive-span condition, and = gives the resulting pair.
Adjacency is a bilingual requirement. Two source stretches can sit side by side while their translations occur far apart or in a different order. The combination in the formula applies when the target stretches also sit side by side in the stated order. Given these conditions and alignment consistency, crossing links tolerated within a member span do not become links between the two member spans.
The paper illustrates the combination with “联合” aligned to “jointly” and “举办 的” aligned to “held by.” Each pair supplies a smaller unit. Their placement allows a larger pair that covers both. At the level of boundary labels, the join between them ceases to be an outer boundary. The beginning and ending of the combined unit determine the labels of its words.
The authors call the largest possible PM span a translation span, or TS. The aim is to find outer boundaries that encompass as much material as the alignment tests allow. If an ordered unit can be extended in both sentences while remaining a PM phrase pair, a cut inside that unit would mark a smaller piece than the authors want the classifier to learn. A translation span can contain several smaller spans whose target counterparts stay consecutive.
This definition places potential reordering between translation spans. Inside a translation span, the lowest alignment links satisfy the relaxed order test, apart from the stated singleton convention. Across spans, the tags mark possible places where movement starts or ends. A tag on the source side gives no instruction about the destination of a moved span. That part of the translation still depends on the grammar rule.
After identifying translation spans in a bilingual sentence pair, the authors label the source words by position. The labels are b for the first word of a multiword span, m for a word strictly inside it, e for the last word, and s for a span consisting of a single word. A span with two words has endpoints and no interior. The rule example in the paper assigns b e to such a span. In the illustration of alignment-derived labels, the source sentence divides into 4 translation spans. Its labels make explicit the cuts the authors want the decoder to consider when applying a reordering pattern.
The output of this stage is a set of labeled source positions derived from bilingual text. The labels record the consequences of the alignment and span definitions for a particular pair of sentences. Treating them as training examples lets the system later estimate which cuts are plausible from source context alone.
Learning a distribution over labels
The phrase boundary classifier uses maximum entropy. Each source word receives a distribution over the possible boundary labels, based on the features active at that position. The paper uses nearby word identities and part-of-speech tags. A part-of-speech tag describes a word’s grammatical category. Such tags give a more general description of the context than word identities alone, and the method uses them without requiring the boundaries of a parse tree.
For a current word W₀, a signed offset selects a context word. W₋₁ is immediately to its left and W₁ immediately to its right. P at the corresponding offset gives the part-of-speech tag for that word. The radius n sets how far the features reach. In the paper’s feature illustration at n = 2, the central word “成为,” glossed as “become,” has “她” and “将” on the left and “印度” and “有史以来” on the right. Its word and tag context provides evidence for an e label at that occurrence. The example shows how the features are arranged. A word can take another label in a different context.
The classifier converts its feature scores into probabilities using the following expression.
Pₜₐ𝓰(t ∣ fⱼ, F₁…ⱼₘₐₓ) = exp(∑ᵢ λᵢ hᵢ(t, fⱼ, F₁…ⱼₘₐₓ)) / ∑ᵤ exp(∑ᵢ λᵢ hᵢ(u, fⱼ, F₁…ⱼₘₐₓ))
Pₜₐ𝓰 is the classifier’s conditional probability, and ∣ separates the proposed tag from the information it is conditioned on. t is the tag being scored, and u ranges over the possible tags b, m, e, and s in the denominator. fⱼ is the source word at position j. F₁…ⱼₘₐₓ is the entire source sentence, from the first position 1 to its last position ⱼₘₐₓ, denoted J elsewhere in the paper. Each hᵢ is a classifier feature for the label and source context, i indexes those features, and λᵢ is the corresponding learned classifier weight. ∑ᵢ adds weighted feature values, exp exponentiates that sum, and ∑ᵤ sums the resulting values across labels. The slash denotes division by that total, and = defines the resulting probability.
The exponentiated scores express how strongly the available features support each label. Dividing by the total gives competing tags a share of the probability at the same source position. A likely e can thus coexist with a plausible s, leaving the decoder a way to price either decision. The classifier weights here belong to the maximum entropy training problem. The decoder learns a separate weight for how much the resulting phrase boundary feature should count alongside the other translation features.
The authors collect labeled examples with their contextual features and train the classifier with Zhang’s MaxEnt toolkit. The procedure replaces manually labeled phrase boundaries with labels computed from the alignments. It also separates the evidence available for building those labels from the evidence available to predict them. Alignment links can determine the training label, but they are absent from the source sentence awaiting translation. The classifier gets the source words and their local tag context at prediction time.
Using probabilities during translation
A hard constraint could take a predicted segmentation and prohibit rules that cross its boundaries. The authors describe the cost of doing so. One wrong cut can invalidate useful rules, and enough exclusions can leave the decoder without adequate coverage of the source sentence. Their soft constraint gives each candidate a score for its proposed labels while preserving the choice among applicable rules.
For an input sentence, the system computes the probability of every tag at every source position before scoring rule applications. It stores the values in a tag-word probability matrix, called the TPM. The paper gives the matrix dimensions as follows.
4 × J
4 is the number of boundary tags, J is the number of source words, and × separates the row and column counts. A row is associated with a tag in the order b, m, e, s. A column corresponds to a source position, so TPM[i, j] is the probability of assigning the tag in row i to the word in column j.
The feature uses the probabilities of the labels a candidate derivation assigns. Restating the paper’s formula with a subscript on the proposed tag makes explicit that the selected label can vary from one source position to the next.
hₚᵦ꜀(F₁…ⱼₘₐₓ) = log(∏ⱼ Pₜₐ𝓰(tⱼ ∣ fⱼ, F₁…ⱼₘₐₓ))
hₚᵦ꜀ is the phrase boundary classifier feature used by the decoder. F₁…ⱼₘₐₓ is the full source sentence, and fⱼ is its word at position j. tⱼ is the boundary tag imposed by the candidate at position j, Pₜₐ𝓰 is the classifier probability for that tag, and ∣ marks conditioning on the source information. ∏ⱼ multiplies the probabilities from the first source position through the last, and log takes the logarithm of the product. = defines the feature value. The candidate’s tags determine the value, although the paper’s notation lists the source sentence as the feature’s argument.
Taking the logarithm lets the decoder add word-level contributions as it builds larger pieces. The score for a proposed tag can be retrieved from the corresponding matrix cell and used as a log contribution. The decoder can reuse the same matrix across competing derivations because the classifier’s source context is fixed. What changes across derivations is the choice of cell for a word.
The label sequence used for a score starts with the rules. According to the paper, the system retains word alignments when extracting rules from the bilingual sentences. Each applicable rule option has a source side, a target side, and alignment information. It can therefore be examined for translation spans using the same reasoning applied to the training sentences. The resulting labels are initial tags. They express what the rule’s translation pattern implies before all its variables have been filled.
Using initial tags also distinguishes the algorithm from choosing the highest-probability label in each TPM column. A grammar rule, as applied in a derivation, provides a structural reason to consider a particular label. The classifier supplies a cost for that choice. An initially weaker choice can turn into a better-supported one after two pieces combine and an endpoint becomes an interior word.
Updating a label when a span grows
The paper shows how this works on the source text “她 将 成为.” A parent rule translates the first word, “她,” as “She” and leaves a variable after it. Another rule translates “将 成为” as “will become.” In the example the source and target sides of each rule are in sufficiently similar order for their initial assignments to follow the PM-span analysis.
X → ⟨她 X₁, She X₁⟩
X is the parent nonterminal and → its rewrite. The paired strings inside the brackets are in source and target order, respectively. 她 and She are fixed words in the rule. X₁ is the shared variable, whose eventual expansion supplies the remaining material on both sides. The subscript ₁ identifies the same variable in the two strings.
X₁ → ⟨将 成为, will become⟩
X₁ is the variable expanded by this rule. → introduces its paired expansion. The brackets enclose the Chinese source words 将 成为 and their English rendering will become; this option has no further variable to fill.
The initial assignment for the parent is b *. Here * indicates an unresolved variable and does not add a fifth label to the probability matrix. The child begins with b e, so “将” starts the child span and “成为” ends it. The parent’s initial score uses the opening label on its only fixed source word.
hₚₐᵣₑₙₜ = log(Pₜₐ𝓰(b ∣ 她)) = log(TPM[1, 1])
hₚₐᵣₑₙₜ is the initial boundary score for the parent option. Pₜₐ𝓰 supplies the classifier’s probability for the b label on “她,” with the rest of the source context implicit after ∣. log is the logarithm. TPM[1, 1] is the matrix entry for the b row and the first word’s column, and the equal signs express the two equivalent lookups.
The child score contains the contributions from both of its fixed source words.
h꜀ₕᵢₗ𝒹 = log(Pₜₐ𝓰(b ∣ 将)) + log(Pₜₐ𝓰(e ∣ 成为)) = log(TPM[1, 2]) + log(TPM[3, 3])
h꜀ₕᵢₗ𝒹 is the initial score for the child option. Pₜₐ𝓰 gives the probability of the indicated tag conditional on the source context at the named word, abbreviated after ∣. b marks the beginning and e the end. log converts each probability into its score contribution and + adds the contributions. TPM[1, 2] selects the b row at “将,” and TPM[3, 3] selects the e row at “成为.” The equal signs identify the classifier form and its matrix equivalent.
In the example matrix, b has probability 0.78 for “她.” For “将,” b has probability 0.10 and m has probability 0.75. The end tag has probability 0.87 for “成为.” The largest probabilities for these positions support a single span with “将” inside it. The child’s initial b is appropriate when that piece is considered on its own. Its probability at the second source position is relatively low because the classifier evaluates the word in the context of the whole input.
Filling the parent’s variable with the child puts the two pieces into a larger PM span. “将” is now inside the combined unit, so its label changes from b to m. The first word keeps b, and the last keeps e. The algorithm corrects the contribution of the changed word by removing its old log probability and adding the new one. The paper gives the general update as follows.
ΔPBC = log(TPM[k₂, j]) − log(TPM[k₁, j])
ΔPBC is the change in the phrase boundary contribution. TPM is the tag-word probability matrix, and j is the column for the affected source word. k₁ is the row index of its old tag and k₂ the row index of its new tag. log takes the logarithm of each probability, and − subtracts the old contribution from the new one. = defines the change to add.
For the illustrated substitution, the changed word is at the second source position and its new label is m. The update selects the corresponding row of that column.
ΔPBC = log(TPM[2, 2]) − log(TPM[1, 2])
ΔPBC again denotes the adjustment. TPM[2, 2] is the probability for m on “将,” and TPM[1, 2] is its probability for b. log changes each probability to a log contribution, − removes the old contribution, and = gives the resulting adjustment.
The total for this derivation combines the initial scores and the change.
hₚᵦ꜀(F₁…₃) = hₚₐᵣₑₙₜ + h꜀ₕᵢₗ𝒹 + ΔPBC
hₚᵦ꜀ is the full boundary feature for F₁…₃, the source text from position 1 through position 3. hₚₐᵣₑₙₜ and h꜀ₕᵢₗ𝒹 are the two initial rule scores, and ΔPBC corrects the changed label. + adds the terms and = gives the score of their combination.
The update shows why both the rule structure and the classifier are needed. Scoring the child as a separate unit all the way through would retain an obsolete boundary. Choosing m for “将” at the outset without reference to a derivation would skip the question of what larger unit licenses it. The child starts with the labels implied by its own span, and the enclosing application changes them when its translation pattern justifies the join. The authors attribute the efficiency of the score computation to this use of table access. After the derivation is complete, the tags describe how it segmented the source.
Experiments and results
Training, tuning, and test data
The experiments translate Chinese into English. The paper gives the size of the bilingual LDC training material as 77M+81M. The figure describes the training corpus, separate from the NIST material used for tuning and testing. The authors list the contributing LDC releases, including material identified as HK News and HK Hansards. This training text supplies both the grammar’s bilingual examples and the alignment evidence from which the phrase boundary labels are generated.
The authors run GIZA++ in both translation directions and use grow-diag-final to combine and refine the alignments. The boundary extraction procedure operates on those alignments. Its training labels therefore depend on the links chosen by this preprocessing stage, including links on which the strict and relaxed ordering tests would disagree.
The decoder also uses two English 4-gram scoring components trained with the SRI Language Modeling Toolkit. One is trained on the Xinhua portion of Giga-Word, and the other on the English side of the bilingual training corpus. These components supply English sequence evidence. They are distinct from the phrase boundary classifier’s source-context features, even though both methods look at nearby words for their respective tasks.
The NIST MT03 set is used to tune the translation feature weights with MERT. The reported tests use MT06 and MT08. The MT06 results are given separately for its GALE set, labeled MT06G, and its NIST set, labeled MT06N. Scores on those splits should be read within their respective comparisons. A higher absolute score on one split cannot establish that the boundary feature worked better there than on another split.
Baseline and evaluation
The baseline is the hierarchical phrase-based system without the phrase boundary classifier score. In the versions labeled +PBC, the decoder includes that feature. The settings vary n, the distance over which the classifier can use source word and part-of-speech context. This n controls the feature window, distinct from the n used to describe the order of the English sequence scoring components or the evaluation measure.
The authors calculate BLEU with mteval-v11b.pl, using case-insensitive n-gram matching with n = 4. BLEU compares the system output with reference translations using overlap in word sequences. Its corpus-level score can show whether a configuration performs better on the evaluation measure. To see which spans moved differently, the authors also inspect an individual output. The aggregate scores and the translation example answer complementary questions about the feature. BLEU
Scores by test set
On MT06G, the baseline scores 14.66 BLEU. The n = 1 version scores 13.78 and the n = 2 version scores 14.34, both below the baseline. The highest score for the split is 15.19 with n = 3. Increasing the radius to n = 4 gives 14.76. That last setting still exceeds the baseline on this split, although the paper marks the n = 3 result as the significant gain.
Baseline and phrase boundary settings on MT06G by BLEU
The best window improves on the baseline, while the narrower windows lower the score.
The numbers
| System or setting | BLEU |
|---|---|
| Hierarchical baseline | 14.66 |
| PBC n=1 | 13.78 |
| PBC n=2 | 14.34 |
| PBC n=3 (this paper) | 15.19 |
| PBC n=4 | 14.76 |
MT06N has a baseline BLEU of 34.42. The smaller windows again produce lower scores, with 33.20 at n = 1 and 34.21 at n = 2. At n = 3 the feature raises the score to 34.63, and at n = 4 the score reaches 34.73. This is the split on which the widest window tested gives the highest BLEU. The authors report that the improvement over the baseline is statistically nonsignificant.
Baseline and phrase boundary settings on MT06N by BLEU
The widest window gives the highest score, with a statistically nonsignificant improvement over the baseline.
The numbers
| System or setting | BLEU |
|---|---|
| Hierarchical baseline | 34.42 |
| PBC n=1 | 33.20 |
| PBC n=2 | 34.21 |
| PBC n=3 | 34.63 |
| PBC n=4 (this paper) | 34.73 |
On MT08, the baseline scores 26.29 BLEU. With n = 1 the score falls to 24.58, and with n = 2 it reaches 25.87. The n = 3 setting produces the best score of 27.25. At n = 4 the score is 26.70. As on MT06G, the widest window gives a score above the baseline while falling short of the result at n = 3.
Baseline and phrase boundary settings on MT08 by BLEU
The intermediate window produces the largest gain over the baseline.
The numbers
| System or setting | BLEU |
|---|---|
| Hierarchical baseline | 26.29 |
| PBC n=1 | 24.58 |
| PBC n=2 | 25.87 |
| PBC n=3 (this paper) | 27.25 |
| PBC n=4 | 26.70 |
Using the significance procedure described by Koehn, the authors report p < 0.01 for the gains at n = 3 on MT06G and MT08. The significance statement applies to the comparisons with the baseline. The highest score in each chart is marked with a star, which identifies the best observed setting on that split. On MT06N that setting is n = 4, and its lead over the baseline has weaker statistical support. Statistical Significance Tests for Machine Translation Evaluation
Across the test sets, the two smaller windows reduce BLEU and the two larger windows increase it. The common pattern is a change in direction as source context grows. The preferred radius then depends on the split, and the paper offers no evidence that one radius is universally best. The result establishes a benefit for particular configurations of the boundary feature in the tested system.
What the ablations show
Adding the feature changes the outcome only with suitable context
The baseline comparison measures the effect of adding the boundary feature as a package. That package includes the alignment-derived labels, the classifier, the initial labels on rules, and the updates when spans combine. The window sweep then changes how much source context the classifier can use. Together, these comparisons address whether the feature helps and whether its value depends on the evidence available to the classifier.
The results at n = 1 and n = 2 show that a preference for phrase cohesion is insufficient on its own. A classifier whose local observations give poor guidance can favor cuts that produce worse translations. Keeping the constraint soft limits its power to exclude rules, but the score can still change which available rule application wins. A harmful preference need only alter the ranking among alternatives to reduce BLEU.
The authors suggest that the smaller windows may provide too little contextual information. This explanation fits the consistent improvement when the window expands. The paper does not give accuracy for the predicted boundary tags at each radius, so the comparative BLEU scores cannot show which label predictions improved. The measured outcome is a change in the translation system as a whole, after the boundary contribution is combined with the other features.
The comparison between n = 3 and n = 4 narrows the finding further. More context helps up to the best observed setting on MT06G and MT08, then the score falls. MT06N follows a different pattern, with its highest score at n = 4. The authors suggest sparse training evidence as a reason wider contexts may stop helping. The sweep shows a point of diminishing benefit on the former splits. It does not measure sparsity directly or establish why that turn occurs.
These comparisons leave the two types of context features bundled together. The paper reports no run that includes neighboring words while removing their part-of-speech features, or that keeps part-of-speech features while removing word identities. The window effect therefore belongs to the available source context as used by the classifier. It cannot be assigned to either feature type individually.
Following a changed reordering in an MT08 sentence
The discussion compares the baseline with the n = 3 system on a sentence from MT08 about a U.S. Treasury official’s visit to China. The reference links the visit to two subjects of concern, environmental protection and the exchange rate. In the Chinese source, those subjects and their conjunction occupy [6, 8]. The example is informative because the spans chosen by the systems can be traced through the annotated correspondence between source and target words.
The baseline handles [6, 7] and [8, 8] separately. It places the first stretch, which includes “environmental protection” and the conjunction, before the material corresponding to “visit China.” It places the exchange rate after the material corresponding to “concern.” The resulting English separates the coordinated topics and leaves the conjunction with the wrong continuation. The error concerns the relation between recognizable translated pieces as much as the pieces themselves.
The boundary-aware system keeps the coordinated items together. The authors show its source segmentation as three translation spans, with the coordinated topics making up one of them. The tags shown for the topic span put its first word at the beginning, the conjunction inside, and the last word at the end. A reordering that splits the conjunction from its second topic would then have to use a different end or singleton decision somewhere in that stretch.
The revised output still has awkward English in the surrounding construction. Its contribution to the analysis is the locally better grouping of the two topics. The reference provides evidence for the intended relation, the source tags show the favored span, and the output shows that the span remained together. This gives the reader a concrete instance of how boundary scores can help with the reordering error the paper targets.
The MT08 example and the opening “de” example play different roles. The opening example enumerates ways a fixed hierarchical pattern can attach to source material and illustrates the consequence of an inadequate match. The MT08 example compares actual output from two tested versions of the system. The first explains why there is a choice to guide. The second shows one choice that changed after the feature was introduced.
What the comparisons isolate
The controlled comparisons concern the presence of the boundary feature and the size of its context window. The qualitative analysis follows a changed span choice in one sentence. Together they show that the feature can improve the tested system and give an example consistent with the authors’ account of its behavior. Their scope remains narrower than a component-by-component explanation of the BLEU gains.
For example, the paper defines both a strict monotone span and its relaxed counterpart. The definition and alignment illustration show what the relaxation admits. There is no separate BLEU result for training the classifier on strictly monotone spans, so the experiments do not quantify the benefit of admitting those additional alignments. Likewise, the update formula shows how a repaired label keeps a joined span internally consistent. The paper gives no translation comparison with updates disabled.
Hard constraints also appear as a design option rather than as an experimental condition. The authors explain that cutting off rule matches could leave the decoder without coverage. Their BLEU comparison is between a baseline and the soft feature, so it establishes what the soft version achieved. It supplies no measured coverage or translation quality for a hard version. The rationale for avoiding a hard constraint and the results for the implemented soft constraint are distinct kinds of evidence.
The system can also change the selected derivation in several ways at once. A better boundary score can preserve a unit, which in turn can allow another rule to supply a different English rendering. BLEU reflects the resulting sentence as a whole. The example isolates an interpretable difference in span choice, while a count of reordering corrections across the test sets would require a separate analysis.
Limitations
Limits the authors identify
The authors identify a tradeoff in the amount of source context. They suggest that the small windows lack enough information to predict useful boundaries, while still wider windows can run into sparse training evidence. The reported scores support taking the window choice seriously. They support the sparseness explanation more tentatively, since the experiments vary window size and evaluate translation quality without measuring the frequency or reliability of the larger-context features themselves.
They also identify a weakness of using boundary decisions as hard restrictions. If the segmentation is enforced, a rule that crosses one of its cuts is unavailable even when the translation evidence favors it. A series of such exclusions can make it difficult to cover a sentence. The soft feature addresses that failure mode by making boundary information one part of the score. Its usefulness still depends on the quality of that information and the weight assigned to it.
The authors treat their method of deriving translation spans as open to improvement. They propose exploring more informative boundaries, pointing to another approach that builds a hierarchy from word alignments through shift-reduce operations. They also suggest giving the decoder more features, including the length of the source material covered by a nonterminal. These are directions identified by the authors. The paper’s experiments use the maximal PM-span definition and the reported contextual classifier.
The test results also set an explicit limit on the general result the authors report. MT06N shows a positive score change at its best setting, with no statistically significant improvement over the baseline. The evidence for a reliable gain is strongest at n = 3 on the other reported splits. The conclusion about significance should retain that split-specific scope.
Limits visible in the evaluation
The experiments cover Chinese-to-English translation, one hierarchical system, and the stated data and evaluation setup. Source word order, the reliability of the alignments, and the correspondence between source context and useful spans can all matter to this feature. The study gives no translation results for a different language pair or the opposite direction. Its use of bilingual alignments describes how the method could be applied elsewhere, while its scores establish the outcome in the tested direction.
BLEU measures the finished output against reference translations. The paper does not report standalone boundary classification accuracy or a corpus-wide tally of correctly moved spans. A higher BLEU score can coexist with some worse segmentation decisions, and a plausible segmentation can coexist with a poor lexical choice. The example in the discussion supports the proposed mechanism in one case. It cannot determine how much of the overall change on MT08 is due specifically to reordering.
The authors’ comparison with earlier syntactic methods is principally about inputs and definitions. The boundary feature uses source words and part-of-speech tags, while its training spans come from alignments. It does not require constituent or dependency trees. The reported experiments contain no head-to-head result with a syntax-informed boundary feature trained and tuned on the same data. The evidence supports a gain over the hierarchical baseline for certain windows, with no ranking of the alignment-based approach against the syntactic systems discussed earlier.
The paper also describes boundary scoring as efficient because the probabilities can be looked up and the affected contributions updated. The arithmetic in the example supports that explanation. Runtime, memory use, and decoding throughput are absent from the results. The study shows why repeated classifier evaluation is unnecessary while a derivation grows. The speed of the complete system, including any costs of maintaining labels across competing partial derivations, remains unquantified.
Limits of the boundary labels
The source labels describe how material stays together under one definition of translation order. They are generated from bilingual pairs, so they inherit decisions made by the aligner. The relaxation handles the particular case in which lowest links remain ordered even though upper links overlap later link ranges. Other alignment errors can change whether a candidate passes the phrase-pair test or where its outer endpoints fall. Since the alignments supply the supervision, the classifier can learn regularities in the labels without recovering the intended phrase structure in every sentence.
A translation span is specific to the relation between a source stretch and its translation in a sentence pair. The presence of a boundary in those data therefore provides evidence for a way of translating the source, rather than for a unique phrase break that every acceptable translation must share. A different English rendering could package the same source information differently. The soft score is compatible with such variation because a candidate can win using other translation evidence even when its boundary labels receive lower probabilities.
Some procedural details are left implicit. The paper provides the consistency and ordering conditions, the singleton convention, and the rule for joining consecutive spans. Its worked decoding example shows how a child’s beginning changes into an interior label. The text gives less detail about extracting maximal spans in every alignment edge case, including how undefined alignment endpoints are handled when trying to extend a larger span. The definitions and examples establish the intended behavior, while an independent implementation would have to resolve such cases.
The segmentation produced at the end is tied to the winning derivation. It shows where that derivation places starts, ends, and singletons, and can help diagnose the choice of a reordering span. The paper evaluates translation quality and illustrates the segmentation through examples. It supplies no independent annotation standard against which to judge that segmentation as a general linguistic analysis of Chinese.
What came after
The paper’s conclusion points toward a different way of obtaining translation boundaries. Xiong, Zhang, and Li’s work on learning boundaries for phrase-based decoding, which the authors discuss as a candidate for future experiments, starts from a hierarchy formed from word alignments using a shift-reduce algorithm. The connection is methodological. Both approaches look to bilingual correspondences for evidence about where translation units lie. The present paper selects maximal spans under a pseudo-monotone ordering test. A hierarchy offers a way to represent boundaries at different levels of combination. The paper proposes exploring that alternative and reports no comparison between the two approaches.
The authors also connect their work to richer feature sets for translation. They mention adding the length of the material covered by a nonterminal. The current score asks whether the tags required by an application look plausible at particular source positions. A span-length feature would supply a different observation about the same application, describing the amount of source material assigned to the variable. Existing work on syntactic and structural translation features provides the precedent the authors name for extending the decoder in that direction. Online Large-Margin Training of Syntactic and Structural Translation Features
These directions concern separate parts of the design. A different extraction method would change the boundaries used to supervise the classifier. More decoder features would change how competing applications are scored after phrase information becomes available. The paper identifies both as possible extensions. It documents neither a later implementation built on this classifier nor a later evaluation of those proposed changes.
Cite
Cite as Zhongjun He, Yao Meng and Hao Yu. 2010. Learning Phrase Boundaries for Hierarchical Phrase-based Translation. Coling 2010: Posters.
@inproceedings{he2010learning,
title = {{Learning Phrase Boundaries for Hierarchical Phrase-based Translation}},
author = {Zhongjun He, Yao Meng and Hao Yu},
booktitle = {Coling 2010: Posters},
year = {2010},
url = {https://aclanthology.org/C10-2044/}
}This page in Markdown https://md.research.elamur.ai/free/en/papers/he-2010-learning-phrase-boundaries-hierarchical-phrase/