Elamur Research

Statistical Syntax-Directed Translation with Extended Domain of Locality

Paper · 2006 · Liang Huang, Kevin Knight and Aravind Joshi

Summary

A translation can use the right words and still put them in the wrong order. The problem is especially visible when a construction places its verb and participants differently in the two languages. This paper approaches machine translation by first giving the English sentence a grammatical structure, then asking which parts of that structure should be translated together. Its central proposal is to let one translation rule inspect several levels of an English parse tree. A rule can recognize a passive construction, for example, and specify where the verb and the agent should go in Chinese even when they belong to different levels of the English tree.

The system separates parsing from transfer, the stage that converts the English analysis into Chinese. It picks an English tree, then matches pieces of that tree against rules learned from a word-aligned bilingual corpus. Each rule contributes Chinese text, leaves places for translations of smaller subtrees, or does both. The order of those places determines the reordering. The authors extracted 24.7M rules from a corpus of 1.95M aligned sentence pairs. On a fixed tree, the search can find the highest-scoring sequence of rule applications in time linear in sentence length for a fixed rule set, under the paper’s analysis.

The authors also use a Chinese trigram language model and a translation length feature to choose among candidates. They first generate candidates using the translation rules alone. Because different combinations of rules can produce identical Chinese text, the algorithm keeps track of the strings it has already found and continues past repeats. The fluency and length scores can then choose among distinct translations. This second search is limited to the candidates that the first stage makes available.

The evaluation reverses the direction of part of the NIST 2003 Chinese-to-English benchmark. English reference translations become inputs, and the original Chinese sentences become the reference outputs. On 140 English test inputs, character-based BLEU at BLEU-4 was 23.54 for the phrase-based Pharaoh baseline, 24.53 for the best derivation under the direct translation score, and 26.69 when the system reranked up to 50,000 distinct candidates per input. The authors report that the last result beats Pharaoh on the test set by a sign test with p < 0.05 for BLEU-4 and p < 0.01 for BLEU-8. The comparison is preliminary. It shows that the full procedure worked on this short-sentence English-to-Chinese test, while leaving open how much of the improvement came specifically from letting rules span several levels.

Deep dive: Statistical Syntax-Directed Translation with Extended Domain of Locality

This paper uses English parse trees and rules that span several levels to reorder phrases in Chinese, then reranks distinct translations. · about 36 minutes to read

The problem and its context

When the pieces of a sentence need to move

A phrase-based translator can learn useful correspondences between contiguous stretches of text. The source phrase might include a noun with its determiner, and the target phrase can express the same material with a different number of words. The harder question is where that translated phrase belongs relative to the rest of the sentence. Moving several independently translated pieces calls for information about which pieces belong together, which roles they play, and how far apart those pieces may appear. The paper describes such reorderings as an important weakness of phrase-based translation, particularly when the two languages have very different word orders. Statistical Phrase-Based Translation

The authors relate that weakness to the formal machinery behind earlier systems. They characterize phrase-based methods as finite-state and emphasize their difficulty with nested structures and long-distance dependencies. A pair of substrings may teach a system a good local rendering. It gives the system a different kind of information from a rule that says, in effect, to take a verb from inside one constituent and place it ahead of material from another. The distinction concerns what a reusable rule can describe. A long phrase could cover a particular sentence fragment, while a structural rule can recognize the same arrangement with new words occupying its open positions.

The paper illustrates this distinction with English and Arabic before turning to its English-to-Chinese experiments. In the English analysis, the subject sits next to a verb phrase that contains both the verb and the object. The Arabic word order in the illustration puts the verb ahead of the subject and leaves the object after it. The subject therefore has to appear between the translations of the verb and the object. Treating the English verb phrase as a unit to translate and move leaves those two elements together. A rule that looks inside the verb phrase can send its verb and object to separate output positions. The example concerns the particular tree relation the paper depicts. Arabic provides an illustration of the representational problem, while the experimental comparison concerns Chinese.

How much structure one rule can see

A context-free grammar describes a tree through productions that each expand a category into its immediate children. A synchronous context-free grammar links productions on the source and target sides so that the two expansions proceed together. Variables in a linked production can appear in different orders, giving the grammar a way to express reordering. The paper’s concern is the scope of an individual paired production. When an English category contains a constituent that itself contains an item to be moved, one level of expansion can hide that item inside a unit that the paired rule treats as indivisible.

A larger elementary tree changes what the rule can see. It can start at the node for the whole clause, descend inside the verb phrase, and expose the subject, verb, and object as separate places for substitution. The authors call this an extended domain of locality. Here, locality means the portion of a tree visible to a single rule. It is a statement about where a rule stops inspecting the source analysis. A pattern can include intervening categories and words, reaching a descendant that would otherwise become visible only in a separate step.

The paper places this idea alongside synchronous tree-adjoining grammar and synchronous tree-substitution grammar. Both give a rule access to elementary structures larger than immediate expansions. The paper describes the second formalism as a restricted version of the first that omits adjunction, the operation that inserts a tree within another tree. It uses these formalisms to explain how paired structures can have different shapes. Its own task requires an English tree and a Chinese string, so the richer source pattern can be paired with a flat target template. Evidence discussed by the authors also motivates greater source-side scope on empirical grounds. The paper cites work on phrasal cohesion and rule extraction for cases where a rule restricted to one level gives an inadequate account of a bilingual correspondence. Synchronous Tree-Adjoining Grammars Phrasal Cohesion and Statistical Machine Translation

The authors take their organization from syntax-directed compilation. In that setting, a parser first turns a program into a tree, and the tree guides the production of the output code. Applied to translation, the same division gives the system a source-language analysis before it chooses the target wording. The parser can use a context-free description of English. The transfer stage then applies its own patterns to the resulting tree, including patterns that reach across several of the productions used to build it. The size of a parser production and the size of a transfer rule are independent design choices.

The paper contrasts this arrangement with the synchronous approaches it discusses from Yamada and Knight and from Chiang. Their search combines parsing and transfer and can entertain multiple source structures in a packed forest, a representation that shares common parts of alternative trees. That arrangement preserves uncertainty about how the source should be analyzed. In the paper’s account, the particular synchronous methods under comparison conduct this search using one-level paired rules. The authors choose to fix the analysis up front and give each transfer step a larger view of it. They also identify a computational tradeoff. Joint decoding had been reported to be expensive, and Chiang used aggressive pruning. A separate source parse followed by search on a fixed tree limits the work each stage has to perform. A Syntax-based Statistical Translation Model

The category labels in that fixed tree are another part of the proposal. The paper uses an English passive to compare a rule with typed substitution positions and a schematic rule whose open positions all have the same category. A sequence containing was, an intervening expression, by, and another expression can occur in a description of someone falling asleep before a time. It can also occur in a report about an action performed by an agent. The passive rule can require a past participle at the verb position and a noun phrase in the agent position, in a specified configuration. Those requirements make the rule depend on the parse as well as the visible words. The authors discuss the example in connection with Chiang’s single-nonterminal grammar and distinguish their use of linguistic categories from formally syntax-based work such as Wu’s. Stochastic Inversion Transduction Grammars and Bilingual Parsing of Parallel Corpora

The paper also compares its route with work that starts from a source sentence’s dependency parsing analysis. Dependency trees organize words by the relations between them, whereas the authors’ constituent trees group words under categories such as noun phrase and verb phrase. Both approaches can use an analysis of the source to guide translation. In the dependency work discussed in the paper, ordering is addressed by heuristics or by a separate step that decides how to arrange the output. Here, an individual rule lists its translated subtrees in target order. Choosing a rule therefore chooses a particular ordering for the material that rule covers. Dependency Treelet Translation

The method, step by step

From an English tree to a Chinese sentence

The input to transfer is a constituent tree. Its root represents the sentence, and nodes below it group the subject, the verb phrase, and smaller constituents. The leaves carry the English words and punctuation. A transfer rule has two sides. The English side is a tree pattern with some details fixed and some positions left open. The Chinese side is a sequence containing fixed output terminals and places where the translations of those open subtrees will go. The English pattern decides whether the rule applies. The Chinese sequence decides how to assemble its result.

Consider the paper’s example of a gunman killed by the police. The rule at the sentence root accepts a subject noun phrase and a verb phrase. It passes both positions on for separate translation, leaves them in their original relative order, and renders the final punctuation in Chinese. The subject subtree can be covered by a lexical rule that recognizes the determiner and noun together and supplies qiangshou. At that point the subject is resolved, and the verb phrase still has to be translated. The procedure makes decisions at different scales within the same sentence.

The passive rule starts at the verb phrase. It recognizes the fixed auxiliary was, a configuration with a past participle, and a prepositional phrase introduced by by. Its two open positions are the participle and the noun phrase beneath that preposition. It introduces bei and places the translation of the noun phrase ahead of the translated verb. The agent and verb can now be translated through their own subtrees. In the completed illustration, jingfang comes before jibi, while qiangshou remains at the front. The root rule handled the outer arrangement and punctuation. The passive rule handled the order inside the predicate.

This example shows what it means to match several levels at once. There are intervening source nodes between the root of the passive pattern and the noun phrase for the agent. Those nodes can be part of the pattern even though they have no corresponding named position in the Chinese output. The rule refers directly to the agent’s open position. The words inside that open subtree can vary so long as they fit the rule’s category requirement. A rule anchored to particular source words can therefore remain productive over other parts of the sentence.

From an English sentence to a selected Chinese translation

The steps in order.

From an English sentence to a selected Chinese translationStep 1: Choose the highest-scoring English parse1. Choose the highest-scoring English parseStep 2: Match transfer rules against its subtrees2. Match transfer rules against its subtreesStep 3: Cache scores and share alternative derivations3. Cache scores and share alternative derivationsStep 4: Extract distinct Chinese candidates in score order4. Extract distinct Chinese candidates in score orderStep 5: Rerank candidates using fluency and length5. Rerank candidates using fluency and lengthStep 6: Return the highest-scoring candidate6. Return the highest-scoring candidate

What the transducer permits

The formal device is a tree-to-string transducer, meaning that its input is a tree and its output is a sequence. The paper uses a restricted extended transducer called 1-xRLNs. The initial digit indicates that it has one state. The letters L and N refer to linear and non-deleting treatment of variables. A variable marks an open position that will be filled by a subtree and whose translation will be inserted into the output. The restrictions require that each variable used by a rule occur once on the source side and once on the target side. The rule can move the translation of that subtree. It has no operation to copy a variable’s translation into multiple positions or omit it.

This constraint concerns variables. Fixed source and target words can differ, as the passive example shows. The English pattern incorporates the auxiliary and preposition as tests of the construction, and the output supplies bei. The rule represents the conversion jointly. Its ability to account for fixed source material and its obligation to preserve each open position are compatible.

(N, Σ, Δ, R)

The tuple specifies the transducer. N is the set of nonterminal symbols, including the grammatical categories used inside trees. Σ is the input alphabet, whose terminals include the English words that a pattern can require. Δ is the output alphabet, from which the fixed target terminals are drawn. R is the set of transfer rules. Parentheses group the components.

(t, s, φ)

This tuple specifies an individual rule. The symbol t is its English tree pattern. The symbol s is its Chinese-side template, and φ assigns a source category to each variable of the rule. The interior nodes of t have nonterminal labels. Its frontier contains fixed source terminals or substitution positions. To use a substitution position, the root of the subtree found there must have the category given by φ.

s ∈ (X ∪ Δ)∗

Here X is the set of variables used in the rule, and Δ is the output alphabet. The sign ∪ takes their union, so either kind of symbol can occur in s. The star denotes finite sequences over those symbols, including the empty sequence. The sign ∈ says that s belongs to that set. The separate once-per-side requirement still governs every variable in X.

rank(r) = |X|

In this expression r is the rule, and |X| is the number of its variables. A rule has rank zero when all its English material is fixed. The rule that supplies qiangshou for the subject subtree is an example. Its output is a complete string for that portion of the tree. Lexical rules of this sort give the transducer a way to perform a phrasal translation. Rules with higher rank can combine phrasal results and choose their order. Rank counts the open positions, so a rule that descends through many fixed nodes can have only a few variables.

The paper writes category assignments directly beside the variables in its examples. In the passive pattern, VBN labels the past-participle position, and NP-C labels the noun-phrase position. The fixed intervening nodes and words are also checked. Consequently the rule specifies more than a list of categories that may occur somewhere below a verb phrase. It describes the paths to its substitution positions through a particular tree fragment. A matching algorithm has to find those positions in the given configuration.

How rule applications form a derivation

Each sequence of compatible rule applications can be represented as a derivation tree. Its nodes record rules chosen during translation. A child of a rule application gives the translation of a source subtree at one of the parent rule’s open positions. This tree records the translator’s decisions. The English parse records the grammatical analysis. The two structures can differ because a single node in the derivation may correspond to several levels of the parse.

The paper defines two projections from a derivation, one yielding the assembled English tree and the other yielding the assembled Chinese string. At a lexical rule the interpretation is immediate.

E(d) = t

Here d is a derivation consisting of the lexical rule alone, E is the source projection, and t is that rule’s English tree. The equality says that the rule provides the whole source fragment at this point, since no variables remain to be expanded.

C(d) = s

The capital C denotes the target projection, d is the same lexical derivation, and s is the rule’s output string. The output is ready to insert into a parent template.

Rules with variables add a compatibility condition.

ρ(E(dᵢ)) = φ(xᵢ)

The function ρ returns a tree’s root symbol. E(dᵢ) is the source tree produced by the subderivation dᵢ. The subscript i identifies the corresponding rule position, xᵢ names its variable, and φ(xᵢ) gives the category required at that position. The equality requires the two categories to agree.

d = r(d₁, …, dₘ)

Here r is the parent rule, d is the resulting derivation, and d₁ through dₘ are its subderivations for the m variables. The ellipsis indicates the intervening subderivations in variable-index order. The order in which their target strings are printed is specified separately by the target template.

E(d) = [xᵢ ↦ E(dᵢ)]t

E(d) is the complete source projection of the composed derivation. The bracketed notation says to replace each variable xᵢ in the rule’s tree t with the source projection E(dᵢ) of its child derivation. The arrow ↦ identifies the substitution, and i ranges over the variables in the rule. Filling the pattern in this way reconstructs the relevant portion of the English parse.

C(d) = [xᵢ ↦ C(dᵢ)]s

C(d) is the composed Chinese output. The same variable xᵢ now receives the string C(dᵢ), and substitution takes place in s, the target template. The bracketed arrow again describes the replacement for every variable. The template can list variables in a different order from their appearances in t, which is how the rule reorders their translations.

There can be several derivations for the very same pair of projections. The passive example has one derivation with a rule that handles the verb phrase down through by. The paper gives another in which a verb-phrase rule makes room for a separate prepositional-phrase rule. The verb-phrase rule puts the prepositional phrase’s output before the verb. The separate lower rule introduces bei and supplies the agent translation after it. Both derivations assemble the same English parse and produce the same Chinese string. They differ in which details one rule handles and where another rule takes over. That difference will matter when the search asks for more than the best derivation.

Learning rules and assigning translation probabilities

Training starts from aligned bilingual sentences. The authors use GIZA++ for word alignment and a variant of a Collins parser to analyze English. The alignment links words across each sentence pair. The parse shows which English words and constituents belong to possible source tree fragments. The rule extraction procedure from Galley and colleagues uses both forms of information to obtain the tree-to-string rules. The paper adopts that procedure and describes it as linear time. Its own discussion of the extraction is enough to identify the inputs and products. The central search contribution starts with the resulting inventory and observed rule counts.

The bilingual material also supplies the Chinese sequences for a separate fluency score. The authors train a trigram distribution on the Chinese side using the SRI Language Modeling Toolkit and Kneser–Ney smoothing. A trigram uses a word’s limited preceding context to assess how it fits in a sequence. Smoothing gives the resulting estimates a way to deal with combinations that have little or no direct evidence in the training corpus. This component looks at the target sequence, whereas the rule counts describe choices of transfer operations associated with English structure.

The formal starting point is a direct conditional probability of the translation given the English input.

c∗ = argmax_{c} Pr(c | e)

Here e is the English sentence, c ranges over Chinese candidate sentences, and c∗ denotes the selected candidate. Pr is probability, and the bar means “given.” The operator argmax returns the candidate that maximizes the expression. This objective starts from the sentence the user wants translated and scores possible outputs conditioned on it.

To connect that objective to a parse, the paper writes a sum over possible English trees.

Pr(c | e) = ∑_{τ ∈ T(e)} Pr(τ, c | e)

The symbol τ denotes an English parse tree, and T(e) is the set of parses that yield e, the English input. The summation ∑ ranges over τ belonging to that set, as indicated by ∈. The term Pr(τ, c | e) gives the joint conditional probability of the tree and the Chinese string c given e. The left side is the resulting conditional probability assigned to the output string.

Pr(c | e) = ∑_{τ ∈ T(e)} Pr(τ | e) Pr(c | τ)

In this factorization Pr(τ | e) scores an English parse τ given the input e, and Pr(c | τ) scores the Chinese string c given that parse. T(e), ∑, and ∈ define the same summation domain. The adjacent terms indicate multiplication. The tree yields the source words and provides the source representation from which the converter works.

The implementation replaces the sum over trees with a decision made by the parser.

τ∗ = argmax_{τ ∈ T(e)} Pr(τ | e)

The star identifies the chosen parse τ∗. The argmax searches the source parses τ in T(e), and Pr(τ | e) supplies their parser scores for the sentence e. This decision is made completely on the English side. The Chinese score comes into play once the tree has been selected.

c∗ = argmax_{c} Pr(c | τ∗)

Here τ∗ is the fixed English tree, c is a candidate Chinese string, and c∗ is the maximizing output under Pr(c | τ∗). The search variable is now the translation. The paper calls the move from summing over trees to using the best source parse a Viterbi approximation. The system takes the single analysis favored by the parser as the basis for all transfer choices.

There is a second summation implicit in grouping derivations by the Chinese text they produce. The authors make another approximation and search for the best individual derivation.

D(τ∗) = {d | E(d) = τ∗}

D(τ∗) is the set of derivations compatible with the selected parse. The braces form a set, and the bar within the braces reads “such that.” Each d in the set must have a source projection E(d) equal to τ∗. The set can contain derivations with the same target projection as well as derivations with different target projections.

c∗ = C(d∗) = C(argmax_{d ∈ D(τ∗)} Pr(d))

The chosen derivation is d∗, and c∗ is its Chinese projection under C. The argmax compares the probabilities Pr(d) of derivations d in D(τ∗), the admissible set for the selected English tree. In this approximation, a sentence supported by several derivations is represented in the decision by its best derivation. Summing probability across those derivations could change the ranking.

Pr(d) = ∏_{r ∈ d} Pr(r)

Here Pr(d) is the direct score of a derivation, and Pr(r) is the probability for an applied rule r. The product sign ∏ multiplies a factor for each rule application in d, counting repeated applications separately. The product uses the assumption that the rule choices in the derivation are scored independently. The parse and the pattern matches still constrain which combinations of rules can occur.

Pr(r) = Pr(t(r), s(r) | ρ(t(r)))

The symbols t(r) and s(r) denote the source pattern and target template of rule r. The expression ρ(t(r)) is the root category of its source pattern. Pr(r) is the probability of the transfer choice conditioned on that category. Rules rooted at the same category share the denominator that normalizes their counts.

Pr(r) = c(r) / ∑_{r′ : ρ(t(r′)) = ρ(t(r))} c(r′)

The numerator c(r) is the training count of rule r. Here c with a rule argument denotes a count, while c on its own in the translation objective denotes a Chinese string. The slash indicates division. The sum ranges over rules r′ whose source root category matches that of r. The colon in the subscript introduces that restriction, and ρ and t retain their meanings as the root function and the source pattern. Thus the denominator contains the counts of rules in the corresponding source-root group.

Searching the fixed tree

The direct score allows a local decision to be reused. Start at an English tree node and consider every appropriate rule whose source pattern matches the subtree rooted there. The substitution positions identify smaller subproblems. For each one, retrieve or compute the best translation of the associated subtree. Multiply their scores by the probability of the parent rule. The target template specifies how to arrange the corresponding strings. After comparing the matching rules, keep the greatest score and the translation associated with it.

For a particular parent rule, substituting a better-scoring derivation at a child position can only improve or preserve the product. This is the reason the search can remember one best result for each subtree in the direct case. A child’s best analysis can be reused even when a different parent rule reaches it through a different pattern. The parent may send the child’s translation to a different position, and this reordering alone leaves the child’s probability factor as it was. Under the direct score, the surrounding target words have no further influence on that factor.

Without reuse, the search would revisit the same nodes through many different decompositions of the English tree. The direct algorithm stores a subtree’s best result the first time it computes it, a technique called memoization. When a later rule application asks for the same result, the algorithm can look it up. The search retains the advantages of a recursive description while avoiding a separate computation for each possible derivation of the full sentence.

O(npq)

This is the paper’s time bound for finding the best derivation on the fixed tree. The symbol O gives the asymptotic order of the running time. Let n denote the size of the source parse tree, p the greatest number of rules that can apply at a single node, and q the largest size an applicable rule can have. Juxtaposition indicates multiplication. With the rule inventory fixed, the paper treats p and q as constants and takes n to be proportional to sentence length. The bound concerns the direct transfer calculation. Parsing and generation of an extended candidate list are additional operations.

A translation composed from individually good rule choices can have awkward word sequences where the pieces join. A trigram can assess some of those connections because it sees Chinese words in their final order. The desired local choice can now depend on what an adjacent subtree contributes. The derivation that has the best direct score at a child position can lose its advantage once its output appears next to words supplied by the parent or another child. That makes exact search with a target context score more expensive.

The paper combines the direct score, target sequence probability, and length in a weighted objective of the kind discussed by Och and Ney. It displays the string-level objective as follows. The notation here distinguishes the exponential function from the earlier use of e for the English sentence. Discriminative Training and Maximum Entropy Models for Statistical Machine Translation

c∗ = argmax_{c} Pr(c | e)ᵅ · Pr(c)ᵝ · exp(−λ|c|)

The argmax returns the Chinese string c∗ that maximizes the product over candidates c. Pr(c | e) is the translation probability given English input e, and Pr(c) is the Chinese trigram probability. The superscripts α and β are the respective weights. The centered dots denote multiplication, exp is the natural exponential, and |c| is the length of the translation. The parameter λ controls the length term. There is a sign inconsistency in the paper. Its displayed minus sign makes the length factor smaller for longer strings when λ is positive, whereas the explanation says a positive λ favors longer outputs. The printed formula and the stated length-bonus convention therefore give opposite effects for the same sign.

The corresponding derivation objective uses the direct derivation score where the string formula uses the conditional translation probability.

d∗ = argmax_{d ∈ D(τ∗)} Pr(d)ᵅ · Pr(C(d))ᵝ · exp(−λ|C(d)|)

Here the argmax would choose d∗ from derivations d in D(τ∗), the set for the chosen English tree. Pr(d) is the direct product of rule probabilities, and C(d) is the Chinese string produced by d. Pr(C(d)) is the trigram probability of that string, and |C(d)| is its length. The weights α, β, and λ and the operations denoted by the dots and exp are the same as in the string-level formula, including the printed minus sign. Turning the objective into a practical search involves another approximation. The system first uses the direct score to generate candidates, then adds the trigram and length features to rerank those candidates.

Asking for more than one distinct output

The implementation uses the direct search to build a derivation forest. The forest represents options compactly by sharing the parts of the search that several derivations have in common. The paper describes it as a hypergraph. A vertex corresponds to a subproblem such as translating an English subtree, and a hyperedge for a rule can connect that subproblem to several children at once. Selecting the edge commits to the rule and calls for translations at each of its open positions. The resulting structures can be packed in the forest even when listing all their derivations would be impractical.

The authors adapt an existing procedure for finding the k best derivations of a monotonic hypergraph. The forward phase prepares the best derivation. The backward phase retrieves additional derivations as they are requested. Here k is the requested candidate count. The rule probability product gives an ordering for this first pass. A request for a lower-ranked derivation can explore alternatives for a rule, for its children, or for both, with the forest providing shared access to those choices.

The ranking of derivations and the ranking of distinct strings serve different purposes. Two derivations of the passive example differ in their allocation of work between rules, but they give the trigram identical text and have the same output length. If many similar duplicates appear, a list bounded by derivations can contain relatively few alternatives for the reranker. The paper calls this spurious ambiguity. In this setting it arises because different decompositions of a source tree can converge on the same output. The meaningful unit for diversity is the Chinese string.

The change is to keep a hash table of accepted strings at every vertex. A hash table lets the procedure check whether it has already encountered the string produced by a candidate derivation. On a request for another result, the algorithm checks the next derivation’s string against that vertex’s table. If the string has appeared, the procedure continues down the derivation ranking until it encounters a new string or exhausts the possibilities. The new string is recorded and can be returned to a caller. At the root, each returned string takes only one position in the list offered to the reranker.

The first time a string appears in a probability-ordered enumeration, it has a representative with the highest direct score encountered for that string. Its other derivations add no new fluency evidence, since the reranker sees the same sequence. The procedure uses the direct ranking to choose the representative rather than accumulating probability over all its derivations. The authors contrast their approach with transforming the forest into an equivalent deterministic representation, which can make the forest much larger in the worst case. Their method keeps the shared representation and handles duplicate candidates during retrieval. They also suggest that the same approach could use another equivalence criterion, such as equality of derived trees. The experiment uses equality of output strings.

Experiments and results

Training data and construction of the evaluation set

The parallel training corpus contains 1.95M aligned sentence pairs, with 28.3M words on the English side. The rule extraction pipeline yields 24.7M xRs rules. The Chinese side also serves as training material for the word-based trigram. The transfer and fluency components therefore learn from different views of the bilingual corpus. The transfer component gets source trees and cross-language word correspondences. The fluency component gets Chinese word sequences.

The test direction is English to Chinese. For their evaluation, the authors select 140 Chinese sentences of under 25 Chinese words apiece from the Xinhua subset of the 2003 NIST Chinese-to-English set. They divide the Chinese originals into development and test sets with 70 Chinese sentences in each. The first and second English references for each original serve as the two inputs associated with it. The original Chinese serves as the single reference for each of those English inputs. There are 140 English inputs on the development split and 140 on the test split. The paper describes the resulting test as blind. Evaluation and benchmarks

This construction separates tuning from testing at the level of the Chinese originals. It also means that two English inputs in a split can share a Chinese reference. The English inputs provide alternative ways to express the same original content. Each translation run still starts from one English sentence and produces a Chinese output to compare with its reference. The reported count of English inputs describes the number of translation instances. The count of Chinese originals describes the amount of distinct reference material in the split.

Systems, selection, and scoring

The phrase-based comparison system is Pharaoh, with its weights tuned for BLEU on the development set. The authors use standard minimum error-rate training for that baseline. Within the tree-based approach they report the best derivation under the direct probability score, then report a reranked result for each of two candidate-list sizes. The direct system and the reranked runs start from the same kind of fixed English parse and the same transfer machinery. Building the derivation forest also makes the best direct translation available before distinct-string retrieval starts.

For the reranked system, the translation weight is fixed at α = 1. That leaves β, the Chinese trigram weight, and λ, the length parameter. The authors search a grid of β values. At a given β, they use binary search for a λ that makes the development output’s length ratio as close as possible to 1 against the reference. The feature choices are tuned on development BLEU-4. At k = 5000, they report β = 0.994 and λ = 0.513. At k = 50,000, they report β = 0.793 and λ = 0.469. The settings matter when interpreting the effect of list size, because the two experiments also use different fitted weights.

The evaluation uses character-based BLEU, with the original Chinese as the single reference. The use of characters removes dependence of the reported scores on the choice of Chinese word segmentation. It is distinct from the representation used for the trigram, which scores words. BLEU-4 includes matching sequences through 4-grams, while BLEU-8 extends the comparison to longer matching sequences. Both evaluation variants are calculated on Chinese characters. The systems were tuned for BLEU-4, and the paper reports BLEU-8 on the test split as an additional outcome. Tokenization and segmentation N-gram

Development and held-out scores

On the development split, Pharaoh has character-based BLEU-4 of 25.96 ±2.8, and the direct result is 22.10 ±2.6. Reranking at k = 5000 gives 26.01 ±2.7, and reranking at k = 50,000 gives 26.95 ±2.8. Thus the direct score alone puts the tree-based system below Pharaoh on this split. The reranked outputs reach the baseline’s range, and the larger-list setting has the highest development point estimate. Since the development data were used to choose the features’ weights, the held-out comparison gives the separate check on those choices.

English-to-Chinese test results on reversed NIST 2003 Xinhua, character-based BLEU-4

The larger distinct-candidate list gives the highest score after reranking.

English-to-Chinese test results on reversed NIST 2003 Xinhua, character-based BLEU-4Pharaoh: 23.54Pharaoh23.54Direct transfer, 1-best: 24.53Direct transfer, 1-best24.53Reranking, k = 5000: 25.74Reranking, k = 500025.74Reranking, k = 50,000 (this paper): 26.69Reranking, k = 50,000 (this paper)26.69
The numbers
System or settingBLEU-4
Pharaoh23.54
Direct transfer, 1-best24.53
Reranking, k = 500025.74
Reranking, k = 50,000 (this paper)26.69

On the test split, the character-based BLEU-4 interval is ±1.9 for Pharaoh and ±2.2 for direct transfer. It is ±2.3 for reranking at k = 5000 and ±2.4 for reranking at k = 50,000. The intervals in the paper are 95% confidence intervals. The direct result has a higher test point estimate than Pharaoh, reversing their development ordering. Reranking gives higher point estimates than direct transfer on both splits.

English-to-Chinese test results on reversed NIST 2003 Xinhua, character-based BLEU-8

Reranking with the larger list also leads on the measure that includes longer character sequences.

English-to-Chinese test results on reversed NIST 2003 Xinhua, character-based BLEU-8Pharaoh: 6.739Pharaoh6.739Direct transfer, 1-best: 7.309Direct transfer, 1-best7.309Reranking, k = 5000: 8.489Reranking, k = 50008.489Reranking, k = 50,000 (this paper): 9.323Reranking, k = 50,000 (this paper)9.323
The numbers
System or settingBLEU-8
Pharaoh6.739
Direct transfer, 1-best7.309
Reranking, k = 50008.489
Reranking, k = 50,000 (this paper)9.323

For test BLEU-8, the reported intervals are ±1.2 for Pharaoh and ±1.9 for direct transfer. The reranked scores have intervals of ±2.1 at k = 5000 and ±2.2 at k = 50,000. All the test point estimates have the same relative ordering at BLEU-4 and BLEU-8. The latter measure includes longer strings of characters, so the improvement in the full system is visible when the evaluation gives those longer matches a role.

The paper reports a sign test comparing Pharaoh with the k = 50,000 reranked result on the test split. It gives p < 0.05 for BLEU-4 and p < 0.01 for BLEU-8. The test follows a procedure suggested in the cited work on clause restructuring. Those are the explicit thresholds given for the comparison with the phrase-based baseline. They provide evidence for the practical outcome of the full pipeline under this evaluation. The result applies to an architecture that selects one source analysis, generates alternatives from extended rules, and uses target-side scores in the final selection. Clause Restructuring for Statistical Machine Translation

What the ablations show

Direct scoring compared with reranking

The paper does not report a component-by-component ablation. Its evidence comes from comparisons of complete and intermediate system settings, a change in the size of the reranking list, and worked examples of what the rules can express. The closest comparison to an ablation is the direct best derivation versus reranking. Both use the same transfer formalism and source analysis. The direct result picks a translation using rule probabilities, while the reranked results consider additional strings and incorporate both the Chinese trigram and length.

Reranking improves the score on the development and test splits. The authors describe the reranked outputs as significantly better than the direct outputs on both. This comparison shows that asking the transfer search for alternatives and then evaluating their target sequences improves on selecting the best derivation on its direct score alone. It supplies evidence that useful alternatives are already present in the forest. Some of those alternatives can move ahead of the direct winner under the combined selection criterion.

The comparison changes several things together. The trigram and length terms act jointly, and their capacity to change the result depends on the candidates they receive. A run that kept only the trigram in reranking could assess how much of the change that term accounts for. A separate length-only run could assess the effect of length. The reported direct-versus-reranked contrast gives the combined result of these operations. Its numbers support the combined procedure and leave the contribution of each feature unresolved.

Smaller and larger candidate lists

The two reported list sizes give a comparison within the same general reranking procedure. On the development split, BLEU-4 is 26.01 at k = 5000 and 26.95 at k = 50,000. The corresponding test BLEU-4 values are 25.74 and 26.69. Test BLEU-8 also rises, from the reported 8.489 to 9.323. Each of these comparisons describes point estimates under the feature settings chosen for that list size. They show a consistent gain across the reported metrics and splits when the authors use the larger setting.

One interpretation is that the direct score puts some candidates worth selecting below the cutoff of the smaller list. The target features then have a chance to promote them in the larger search. The change in fitted weights also matters. The two list sizes give different values for both β and λ, so the larger-list experiment allows the interval of available candidates and the selection rule to change together. A comparison holding the weights fixed would isolate the effect of expanding the candidate pool more closely. The reported comparison establishes that the larger tuned configuration performed better in this experiment.

The authors motivate distinct-string extraction by observing that competing derivations can have identical yields and that many highly ranked derivations can therefore represent few outputs. The passive example establishes how that redundancy arises. The evaluation has no paired run that fills the same number of list positions with derivations that may repeat their output. The BLEU results consequently measure the performance of reranking lists already made distinct. The incremental gain attributable to deduplication is unmeasured.

Structural examples and what they establish

The examples give a separate kind of evidence. The English–Arabic illustration shows why access to descendants of a verb phrase matters for a rule that needs to separate the verb from the object when it places the subject. The English passive shows how a multi-level source pattern can tie a reordering to a specific set of grammatical conditions. The example involving sleep and sunset shows why the words was and by provide inadequate evidence on their own. Together the cases explain what the rule inventory is permitted to express and how matching conditions can make that expression more selective.

The two passive derivations expose a further distinction. A long rule and a series of shorter rules can sometimes realize the same output. The example therefore supports the case for having a choice among rule decompositions and for recognizing duplicate yields during search. To estimate how much the larger patterns contribute to test quality, a more controlled comparison would use the same tree-based pipeline with a restriction on rule depth. The Pharaoh comparison changes the underlying translation formalism and search procedure at the same time. The results support the usefulness of the system with extended rules, while the examples identify a plausible mechanism without measuring its share of the gain.

Limitations

Limits the authors identify

The authors present the English-to-Chinese results as preliminary. They give the availability of a sufficiently good Chinese parser as part of the reason for working in this direction. The architecture needs a source analysis at the beginning of translation. Reversing the task would require the Chinese side to provide the kind of structure on which the transfer stage relies. The experiment establishes a result for English as that source and Chinese as the output.

The authors also identify commitment to one parse as a weakness. A source parser can make an error that affects the rules available during transfer. A rule expecting a particular constituent configuration can become unavailable when that configuration is missing. Conversely, the chosen tree can make a misleading rule applicable. The downstream search considers alternative decompositions of the chosen tree, and those alternatives all inherit its analysis. The authors propose translating the top k parses as future work so that a lower-ranked but useful analysis can contribute translation candidates.

Another stated direction is to integrate the target sequence score into search more directly. In the reported system, this score can favor an output only if the direct transfer search already places that output within the retained list. The best combined score may belong to a string below the cutoff. The results from increasing the list size are consistent with the cutoff continuing to matter at the sizes tested. The authors were investigating ways to include the target sequence evidence during search, where it could influence which candidates survive in the first place.

Limits visible in the setup

The evaluation contains short news sentences selected from a particular portion of one benchmark. Each split has 70 distinct Chinese originals, and the test inputs are English references written for those originals. That is valuable material for setting up a held-out test in the desired direction. It also limits what can be inferred about translation of independently authored English, substantially longer text, or other domains. The same qualification applies to the formal discussion of language pairs. The Arabic example illustrates a structural relation the rule can express. The empirical comparison covers English and Chinese.

Each Chinese source original in the benchmark gives rise to two English inputs with a common target reference. As a result, the test has more translation instances than independent Chinese originals. With a single reference per input, BLEU judges candidate strings by overlap with the particular original selected for that instance. Grammatically sound alternatives can use different wording. The paper reports the aggregate character-overlap measures and significance thresholds. It gives no separate human assessment of adequacy or fluency and no separate score for sentences whose successful translation depends on a particular reordering.

The formal speed bound also has a narrower scope than overall system speed. It is for finding the best direct derivation with a fixed parse and fixed rule set under the paper’s assumptions about applicable rules. The English parser, forest construction as used by the implementation, extraction of distinct alternatives, and reranking all matter to the time required for the full procedure. Duplicate filtering guarantees distinct returned strings, while the amount of work needed to find the next one depends on how many duplicate derivations the search encounters. The paper gives a complexity argument for direct transfer and reports translation scores for the complete systems. It provides no timed comparison that would quantify the end-to-end cost of its larger reranking run against Pharaoh.

Finally, the probability approximation affects how to read the word “best.” The parser chooses a single tree using English-side evidence. The direct stage chooses an individual derivation without summing over all derivations yielding the same output. The reranker then chooses from the distinct strings supplied by the direct stage. Each decision is defined precisely for its own search. Together they give the reported translations without establishing an exact solution to the original conditional objective. The inconsistency between the printed length exponent and its verbal description also leaves the precise sign convention in the implemented reranker unresolved.

What came after

Search and extraction over forests

The later work most directly aligned with the paper’s stated search agenda is Forest Rescoring. Its title identifies integrated target-language scoring and faster decoding as its subject. The connection is the stage at which target context can affect the search. The earlier procedure selects a list using direct transfer scores and lets the trigram act on the completed strings. Forest rescoring takes the packed search space as the focus for incorporating that evidence. The line of work addresses the gap between having useful candidate evidence and allowing that evidence to guide decoding.

Forest-Based Translation takes up the other prominent boundary, the choice of source representation. In the earlier paper, the forest built during transfer represents alternative derivations of a single English parse. A forest-based translation approach brings the forest into the translation problem itself. That shift is directly related to the authors’ interest in retaining alternatives to the best parse. It makes the packed representation of alternatives central to translation, where syntactic uncertainty can influence the availability of transfer rules.

Forest-based Translation Rule Extraction addresses a different stage in the same pipeline. The earlier experiment extracts rules after aligning the bilingual text and parsing the English sentences. Its choice of analysis affects which source fragments extraction can see. The later title puts the forest at the extraction stage. This brings the question of structural alternatives into the acquisition of the rules themselves. Forest use at training and forest use at translation concern different decisions, since one governs what rules can enter the inventory and the other governs what those rules can match on an input.

The later Travatar work presents a forest-to-string machine translation engine based on tree transducers. Its stated scope brings the forest representation and the transducer together in one engine. The most direct connection is the output interface. As in the earlier tree-to-string approach, the result is a target string produced through structured transfer. The stated input scope changes from a tree to a forest, making the handling of multiple possible analyses part of that interface.

Reordering and the role of syntax on both sides

Chinese Syntactic Reordering follows the question of how Chinese syntax can inform the ordering choices in statistical translation. The earlier article’s experiments focus on obtaining Chinese order from English constituent trees, with the order of the target template specified by each rule. The later title makes Chinese syntactic reordering its own subject. The shared question is how syntactic structure can help determine the positions of translated material. A citation and a title establish this thematic connection. They give no basis for attributing the earlier passive rule or the same transfer algorithm to the later work.

Learning to Translate with Source and Target Syntax places linguistic structure on both sides of the translation problem. The earlier paper deliberately gives the English rule a structured tree fragment and gives the Chinese rule a sequence template. A study of learning with both source and target syntax addresses how structural information on the output side could take part in the translation process. That connection is distinct from adding a trigram. The trigram evaluates local sequences in a string, while target syntax concerns the structure assigned to the material in that string.

Two Languages are Better than One (for Syntactic Parsing) approaches the relationship between parsing and bilingual evidence from the other direction. The translation system first assigns an English analysis and then uses it to support a bilingual task. The later title makes syntactic parsing the task that can benefit from two languages. This places the relationship between the languages upstream, where it can inform analysis. The connection concerns the direction of information between parsing and bilingual processing, instead of a documented reuse of the translation objective or search procedure.

A Learning-Based Dependency to Constituency Conversion Algorithm for the Turkish Language addresses the conversion of one kind of syntactic representation into another. The earlier paper’s rule patterns depend on constituent boundaries and distinguishes that representation from the dependency trees used by several related translation approaches. The Turkish work’s title makes that representational difference the object of a learning problem. Its connection lies in how the choice of syntactic representation shapes the operations available downstream. The documented subject is conversion between analyses of Turkish, and the citation alone leaves open the particular role the earlier paper plays in that method.

 Institutions

 Fields, topics and concepts

Cite

Cite as Liang Huang, Kevin Knight and Aravind Joshi. 2006. Statistical Syntax-Directed Translation with Extended Domain of Locality. Proceedings of the 7th Conference of the Association for Machine Translation in the Americas: Technical Papers.

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

@inproceedings{huang2006statistical,
  title = {{Statistical Syntax-Directed Translation with Extended Domain of Locality}},
  author = {Liang Huang, Kevin Knight and Aravind Joshi},
  booktitle = {Proceedings of the 7th Conference of the Association for Machine Translation in the Americas: Technical Papers},
  year = {2006},
  url = {https://aclanthology.org/2006.amta-papers.8/}
}

References

33 references, 12 of them with a card of ours. Each entry links to our card when we hold the work, else to OpenAlex and Google Scholar searches for it.

  1. A. V. Aho and S. C. Johnson. 1976. Optimal code generation for expression trees. J. ACM, 23(3):488– 501. OpenAlex ↗ · Scholar ↗
  2. Alfred V. Aho and Jeffrey D. Ullman. 1972. The Theory of Parsing, Translation, and Compiling, volume I: Parsing. Prentice Hall, Englewood Cliffs, New Jersey. OpenAlex ↗ · Scholar ↗
  3. Peter F. Brown, Stephen A. Della Pietra, Vincent J. Della Pietra, and Robert L. Mercer. 1993. The mathematics of statistical machine translation: Parameter estimation. Computational Linguistics, 19:263–311. OpenAlex ↗ · Scholar ↗
  4. Eugene Charniak. 2000. A maximum-entropy-inspired parser. In Proc. of NAACL, pages 132–139.
  5. David Chiang. 2005. A hierarchical phrase-based model for statistical machine translation. In Proc. of the 43rd ACL.
  6. Michael Collins, Philipp Koehn, and Ivona Kucerova. 2005. Clause restructuring for statistical machine translation. In Proc. of ACL.
  7. Michael Collins. 1999. Head-Driven Statistical Models for Natural Language Parsing. Ph.D. thesis, University of Pennsylvania. OpenAlex ↗ · Scholar ↗
  8. Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, and Clifford Stein. 2001. Introduction to Algorithms. MIT Press, second edition. OpenAlex ↗ · Scholar ↗
  9. Yuan Ding and Martha Palmer. 2005. Machine translation using probablisitic synchronous dependency insertion grammars. In Proceedings of the 43rd ACL. OpenAlex ↗ · Scholar ↗
  10. Jason Eisner. 2003. Learning non-isomorphic tree mappings for machine translation. In Proceedings of ACL (companion volume), pages 205–208.
  11. Heidi J. Fox. 2002. Phrasal cohesion and statistical machine translation. In In Proc. of EMNLP.
  12. Michel Galley, Mark Hopkins, Kevin Knight, and Daniel Marcu. 2004. What’s in a translation rule? In HLT-NAACL. DOI ↗
  13. F. Gécseg and M. Steinby. 1984. Akadémiai Kiadó, Budapest. Tree Automata. OpenAlex ↗ · Scholar ↗
  14. Jonathan Graehl and Kevin Knight. 2004. Training tree transducers. In HLT-NAACL, pages 105–112.
  15. Liang Huang and David Chiang. 2005. Better k-best Parsing. In Proceedings of the Nineth International Workshop on Parsing Technologies (IWPT-2005), 9-10 October 2005, Vancouver, Canada. OpenAlex ↗ · Scholar ↗
  16. E. T. Irons. 1961. A syntax-directed compiler for AL-GOL 60. Comm. ACM, 4(1):51–55. OpenAlex ↗ · Scholar ↗
  17. Aravind Joshi and Yves Schabes. 1997. Tree-adjoining grammars. In G. Rozenberg and A. Salomaa, editors, Handbook of Formal Languages, volume 3, pages 69 – 124. Springer, Berlin. OpenAlex ↗ · Scholar ↗
  18. Philipp Koehn, Franz Joseph Och, and Daniel Marcu. 2003. Statistical phrase-based translation. In Proc. of HLT-NAACL, pages 127–133. OpenAlex ↗ · Scholar ↗
  19. Philipp Koehn. 2004. Pharaoh: a beam search decoder for phrase-based statistical machine translation models. In Proc. of AMTA, pages 115–124. OpenAlex ↗ · Scholar ↗
  20. Shankar Kumar and William Byrne. 2003. A weighted finite state transducer implementation of the alignment template model for statistical machine translation. In Proc. of HLT-NAACL, pages 142–149. OpenAlex ↗ · Scholar ↗
  21. P. M. Lewis and R. E. Stearns. 1968. Syntax-directed transduction. Journal of the ACM, 15(3):465–488. OpenAlex ↗ · Scholar ↗
  22. Dekang Lin. 2004. A path-based transfer model for machine translation. In Proceedings of the 20th COLING. OpenAlex ↗ · Scholar ↗
  23. Jonathan May and Kevin Knight. 2006. A better nbest list: Practical determinization of weighted finite tree automata. In Proc. of HLT-NAACL 2006. OpenAlex ↗ · Scholar ↗
  24. Mehryar Mohri and Michael Riley. 2002. An efficient algorithm for the n-best-strings problem. In Proceedings of the International Conference on Spoken Language Processing 2002 (ICSLP ’02), Denver, Colorado, September. OpenAlex ↗ · Scholar ↗
  25. Franz Josef Och and Hermann Ney. 2002. Discriminative training and maximum entropy models for statistical machine translation. In Proc. of ACL.
  26. F. J. Och and H. Ney. 2004. The alignment template approach to statistical machine translation. Computational Linguistics, 30:417–449. OpenAlex ↗ · Scholar ↗
  27. Franz Och. 2003. Minimum error rate training for statistical machine translation. In Proc. of ACL. OpenAlex ↗ · Scholar ↗
  28. Chris Quirk and Simon Corston-Oliver. 2006. The impact of parse quality on syntactically-informed statistical machine translation. In Proc. of EMNLP. OpenAlex ↗ · Scholar ↗
  29. Chris Quirk, Arul Menezes, and Colin Cherry. 2005. Dependency treelet translation: Syntactically informed phrasal smt. In Proceedings of the 43rd ACL.
  30. Stuart Shieber and Yves Schabes. 1990. Synchronous tree-adjoining grammars. In Proc. of COLING, pages 253–258.
  31. Andrea Stolcke. 2002. Srilm: an extensible language modeling toolkit. In Proc. of ICSLP. OpenAlex ↗ · Scholar ↗
  32. Dekai Wu. 1997. Stochastic inversion transduction grammars and bilingual parsing of parallel corpora. Computational Linguistics, 23(3):377–404.
  33. Kenji Yamada and Kevin Knight. 2001. A syntax-based statistical translation model. In Proc. of ACL.

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/huang-2006-statistical-syntax-directed-translation-extended/