<?xml version="1.0"?><!DOCTYPE article SYSTEM "/project/take/software/searchbench_offline_processing/paperxml_generator/aclextractor/src/python/../resource/dtd/paperxml.dtd"><article><header><firstpageheader><page local="1" global="108"/><title>Coarse-to-Fine Syntactic Machine Translation using Language Projections</title><author surname="Petrov" givenname="Slav"><org  name="University of California at Berkeley" country="USA" city="Berkeley"/></author><author surname="Haghighi" givenname="Aria"><org  name="University of California at Berkeley" country="USA" city="Berkeley"/></author><author surname="Klein" givenname="Dan"><org  name="University of California at Berkeley" country="USA" city="Berkeley"/></author></firstpageheader><frontmatter><p><b>Coarse-to-Fine Syntactic Machine Translation using Language Projections</b></p><p><b>Slav Petrov       Aria Haghighi       Dan Klein</b></p><p>Computer Science Division, EECS Department University of California at Berkeley Berkeley, CA 94720 {petrov, aria42, klein} @eecs.berkeley.edu</p></frontmatter><abstract>The intersection of tree transducer-based translation models with n-gram language models results in huge dynamic programs for machine translation decoding. We propose a multipass, coarse-to-fine approach in which the language model complexity is incremen­tally introduced. In contrast to previous <i>order-based </i>bigram-to-trigram approaches, we fo­cus on <i>encoding-based </i>methods, which use a clustered encoding of the target language. Across various encoding schemes, and for multiple language pairs, we show speed-ups of up to 50 times over single-pass decoding while improving BLEU score. Moreover, our entire decoding cascade for trigram language models is faster than the corresponding bigram pass alone of a bigram-to-trigram decoder. </abstract></header><body><section number="1" title="Introduction"><p>In the absence of an n-gram language model, decod­ing a synchronous CFG translation model is very efficient, requiring only a variant of the CKY al­gorithm. As in monolingual parsing, dynamic pro­gramming items are simply indexed by a source lan­guage span and a syntactic label. Complexity arises when n-gram language model scoring is added, be­cause items must now be distinguished by their ini­tial and final few target language words for purposes of later combination. This lexically exploded search space is a root cause of inefficiency in decoding, and several methods have been suggested to combat it. The approach most relevant to the current work is Zhang and Gildea (2008), which begins with an ini­tial bigram pass and uses the resulting chart to guide a final trigram pass. Substantial speed-ups are ob­tained, but computation is still dominated by the ini­tial bigram pass. The key challenge is that unigram models are too poor to prune well, but bigram mod­els are already huge. In short, the problem is that there are too many words in the target language. In this paper, we propose a new, coarse-to-fine, mul­tipass approach which allows much greater speed­ups by translating into <i>abstracted languages. </i>That is, rather than beginning with a <i>low-order </i>model of a still-large language, we exploit <i>language projec­tions, </i>hierarchical clusterings of the target language, to effectively reduce the size of the target language. In this way, initial passes can be very quick, with complexity phased in gradually.</p><p>Central to coarse-to-fine language projection is the construction of sequences of word clusterings (see Figure 1). The clusterings are deterministic mappings from words to clusters, with the property that each clustering refines the previous one. There are many choice points in this process, including how these clusterings are obtained and how much refinement is optimal for each pass. We demon­strate that likelihood-based hierarchical EM train­ing (Petrov et al., 2006) and cluster-based language modeling methods (Goodman, 2001) are superior to both rank-based and random-projection methods. In addition, we demonstrate that more than two passes are beneficial and show that our computa­tion is equally distributed over all passes. In our experiments, passes with less than 16-cluster lan­guage models are most advantageous, and even a single pass with just two word clusters can reduce decoding time greatly.</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">108</doubt><p><i>Proceedings of the 2008 Conference on Empirical Methods in Natural Language Processing, </i>pages 108-116, Honolulu, October 2008. ©2008 Association for Computational Linguistics<page local="2" global="109"/></p><p>To follow related work and to focus on the effects of the language model, we present translation re­sults under an inversion transduction grammar (ITG) translation model (Wu, 1997) trained on the Eu-roparl corpus (Koehn, 2005), described in detail in Section 3, and using a trigram language model. We show that, on a range of languages, our coarse-to-fine decoding approach greatly outperforms base­line beam pruning and bigram-to-trigram pruning on time-to-BLEU plots, reducing decoding times by up to a factor of 50 compared to single pass decoding. In addition, coarse-to-fine decoding increases BLEU scores by up to 0.4 points. This increase is a mixture of improved search and subtly advantageous coarse-to-fine effects which are further discussed below.</p></section><section number="2" title="Coarse-to-Fine Decoding"><p>In coarse-to-fine decoding, we create a series of ini­tially simple but increasingly complex search prob­lems. We then use the solutions of the simpler prob­lems to prune the search spaces for more complex models, reducing the total computational cost.</p><subsection number="2.1" title="Related Work"><p>Taken broadly, the coarse-to-fine approach is not new to machine translation (MT) or even syntactic MT. Many common decoder precomputations can be seen as coarse-to-fine methods, including the A*-like forward estimates used in the Moses decoder (Koehn et al., 2007). In an ITG framework like ours, Zhang and Gildea (2008) consider an approach in which the results of a bigram pass are used as an A* heuristic to guide a trigram pass. In their two-pass approach, the coarse bigram pass becomes computationally dominant. Our work differs in two ways. First, we use posterior pruning rather than A* search. Unlike A* search, posterior pruning allows multipass methods. Not only are posterior pruning methods simpler (for example, there is no need to have complex multipart bounds), but they can be much more effective. For example, in mono­lingual parsing, posterior pruning methods (Good­man, 1997; Charniak et al., 2006; Petrov and Klein, 2007) have led to greater speedups than their more cautious A* analogues (Klein and Manning, 2003; Haghighi et al., 2007), though at the cost of guaran­teed optimality.</p><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">(D3-</doubt><doubt alpha="100.0" length="1" tooSmall="True" monospace="0.0">Ö</doubt><doubt alpha="36.8" length="76" tooSmall="True" monospace="0.0">0,1-NP-0,1      01,10-NP-00,10 010,100-NP-000,100 the,report-NP-these,states</doubt><doubt alpha="16.7" length="6" tooSmall="False" monospace="0.0">::^7T\</doubt><doubt alpha="33.3" length="6" tooSmall="True" monospace="0.0">0-NP-1</doubt><doubt alpha="25.0" length="8" tooSmall="True" monospace="0.0">01-NP-10</doubt><doubt alpha="20.0" length="10" tooSmall="True" monospace="0.0">010-NP-100</doubt><doubt alpha="84.6" length="13" tooSmall="True" monospace="0.0">the-NP-states</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">2</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">3</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">-1</doubt><doubt alpha="33.3" length="6" tooSmall="False" monospace="0.0">■■■ OO</doubt><p>Bits in language model</p><p>Figure 2: Possible state projections n for the target noun phrase <i>"the report for these states" </i>using the clusters from Figure 1. The number of bits used to encode the tar­get language vocabulary is varied along the x-axis. The language model order is varied along the y-axis.</p><p>Second, we focus on an orthogonal axis of ab­straction: the size of the target language. The in­troduction of abstract languages gives better control over the granularity of the search space and provides a richer set of intermediate problems, allowing us to adapt the level of refinement of the intermediate, coarse passes to minimize total computation.</p><p>Beyond coarse-to-fine approaches, other related approaches have also been demonstrated for syntac­tic MT. For example, Venugopal et al. (2007) con­siders a greedy first pass with a full model followed by a second pass which bounds search to a region near the greedy results. Huang and Chiang (2007) searches with the full model, but makes assumptions about the the amount of reordering the language model can trigger in order to limit exploration.</p></subsection><subsection number="2.2" title="Language Model Projections"><p>When decoding in a syntactic translation model with an n-gram language model, search states are spec­ified by a grammar nonterminal X as well as the the n-1 left-most target side words <i>ln-1,.</i>.., <i>l1 </i>and right-most target side words <i>r1,..., rn-1 </i>of the gen­erated hypothesis. We denote the resulting lexical-ized state as <i>ln-1,</i>..., li-X<i>-r1,</i>..., rn-1. Assum­ing a vocabulary V and grammar symbol set G, the state space size is up to |V|2(ra-i) |G|, which is im­mense for a large vocabulary when <i>n &gt; </i>1. We consider two ways to reduce the size of this search space. First, we can reduce the order of the lan­guage model. Second, we can reduce the number of words in the vocabulary. Both can be thought of as <i>projections </i>of the search space to smaller ab-<page local="3" global="110"/></p><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">109</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">000</doubt><p>Figure 1: An example of hierarchical clustering of target language vocabulary (see Section 4). Even with a small number of clusters our divisive HMM clustering (Section 4.3) captures sensible syntactico-semantic classes.</p><p>stracted spaces. Figure 2 illustrates those two or­thogonal axes of abstraction.</p><p><i>Order-based </i>projections are simple. As shown in Figure 2, they simply strip off the appropriate words from each state, collapsing dynamic program­ming items which are identical from the standpoint of their left-to-right combination in the lower or­der language model. However, having only order-based projections is very limiting. Zhang and Gildea (2008) found that their computation was dominated by their bigram pass. The only lower-order pass possible uses a unigram model, which provides no information about the interaction of the language model and translation model reorderings. We there­fore propose <i>encoding-based </i>projections. These projections reduce the size of the target language vo­cabulary by deterministically projecting each target language word to a word cluster. This projection ex­tends to the whole search state in the obvious way: assuming a bigram language model, the state l-X<i>-r </i>projects to c(l)-X-c(r), where c(-) is the determin­istic word-to-cluster mapping.</p><p>In our multipass approach, we will want a se­quence <i>c1... </i><i>cn</i><i> </i>of such projections. This requires a <i>hierarchical clustering </i>of the target words, as shown in Figure 1. Each word's cluster membership can be represented by an n-bit binary string. Each prefix of length k declares that word's cluster assignment at the k-bit level. As we vary k, we obtain a sequence of projections ck(•), each one mapping words to a more refined clustering. When performing inference in a k-bit projection, we replace the detailed original language model over words with a coarse language model LMk over the k-bit word clusters. In addition, we replace the phrase table with a projected phrase table, which further increases the speed of projected passes. In Section 4, we describe the various clus­tering schemes explored, as well as how the coarse LMk are estimated.</p></subsection><subsection number="2.3" title="Multipass Decoding"><p>Unlike previous work, where the state space exists only at two levels of abstraction (i.e. bigram and tri-gram), we have multiple levels to choose from (Fig­ure 2). Because we use both encoding-based and order-based projections, our options form a lattice of coarser state spaces, varying from extremely sim­ple (a bigram model with just two word clusters) to nearly the full space (a trigram model with 10 bits or 1024 word clusters).</p><p>We use this lattice to perform a series of coarse passes with increasing complexity. More formally, we decode a source sentence multiple times, in a sequence of state spaces So, Si,..., Sn=S, where each <i>S</i><i>i </i>is a refinement of <i>Si-1 </i>in either language model order, language encoding size, or both. The state spaces Si and <i>S</i><i>j </i><i>(i &lt; </i><i>j)</i><i> </i>are related to each other via a projection operator ) which maps refined states deterministically to coarser states.</p><p>We start by decoding an input x in the simplest state space So. In particular, we compute the chart of the posterior distributions <i>p0(s) = P</i>(s|x) for all states s G S0. These posteriors will be used to prune the search space S1 of the following pass. States s whose posterior falls below a threshold t trigger the removal of all more refined states <i>s'</i><i> </i>in the subse­quent pass (see Figure 3). This technique is <i>poste­rior pruning, </i>and is different from A* methods in two main ways. First, it can be iterated in a multi­pass setting, and, second, it is generally more effi-<page local="4" global="111"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">110</doubt><p>Figure 3: Example of state pruning in coarse-to-fine decoding using the language encoding projection (see Section 2.2). During the coarse one-bit word cluster pass, two of the four possible states are pruned. Every extension of the pruned one-bit states (indicated by the grey shading) are not explored during the two-bit word cluster pass.</p><p>cient with a potential cost of increased search errors (see Section 2.1 for more discussion).</p><p>Looking at Figure 2, multipass coarse-to-fine de­coding can be visualized as a walk from a coarse point somewhere in the lower left to the most re­fined point in the upper right of the grid. Many coarse-to-fine schedules are possible. In practice, we might start decoding with a 1-bit word bigram pass, followed by an 3-bit word bigram pass, fol­lowed by a 5-bit word trigram pass and so on (see Section 5.3 for an empirical investigation). In terms if time, we show that coarse-to-fine gives substantial speed-ups. There is of course an additional mem­ory requirement, but it is negligible. As we will see in our experiments (Section 5) the largest gains can be obtained with extremely coarse language mod­els. In particular, the largest coarse model we use in our best multipass decoder uses a 4-bit encoding and hence has only 16 distinct words (or at most 4096 trigrams).</p></subsection></section><section number="3" title="Inversion Transduction Grammars"><p>While our approach applies in principle to a vari­ety of machine translation systems (phrase-based or syntactic), we will use the inversion transduction grammar (ITG) approach of Wu (1997) to facili­tate comparison with previous work (Zens and Ney, 2003; Zhang and Gildea, 2008) as well as to focus on language model complexity. ITGs are a subclass of synchronous context-free grammars (SCFGs) where there are only three kinds of rules. Preterminal unary productions produce terminal strings on both sides (words or phrases): X — e/f. Binary in-order pro­ductions combine two phrases monotonically (X — [YZ]). Finally, binary inverted productions invert the order of their children (X — (YZ)). These pro­ductions are associated with rewrite weights in the standard way.</p><p>Without a language model, SCFG decoding is just like (monolingual) CFG parsing. The dynamic pro­gramming states are specified by iXj, where (i, j) is a source sentence span and X is a nonterminal. The only difference is that whenever we apply a CFG production on the source side, we need to remem­ber the corresponding synchronous production on the target side and store the best obtainable transla­tion via a backpointer. See Wu (1996) or Melamed (2004) for a detailed exposition.</p><p>Once we integrate an n-gram language model, the state space becomes lexicalized and combining dy­namic programming items becomes more difficult. Each state is now parametrized by the initial and final n—1 words in the target language hypothesis: ln-1,<i>l1-iXj-r1,</i>rn-1. Whenever we combine two dynamic programming items, we need to score the fluency of their concatentation by incorporat­ing the score of any language model features which cross the target side boundaries of the two concate­nated items (Chiang, 2005). Decoding with an in­tegrated language model is computationally expen­sive for two reasons: (1) the need to keep track of a large number of lexicalized hypotheses for each source span, and (2) the need to frequently query the large language model for each hypothesis combina­tion.</p><p>Multipass coarse-to-fine decoding can alleviate both computational issues. We start by decoding in an extremely coarse bigram search space, where there are very few possible translations. We com­pute standard inside/outside probabilities <i>(iS/oS</i>), as follows. Consider the application of non-inverted binary rule: we combine two items <i>-rb </i>and<page local="5" global="112"/></p><doubt alpha="65.0" length="103" tooSmall="False" monospace="0.0">lc-fcCj-rcspanning (i,k) and (k, j) respectively to form a larger item        -rc, spanning (i, j). The</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">111</doubt><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">+=</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">+</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">rck</doubt><doubt alpha="66.7" length="21" tooSmall="False" monospace="0.0">4b-iIBc-rK/tc-kCj-Tc\</doubt><doubt alpha="54.5" length="66" tooSmall="False" monospace="0.0">iS(lh-iAj-rc)+=p(X^[YZ]) • iS(lh-iBk-rh) LM(rb,lc) • iS(lc-hC3-rc)</doubt><p>Figure 4: Monotonic combination of two hypotheses dur­ing the inside pass involves scoring the fluency of the con­catenation with the language model.</p><p>inside score of the new item is incremented by:</p><doubt alpha="52.1" length="71" tooSmall="False" monospace="0.0">iS(lb-iAj-rc)+= p(X — [YZ]) • iS(lb-iBk-rb) • iS(lc-kCj-rc)• LM (rb,lc)</doubt><p>This process is also illustrated in Figure 4. Of course, we also loop over the split point k and ap­ply the other two rule types (inverted concatenation, terminal generation). We omit those cases from this exposition, as well as the update for the outside pass; they are standard and similar. Once we have com­puted the inside and outside scores, we compute pos­terior probabilities for all items:</p><doubt alpha="57.1" length="14" tooSmall="False" monospace="0.0">p(la-iAj-ra) =</doubt><p><i>iS (la-iAj</i>-ra)oS <i>(la-iAj</i>-ra)</p><p>iS(root) where iS(root) is sum of all translations' scores. States with low posteriors are then pruned away. We proceed to compute inside/outside score in the next, more refined search space, using the projec­tions to map between states in Si and Si-1. In each pass, we skip all items whose projection into the previous stage had a probability below a stage-specific threshold. This process is illustrated in Fig­ure 3. When we reach the most refined search space Soo, we do not prune, but rather extract the Viterbi derivation instead.<footnote anchor="1"/></p></section><section number="4" title="Learning Coarse Languages"><p>Central to our encoding-based projections (see Sec­tion 2.2) are hierarchical clusterings of the tar­get language vocabulary. In the present work, these clusterings are each k-bit encodings and yield sequences of coarse language models LM<i>k </i>and phrasetables PT<i>k.</i></p><footnote label="1">Other final decoding strategies are possible, of course, in­cluding variational methods and minimum-risk methods (Zhang and Gildea, 2008).</footnote><p>Given a hierarchical clustering, we estimate the corresponding LM<i>k </i>from a corpus obtained by re­placing each token in a target language corpus with the appropriate word cluster. As with our original refined language model, we estimate each coarse language model using the SRILM toolkit (Stolcke, 2002). The phrasetables PT<i>k </i>are similarly estimated by replacing the words on the target side of each phrase pair with the corresponding cluster. This pro­cedure can potentially map two distinct phrase pairs to the same coarse translation. In such cases we keep only one coarse phrase pair and sum the scores ofthe colliding originals.</p><p>There are many possible schemes for creating hi­erarchical clusterings. Here, we consider several di­visive clustering methods, where coarse word clus­ters are recursively split into smaller subclusters.</p><subsection number="4.1" title="Random projections"><p>The simplest approach to splitting a cluster is to ran­domly assign each word type to one of two new sub-clusters. Random projections have been shown to be a good and computationally inexpensive dimension­ality reduction technique, especially for high dimen­sional data (Bingham and Mannila, 2001). Although our best performance does not come from random projections, we still obtain substantial speed-ups over a single pass fine decoder when using random projections in coarse passes.</p></subsection><subsection number="4.2" title="Frequency clustering"><p>In frequency clustering, we allocate words to clus­ters by frequency. At each level, the most frequent words go into one cluster and the rarest words go into another one. Concretely, we sort the words in a given cluster by frequency and split the cluster so that the two halves have equal token mass. This ap­proach can be seen as a radically simplified version of Brown et al. (1992). It can, and does, result in highly imbalanced cluster hierarchies.</p></subsection><subsection number="4.3" title="HMM clustering"><p>An approach found to be effective by Petrov and Klein (2007) for coarse-to-fine parsing is to use likelihood-based hierarchical EM training. We adopt this approach here by identifying each clus­ter with a latent state in an HMM and determiniz-ing the emissions so that each word type is emitted<page local="6" global="113"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">112</doubt><doubt alpha="25.0" length="4" tooSmall="False" monospace="0.0">'S &amp;</doubt><doubt alpha="63.5" length="52" tooSmall="False" monospace="0.0">012345678910 Number of bits in coarse language model</doubt><p>Figure 5: Results of coarse language model perplexity experiment (see Section 4.5). HMM and JClustering have lower perplexity than frequency and random clustering for all number of bits in the language encoding.</p><p>by only one state. When splitting a cluster s into s1 and s2, we initially clone and mildly perturb its corresponding state. We then use EM to learn pa­rameters, which splits the state, and determinize the result. Specifically, each word w is assigned to s1 if P(w|s1) &gt; P(w|s2) and s2 otherwise. Because of this determinization after each round of EM, a word in one cluster will be allocated to exactly one of that cluster's children. This process not only guarantees that the clusters are hierarchical, it also avoids the state drift discussed by Petrov and Klein (2007). Be­cause the emissions are sparse, learning is very effi­cient. An example of some of the words associated with early splits can be seen in Figure 1.</p></subsection><subsection number="4.4" title="JCluster"><p>Goodman (2001) presents a clustering scheme which aims to minimize the entropy of a word given a cluster. This is accomplished by incrementally swapping words between clusters to locally mini­mize entropy.<footnote anchor="2"/> This clustering algorithm was devel­oped with a slightly different application in mind, but fits very well into our framework, because the hierarchical clusters it produces are trained to maxi­mize predictive likelihood.</p></subsection><subsection number="4.5" title="Clustering Results"><p>We applied the above clustering algorithms to our monolingual language model data to obtain hierar-</p><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">w</doubt><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">100000</doubt><p>Figure 6: Coarse-to-fine decoding with HMM or JClus-tering coarse language models reduce decoding times while increasing accuracy.</p><p>chical clusters. We then trained coarse language models of varying granularity and evaluated them on a held-out set. To measure the quality of the coarse language models we use perplexity (exponentiated cross-entropy).<footnote anchor="3"/> Figure 5 shows that HMM clus­tering and JClustering have lower perplexity than frequency and random based clustering for all com­plexities. In the next section we will present a set of machine translation experiments using these coarse language models; the clusterings with better per­plexities generally produce better decoders.</p></subsection></section><section number="5" title="Experiments"><p>We ran our experiments on the Europarl corpus (Koehn, 2005) and show results on Spanish, French and German to English translation. We used the setup and preprocessing steps detailed in the 2008 Workshop on Statistical Machine Translation.<footnote anchor="4"/> Our baseline decoder uses an ITG with an integrated tri-gram language model. Phrase translation parame­ters are learned from parallel corpora with approx­imately 8.5 million words for each of the language pairs. The English language model is trained on the entire corpus of English parliamentary proceedings provided with the Europarl distribution. We report results on the 2000 development test set sentences of length up to 126 words (average length was 30 words).</p><footnote label="2">The software for this clustering technique is available at http://research.microsoft.com/~joshuago/ .</footnote><footnote label="3">We assumed that each cluster had a uniform distribution over all the words in that cluster.</footnote><footnote label="4">See http://www.statmt.org/wmt08 for details.</footnote><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">113</doubt><doubt alpha="0.0" length="23" tooSmall="False" monospace="0.0">90000 80000 70000 60000</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">50000</doubt><doubt alpha="0.0" length="25" tooSmall="False" monospace="0.0">40000 30000 20000 10000 0</doubt><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>29.4</p></td><td class="cell"><p></p></td><td class="cell"><p><b>.................</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>29.2</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>29</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>28.8</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>28.6</p></td><td class="cell"><p></p></td><td class="cell"><p>/ /</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>//' HMM</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>28.4</p></td><td class="cell"><p></p></td><td class="cell"><p>/ JCluster</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>28.2</p></td><td class="cell"><p></p></td><td class="cell"><p>Frequence</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Random</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><b>■</b></p></td><td class="cell"><p>Single pass (no clustering)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>28</p><p>100</p></td><td class="cell"><p>1000 10000</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>Total time in seconds</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="7" global="114"/><doubt alpha="0.0" length="6" tooSmall="False" monospace="0.0">100000</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">s i</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">o</doubt><doubt alpha="3.6" length="28" tooSmall="False" monospace="0.0">300 p 250 200 150 100 50 0 -</doubt><doubt alpha="100.0" length="4" tooSmall="False" monospace="0.0">fine</doubt></section><section number="4" title="bits ^sxxxxi"><doubt alpha="33.3" length="15" tooSmall="False" monospace="0.0">3 bits18888888m</doubt><doubt alpha="66.7" length="6" tooSmall="False" monospace="0.0">2 bits</doubt><doubt alpha="33.3" length="12" tooSmall="False" monospace="0.0">1 bitK\\\\\1</doubt><doubt alpha="47.1" length="85" tooSmall="False" monospace="0.0">f     4-f   3-f   2-f    1-f 2-3-f 1-3-f1-2-3-f Language model bits for coarse passes</doubt><doubt alpha="100.0" length="1" tooSmall="True" monospace="0.0">W</doubt><p>Figure 7: Many passes with extremely simple language Figure 8: A combination of order-based and encoding-models produce the highest speed-ups. based coarse-to-fine decoding yields the best results.</p><p>Our ITG translation model is broadly competitive with state-of-the-art phrase-based-models trained on the same data. For example, on the Europarl devel­opment test set, we fall short of Moses (Koehn et al., 2007) by less than one BLEU point. On Spanish-English we get 29.47 BLEU (compared to Moses's 23.80 (vs. 24.64) on German-English. These differ­ences can be attributed primarily to the substantially richer distortion model used by Moses.</p><doubt alpha="41.7" length="48" tooSmall="False" monospace="0.0">30.40), on French-English 29.34 (vs. 29.95), and</doubt><p>The multipass coarse-to-fine architecture that we have introduced presents many choice points. In the following, we investigate various axes individu­ally. We present our findings as BLEU-to-time plots, where the tradeoffs were generated by varying the complexity and the number of coarse passes, as well as the pruning thresholds and beam sizes. Unless otherwise noted, the experiments are on Spanish-English using trigram language models. When different decoder settings are applied to the same model, MERT weights (Och, 2003) from the unpro-jected single pass setup are used and are kept con­stant across runs. In particular, the same MERT weights are used for all coarse passes; note that this slightly disadvantages the multipass runs, which use MERT weights optimized for the single pass de­coder.</p><subsection number="5.1" title="Clustering"><p>In section Section 4, HMM clustering and JCluster-ing gave lower perplexities than frequency and ran­dom clustering when using the same number of bits for encoding the language model. To test how these models perform at pruning, we ran our decoder sev­eral times, varying only the clustering source. In each case, we used a 2-bit trigram model as a sin­gle coarse pass, followed by a fine output pass. Fig­ure 6 shows that we can obtain significant improve­ments over the single-pass baseline regardless of the clustering. To no great surprise, HMM clustering and JClustering yield better results, giving a 30-fold speed-up at the same accuracy, or improvements of about 0.3 BLEU when given the same time as the single pass decoder. We discuss this increase in ac­curacy over the baseline in Section 5.5. Since the performance differences between those two cluster­ing algorithms are negligible, we will use the sim­pler HMM clustering in all subsequent experiments.</p></subsection><subsection number="5.2" title="Spacing"><p>Given a hierarchy of coarse language models, all trigam for the moment, we need to decide on the number of passes and the granularity of the coarse language models used in each pass. Figure 7 shows how decoding time varies for different multipass schemes to achieve the same translation quality. A single coarse pass with a 4-bit language model cuts decoding time almost in half. However, one can further cut decoding time by starting with even coarser language models. In fact, the best results are achieved by decoding in sequence with 1-, 2-and 3-bit language models before running the final fine trigram pass. Interestingly, in this setting, each pass takes about the same amount of time. A simi­lar observation was reported in the parsing literature, where coarse-to-fine inference with multiple passes<page local="8" global="115"/></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">114</doubt><table class="main" frame="box" rules="all" border="0" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>29.6</p></td><td class="cell"><p></p></td><td class="cell"><p><i>.................</i></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>29.4</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>29.2</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>29</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>28.8</p></td><td class="cell"><p></p></td><td class="cell"><p>'   / /"</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>28.6</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>28.4</p></td><td class="cell"><p></p></td><td class="cell"><p>/ Encoding+Order</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Order</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>28.2</p></td><td class="cell"><p><i>- /</i></p></td><td class="cell"><p>Encoding</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>28</p></td><td class="cell"><p></p></td><td class="cell"><p>Single pass</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>100</p></td><td class="cell"><p>1000 10000</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>Total time in seconds</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><doubt alpha="0.0" length="2" tooSmall="False" monospace="0.0">28</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">100</doubt><p>Total time in seconds</p><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">Spanish</doubt><doubt alpha="0.0" length="14" tooSmall="False" monospace="0.0">29.6 29.4 29.2</doubt><doubt alpha="0.0" length="22" tooSmall="False" monospace="0.0">29 28.8 28.6 28.4 28.2</doubt><doubt alpha="56.2" length="32" tooSmall="False" monospace="0.0">1000 10000 Total time in seconds</doubt><doubt alpha="0.0" length="9" tooSmall="False" monospace="0.0">29.4 29.2</doubt><doubt alpha="0.0" length="14" tooSmall="False" monospace="0.0">100 1000 10000</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">French</doubt><doubt alpha="100.0" length="6" tooSmall="False" monospace="0.0">German</doubt><doubt alpha="75.0" length="4" tooSmall="False" monospace="0.0">ZD-J</doubt><p>Figure 9: Coarse-to-fine decoding is faster than single pass decoding with a trigram language model and leads to better BLEU scores on all language pairs and for all parameter settings.</p><p>of roughly equal complexity produces tremendous speed-ups (Petrov and Klein, 2007).</p></subsection><subsection number="5.3" title="Encoding vs. Order"><p>As described in Section 2, the language model com­plexity can be reduced either by decreasing the vo­cabulary size (encoding-based projection) or by low­ering the language model order from trigram to bi­gram (order-based projection). Figure 7 shows that both approaches alone yield comparable improve­ments over the single pass baseline. Fortunately, the two approaches are complimentary, allowing us to obtain further improvements by combining both. We found it best to first do a series of coarse bigram passes, followed by a fine bigram pass, followed by a fine trigram pass.</p></subsection><subsection number="5.4" title="Final Results"><p>Figure 9 compares our multipass coarse-to-fine de­coder using language refinement to single pass de­coding on three different languages. On each lan­guage we get significant improvements in terms of efficiency as well as accuracy. Overall, we can achieve up to 50-fold speed-ups at the same accu­racy, or alternatively, improvements of 0.4 BLEU points over the best single pass run.</p><p>In absolute terms, our decoder translates on aver­age about two Spanish sentences per second at the highest accuracy setting.<footnote anchor="5"/> This compares favorably to the Moses decoder (Koehn et al., 2007), which takes almost three seconds per sentence.</p><footnote label="5">Of course, the time for an average sentence is much lower, since long sentences dominate the overall translation time.</footnote></subsection><subsection number="5.5" title="Search Error Analysis"><p>In multipass coarse-to-fine decoding, we noticed that in addition to computational savings, BLEU scores tend to improve. A first hypothesis is that coarse-to-fine decoding simply improves search quality, where fewer good items fall off the beam compared to a simple fine pass. However, this hy­pothesis turns out to be incorrect. Table 1 shows the percentage of test sentences for which the BLEU score or log-likelihood changes when we switch from single pass decoding to coarse-to-fine multi­pass decoding. Only about 30% of the sentences get translated in the same way (if much faster) with coarse-to-fine decoding. For the rest, coarse-to-fine decoding mostly finds translations with lower likeli­hood, but higher BLEU score, than single pass de-coding.<footnote anchor="6"/> An increase of the underlying objectives of interest when pruning despite an increase in model-score search errors has also been observed in mono­lingual coarse-to-fine syntactic parsing (Charniak et al., 1998; Petrov and Klein, 2007). This effect may be because coarse-to-fine approximates certain min­imum Bayes risk objective. It may also be an effect of model intersection between the various passes' models. In any case, both possibilities are often per­fectly desirable. It is also worth noting that the num­ber of search errors incurred in the coarse-to-fine approach can be dramatically reduced (at the cost of decoding time) by increasing the pruning thresh­olds. However, the fortuitous nature of coarse-to-fine search errors seems to be a substantial and de­sirable effect.</p><footnote label="6">We compared the influence of multipass decoding on the TM score and the LM score; both decrease.</footnote><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">115</doubt><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>-— .......</p></td><td class="cell"><p></p></td><td class="cell"><p>24 23.5</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>"     * r'" </i></b>/</p></td><td class="cell"><p>BLEU</p></td><td class="cell"><p>23</p></td><td class="cell"><p></p></td><td class="cell"><p>/</p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>' /</p></td><td class="cell"><p></p></td><td class="cell"><p>22.5</p></td><td class="cell"><p>/</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b><i>-        J           </i></b>Coarse-To-Fine —<footnote anchor="1"/>— Fine Baseline —*—</p></td><td class="cell"><p></p></td><td class="cell"><p>22</p></td><td class="cell"><p>/</p><p>/</p></td><td class="cell"><p></p></td><td class="cell"><p>Coarse-To-Fine —<footnote anchor="1"/>— Fine Baseline —*■—</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><page local="9" global="116"/><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">LL</doubt><p>Table 1: Percentage of sentences for which the BLEU score/log-likelihood improves/drops during coarse-to-fine decoding (compared to single pass decoding).</p></subsection></section><section number="6" title="Conclusions"><p>We have presented a coarse-to-fine syntactic de­coder which utilizes a novel encoding-based lan­guage projection in conjunction with order-based projections to achieve substantial speed-ups. Un­like A* methods, a posterior pruning approach al­lows multiple passes, which we found to be very beneficial for total decoding time. When aggres­sively pruned, coarse-to-fine decoding can incur ad­ditional search errors, but we found those errors to be fortuitous more often than harmful. Our frame­work applies equally well to other translation sys­tems, though of course interesting new challenges arise when, for example, the underlying SCFGs be­come more complex.</p><table class="main" frame="box" rules="all" border="1" regular="False"><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>&gt;</p></td><td class="cell"><p>=</p></td><td class="cell"><p>&lt;</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>BLEU</p></td><td class="cell"><p>&gt;</p></td><td class="cell"><p>3.6%</p></td><td class="cell"><p>-</p></td><td class="cell"><p>26.3%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>=</p></td><td class="cell"><p>1.5%</p></td><td class="cell"><p>29.6 %</p></td><td class="cell"><p>12.9 %</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>&lt;</p></td><td class="cell"><p>2.2%</p></td><td class="cell"><p>-</p></td><td class="cell"><p>24.1%</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table></section><references><p>E. Bingham and H.i Mannila. 2001. Random projection in dimensionality reduction: applications to image and text data. In <i>KDD '01.</i></p><p>P. Brown, V. Della Pietra, P. deSouza, J. Lai, and R. Mer­cer. 1992. Class-based n-gram models of natural lan­guage. <i>Computational Linguistics.</i></p><p>E. Charniak, S. Goldwater, andM. Johnson. 1998. Edge-based best-first chart parsing. 6th <i>Workshop on Very Large Corpora.</i></p><p>E. Charniak, M. Johnson, D. McClosky, et al. 2006.</p><p>Multi-level coarse-to-fine PCFG Parsing. In <i>HLT-NAACL '06.</i></p><p>D. Chiang. 2005. A hierarchical phrase-based model for statistical machine translation. In <i>ACL '05.</i></p><p>J. Goodman. 1997. Global thresholding and multiple-pass parsing. In <i>EMNLP '97.</i></p><p>J. Goodman. 2001. A bit of progress in language model­ing. Technical report, Microsoft Research.</p><p>A. Haghighi, J. DeNero, and D. Klein. 2007. A* search via approximate factoring. In <i>NAACL 07.</i></p><p>L. Huang and D. Chiang. 2007. Forest rescoring: Faster decoding with integrated language models. In <i>ACL</i> <i>07.</i><i></i></p><p>D. Klein and C. Manning. 2003. A* parsing: fast exact viterbi parse selection. In <i>NAACL '03.</i></p><p>P. Koehn, H. Hoang, et al. 2007. Moses: Open source toolkit for statistical machine translation. In <i>ACL 07.</i></p><p>P. Koehn. 2005. Europarl: A parallel corpus for statisti­cal machine translation. In <i>MT Summit.</i></p><p>I. D. Melamed. 2004. Statistical machine translation by parsing. In <i>ACL '04.</i></p><p>F. Och. 2003. Minimum error rate training in statistical machine translation. In <i>ACL 03.</i></p><p>S. Petrov and D. Klein. 2007. Improved inference for unlexicalized parsing. In <i>HLT-NAACL 07.</i></p><p>S. Petrov, L. Barrett, R. Thibaux, and D. Klein. 2006.</p><p>Learning accurate, compact, and interpretable tree an­notation. In <i>ACL 06.</i></p><p>A. Stolcke. 2002. SRILM - an extensible language mod­eling toolkit. In <i>ICSLP '02.</i></p><p>A. Venugopal, A. Zollmann, and S. Vogel. 2007. An ef­ficient two-pass approach to synchronous-CFG driven statistical MT. In <i>HLT-NAACL 07.</i></p><p>D. Wu. 1996. A polynomial-time algorithm for statisti­cal machine translation. In <i>ACL 96.</i></p><p>D. Wu. 1997. Stochastic inversion transduction gram­mars and bilingual parsing of parallel corpora. In <i>Computational Linguistics.</i></p><p>R. Zens and H. Ney. 2003. A comparative study on re­ordering constraints in statistical machine translation.</p><p>In <i>ACL 03.</i></p><p>H. Zhang and D. Gildea. 2008. Efficient multi-pass decoding for synchronous context free grammars. In <i>ACL '08.</i></p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">116</doubt></references></body></article>