Elamur Research

Statistical Machine Translation by Parsing

Paper · 2004 · I. Dan Melamed

Summary

A translation system has to choose words and decide how to arrange them. Those decisions interact. A group of words that belongs together in one language may surround another group in the translation, and a word that helps establish the structure of one sentence may have no direct counterpart in the other. This paper approaches machine translation through parsing, the process of inferring a grammatical structure for text. Its central proposal is to build a joint structure for the sentences in a translation pair. The structure records which grammatical units correspond while allowing each language to arrange or omit material in its own way.

The paper distinguishes three tasks by what the system has available. If the texts and a grammar relating their languages are available, synchronous parsing can infer their structures and correspondences jointly. If the grammar is available but some texts are missing, the same kind of inference can supply the missing material. If the texts are available but the joint grammar is missing, a procedure the paper calls synchronization can use a grammar for one language and word-to-word translation probabilities to infer joint structures. These structures can then supply examples from which to estimate a multilingual grammar.

The proposal uses the same basic operations throughout. A parser enters words into a chart, combines entries when a grammar rule permits it, and checks that a completed structure covers the input. A translator checks positions in the supplied text and records relative order for the words it will produce. This allows it to build the source and target sides as parts of one derivation, then recover the output strings from the resulting tree. The English–Russian example shows how the shared derivation can account for a change in word order and for a word with no overt counterpart.

The contribution is an architecture and a derivation of the algorithms it would use. The paper illustrates the machinery with worked examples and gives a procedure for training a translation system from parallel text and monolingual treebanks. It reports no benchmark scores or controlled comparisons of translation quality. It also identifies a consequential choice for decoding. The most probable joint tree is a tractable objective for the proposed scoring procedure in the sense that the parser can seek it directly. Finding the most probable output string is a different problem because several trees can yield that string, and their probabilities must then be considered together.

Deep dive: Statistical Machine Translation by Parsing

Statistical Machine Translation by Parsing explains how one parsing framework can align parallel texts, learn a grammar, and generate translations. · about 33 minutes to read

The problem and its context

What parallel text leaves implicit

A pair of translated sentences provides the words and their order in each language. It leaves open how those words group together and which groups play corresponding roles. An ordinary parser can propose a structure for either sentence using a grammar for that language. If both sentences are parsed independently, the two analyses still leave the correspondence between their parts to be inferred. That correspondence matters when the system will eventually need to construct a translation of a sentence for which only one side exists.

The paper treats a parallel text as a tuple whose components are the versions of the text available in different languages. A component counts as a dimension of the inference problem. An ordinary parser works with a single dimension. A synchronous parser can maintain grammatical information about several dimensions and build their structures together. At each point, evidence from a component can constrain the shared analysis. A proposed combination must fit the grammar and the order of the words in every supplied component where that combination is active.

Supplying several languages also opens two possibilities that are easy to overlook when translation is described only as a task with a single source and a single target. Several supplied texts can constrain one translation, since a distinction left open by one version may be clearer in another. A single derivation can also generate several missing texts. The paper presents common structure as a way for these outputs to remain consistent with one another. These are motivations for giving the formalism multiple input and output dimensions.

How the paper relates the tasks

The paper starts from the established connection between syntax-directed translation and parsing, which it traces to Aho and Ullman. It puts that connection into an explicit hierarchy. Ordinary parsing occupies the case with a single text and a grammar for that text. Synchronous parsing expands both the input and the grammar across languages. Translation permits the grammar to describe more dimensions than the input supplies. There is a complementary problem when the input supplies more dimensions than the grammar directly covers. The paper gives that case the name synchronization.

Earlier bilingual parsing work had already shown how to organize two texts using a common grammar. The paper discusses Wu’s inversion transduction grammars and compares its own synchronous parser with Wu’s, work by Alshawi and colleagues, and an earlier parser by Melamed. Its choice of normal form supports a compact description with one kind of chart entry and a single structural combination operation. Earlier work on syntax-based decoding also appears in its account of the connection between grammatical analysis and translation. Stochastic Inversion Transduction Grammars and Bilingual Parsing of Parallel Corpora · Learning dependency translation as finite-state head transduction · A Decoder for Syntax-based Statistical MT

Word alignment offers a narrower source of information. It relates occurrences of words across versions of a text. The paper points to Och and Ney for estimating word-to-word translation probabilities, then gives word alignment itself a place in the parsing account. The lexicon can serve as a small grammar whose rules relate terminal symbols directly. In that special case, the task is to find entries that jointly cover the observed words. Grammatical constituents and the rules for building them enter when the task calls for a full joint structure. A Systematic Comparison of Various Statistical Alignment Models

The need for synchronization arises when those full structures are also needed for training. A statistical grammar could be estimated from a collection of joint trees if someone had already established the trees and their correspondences. The paper calls such a collection a multitreebank. Monolingual analyses of parallel texts provide part of that information. A multitreebank additionally records which nodes belong together across languages. The paper’s training problem is how to acquire that extra information before a suitable joint grammar is available.

The authors describe earlier approaches that fix word links first and find compatible structures afterward, and others that make the structural decision first. Either order can make subsequent decisions depend on an early choice that the other evidence might have changed. The proposed inference instead evaluates candidate structures using both kinds of information. Its bootstrapping idea draws on precedents the paper identifies in grammar estimation and statistical translation, where a simpler source of probabilities helps initialize a richer one. The central question is whether the same inference machinery can put these sources to work during training and then use the resulting grammar during translation.

Why the parser is specified as a logic

A parser description can mix several decisions that serve different purposes. It can say which partial structures are legal, how contributions from several rules are combined, and which candidates the implementation considers first. This paper makes the first decision explicit as a set of inference rules. A rule can require chart entries, a matching grammar production, and compatible spans. If these conditions hold, the rule licenses a new entry.

This choice makes the comparison between tasks precise. In synchronous parsing, the inference rules must account for positions in every component. For translation, some of the position requirements disappear. For synchronization, the sentence positions are available throughout, while the way rule probabilities are obtained changes. A procedural implementation could obscure these relationships by presenting each task as a separate search. In the paper’s account, the legality of an inference, its numerical interpretation, and the order of search can be examined separately.

The method, step by step

From parallel sentences to a shared tree

A grammar production describes a permitted step in building a sentence. In a context-free grammar, a production can expand a category such as a noun phrase into its children. A multitext grammar extends the production across languages. Each row describes a component, and corresponding children sit in the same column. The paper calls such a column a link. When a link is expanded, its members are expanded together. A link therefore expresses a claim about correspondence in the derivation, even if its members have different grammatical labels or occupy different positions.

Each row also records where its children go. The paper calls this instruction a role template. For a rule with two child links, a template can put the first link before the second or put the second before the first. It can also let the material of one child appear in separate pieces. The children stay associated with the same links throughout these arrangements. Consequently, the identity of a child and its location in a particular component are independent pieces of information.

The English–Russian imperative supplies a concrete example. In English, the verb precedes the phrase naming what is to be washed. In the transliterated Russian sentence, that phrase precedes the verb. The English article has no overt counterpart in the Russian expression. A shared derivation can record a correspondence between the objects and between the verbs, then give the sentence a different order in each component. A branch can also contribute words in only one component. These choices yield related trees whose branches can be permuted or absent locally. The paper calls their shared representation a multitree.

The grammar can use that same kind of object both for analyzing sentences and for generating them. When the words are known, the derivation must justify the words in their observed positions. When some words are unknown, the derivation supplies them and specifies their order. The rules used for these tasks need a source of probabilities. The full architecture begins with word correspondences and monolingual grammatical information, creates examples of joint structures, and uses those examples to initialize the grammar.

Training and using the multitree translation architecture

The steps in order.

Training and using the multitree translation architectureStep 1: Estimate word-to-word translation probabilities1. Estimate word-to-word translation probabilitiesStep 2: Estimate grammars from monolingual treebanks2. Estimate grammars from monolingual treebanksStep 3: Synchronize parallel sentences into multitrees3. Synchronize parallel sentences into multitreesStep 4: Count productions to initialize the joint grammar4. Count productions to initialize the joint grammarStep 5: Re-estimate probabilities by synchronous parsing5. Re-estimate probabilities by synchronous parsingStep 6: Infer the best multitree for new input6. Infer the best multitree for new inputStep 7: Assemble the missing components as strings7. Assemble the missing components as strings

What a grammar production records

The presentation uses Generalized Chomsky Normal Form to make the parsing rules easier to specify. There are terminal productions, which introduce words, and nonterminal productions, which combine child links. A schematic row of a nonterminal production has the following form.

A → joinᵣ(B, C)

Here A is the parent nonterminal in the row and B and C are its children in link order. → marks a permitted rewrite. joinᵣ is the operation that arranges the children according to the row’s role template r. The parentheses enclose the children, and the comma separates their link positions. A complete production contains a row for every dimension in the grammar. All rows participate in the rewrite together.

The example of a contiguous ordering in the paper can be written as follows.

r = [1,2]

Here r is the template, = assigns its value, and the brackets enclose an ordered list. 1 and 2 identify the first and second links, with the comma separating successive entries. The first child precedes the second in this component. A different row of the same production can order the linked children differently.

The paper also illustrates a discontinuous ordering.

r = [1,2,1]

The symbols have the same roles, but link 1 occurs at both ends of the list. Its child contributes an earlier segment and a later segment, with the material of link 2 between them. The grammar annotates a discontinuous nonterminal with the number of contiguous segments it contributes. That annotation matters even in an output dimension where the actual word positions have yet to be determined.

A terminal production can be expressed schematically by distinguishing the active component from the others.

A → w

In this row, A labels the active nonterminal, → marks the rewrite, and w is the terminal word introduced by the production. The entire production has just one active row. Other rows carry no word, and the corresponding positions are inactive. A joint derivation can consequently introduce the English words and the Russian words separately at the leaves and associate them through the rules above those leaves.

How synchronous CKY fills the chart

The paper’s Logic C adapts ordinary CKY chart parsing to multitext. Its chart is a record of partial analyses that have been licensed so far. An entry has a vector of category labels and a vector of spans. Where a constituent is discontinuous, its span must record the boundaries of every segment. Knowing only where the first segment starts and the last one ends would conceal the gaps in between.

A generic chart entry can be shown as a pair of vectors.

I = ⟨𝐚, 𝐬⟩

Here I is the entry, = defines its representation, and the angle brackets enclose its two fields. 𝐚 is the label vector and 𝐬 is the vector of spans, with the comma separating them. A position in each vector represents the same language dimension. An inactive dimension has an empty span. Each entry has some active material, although it can contribute material to only a subset of the dimensions.

The parser starts with an empty chart. An inference called Scan can enter a terminal production when its word occurs in the appropriate component. The entry covers that occurrence, with one active span at the boundaries of the word. If a word occurs at several places, each position is relevant to a separate scan. An entry can then serve as a child of a larger constituent, even when no corresponding word has been independently scanned at that position in another component.

Compose is the inference that builds larger constituents. It requires two chart entries whose label vectors match the child links of a production. It also checks the entries’ spans against the role templates of the production. This check is dimensional. An arrangement licensed in English can coexist with a different arrangement in Russian, provided the spans in each dimension fit its own template. Where a child occurs in several pieces, the check needs the boundaries of those pieces. Once the checks succeed, the consequent entry takes the parent’s labels and the resulting spans.

This separation of labels from positions allows the parser to compose entries that have no active component in common. For instance, one child can supply only a source word and the other only a target word. If the grammar groups them under a shared parent, their combination can express a translation correspondence. Requiring a matching position across the two languages would defeat that operation. The positions have meaning within a component, and the production relates the components.

The goal entry covers every supplied sentence from its first boundary to its last. Discontinuous constituents can occur inside the derivation even though the completed analysis covers each input continuously. When a subtree is combined with another, the parser can retain information about which production and chart entries licensed the combination. That information supports recovery of the tree, or a representation of several trees that share partial analyses.

Choosing what an inference computes

The chart rules specify which analyses can be formed. A semiring specifies how to combine values along an analysis and how to aggregate alternative analyses. The same structural rules can therefore serve several questions. With Boolean values, the parser checks whether a derivation exists. With inside probabilities, it adds the probabilities of competing derivations. With a Viterbi derivation calculation, it keeps the highest-scoring derivation and the information required to recover it. The paper also discusses counting derivations and collecting several high-scoring ones.

For a fixed probabilistic grammar, the paper’s distinction can be expressed schematically for a completed derivation as follows.

p(t) = ∏ᵤ p(gᵤ)

Here p is probability, t is a derivation, and = gives the probability of that derivation. ∏ᵤ multiplies the factors over its production occurrences u. At occurrence u, gᵤ is the production used, and p(gᵤ) is its grammar-supplied probability. The parentheses specify the argument of p. In a chart the contributions can be accumulated during composition, since a constituent used inside a larger tree already has a derivation beneath it.

Word alignment can use a particularly small version of this logic. A translation lexicon supplies links of terminal words, so there are no larger constituents to compose. A goal is a set of entries that covers the input in all components, since there need be no single parent over those links. The paper connects the expectation semiring to maximum-likelihood estimation of word-to-word probabilities. It also describes a route to parameter re-estimation for the joint grammar, drawing on the relation Eisner discusses between expectation calculations and the inside–outside procedure for probabilistic context-free grammars. The paper leaves the details of joint grammar estimation outside its scope. Parameter Estimation for Probabilistic Finite-State Transducers

Translating by relaxing position constraints

Logic CT extends the synchronous parser to cases where some texts are missing. Its chart entries retain a label for every dimension of the grammar. They carry absolute positions only in the supplied dimensions. In the article’s notation below, the distinction is between the dimensions represented in the labels and the dimensions represented in the span field.

I = ⟨𝐚, 𝐬ᵢₙ⟩

Here I again denotes a chart entry, = defines the representation, and the brackets and comma separate the fields. The vector 𝐚 contains the labels for all dimensions. The vector 𝐬ᵢₙ, with subscript in, contains spans for the supplied components. The missing components still have grammatical structure and restrictions on the number of segments a constituent may have. Their words do not yet have absolute positions to check.

The translator scans the observed text in the same manner as the synchronous parser. For a terminal production that introduces a word in an output dimension, it uses a different inference called Load. Load can enter the production’s left-hand side in the chart directly from the grammar, without matching a word or a position against the input. The production then gives a way to justify a target word during the derivation. It can participate in Compose if its category and the applicable templates allow it.

Compose still checks source positions. In the output dimensions, the choice of role template is open to the productions that can apply, because there are no target positions against which to test it. The grammar still enforces the required segment counts. Choosing a rule thus commits the derivation to a relative target ordering and to a way of assembling any discontinuous segments. The translator can preserve that choice locally in the tree.

After a complete derivation is chosen, a postorder traversal visits the children before their parent. In each output component, the traversal assembles the pieces already obtained from the children according to the parent’s template. At the root, it has the output string for that component. The paper describes this linearization as taking linear time. The claim applies to obtaining the strings from a finished multitree, a stage that comes after searching for the tree.

Logic C is recovered when every component is supplied. For any fixed input to Logic CT, the completed derivations can be gathered into a packed forest, a representation that shares common subderivations. Computing the probability of one particular output string requires collecting the derivations that yield that string. The distinction from selecting a single good tree can be written as follows.

p(y | x) ∝ ∑ₜ:ᵢₙ₍ₜ₎₌ₓ,ₒᵤₜ₍ₜ₎₌ᵧ p(t)

Here x is the supplied text tuple, y is an output text tuple, and p(y | x) is the probability of y given x, with | marking conditioning. ∝ means proportional for the fixed input. The summation ∑ ranges over trees t whose input yield in(t) equals x and whose output yield out(t) equals y. The colon introduces those restrictions, the comma joins them, and the equality signs specify the required yields. p(t) is the probability of an individual tree. The proposed application uses the output of the most probable tree. Several individually weaker trees may support a single output, which is why the two selection criteria can give different answers.

Obtaining a joint analysis before the joint grammar exists

Synchronization starts with all the component sentences available. It uses the coverage and composition logic of synchronous parsing. What changes is the source of the values assigned to productions. The paper assumes that a probabilistic grammar is already available for some components, and it calls those components structured. The remaining components are termed unstructured in the sense that no corresponding grammatical categories are available for them. Their words and positions are present, and the synchronizer tries to infer their participation in the joint tree.

The synchronization example uses a lexicalized grammar, meaning that a constituent carries a head word in addition to its category. Head words give the synchronizer a point at which to use translation probabilities. In the dependency illustration, a possible grammatical structure in English and a possible alignment of words leave one compatible shared dependency structure when labels are set aside. The illustration is clearest when every relevant leaf has an established correspondence. An unlinked word can leave further structural choices.

In the structured components the score of a terminal production comes from the available grammar. In an unstructured component the paper permits a dummy category, with the terminal term defined only for that category. A unit value there leaves the available lexical evidence to act elsewhere in the calculation. The synchronizer can then score nonterminal combinations using the structural grammar, the translation probabilities of the heads, and a simple distribution over orderings.

The probability decomposition can be written by grouping the production fields into blocks. Let the structured and unstructured sides of a field be marked by subscripts S and U. Within a production, one child inherits the parent’s head. The paper describes the case in which that child is the second link and makes the corresponding treatment available when the first child is the inheritor. The decomposition below treats the inherited head as fixed by the parent and includes only the independent fields on the right-hand side.

q = p(Rₛ, Nᵤ, hᵤ, rᵤ | L)

Here q is the probability assigned to the nonterminal production and = defines it. p is conditional probability, and | separates the fields being generated from L, the given left-hand side across the dimensions. Rₛ is the right-hand side in the structured components, including its templates, child categories and head information. Nᵤ collects the right-hand-side categories on the unstructured side, hᵤ denotes the unstructured head information to be supplied for the non-inheriting link, and rᵤ denotes the unstructured role templates. The subscripts ₛ and ᵤ identify structured and unstructured components. The commas list the events jointly, and the parentheses enclose the arguments of p.

The chain rule writes the same probability in successively conditioned factors.

q = p(Rₛ | L) · p(Nᵤ | Rₛ, L) · p(hᵤ | Nᵤ, Rₛ, L) · p(rᵤ | hᵤ, Nᵤ, Rₛ, L)

The variables denote the same production fields. · is multiplication. In each factor p, the variables before | are the fields being scored. The variables after it are the fields already given by the left-hand side or introduced by earlier factors, with commas separating them. So far this is a probability identity. The synchronizer becomes usable without a full joint grammar by replacing those conditions with assumptions about the available evidence.

The first approximation retains only the structured part of the parent when scoring the structured right-hand side.

p(Rₛ | L) ≈ p(Rₛ | Lₛ)

Here Lₛ is the restriction of the parent L to the structured components. Rₛ and p retain their meanings, | marks conditioning, and ≈ marks the replacement of the full conditional distribution by the approximation. The value on the right can be read from the available grammar. The unstructured parent fields therefore have no role in choosing this factor’s probability.

For the unstructured category factor, the paper uses a deterministic check.

p(Nᵤ | Rₛ, L) = 1 if the dummy-label condition holds, 0 otherwise

Here Nᵤ is the set of unstructured category assignments under consideration, Rₛ and L are the same conditioning fields, and p, | and = have the same meanings as above. 1 gives full weight to the permitted assignments and 0 rules out incompatible ones. The dummy label supplies no further distinctions between categories in these components. Empty contributions are still handled by the grammar’s provisions for inactive material.

The lexical approximation retains the structured head as the conditioning information.

p(hᵤ | Nᵤ, Rₛ, L) ≈ p(hᵤ | hₛ)

Here hₛ is the structured counterpart of the head information hᵤ. The other fields on the left denote the production information the chain-rule factor could depend on. p is probability, | marks conditioning, commas separate the conditioning fields, and ≈ denotes the simplifying assumption. The right-hand factor can come from the word-to-word probabilities estimated from the parallel sentences. This gives the synchronizer lexical evidence without requiring estimates specific to each combination of categories and orders.

Finally, the paper gives the unstructured role templates an independent, uniform distribution within a bound.

p(rᵤ | hᵤ, Nᵤ, Rₛ, L) ≈ ∏ⱼ p(rⱼ)

Here rⱼ is the template in unstructured component j, ∏ⱼ multiplies over those components, and rᵤ is their vector of templates. The remaining symbols on the left denote the already given production fields. ≈ marks the assumption that they can be left out and that the unstructured template choices can be scored independently. The local template probability is specified as follows.

p(rⱼ) = 1 / M

Here p(rⱼ) is the weight assigned to an allowed template in component j, = defines that weight, and / denotes division. M is the number of distinct templates at or below the chosen maximum cardinality, and 1 is the numerator of the uniform probability. Templates still have to satisfy the chart’s constraints on the actual spans. Uniform weighting adds no preference among the templates that meet the specified bound.

Putting the factors together yields the working production score.

q = p(Rₛ | Lₛ) · p(hᵤ | hₛ) · ∏ⱼ p(rⱼ) if the dummy-label condition holds, 0 otherwise

Here q is the composed score, p(Rₛ | Lₛ) is the grammar contribution, p(hᵤ | hₛ) is the lexical contribution, and ∏ⱼ p(rⱼ) is the product of the template contributions. · multiplies the factors, | marks the conditions, and = specifies the resulting score. 0 excludes an assignment that fails the dummy-label condition. This factorization assigns separate roles to the grammatical and lexical information. The chart can now use these values to find a highest-scoring joint structure for a parallel sentence, even though a full joint grammar was unavailable at the start.

From inferred trees to a translation grammar

The data procedure begins with tokenized parallel sentences and with grammatical trees in at least one language. The parallel sentences supply the word-to-word statistics. The monolingual treebanks supply production counts for estimating probabilistic context-free grammars by relative frequency. The synchronization step combines these sources to infer multitrees for some of the parallel text. The worked synchronizer uses the Viterbi derivation choice, so each successful analysis offers a selected joint tree.

In the resulting multitreebank, each derivation records both the linked labels and the arrangements of their children. Counts over these joint productions can initialize a probabilistic multitext grammar. The architecture then proposes re-estimating its probabilities using synchronous parsing with the expectation semiring. That step would use the current grammar to entertain alternative derivations while accumulating the statistics for parameter estimation. The bootstrap thus gives the grammar somewhere to start, and the subsequent estimation step is meant to make use of the alternatives that the grammar licenses.

At application time, the joint grammar supplies the productions and their probabilities directly. Translator CT seeks the most probable multitree that covers the new input, retaining the output templates needed for linearization. The paper’s claim about reuse concerns the inference machinery. Word alignment uses a restricted grammar and goal, synchronization changes how rule values are obtained, re-estimation changes the numerical quantities gathered during inference, and translation changes which positions are known. The architecture permits these operations to share a parsing logic while retaining their different inputs and objectives.

Experiments and results

A worked comparison in place of a benchmark

The paper develops and illustrates its algorithms. It reports no experimental training or test split, no baseline scores and no translation-quality metric. Its most concrete comparison uses the imperative pair “Wash the dishes” and “Pasudu moy.” The synchronous parser receives both sentences. The translator receives the Russian sentence and, under a suitable grammar, can infer a multitree that also includes the English one.

The synchronous example lists 9 inferences for the illustrated derivation. The paper says the translation example uses the same set of inferences, with English positions omitted from the chart entries. In that translation case the operations that introduce English terminals load grammar productions, whereas the corresponding steps with both texts present are constrained by the English input. The count concerns the successful derivation shown in the example. It excludes all candidates a parser might explore while searching for that derivation.

Inference count for the worked English–Russian imperative

The displayed derivation takes the same number of inferences when English is supplied and when it is generated.

Inference count for the worked English–Russian imperativeLogic C with English and Russian supplied: 9Logic C with English and Russiansupplied9Logic CT with only Russian supplied (this paper): 9Logic CT with only Russian supplied(this paper)9
The numbers
System or settinginferences in the illustrated derivation
Logic C with English and Russian supplied9
Logic CT with only Russian supplied (this paper)9

The comparison shows what it means to derive a translator by changing the position constraints. On the Russian side, the entries still track the positions needed to justify the observed sentence. On the English side, the tree records rules that introduce the words and templates that put them in order. The branches that express the imperative and its object can be combined in the same structural pattern in both cases. The shift from an observed English sentence to a generated English sentence changes what the corresponding entries must verify.

The repeated count has a narrow interpretation. The corresponding successful paths through the two logics have the same length in this illustration. With the English words supplied, the available positions can rule out candidates early. With the English words missing, the grammar can offer several choices consistent with a partial Russian analysis. Search cost also depends on how alternatives are explored and shared in the chart. The example gives no measured timing or memory use from which to compare the two settings.

What the synchronization illustration establishes

The other worked example shows a dependency structure in one language and word correspondences across the two languages. In dependency parsing, structure is described through relations between heads and dependents. The figure uses the word links to carry the relevant structural relation across components. With the assumed alignment and English structure, and with nonterminal labels set aside, only one synchronous dependency structure fits the illustration.

This is a result about the constraints in that example. It shows how information about which words correspond can narrow the structures available on the unstructured side. It also shows why a useful monolingual analysis can contribute to bilingual inference. A development or test corpus would be needed to establish how frequently the structural evidence and the lexical evidence select the intended analysis in naturally occurring ambiguity. The paper gives no alignment-accuracy or parsing-accuracy result for synchronization.

The paper’s remaining results are algorithmic relationships. It specifies a translation logic of which synchronous parsing is a special case. It shows how the synchronous inference rules can also be used when production scores come from sources of lower dimensionality. It identifies the smaller alignment problem as another special case, with a coverage goal and terminal links. The training diagram collects these relationships into a single design. Each relationship concerns which inference is possible under a grammar and a scoring interpretation.

What the proposed evaluation would have had to distinguish

Several outputs occur before the final translation. The word-to-word stage estimates lexical probabilities. Synchronization produces analyses of parallel sentences. Grammar induction and re-estimation produce a weighted grammar, and decoding selects a tree from which strings are assembled. Each stage can succeed at its own objective while leaving room for an error in the final output. A lexical probability can favor a plausible correspondence while the shared structure places it in the wrong grouping. A well-formed joint derivation can also yield a translation a human would find awkward.

The paper discusses earlier systems and inference procedures as technical comparisons. Those discussions explain differences in the grammars, chart entries or order of commitments. They supply no measured baseline against which to judge the proposed complete system. The architecture’s practical stakes therefore remain separate from the worked derivations. The examples establish that the rules can express the intended operations. Comparative effectiveness in producing translations remains an empirical question.

What the ablations show

The paper reports no empirical ablations, and its analyses instead compare the consequences of changing inference constraints, scoring interpretations and sources of grammatical evidence.

Holding the structural logic fixed

The closest controlled comparison is the English–Russian derivation with different inputs. With both sentences supplied, every span in the derivation must agree with observed positions. With only Russian supplied, the English part retains its categories and arrangement instructions. The chart rules no longer have to demonstrate that the English terminals lie in particular input positions. This comparison isolates the formal change needed to treat a component as output.

Keeping both derivations available makes a second distinction visible. An output component can be free of absolute spans while remaining subject to structural restrictions. A discontinuous target constituent still needs the right number of pieces, and the chosen production still says how those pieces join its sibling’s material. The absence of observed target positions does not remove those requirements. The analysis therefore explains which constraints are essential to well-formed generation and which arise solely from observing the sentence in advance.

The word alignment case makes a different reduction. Once grammar rules directly relate terminals, the logic can stop at the word links. Covering the input becomes the goal, and larger grammatical groupings have no place in the resulting object. This analysis identifies the additional inference contributed by Compose in a full parser. Compose builds a hierarchy within which translation links can relate constituents as well as words. It does not quantify the effect of that hierarchy on alignment decisions.

Changing the score while preserving the possible trees

The semiring discussion separates the existence of a derivation from the selection of one. A Boolean calculation can demonstrate that the grammar admits some output for the input. A Viterbi calculation can identify a preferred derivation when the same rules have probabilities. An inside calculation accumulates the probability mass of derivations. These operations can agree on which trees are licensed and still report different information about them.

This distinction matters when interpreting the objective of translation. For a single tree, the rule choices determine both the source analysis and the output string. Competing trees may repeat the same output words in the same order. The inside calculation at the goal describes the mass of all compatible derivations, while a most-probable-string decision needs the mass grouped by output. The paper’s discussion identifies a computational consequence of the output objective without estimating how frequently the best derivation and the best string lead to different translations.

Changing how synchronization gets its evidence

The synchronization derivation explicitly limits the influence of each information source. The grammar for the structured components scores their expansions. Word probabilities score the projected heads, and the unstructured templates start with a uniform preference within the allowed bound. The dummy category permits the synchronizer to operate with no useful label inventory on the other side. This decomposition makes clear what kinds of evidence the illustrated synchronizer can exploit.

The paper contrasts joint inference with pipelines that commit early to an alignment or an analysis. An early error can constrain everything downstream. In joint search, a strong structural analysis can lend support to a compatible correspondence, while the correspondence can lend support to the analysis. The dependency example demonstrates the compatibility mechanism under stipulated choices. It does not measure how often joint search recovers from an error or how heavily the result depends on any one probability factor.

The authors mention enriching the unstructured categories through projected part-of-speech information. That proposal indicates where a finer estimate could enter. It would replace some of the indifference created by a single dummy category, while word positions and role templates would continue to constrain the derivation. The paper supplies no comparison of projected categories with the dummy-label setup. The place of such information in the factorization is specified more clearly than its prospective benefit.

Limitations

Limits the authors state

The authors describe the complete training and application pipeline as an architecture whose practical implementation faces computational complexity and generalization error. The architecture shows how the same kind of inference can serve several stages. It does not show that a grammar estimated by that procedure will cover enough new sentences or that search will be efficient over its possible translations. The paper presents sharing improvements across stages as a potential benefit of the design.

A second stated limitation concerns the probability of an output string. A packed representation can share parts of many derivations, and an inside calculation can account for their total weight. Selecting the most probable string still requires grouping derivations by their yield. The paper refers to an NP-hardness result for the one-dimensional case and gives no corresponding new complexity proof for the full multidimensional setting. Its proposed use of the best derivation avoids making the best-string decision the ordinary decoding objective.

The authors leave parameter estimation for probabilistic multitext grammars beyond the scope of the paper. They connect expectation-based parsing with the known treatment of probabilistic context-free grammars and use that connection in the training design. The paper gives a way to organize the required inferences, while detailed estimation behavior remains untested. For synchronization itself, it illustrates a best-derivation calculation and identifies inside probabilities as the appropriate basis for the maximum-likelihood version of that task.

The paper also notes a condition on projecting structure through word links. A fixed leaf correspondence can make it possible to transfer structural decisions when the components of a multitree have the same branching relationships up to ordering and deletion. Words in the unstructured components that link to nothing weaken this determination. The dependency figure’s uniqueness depends on the constraints of the example. Projected structural labels are likewise left open in the illustration.

Limits visible in the setup

A joint-tree representation makes a strong commitment about which relationships can be shared. Reordering siblings, allowing discontinuity and admitting locally absent branches give it ways to represent differences in surface form. If a sentence pair calls for genuinely different groupings, fitting both into a single shared derivation places a demand on the grammar and its choice of intermediate structure. The paper says the algorithms can be adapted to other synchronous grammar formalisms. The worked example establishes expressiveness for the type of order change and omission it contains.

The bootstrap has a related dependence on the starting evidence. The synchronizer needs a grammar for at least part of the parallel input and usable lexical probabilities for linking heads. A weak signal in either source can reduce how well the combined score distinguishes plausible alternatives. Since the unstructured component uses dummy categories and uniform weights for allowed templates, several analyses can receive the same contribution from those factors. Positional compatibility and lexical fit may then carry much of the decision.

The initial grammar counts productions from inferred trees. If the synchronizer frequently prefers a particular analysis for reasons unrelated to translation quality, its preferences can become part of the training data for the grammar. Later re-estimation can reconsider derivations that the initialized grammar makes available. The paper gives no observation of how well that process corrects mistakes or accommodates analyses absent from the initial treebank. This is a limitation of the evidence for the proposed training pipeline.

The target strings in the translation example inherit their order from the chosen productions. That makes their construction fully specified once a tree is known. The paper provides no separate evaluation of the acceptability of those generated strings. A successful goal inference means that the grammar derives the observed input together with some output. Translation quality requires a further judgment about what that output expresses and how naturally it does so.

Finally, the multi-source and multi-output claims are about what the formalism can accommodate. Several source texts could constrain a shared derivation, and several output dimensions could draw from it. The examples do not compare that strategy against another way of combining source evidence, and they contain no measurement of consistency among multiple translations. The paper’s strongest result is its account of how the operations relate and which constraints each operation needs.

What came after

Translation grammars and the structures they relate

Later work citing the paper continued to explore translation as a grammatical inference problem, with different choices about which parts of the input and output should carry linguistic structure. Syntax Augmented Machine Translation via Chart Parsing takes syntax augmentation and chart parsing as its subject. It is directly related to the question at the center of Melamed’s architecture. When syntactic information takes part in translation, the chart has to represent which partial hypotheses can legally be combined. The later work addresses that question in a syntax-augmented setting.

Tree-to-String Alignment Templates puts an explicit asymmetry into the objects being aligned. Its subject is the correspondence of trees to strings for statistical translation. That formulation foregrounds a choice that Melamed’s architecture exposes by varying the information available per dimension. One side of a translation relationship can be described in terms of a tree, while the other is presented through the wording it yields. Tree-to-Tree Alignment for Translation takes the alignment of trees on both sides as its subject, bringing the relation between two structured representations to the foreground.

Probabilistic Synchronous Dependency Insertion Grammars makes a synchronous dependency grammar the basis of a translation formulation. In Melamed’s paper, dependencies help make the synchronization example legible, while the general inference is stated using multitext productions. The later work’s subject puts dependency structure into the choice of translation grammar itself. Induction of Synchronous Tree-Insertion Grammars concentrates on learning a probabilistic grammar of a particular synchronous kind. It addresses the acquisition side of the problem that Melamed’s training recipe opens up when it moves from parallel text to joint productions.

Non-Projective Parsing for Statistical Machine Translation pursues a parsing formulation in which dependency links can go beyond projective structure, where a head’s subtree occupies a contiguous sequence. This touches a representational concern that already appears in Melamed’s role templates. A useful syntactic unit may need to be represented even when its words do not form one uninterrupted span. The two formulations identify different grammatical ways of posing that concern.

Search, computation and sequence

Complexity Results for Synchronous Context-Free Grammars puts computational complexity at the center of its study of synchronous grammars. This connects to the distinction between expressing a translation as a joint derivation and being able to find an appropriate derivation efficiently. Melamed’s inference rules specify legal combinations, and compatibility with different scoring interpretations makes the logic reusable. Complexity work asks what computational demands accompany the grammar and the inference problem.

Coarse-to-Fine Syntactic Machine Translation brings language projections to coarse-to-fine inference. Its subject relates to the separation between a translation grammar and the strategy used to search through it. Melamed’s paper leaves the search order open and argues that improvements from parsing can carry over to translation. Here a parsing strategy, moving from coarser to finer distinctions, is itself part of the later translation work’s focus.

Joint Sequence Translation with Integrated Reordering addresses a question the multitree architecture also has to answer. Word choice and ordering must interact during translation. The work frames that problem around sequences and makes reordering part of the joint formulation. Factored Translation places the organization of translation information into factors at the center of its approach. These works share an interest in how the representation makes different kinds of evidence available to a translation decision.

Pivot Language Approach for Phrase-Based Statistical Machine Translation addresses a different role for multiple languages. Its subject is phrase-based translation through a pivot language. The connection to Melamed’s account is the question of how extra languages can help establish a translation relationship. In the multitree proposal, dimensions of an observed or generated tuple share one derivation. The pivot formulation brings an intermediary language into the translation problem.

Beyond translating between languages

Learning for Semantic Parsing with Statistical Machine Translation takes statistical translation into semantic parsing, the task of deriving a representation of meaning from language. This extends the relationship in a direction complementary to Melamed’s. His paper uses parsing to organize translation between texts. The later work studies learning a parsing task through a translation formulation, where the relationship to be learned involves a meaning representation.

Paraphrase Identification as Probabilistic Quasi-Synchronous Recognition applies a quasi-synchronous formulation to deciding whether expressions are paraphrases. The relationship between two expressions remains the object of inference, but the task is recognition. Both expressions are supplied, and the question concerns how they relate. This connects to the synchronous parsing side of the original account, where observing both components allows their structural correspondence to be inferred jointly.

These later works share a question that the multitree architecture makes explicit. Given several expressions or representations, which structure should be common to them, which differences should be licensed, and which parts of the relationship must be inferred? Their subjects range from grammar induction and parsing strategy to reordering, semantic interpretation and paraphrase. Melamed’s paper gives a common vocabulary for locating those choices in the input, the grammar and the inference procedure.

Cite

Cite as I. Dan Melamed. 2004. Statistical Machine Translation by Parsing. Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics (ACL-04).

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

@inproceedings{dan2004statistical,
  title = {{Statistical Machine Translation by Parsing}},
  author = {I. Dan Melamed},
  booktitle = {Proceedings of the 42nd Annual Meeting of the Association for Computational Linguistics (ACL-04)},
  year = {2004},
  doi = {10.3115/1218955.1219038},
  url = {https://doi.org/10.3115/1218955.1219038}
}

↑ back to top

This page in Markdown https://md.research.elamur.ai/free/en/papers/melamed-2004-statistical-machine-translation-parsing/