Elamur Research

A Joint Rule Selection Model for Hierarchical Phrase-Based Translation

Paper · 2010 · Lei Cui, Dongdong Zhang, Mu Li et al.

Summary

A translation system can know several ways to translate a phrase and still make a poor choice about where to use them. In hierarchical phrase-based machine translation, a rule can match a stretch of the input that contains gaps. The material in those gaps is translated separately, and the rule determines where the pieces go in the output. A decoder therefore has to decide both which pattern fits the source sentence and which English rendering to use for that pattern. The paper asks whether translation improves when a decoder gets a score that accounts for both decisions.

The authors build that score from evidence of two kinds. Counts from the training corpus tell the system how well a pattern is supported across examples. Contextual evidence helps it judge a particular use of a rule. On the source side, that can mean looking at the grammatical categories of words at the edges of a gap or checking how a pattern fits the sentence’s parse. On the target side, it can mean looking at the words and gaps in the proposed rendering and how their order relates to the source pattern. The authors learn the contextual scores from positive and negative examples generated from a bilingual corpus. The resulting joint score goes into a Hiero-like decoder alongside its usual features.

On Chinese-to-English translation, the system scores 0.3141 on the NIST 2006 test set and 0.2318 on NIST 2008, measured with case-insensitive BLEU. The corresponding baseline scores are 0.3025 and 0.2200. The joint system also scores above both comparison approaches, which guide rule selection through source syntax or the ordering of frequent function words. The authors report significance at p < 0.01 against the baseline and both comparison approaches.

The component comparisons show why it is worth scoring the source pattern in its own right. Source-side additions produce gains comparable to those from target-side additions, and corpus counts alone give the strongest individual addition on each test set, with a different side leading on each. The highest scores on both sets come from using all the components together. The experiments establish that the combined score helps this decoder on the tested data. They leave open which contextual clues account for the gains and how the training procedure would fare on a larger corpus.

Deep dive: A Joint Rule Selection Model for Hierarchical Phrase-Based Translation

Joint rule selection improves Chinese-to-English translation by scoring which source pattern to use together with how to translate it. · about 35 minutes to read

The problem and its context

What a hierarchical rule commits the decoder to

A phrase-based system can translate a group of words as a unit. This gives it an option beyond translating each word separately and asking a later stage to repair the result. Hierarchical phrase-based translation keeps that ability and allows a phrase rule to contain gaps. A gap represents a stretch of the sentence whose content can vary. Another rule supplies a translation for that stretch. If the gaps occur in a different order on the target side, the outer rule can move groups of words relative to one another even when the groups themselves take several steps to translate.

Consider what has to happen when the decoder uses such a rule. It first needs a source pattern that can cover a particular stretch of input. A pattern may fix some words and leave the rest to gaps. A different pattern can cover an overlapping stretch, fix different words, or put its gap boundaries in different places. Then there is a choice of output for the pattern being considered. Several target patterns can be paired with the same source pattern in the grammar. The choice between them can change the words supplied by the rule, where the separately translated pieces appear, or both.

The paper calls these the source-side and target-side decisions. The source side answers what material the rule will translate and how that material will be divided. The target side answers what the rule will contribute to the output for that division. The distinction matters even when the input words are already known. A source sentence tells the decoder which words are present. It leaves the decoder to work out which combinations of fixed words and gaps make a useful unit of translation. A pattern can match the string while carving out a span for which the rule offers an unsuitable rendering.

These choices occur during hypothesis generation. A hypothesis is a candidate translation, or a piece of one, that the decoder can combine with other pieces. The same stretch of an input sentence can participate in different hypotheses because the system may cover it by different rules. A hierarchical grammar learned automatically from bilingual data can supply many such possibilities. Its flexibility gives the decoder ways to express useful reorderings, and the decoder has to distinguish those cases from superficially plausible matches. The authors’ concern is how the system scores these alternatives while it builds an output.

How earlier systems scored the choices

The paper places hierarchical rules between two traditions. Phrase-based systems showed the value of learning translations for word groups from bilingual data. The authors describe the target scoring in the original hierarchical system as analogous to the scoring used in systems such as Pharaoh. Once a source phrase or pattern is under consideration, the system needs evidence for preferring one of its observed translations. The reference point for that part of the approach is Statistical Phrase-Based Translation.

The authors also connect hierarchical translation to work that uses syntax to handle reordering. Their comparison is about what the rule formalism can express. A phrase template with gaps can move material across a substantial distance by changing where the gaps appear in the output. The paper cites syntax-based and tree-based translation systems as examples of earlier ways to account for complicated order changes. Among them are A Syntax-based Statistical Translation Model and Dependency Treelet Translation.

Earlier work had already looked for ways to improve the scoring of hierarchical rules. One line of work looked inside the spans represented by gaps. A gap symbol identifies a position in a pattern, but its actual contents vary from sentence to sentence. Features describing those contents can help choose an output for the same source pattern on different occasions. The paper describes the work by He and colleagues and by Liu and colleagues as using context of this kind for target selection. The latter is Maximum Entropy based Rule Selection.

Another line of work gave the decoder more evidence about which source pattern to use. In the paper’s account, approaches centered on target selection treated the source-side distribution as uniform. Setiawan and colleagues used the function words captured by a rule to distinguish source alternatives. Function words are useful in this setting because their presence and placement can give clues about structure and reordering. Another approach looked at how a rule matched a syntactic parse of the source sentence. A match with a constituent could be rewarded, and a rule that crossed a constituent boundary could receive a penalty. The paper draws on this tradition through Soft Syntactic Constraints for Hierarchical Phrased-Based Translation.

The distinction between source guidance and target guidance concerns which choice the added evidence is designed to improve. A decoder that prefers source patterns with a good syntactic fit still has to compare their possible renderings. A decoder with a context-sensitive preference among renderings still has to decide whether the source pattern itself is a good match to use at that location. Both choices can affect the same output hypothesis. A source pattern that leaves a group of words inside a gap makes a different reordering available from a pattern that leaves some of those words outside it. The usefulness of the resulting English construction can then depend on the choice of source pattern.

Why put both decisions into one score?

The authors’ proposal is to evaluate each source pattern and target rendering together. A pair can receive support from the way the source pattern matches the input and from the way the target pattern translates that match. The target score is conditional on the source pattern, which gives the method a way to represent the dependence between the choices. Each source alternative brings its own target candidates, and changing the source alternative changes what those target candidates mean.

The paper motivates this approach with a search argument. If the scoring method pays special attention to only one of the choices, it may give too much weight to an option that looks good along that dimension. A score sensitive to both choices can favor a different pair. The authors suggest that joint selection may find a better overall choice than guidance restricted to one side. That is the motivation for the design. It is a claim about what the decoder has evidence to compare, with the experiments testing the consequence for translation quality.

The proposal also has a practical aim. The authors want to add a rule-selection score to a hierarchical phrase-based system that already combines several sources of evidence. The grammar still comes from bilingual rule extraction, and the decoder still assembles translations with it. The new feature changes the relative support for particular rule applications within that process. This makes the comparison with the standard system informative about how much translation can benefit from changing the scoring of the available grammar.

The method, step by step

From gaps in a pattern to a complete rule

The unit the method scores is a synchronous context-free grammar rule. A context-free grammar uses symbols that can be expanded into other pieces. In this translation setting, a synchronous rule supplies a pattern on each side, and corresponding gaps identify pieces that are translated together. The paper calls the gap symbols nonterminals. Words written directly into a rule are part of what that rule matches or emits. A nonterminal delegates a piece of that job to a further rule application. Correspondence between the nonterminals holds their identities fixed even when their positions change across languages.

The paper’s example uses a Chinese source pattern consisting of a gap followed by hezuo. It can match the expression youhao hezuo, with the gap standing for youhao. Knowing the match tells the system which source stretch lies inside the gap. A bilingual rule also specifies the target pattern associated with that source configuration. The target side can then use the corresponding nonterminal wherever the translated gap belongs in the output.

There are three useful levels to keep distinct. A source pattern describes a reusable arrangement of literal words and gaps. A match is an occurrence of that pattern on a particular stretch of a sentence, with particular words filling the gaps. A bilingual rule pairs the reusable source pattern with a reusable target pattern. A bilingual rule can be well attested while an individual match is a poor occasion to use it. Conversely, the same source match may be a good candidate for translation with one target rule and a poor candidate with another. The scoring method needs evidence about patterns across the corpus and evidence about their use in the current candidate.

How the joint rule score is learned and used

The steps in order.

How the joint rule score is learned and usedStep 1: Extract paired rules from word-aligned sentences1. Extract paired rules from word-aligned sentencesStep 2: Count source patterns and bilingual rule occurrences2. Count source patterns and bilingual rule occurrencesStep 3: Build positive and negative examples of rule use3. Build positive and negative examples of rule useStep 4: Learn contextual scores from rule features4. Learn contextual scores from rule featuresStep 5: Interpolate count and context scores on each side5. Interpolate count and context scores on each sideStep 6: Combine source and target scores for each rule6. Combine source and target scores for each ruleStep 7: Add the joint score to the decoder7. Add the joint score to the decoder

How the joint score is put together

The paper begins by writing the probability for a pair as a product. Here the notation distinguishes the source pattern from its proposed translation, and conditions the choice on context.

P(α, γ ∣ C) = P(α ∣ C) P(γ ∣ α, C)

P denotes a probability. α is the source side of the rule and γ is the target side. C is the context associated with the rule application. The vertical bar means “given,” so the first factor on the right scores the source pattern given the context. The second scores the target pattern given both that source pattern and the context. The commas group the two outcomes on the left and the information supplied to the target factor on the right. The equals sign expresses the probability factorization, and the adjoining factors on the right are multiplied.

This factorization uses the ordinary chain rule of probability. Its form allows dependence between the two choices because the second factor sees the result of the first. It also gives the authors two places to introduce different evidence. Source selection can use facts about the source pattern and the words it covers. Target selection can use that information and facts about the candidate target rule. The notation provides an order in which to describe and compute the factors. The complete product is a score for a pair, and its ranking need not agree with a ranking based on either factor alone.

The authors build each factor by interpolating, or taking a weighted average of, a count-based score and a context-based score. Their count-based components are called context-free because their estimates leave out the individual application context. This use of “context-free” describes what a score conditions on. The term in the grammar’s name instead describes the rule formalism. A rule in that grammar can still have a score that varies with the words filling its gaps or with its fit to the input parse.

Counting support for the source pattern

The source factor combines a score for the pattern across the training data with a score for its current match.

P(α ∣ C) = θ Pₛ(α) + (1 − θ) Pₛ(α ∣ C)

P(α ∣ C) is the source-selection factor in the joint score. α is the source pattern, and C is the application context, of which the source classifier uses the source information. The subscript s in Pₛ identifies the source side. Pₛ(α) is the context-free source score, abbreviated CFSM, and Pₛ(α ∣ C) is the context-based source score, abbreviated CBSM. θ is the interpolation weight assigned to the context-free score. 1 − θ is its complementary weight, where 1 represents the whole weight. Multiplication applies each weight, and the plus sign adds the weighted scores. The paper treats θ as a setting that can be chosen using development data.

The count-based part rests on the difference between how frequently a pattern is encountered and how much bilingual extraction evidence it has. The authors give a maximum-likelihood estimate. In this case, that means taking a ratio of counts collected during training.

Pₛ(α) = (Σ_γ Count(⟨α, γ⟩)) / Count(α)

Pₛ(α) denotes the context-free source score. α is the source pattern and γ ranges over the target patterns paired with it. The angle brackets mark a bilingual rule. Count(⟨α, γ⟩) is the extraction count for that pair, and Σ_γ sums the counts of the bilingual rules that share α. The slash divides this total by Count(α), the number of occurrences of the source pattern in the source-language part of the training corpus. The parentheses group the numerator and delimit the arguments of Count.

The denominator is important to the interpretation. A pattern can occur in the source data simply because its words and gaps make it easy to match. The numerator concerns the pattern’s participation in rules that the bilingual extraction procedure actually licenses. The count-based source score therefore compares evidence from paired rules with evidence that the pattern occurs as a source pattern. The authors interpret the result as an indication of how naturally the pattern serves as a translation unit or how likely it is to have a counterpart on the target side.

This score is tied to the pattern identity. Once the counts are collected, the same source pattern receives the same count-based contribution wherever it is considered. The contextual component can distinguish the occurrences. For instance, a gap can have different boundary words in different sentences, and its relationship to a constituent can change even though the visible words in the pattern and the arrangement of its gaps stay the same. Interpolation keeps the corpus evidence in the score while allowing those case-specific clues to influence a decision.

Scoring an occurrence without classifying every possible source rule

The authors could have treated each distinct source pattern as a class and trained a classifier to predict the class from context. They expect that the large set of patterns would make the resulting training data sparse. Many individual patterns would have limited examples from which to learn how a class relates to a feature. Instead, they give the classifier a candidate pattern and ask a binary question about its use in a particular context. The same label can then be learned across different patterns, with features describing properties that they share.

The source-side approximation uses maximum entropy. For each possible label, it forms a weighted sum of features. After exponentiation, the scores are normalized over the labels to get probabilities. This lets multiple clues contribute to one decision, such as a boundary tag and a syntactic match. The paper uses the approach described in A Maximum Entropy Approach to Natural Language Processing.

Pₛ(α ∣ C) ≈ Pₛ(υ ∣ α, C) = exp[Σ_i λᵢ hᵢ(υ, α, C)] / Σ_{υ′} exp[Σ_i λᵢ hᵢ(υ′, α, C)]

Pₛ(α ∣ C) is the contextual source score the authors seek to estimate. ≈ signals that they approximate it with the binary classifier. Pₛ(υ ∣ α, C) is the probability of a label υ for a given source pattern α and context C. The labels are 1 for applying the rule and 0 for the other case. The rule-selection score uses the probability of 1. The index i runs over feature functions, hᵢ is the function at index i, and λᵢ is its learned weight. The arguments of each function specify the label, pattern and context it evaluates. Σ_i adds the weighted feature values, and exp exponentiates the sum. In the denominator, υ′ is a label ranging over both possible values, and Σ_{υ′} adds their exponentiated scores. The slash divides the score for the label in the numerator by that total.

The normalization is over the two possible labels for a given candidate. This is what makes the binary formulation manageable. It does not require summing over all source patterns that can compete in the sentence. It also determines how to read the approximation. The probability that a particular candidate receives the positive label is the quantity the method uses as evidence about source selection. The independently evaluated positive probabilities for a set of competing patterns have no requirement to add up to the whole probability mass. A decoder can use these values to rank hypotheses as part of a broader score.

The labels have a second interpretation in training. During decoding, the question is whether to apply the rule. In the training data, the authors use whether a proposed rule can actually be extracted from an aligned sentence pair as evidence for that choice. They can get labels this way without observing a decoder trace or asking annotators to judge every candidate. The extraction procedure, and the alignments it takes as input, consequently help define what the classifier learns to regard as a good match.

Scoring the target half of the rule

The target factor follows the same interpolation design. It combines general evidence about the target pattern with evidence relating the candidate to the source pattern and context.

P(γ ∣ α, C) = ϕ Pₜ(γ) + (1 − ϕ) Pₜ(γ ∣ α, C)

P(γ ∣ α, C) is the target-selection factor in the joint product. γ denotes the target pattern, α is the source pattern, and C is the context. The subscript t marks target-side scores. Pₜ(γ) is the context-free target score, called CFTM. Pₜ(γ ∣ α, C) is the context-based target score, called CBTM. The weight ϕ applies to the context-free contribution, with 1 − ϕ applying to the context-based contribution. 1 denotes the whole weight, and the plus sign combines the weighted terms. Like the source interpolation weight, ϕ can be chosen on development data.

The authors describe the context-free target score as an estimate of whether a target pattern is a plausible unit on its own evidence. They use maximum likelihood and present it as analogous to the count-based source estimate. The paper gives an explicit count equation for the source side and describes the target estimate in words. The contextual target score is trained with maximum entropy, again as a binary judgment about using a candidate. This time the classifier can use information from both sides. In effect, the context-free target term supplies a general preference for the target pattern, and the contextual term judges its use as a translation of the particular source pattern.

The place where the two sides meet is clearest when a feature compares rule formats. A source pattern specifies where its gaps occur. A target pattern specifies where the corresponding gaps will occur in the output. The source pattern by itself describes what material can be delegated. The two patterns together show how that material will be placed. A feature that compares the order of the gaps can therefore describe a property of the translation that neither order conveys in isolation.

Constructing source examples from aligned text

The authors start with parallel sentences and a word alignment, which links words in one sentence to their counterparts in the other. Their notation uses s for the source sentence, t for the target sentence, and W for the alignment. A source rule rₛ matches a stretch of s. A target rule rₜ matches target material and is associated with that source material under W. The notation C(r) denotes the features associated with a rule or its occurrence, with r standing for whichever side is being described.

A positive source example comes from a match that supports a valid extracted bilingual rule. If a proposed source match fails to yield such a rule, the authors use its source context as a negative example. The source classifier sees features describing the source pattern and match in both cases. The target sentence and alignment enter through the construction of the label. In this way, the method uses bilingual evidence to supervise a classifier whose input at application time is source-side evidence.

In the paper’s illustration, the pattern with the gap before hezuo yields a positive example when it matches youhao hezuo. The illustration also considers a gap followed by youhao. Candidate matches include de youhao and shuangfang de youhao. The authors mark these matches negative because extraction fails to find a suitable paired rule. The explanation involves the arrangement of aligned words in the target sentence. The relevant English material is discontinuous, and the alignment for cooperation also reaches to a word outside the proposed source match.

This example explains why matching the source string is only a preliminary condition. The gap before youhao can absorb the required source words, so a pattern matcher can propose the rule. The training procedure asks whether the aligned pair can support it as a rule of the bilingual grammar in this occurrence. A failure provides an example of a match that looks possible on the surface but cuts across the translation evidence. The negative label concerns this particular occurrence under the extraction procedure. The same reusable pattern can have a different outcome in another sentence pair.

This source training task is about the existence of a licensed paired rule for the match. All the information required to label a candidate is available from the bilingual training material. The features that the classifier will use later describe things visible on the source side. Thus the training signal can reflect target alignment even though target alignment is unavailable when the decoder receives a new input to translate.

Constructing target examples by swapping alternatives

For target training, the authors use groups of bilingual rules that share the same source pattern. Such a group can be assembled because the same source pattern may be extracted from multiple sentences with different translations. For a particular aligned sentence pair, an extracted target rule gives a positive example. The method combines the source context from that occurrence with the context of the target rule actually extracted from it. The resulting pair of feature descriptions receives the positive label.

The method constructs negatives by holding the source occurrence fixed and substituting another target rule from the same group. The alternative has evidence somewhere in the bilingual corpus and shares the relevant source pattern, which makes it a natural competitor. It receives a negative label for the current occurrence if it is the alternative to the target rule extracted there. This is a way to learn contextual distinctions among recorded options. Randomly pairing source occurrences with unrelated target patterns would offer a different task, since the classifier could often identify the mismatch without learning much about the choice among useful alternatives.

The notation in the paper uses rₜᵢ for the target rule extracted from the current pair. The index i identifies that rule within the set of alternatives for rₛ. An index j identifies a different target rule in the same set, and n is the size of the set. The positive instance uses label 1 and the contexts of rₛ and rₜᵢ. Each negative instance uses label 0 with the same source context and the context of an alternative rₜⱼ. Both source and target feature descriptions are therefore available to the target classifier.

The paper illustrates this by taking examples from separate sentence pairs with the same source pattern. Each source occurrence paired with its own extracted target rule is positive. Pairing either source occurrence with the target rule taken from the other yields the negatives. This comparison gives the classifier a chance to learn what distinguishes the two occurrences even though their source rule has the same form. Changes in the words covered by a gap, or in how the proposed target pattern would arrange those gaps, can make the difference visible to the classifier.

The labels are judgments about evidence in the aligned training pair. Other target rules may be adequate translations of the sentence even if they were unobserved in that pair. The method treats the extracted match as the positive example for training. That distinction matters because the classifier is being taught a preference from observed translation choices. It has no independent assessment of every acceptable rendering.

Generating negatives for alternative target rules can produce many examples for a source pattern with a large inventory of counterparts. The authors say this expansion can put pressure on the training procedure. They prune negative examples made with low-frequency target rules. As a result, the target classifier sees a restricted sample of the contrasts that could be generated. The paper describes the frequency principle behind the pruning and leaves the exact cutoff unspecified.

What information the classifiers use

The authors choose features that can recur across many rules. This gives the classifiers ways to share evidence even when literal patterns or gap fillings are infrequent. The features describe the words present in the rule or its covered material, the shape of the match in the source sentence, and the relationship between the two rule formats. The paper groups them into function words, grammatical tags, syntactic fit, rule format and length.

Function-word features record whether such words occur in the source or target rule strings and in material represented by nonterminals. A word written into the rule and a word lying inside its gap can give different evidence. The first is fixed by the pattern. The second depends on the material the rule is currently covering. The authors take frequency as an operational definition of the inventory for these experiments, following the earlier work on function-word ordering. This makes the feature vocabulary something they can identify from the training corpus.

The grammatical tag features focus on the edges of the source spans covered by nonterminals. A tag classifies a word by its grammatical role or category. Looking at tags instead of relying only on word identities allows the classifier to recognize a type of boundary across matches with different vocabulary. In the paper’s design, these features describe the boundary words of the gap, so moving a gap boundary can change the cues even when much of the source span stays the same. This part of the method uses part-of-speech tagging.

The syntactic features compare the source rule with subtrees of a constituent parse. A constituent is a group the parse treats as a unit, and the subtree records how that unit is structured. A rule match can coincide with a syntactic subtree or cut across one. The features give the classifier information about that relationship. An exact match and a crossing are observable properties that can receive different learned weights. They are used as evidence in a score, so the decoder can weigh syntactic fit alongside the other evidence it has for the hypothesis. The source analysis comes from parsing.

Rule-format features record the locations and relative order of nonterminals. Recording the source format tells the system how the source match is organized. Recording the two formats together also indicates how the corresponding pieces move in translation. A gap near one edge of the source pattern might appear elsewhere in the target pattern. Because that property arises from pairing the patterns, it is among the features that make target selection sensitive to the source rule.

Length features concern the source material that fills the gaps. A nonterminal makes the rule applicable across different spans while preserving the same written pattern. The length of its current filling gives the classifier some information about which use is being proposed. Two applications of the same pattern can agree in their literal words and order of gaps while differing in how much material a gap delegates to a separate translation. This feature records that difference without requiring a separate rule identity for every possible span length.

The division of evidence between classifiers follows the division of their jobs. The contextual source classifier uses source context. The contextual target classifier uses source and target context, including characteristics of the proposed target rule and how it corresponds to the source. In the training examples the target observation comes from bilingual material. During translation, the target side under consideration is a candidate. The paper describes categories of features and how they are learned. It gives less detail about the decoder’s representation of target context as partial translations are assembled.

Adding the score during decoding

The authors incorporate the joint score as a feature in the decoder’s log-linear framework. In that framework, features contribute to a common score through weights. This gives the joint rule score a role alongside the system’s existing translation evidence. There are distinct places where weighting occurs. The maximum-entropy classifiers learn weights for individual context features. Interpolation balances each contextual score against its count-based counterpart. The decoder then uses the resulting joint rule feature in combination with its standard features.

The source and target factors play different roles when the decoder considers alternatives. Candidate translations of a given source match share its source score. Their target scores can differ. A different source match can change the source score and give the target choices a different conditioning pattern. The product captures both kinds of movement in a single value. That value contributes to a wider hypothesis score, where evidence about the emerging English output and the other rules used in it can also affect the ranking.

The authors’ design keeps the standard grammar extraction procedure and learns new preferences over its outputs. It can therefore change which available rules the decoder finds attractive without relying on a new set of hand-written bilingual rules. For the experiments, the relevant question is how much this information helps the familiar translation setup. The authors address that first by comparing complete systems, then by adding different subsets of the new scoring components to the baseline.

Experiments and results

Training data, tuning and evaluation

The experiments translate Chinese into English with a hierarchical phrase-based implementation similar to Hiero. The bilingual training material comes from FBIS and contains around 160K sentence pairs. The Chinese side is analyzed with the Berkeley parser, which supplies the constituent structures used by the source syntax features. The paper cites Improved Inference for Unlexicalized Parsing for the parser.

The authors use Le Zhang’s maximum entropy training toolkit for both contextual classifiers. They report 4.68M constructed positive instances for each classifier. The source classifier has 3.74M negative training instances, and the target classifier has 3.03M. These figures count automatically constructed rule examples. A bilingual sentence pair can contribute contexts for multiple candidates, so the instance counts describe the classification data generated from the corpus. They convey the size of the training job even though the corpus itself is counted in sentence pairs.

The 128 words that occur most frequently in the corpus make up the function-word inventory. The source interpolation weight is θ = 0.75, and the target interpolation weight is ϕ = 0.70. Under the paper’s formulas, each of those reported weights applies to the count-based term on its own side, with the complementary weight going to the contextual term. These are settings of the two mixtures inside the joint score. The maximum-entropy feature weights are a different set of quantities learned from the labeled instances.

The system uses a 5-gram estimate of English word sequences, trained on the English side of FBIS and the Xinhua portion of Gigaword. This standard feature concerns the plausibility of word sequences in the emerging translation. It and the added rule score provide different kinds of evidence to the decoder. The rule score is about a particular use of a bilingual rule, while the English sequence score can reflect the way material from different applications reads together. The sequence estimate is a language model based on n-grams.

The authors use NIST 2005 as development data and NIST 2006 and NIST 2008 as separate test sets. The measure is case-insensitive BLEU4, which compares system translations with reference translations using matching word sequences. Case-insensitive scoring ignores letter case in that comparison. The paper reports the scores as decimals on the scale shown in its results, and each test set has its own scores. The evaluation method comes from BLEU: A Method for Automatic Evaluation of Machine Translation.

To assess the differences in BLEU, the authors use paired bootstrap resampling. The pairing preserves the correspondence between systems’ outputs for the same test inputs as the test data are resampled. This supplies evidence about whether a difference depends heavily on the particular mix of examples in the test set. The paper uses p < 0.01 for the significance claims reported with its comparisons. The method is described in Statistical Significance Tests for Machine Translation Evaluation.

Comparison with other rule-selection approaches

The baseline uses the authors’ Hiero-like implementation with its standard features. The paper also compares XP+, the approach associated with soft syntactic constraints, and TOFW, which stands for topological ordering of function words. XP+ gives the decoder evidence about the source rule’s fit to syntactic structure. TOFW emphasizes function words as clues in source-side rule selection and reordering. Both give alternatives to the baseline for guiding a hierarchical decoder, and both can be evaluated on the same test sets as the joint method.

Rule-selection systems on the NIST 2006 Chinese-to-English test set

The joint rule-selection system scores above both comparison approaches and the baseline.

Rule-selection systems on the NIST 2006 Chinese-to-English test setBaseline: 0.3025Baseline0.3025XP+: 0.3061XP+0.3061TOFW: 0.3089TOFW0.3089Joint rule selection (this paper): 0.3141Joint rule selection (this paper)0.3141
The numbers
System or settingBLEU4
Baseline0.3025
XP+0.3061
TOFW0.3089
Joint rule selection (this paper)0.3141

On NIST 2006, the standard decoder scores 0.3025, XP+ reaches 0.3061 and TOFW reaches 0.3089. With the joint score, the system reaches 0.3141. The ordering shows that giving the decoder extra evidence through either comparison method is already helpful on this set. The combined source and target score gives the highest reported BLEU4. The appropriate comparison for the proposed method therefore includes both the gain over the standard decoder and its higher score relative to the alternatives equipped with rule-selection guidance.

Rule-selection systems on the NIST 2008 Chinese-to-English test set

The joint system leads on this test set as well, while the comparison approaches are close.

Rule-selection systems on the NIST 2008 Chinese-to-English test setBaseline: 0.2200Baseline0.2200XP+: 0.2254XP+0.2254TOFW: 0.2253TOFW0.2253Joint rule selection (this paper): 0.2318Joint rule selection (this paper)0.2318
The numbers
System or settingBLEU4
Baseline0.2200
XP+0.2254
TOFW0.2253
Joint rule selection (this paper)0.2318

On NIST 2008, the baseline scores 0.2200 in case-insensitive BLEU4. XP+ scores 0.2254 and TOFW scores 0.2253. The joint system reaches 0.2318. XP+ and TOFW change order between the two test sets. The joint system leads both times. The authors report that it beats the baseline and both comparison approaches at p < 0.01. That significance claim concerns the joint system’s reported comparisons, with the individual component tests assessed separately.

The scores on the two test sets should be read within each evaluation. The baseline and every augmented setting have different absolute scores between sets. The result that recurs is the joint system’s lead over the other configurations on the same test material. The test tells the reader that the benefit occurs on both collections under the same experimental setup. It leaves the kind of translation changes behind the higher BLEU4 to further analysis.

The authors explain why some related work is outside the comparison. Xiong and colleagues used a phrase-based setup with bracketing transduction rules, and Shen and colleagues worked with string-to-dependency translation. Those frameworks differ from the authors’ hierarchical system in ways that affect how their features would be incorporated. The paper invokes Wu’s grammar work in describing the former setup, Stochastic Inversion Transduction Grammars.

The authors also leave out the lexicalized rule-selection approach of He and colleagues. They cite the practical difficulty of integrating its many components. Consequently, the controlled system comparison covers two particular sources of extra rule guidance that the authors implement in their framework. The breadth of the related work provides context for the proposal, while the measured rankings apply to the included implementations.

The comparison establishes the effectiveness of the full addition in this setting. XP+ and TOFW embody different scoring designs, so their scores by themselves cannot say whether the improvement comes from target context, corpus counts, the source classifier, or the combination. The authors use component comparisons with a shared baseline to address part of that question.

What the ablations show

Adding one component at a time

The paper tests how the decoder performs when the new components are added singly and in selected combinations. Each setting starts from the same baseline. The single additions ask whether each source of evidence can improve that starting point. The combinations ask what happens when certain kinds of evidence are made available together. This is a component analysis through additions. Its comparisons answer which ingredients are useful on their own under the experiment, and how several selected groups perform relative to the complete method.

Individual and combined rule-selection components on the NIST 2006 test set

Each individual component raises the score, and the full combination gives the highest result.

Individual and combined rule-selection components on the NIST 2006 test setBaseline: 0.3025Baseline0.3025Context-free source: 0.3092Context-free source0.3092Context-based source: 0.3077Context-based source0.3077Context-free target: 0.3076Context-free target0.3076Context-based target: 0.3060Context-based target0.3060Both context-free components: 0.3109Both context-free components0.3109Both source components: 0.3104Both source components0.3104Both target components: 0.3099Both target components0.3099All components (this paper): 0.3141All components (this paper)0.3141
The numbers
System or settingBLEU4
Baseline0.3025
Context-free source0.3092
Context-based source0.3077
Context-free target0.3076
Context-based target0.3060
Both context-free components0.3109
Both source components0.3104
Both target components0.3099
All components (this paper)0.3141

On NIST 2006, the count-based source score is the strongest individual addition at 0.3092 BLEU4. The contextual source addition reaches 0.3077, close to the count-based target addition at 0.3076. The contextual target addition reaches 0.3060 against the baseline’s 0.3025. Its score is higher than the baseline, but it is the individual setting for this test set that lacks the paper’s significance mark. The other individual additions are marked significant against the baseline at p < 0.01.

On NIST 2008, the ordering of the single additions changes. The count-based target component leads at 0.2286 BLEU4, and the count-based source component scores 0.2266. The contextual target and source components reach 0.2255 and 0.2247, respectively. The baseline scores 0.2200, and the paper marks all the individual additions significant against it at p < 0.01. The contextual target component consequently has a significant result on this test set even though its NIST 2006 result lacks that mark.

The standalone results put the corpus counts in perspective. On each test set a count-based component leads the individual additions, with the stronger side changing between sets. This indicates that the added evidence need not come from a learned description of the current sentence to be useful. A recurring source pattern’s bilingual extraction support, or the general support for a target pattern, already gives useful information to the baseline. The contextual scores nevertheless perform above that same baseline in both tests. Their standalone contribution is evidence about the value of context as implemented by the classifiers, without identifying a particular feature family as the cause.

The source-side results also show that the usefulness of the new scoring is distributed across the two choices. On NIST 2006 the best individual source addition has a higher score than either individual target addition. On NIST 2008 the best individual addition is on the target side. This supports the authors’ assessment that guidance for source selection can matter about as much as guidance for target selection. The variation across the two sets leaves little basis for a fixed ranking of the sides.

Combining the evidence

On NIST 2006, combining the two count-based components gives 0.3109 BLEU4. Adding both source components gives 0.3104, and adding both target components gives 0.3099. The tested combinations all improve on the baseline at the reported significance threshold. The full system reaches 0.3141. The count-based combination is the strongest of the tested pairs on this set, which is consistent with the strength of the individual count-based components. The best result appears when contextual and count-based evidence from both sides is available.

On NIST 2008, the two count-based components give 0.2289. The source-side pair gives 0.2282, while the target-side pair reaches 0.2299. The target-side combination leads the tested pairs on that set. All three combinations are marked significant against the baseline at p < 0.01, and the full system leads at 0.2318. As with the individual results, the ranking among partial configurations depends on the test set. The full configuration retains the lead when that ranking changes.

One way to read the combined results is to compare the questions each configuration can answer. A count-based score can tell the decoder that a pattern is well supported across the corpus. A contextual score can give it evidence about a particular match. A source-side pair can answer both questions about the rule’s source pattern, while a target-side pair can bring both kinds of evidence to the choice of rendering. The full system brings all of these scores together, and the experiments show that it attains higher BLEU4 than the selected partial configurations. This is consistent with the different scores contributing useful information.

The paper’s significance marks for the component analysis apply to comparisons against the baseline. They give an evidential distinction between a setting marked significant and one that merely has a higher score. They leave the differences between neighboring component settings without a reported significance test. The full result can therefore be described as the highest observed score in both columns, with the significance of its lead over individual partial configurations left open by that analysis.

What the comparisons leave unresolved

The experiment groups changes at the level of the scoring components. A contextual classifier can use several types of features together, so the result for that classifier reflects its combined input. The authors explain that space led them to analyze components rather than individual maximum-entropy features. They also note that earlier work had examined some of those features. There is no separate result here for removing function words, grammatical tags, syntactic fit, rule format or span lengths from an otherwise fixed contextual classifier. The component results therefore cannot rank those cues.

The tested combinations also provide a partial view of interactions. They show both count-based components together and each side’s count-and-context pair, along with the full setting. A pairing of just the contextual source and contextual target components is absent. The paper also gives no series of experiments removing a single component from the full configuration and leaving the other components in place. The standalone additions show what each component can accomplish relative to the baseline. A removal experiment would address the related question of how much a component contributes when the others are already present.

This matters for interpreting the word “joint.” The factorization is part of the proposed score, and using the complete score yields the best result in the configurations tested. The component analysis supports the value of having evidence from both sides. It does not isolate the effect of multiplying the two interpolated factors from the effect of supplying all their underlying information to the decoder. A comparison that used the same evidence but varied only how it was assembled would be needed to settle that narrower question.

Limitations

Limits the authors identify

The authors describe a larger training corpus as future work. The reported experiment uses around 160K bilingual sentence pairs from FBIS, and the data construction already yields millions of instances for each classifier. They expect the maximum entropy toolkit could face difficulties with the number of examples produced by larger training data. The target negatives offer a particular reason for that concern. A source pattern with many target alternatives gives the procedure many opportunities to create a contrast for a single occurrence. Pruning low-frequency alternatives controls some of that growth in the reported setup. The paper leaves training time and practicality at a larger scale to later evaluation.

The authors also propose looking for additional useful contextual features. In the experiments they concentrate on comparing the scoring components, and they explicitly give space as the reason for omitting an analysis of individual feature types. Their conclusions about contextual evidence apply to the classifiers built from the feature groups together. The relative importance of those groups, and the value of adding new ones, remain open.

Some comparisons were also limited by implementation practicality. The paper excludes approaches built for different translation frameworks and an approach the authors considered difficult to integrate because of its many components. The reported advantage is over the baseline, XP+ and TOFW as used in the experiment. Those are concrete comparison points for a hierarchical phrase-based decoder, with results for the excluded alternatives unavailable in this setup.

Limits of what the setup can establish

The scope of the empirical claim is Chinese-to-English translation with the authors’ implementation, training data and feature design. The two NIST test sets show that the leading result recurs on separate evaluations. The experiment leaves other language directions, corpora and settings untested. Source syntax and the order in which pieces have to appear in the output are central to the feature design. Their contribution could depend on the language pair, the quality of its parses or the way its grammar is extracted. The comparison gives no basis for specifying how much of the observed gain would carry to a different setting.

The training labels reflect the grammar extraction procedure and the observed target sentences. This is what makes automatic training possible at the scale reported. It also makes the classifiers dependent on the word alignments and on the extraction criteria for defining positive and negative instances. A source match can receive a negative label because the target span is discontinuous or because a link crosses the proposed boundary. The paper’s example makes the connection to alignment explicit. The label records what the procedure licenses from the pair. It does not independently establish the linguistic quality of every source pattern or the acceptability of every possible target rendering.

There is a corresponding limit to the target negatives. The alternative chosen for a negative instance has the same source pattern and appears somewhere in the training corpus. Its absence from the extraction for the current pair provides a practical preference signal, although an acceptable translation can differ from the reference sentence observed there. The learned distinction is between the target rule supported by that extraction and alternatives drawn from other occurrences. The paper reports end-to-end translation quality and leaves the accuracy of those labels against independent judgments unmeasured.

The probability notation also has a practical limit. The initial factorization is valid for a joint distribution. The contextual source estimate then substitutes a positive-label probability for a probability over alternative source patterns. The target contextual estimate likewise comes from binary supervision over candidates. The experiments measure the utility of the resulting score in a decoder. They do not establish calibration or show that the full construction defines a normalized distribution over all competing rules and derivations. The distinction is material for a reader who wants to interpret the numerical score as a probability beyond its ranking role.

The work motivates joint selection partly by the prospect of avoiding a poor choice that looks good on one side. The BLEU4 results show that the revised scoring helps the measured output. They offer no direct measurement of search optimality or of whether the decoder finds the highest-scoring complete translation under the new score. A higher evaluation score can be established from the produced translations without identifying an optimal derivation. The paper’s search motivation and its evaluation result address these separate questions.

Finally, BLEU4 provides a common measure for the completed translations. It does not identify which rules were corrected, whether changed gap order explains particular gains, or which kinds of errors remain. The rule illustration explains how the training data are built, while the test results concern aggregate output quality. Neither gives a breakdown of the improvement by construction or error type. The experiments support adding the complete rule score to this decoder, and the component results narrow some explanations for the gain. A causal account of the improvement at the level of particular rules or linguistic cues remains open.

What came after

The authors close with plans to explore more contextual features and to test joint rule selection with a larger training corpus. They identify the growth of the classifier’s training data as a practical issue for that next step. These are proposed extensions. The paper’s account ends before any such follow-up experiments, and later work extending or testing the method is undocumented here.

Cite

Cite as Lei Cui, Dongdong Zhang, Mu Li, Ming Zhou and Tiejun Zhao. 2010. A Joint Rule Selection Model for Hierarchical Phrase-Based Translation. Proceedings of the ACL 2010 Conference Short Papers.

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

@inproceedings{cui2010joint,
  title = {{A Joint Rule Selection Model for Hierarchical Phrase-Based Translation}},
  author = {Lei Cui, Dongdong Zhang, Mu Li, Ming Zhou and Tiejun Zhao},
  booktitle = {Proceedings of the ACL 2010 Conference Short Papers},
  year = {2010},
  url = {https://aclanthology.org/P10-2002/}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/cui-2010-joint-rule-selection-model-hierarchical/