<?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="1"/><title>An Example-based Decoder for Spoken Language Machine Translation</title><pubinfo>Sixth SIGHAN Workshop on Chinese Language Processing</pubinfo><author surname="Li" givenname="Zhou-Jun"><org  name="National Laboratory for Parallel and Distributed Processing" country="China" city="Changsha"/></author><author surname="Chao" givenname="Wen-Han"><org  name="National Laboratory for Parallel and Distributed Processing" country="China" city="Changsha"/></author><author surname="Chen" givenname="Yue-Xin"><org  name="National Laboratory for Parallel and Distributed Processing" country="China" city="Changsha"/></author></firstpageheader><frontmatter><p><b>An Example-based Decoder for Spoken Language Machine Transla­tion</b></p><p><b>Zhou-Jun Li</b></p><p>National Laboratory for Parallel and Distributed Processing, Changsha, China</p><p>School of Computer Sci­ence and Engineering, Beihang University, China</p><p>lizj@buaa.edu.cn</p><p><b>Wen-Han Chao</b></p><p>cwh2k@163.com</p><p><b>Yue-Xin Chen</b></p></frontmatter><abstract>In this paper, we propose an example-based decoder for a statistical machine translation (SMT) system, which is used for spoken language machine translation. In this way, it will help to solve the re-ordering problem and other problems for spoken language MT, such as lots of omissions, idioms etc. Through experiments, we show that this approach obtains improvements over the baseline on a Chinese-English spoken lan­guage translation task. </abstract></header><body><section number="1" title="Introduction"><p>The state-of-the-art statistical machine translation (SMT) model is the log-linear model (Och and Ney, 2002), which provides a framework to incorporate any useful knowledge for machine translation, such as translation model, language model etc.</p><p>In a SMT system, one important problem is the re-ordering between words and phrases, especially when the source language and target language are very different in word order, such as Chinese and English.</p><p>For the spoken language translation, the re­ordering problem will be more crucial, since the spoken language is more flexible in word order. In addition, lots of omissions and idioms make the translation more difficult.</p><p>However, there exists some "useful" features, such as, most of the spoken text is shorter than the written text and there are some fixed translation structures. For example, ( / Would you please ... ? ), (t£...?/May I...?).</p><p>We can learn these fixed structures and take them as rules, Chiang (2005) presents a method to learn these rules, and uses them in the SMT. Gen­erally, the number of these rules will be very large. In this paper, we propose an example-based de­coder in a SMT model, which will use the transla­tion examples to keep the translation structure, i.e. constraint the reordering, and make the omitted words having the chance to be translated.</p><p>The rest of this paper is organized as follows: Since our decoder is based on the inversion trans-duction grammars (ITG) (Wu, 1997), we introduce the ITG in Section 2 and describe the derived SMT model. In Section 3, we design the example-based decoder. In Section 4, we test our model and com­pare it with the baseline system. Then, we con­clude in Section 5 and Section 6.</p></section><section number="2" title="The SMT model"><p>ITG is a synchronous context-free grammar, which generates two output streams simultaneously. It consists of the following five types of rules:</p><doubt alpha="37.1" length="35" tooSmall="False" monospace="0.0">A——^[AA] |&lt;AA&gt;|   /ej|ct/s|s/ej ^1)</doubt><p>Where <i>A </i>is the non-terminal symbol, [] and &lt;&gt; represent the two operations which generate out­puts in <b>straight </b>and <b>inverted </b>orientation respec­tively. <i>ct </i>and <i>e </i><i>j </i>are terminal symbols, which rep­resent the words in both languages, <i>s </i>is the null words.<page local="2" global="2"/> The last three rules are called lexical rules. <i>p </i>is the probability of the rule.</p><p>In this paper, we consider the phrase-based SMT, so the <i>ci </i>and <i>e</i><i>j </i>represent phrases in both lan­guages, which are consecutive words. And a pair of <i>ci </i>and <i>e</i><i>j </i>is called a phrase-pair, or a <b>block.</b></p><p>During the process of decoding, each phrase <i>ci</i>in the source sentence is translated into a target phrase <i>e</i><i>j </i>through lexical rules, and then rules [] or &lt;&gt; are used to merge two adjacent blocks into a larger block in straight or inverted orientation, until the whole source sentence is covered. In this way, we will obtain a binary branching tree, which is different from the traditional syntactical tree, since each constituent in the branching tree is not a syn­tactical constituent.</p><p>Thus, the model achieves a great flexibility to interpret almost arbitrary reordering during the de­coding, while keeping a weak but effective con­straint. Figure 1(a) gives an example to illustrate a derivation from the ITG model.</p><p>e/ the   llifi M / nearest Ittt / cassino     4 Iffi / where 's        ?  / ? (a) An ITG tree wherej     's2 the3     nearest4 cassino5 ?6 (b)  A word alignment</p><p>Figure 1. (a) An ITG tree derived from the ITG where the line between the branches means an in­verted orientation, otherwise a straight one, (b) A word alignment corresponds to the ITG tree in (a).</p><p>Since we regard the process of the decoding as a sequence of applications of rules in (1), i.e., the output sentence pair <i>(C,E) </i>will be a derivation <i>D </i>of the ITG, where <i>C </i>represents the source sentence and <i>E </i>is the target sentence.</p><p>Following Och and Ney (2002), we define the probability for each rule as:</p><doubt alpha="46.2" length="26" tooSmall="False" monospace="0.0">Pr(rule)=]~~[hi(rule)1*(2)</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">i</doubt><p>Where the <i>hi </i>represents the feature and h is the corresponding weight of the feature.</p><p>We will consider mainly the following features for rules:</p><doubt alpha="56.1" length="41" tooSmall="False" monospace="0.0">• Translation   Models:P(e| c) ,P(c| e) ,</doubt><p><i>Plex (e </i>| c) and <i>P</i><i>iex </i><i>(c </i>| e) . The first two mod­els consider the probability of phrase transla­tion; and the latter two consider the lexical translation, i.e., the probability that the words in source (or target) phrase translate to the ones in the target (or source) phrase.</p><p>• Reordering model: <i>P(o </i>| <i>b1,b2) </i>, where <i>o </i>is</p><p>the output orientation and b;, <i>b2 </i>are the two blocks in the rule.</p><p>• Language model: A Prim (e), which considers</p><p>the increment of the language model for each rule.</p><p>And the probability for the derivation will be:</p><doubt alpha="41.2" length="17" tooSmall="False" monospace="0.0">Pr(D)= nPr(r) (3)</doubt><doubt alpha="100.0" length="3" tooSmall="False" monospace="0.0">reD</doubt><p>So the decoder searches the best <i>E* </i>derived from the best derivation D*, when given a source sentence C.</p><doubt alpha="52.6" length="19" tooSmall="False" monospace="0.0">D*=argmaxPr( D) (4)</doubt><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">c( D)=C</doubt><subsection number="2.1" title="Building the models"><p>In our SMT model, we use the translation models and reordering model. They will be built from the training corpus, which is a word-aligned bilingual corpus satisfying the ITG constraint.</p><p>We define the word alignment <i>A </i>for the sen­tence pair <i>(C,E) </i>in the following ways:</p><p>• A region <i>s..t): </i>i..<i>j </i>represents a sequence of position index in sentence <i>C, </i>i.e. i,<i>i </i>+1,..., <i>j </i>and <i>s..t </i>represents a sequence of position index in sentence E, i.e. <i>s, s +</i>1,..., <i>t</i>. We also call the      and s..t are regions in</p><p>monolingual sentences. The region corre­sponds to a phrase pair, which we called as a block. The length of the block is max(| <i>j - i +t - s +</i>1|) .</p><page local="3" global="3"/><p>• A link <i>l = </i>(i..j,s..t) : And each link represents the alignment between the consecutive words in both of the sentences, which position in­dexes are in <i>i</i>.. <i>j </i>and <i>s</i>.. <i>t </i>. If one of the <i>i</i>.. <i>j</i></p><p>and s..t is 8, i.e. an empty region, we call the link a null-align.</p><doubt alpha="61.9" length="42" tooSmall="False" monospace="0.0">• A  word  alignment A:   a  set  of links</doubt><p><i>A = ih, </i>I2,..., <i>ln</i>}.</p><p>We can merge two links l1 = (i1.. j1, s1 ..t1) and l2 = (i2..j2, s2..t2) to form a larger link, if the two links are adjacent in both of the sentences, i.e.</p><doubt alpha="61.5" length="39" tooSmall="False" monospace="0.0">j1is adjacent to i2..j2where i2=j1+1 or</doubt><p>i'1 = j'2 +1, or i .. j (or i2..j'2) is 8 , so do the S1 ..t1 to s2..t2. If the region (i.. <i>j, </i>s..t)can be formed by merging two adjacent links gradually, we call the region is independent, and the corresponding block is also independent.</p><p>In our system, the word alignment must satisfy the ITG constraint, i.e. the word alignment is able to form a binary branching tree. Figure 1(b) illus­trates a word alignment example; the number be­low the word is the position index. In the example, the region (1..3, 3..5) is independent, and the block <i>(MMf </i><i>$]</i><i> </i><i>H$M</i><i>i </i><i>the nearest cassino) </i>is also inde­pendent.</p><p>In order to obtain the word alignment satisfying the ITG constraint, Wu(1997) propose a DP algo­rithm, and we (Chao and Li, 2007) have transferred the constraint to four simple position judgment procedures in an explicit way, so that we can in­corporate the ITG constraint as a feature into a log­linear word alignment model (Moore, 2005).</p><p>After obtaining the word-aligned corpus, in which each word alignment satisfy the ITG con­straint, we can extract the blocks in a straight­forward way. For the word alignment forms a hier­archical binary tree, we choose each constituent as a block. Each block is formed by combining one or more links, and must be independent. Considering the data sparseness, we limit the length of each block as N (here N=3~5).</p><p>We can also collect the reordering information between two blocks according to the orientation of the branches.</p><p>Thus, we will build the translation models <i>P(e </i>| c), <i>P(c </i>| e), <i>P</i><i>lex </i><i>(e </i>| c) and <i>PUx (c </i>| e) , using the frequencies of the blocks, and the re-ordering model P(o | <i>b^,</i><i>b^)</i><i> </i>, <i>o </i>e <i>{straight,invert} </i>in the following way:</p><doubt alpha="54.3" length="46" tooSmall="False" monospace="0.0">(|bb)freq. of(O(b1,= o)(5)freq. ofcooccur,b2 )</doubt><p>Considering the data sparseness, we transfer the re-ordering model in the following way:</p><doubt alpha="27.0" length="37" tooSmall="False" monospace="0.0">p(o| b1,b2)=p(o| b1,*) •p(o|*, b2)(6)</doubt><p>where * represents any block, <i>p(o </i>| <i>b1,*) </i>repre­sents the probability when O(b1,*) = <i>o</i>, i.e., when <i>b1 </i>occurs, the orientation it merges with any other block is <i>o </i>. So we can estimate the merging orien­tation through the two blocks respectively.</p></subsection><subsection number="2.2" title="A Baseline Decoder"><p>In order to evaluate the example-based decoder, we develop a CKY style decoder as a baseline (Chao et al. 2007), which will generate a derivation from the ITG in a DP way. And it is similar with the topical phrase-based SMT system, while maintain­ing the ITG constraint.</p></subsection></section><section number="3" title="The Example-based Decoder"><p>The SMT obtains the translation models during training, and does not need the training corpus when decoding; while the example-based machine translation system (EBMT) using the similar ex­amples in the training corpus when decoding.</p><p>However, both of them use the same corpus; we can generate a hybrid MT, which is a SMT system while using an example-based decoder, to benefit from the advantages within the two systems.</p><p>Our example-based decoder consists of two components: retrieval of examples and decoding. Figure 2 shows the structure of the decoder.</p><p>Input sentence<page local="4" global="4"/></p><figure caption="Figure 2. The structure of the example-based de­coder."></figure><subsection number="3.1" title="Retrieval of Examples"><p>Our training corpus is a sentence-aligned bilingual corpus. For each sentence pair <i>(C,E), </i>we obtained the word alignment <i>A, </i>satisfying the ITG constaint through the methods described in section 2. We call the triple <i>(C,A,E) </i>as an example.</p><p>So, the problem of retrieval of examples is: given the input source sentence <i>C0 </i>and the training corpus, collecting a set of translation examples {( C;, A;, E;) , ( C2, 7A2, E2),....} from the corpus, where each translation example <i>(C </i>, <i>A </i>, <i>E </i>) is similar to the input sentence <i>C0.</i></p><p>The quality of the retrieval of the similar exam­ples is very import to the hybrid MT. For the trans­lating may run in a large-scale corpus and in a real­time way, we divide the retrieval of similar exam­ples into two phases:</p><p>• Fast Retrieval Phase: retrieving the similar examples from the corpus quickly, and take them as candidates. The complexity should not be too high.</p><p>• Refining Phase: refining the candidates to find the most similar examples.</p><subsubsection number="3.1.1" title="Th e S imilarity Metric for Fast Retrieval"><p>Given an input sentence <i>I = w1w2...wn </i>and an ex­ample <i>(C, A, E), </i>we calculate the number of the matched source words between the input sentence and the source sentence <i>C </i>in the example firstly.</p><doubt alpha="64.3" length="14" tooSmall="False" monospace="0.0">Simw(I,Exam)--</doubt><p>2* <i>Matchw</i></p><doubt alpha="47.6" length="21" tooSmall="False" monospace="0.0">Len(I) + Len(C, A, E)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(7)</doubt><p>where <i>Matchw </i>is the number of the matched words and <i>Len(I</i>) is the number of words in <i>I</i>, and <i>Len(C, A, E</i>) is the number of the words in the in <i>C </i>.</p><p>Given an input sentence <i>I = </i>w1w2... <i>wn</i>, we ob­tain the relative blocks in the translation model for each word <i>wt(i e </i>{1,2,...n} . We use <i>B'k</i>-gram<i> </i>to represent the blocks, in which for each block <i>(c, </i><i>e)</i><i> </i>, the source phrase <i>c </i>use the word <i>wi </i>as the first word, and the length of <i>c </i>is <i>k </i>, i.e. the <i>c = wt </i>. For each <i>c</i>, there may exists more than one blocks with <i>c </i>as the source phrase, so we will sort them by the probability and keep the best N (here set N=5) blocks. Now we represent the input sentence as:</p><doubt alpha="33.3" length="42" tooSmall="False" monospace="0.0">a(I) = {b |b e B^-gram,1 &lt;i&lt; n,1 &lt;k &lt;n}(8)</doubt><p>For example, in an input sentence      ^§ ^H", <i>B</i><i>l</i><i>-gram =       </i>i), (^, me), (^, <i>my), </i>(ft Mine)} Note,   some   <i>B'k</i><i> </i>- <i>gram </i>may   be   empty, e.g.</p><p>B2l<i>gram </i>since no blocks with "^g as the source phrase.</p><p>In the same way, we represent the example (C, A, <i>E</i>) as:</p><doubt alpha="53.3" length="30" tooSmall="False" monospace="0.0">(p(C, A,E)=[b\beB'k_gram,beA*}</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(9)</doubt><p>where <i>A* </i>represents the blocks which are links in the alignment <i>A </i>or can be formed by merging ad­jacent links independently. In order to accelerate the retrieval of similar examples, we generate the block set for the example during the training proc­ess and store them in the corpus.</p><p>Now, we can use the number of the matched blocks to measure the similarity of the input and the example:</p><doubt alpha="60.0" length="15" tooSmall="False" monospace="0.0">Simb(I, Exam) -</doubt><p>2* <i>Matchb</i></p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(10)</doubt><p><i>Bgram + Bgram</i></p><p>where <i>Matchb </i>is the number of the matched blocks and <i>BgIram </i>is the number of <i>Bki -</i><i>gram</i> (<i>B'k-</i><i>gram </i><i>*&lt;f&gt;)</i><i> </i>in <i>a(I</i>), and <i>B</i><i>^a^</i>is the number of the blocks in &lt;p(C, A, <i>E</i>).</p><p>Since each block is attached a probability, we can compute the similarity in the following way:</p><doubt alpha="54.5" length="11" tooSmall="False" monospace="0.0">2*XPr ob(b)</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(11)</doubt><doubt alpha="50.0" length="18" tooSmall="False" monospace="0.0">Simp(I, Exam) = —-</doubt><doubt alpha="100.0" length="7" tooSmall="False" monospace="0.0">beMatch</doubt><p>So the final similarity metric for fast retrieval of the candidates is:</p><doubt alpha="65.1" length="43" tooSmall="False" monospace="0.0">Simfast(I, Exam) = aSimw+ jBSimb+ ySimp(12)</doubt><p>where 0 <i>&lt;a,</i><i> f3,y&lt; </i>1 <i>a + </i><i>(3</i><i> </i><i>+</i><i> </i><i>y</i><i> </i><i>=</i><i> </i>1. Here we use mean values, i.e. <i>a = ( = y = </i>1/3. During the fast retrieval phase, we first filter out the examples us­ing the <i>Simw </i>, then calculate the <i>Sim</i><i> fast </i>for each example left, and retrieve the best <i>N </i>examples.</p><page local="5" global="5"/></subsubsection><subsubsection number="3.1.2" title="The Alignment Structure Metric"><p>After retrieving the candidate similar examples, we refine the candidates using the word alignment structure with the example, to find the best <i>M </i>simi­lar examples (here set <i>M</i>=10). The word alignment in the example satisfies the ITG constraint, which provides a weak structure constraint.</p><p>Given the input sentence <i>I </i>and an example <i>(C,</i><i> A, </i><i>E)</i><i> </i>, we first search the matched blocks, at this moment the order of the source phrases in the blocks must correspond with the order of the words in the input.</p><p>As Figure 3 shows, the matching divides the in­put and the example respectively into several re­gions, where some regions are matched and some un-matched. And we take each region as a whole and align them between the input and the example according to the order of the matched regions. For example, the region (1..3,3..5) in <i>(C,</i><i> A, </i><i>E)</i><i> </i>is un­matched, which aligns to the region (1..1) in <i>I </i>. In this way, we can use a similar edit distance method to measure the similarity. We count the number of the Deletion / Insertion / Substitution operations, which take the region as the object.</p><doubt alpha="0.0" length="4" tooSmall="True" monospace="0.0">! ?6</doubt><doubt alpha="66.7" length="15" tooSmall="False" monospace="0.0">(a)  An example</doubt><doubt alpha="0.0" length="5" tooSmall="False" monospace="0.0">42913</doubt><doubt alpha="0.0" length="3" tooSmall="True" monospace="0.0">? 4</doubt><doubt alpha="61.5" length="13" tooSmall="False" monospace="0.0">(b)  An input</doubt><p>Figure 3. An input and an example. After matching, there are three regions in both sides, which are in­cluded in the line box, where the region (4..5,1..2) in the example matches the region (2..3) in the in­put, so do (6..6,6..6) to (4..4). And the region (1..3,3..5) in the example should be substituted to in the input.</p><p>We set the penalty for each deletion and inser­tion operation as 1, while considering the un­matched region in the example may be independ­ent or not, we set the penalty for substitution as 0.5</p><doubt alpha="66.7" length="114" tooSmall="False" monospace="0.0">if the region is independent, otherwise as 1. E.g., the distance is 0.5 for substituting the region (1..3,3..5) to</doubt><p>We get the metric for measuring the structure similarity of the <i>I </i>and (C, A, <i>E</i>) :</p><doubt alpha="65.0" length="20" tooSmall="False" monospace="0.0">Simalign(I,Exam)=1_-</doubt><doubt alpha="25.0" length="8" tooSmall="False" monospace="0.0">D +1 + S</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(13)</doubt><doubt alpha="66.7" length="3" tooSmall="False" monospace="0.0">R+R</doubt><p><i>input exmaple</i></p><p>where D, I, S are the deletion, insertion and substi­tution distances, respectively. And the <i>Rinput </i>and <i>Rexmaple </i>are the region numbers in the input and example.</p><p>In the end, we obtain the similarity metric, which considers all of the above metrics:</p><p><i>Sim </i><i>final(</i><i>I</i><i>, </i><i>Exam</i><i>) = a </i><i>Sim </i><i>fast + ( Simalign </i>(14) where 0 &lt;a', <i>(</i>&lt; 1 <i>a'+fl'= </i>1. Here we also use mean values <i>a'= J3'= </i>1/ 2.</p><p>After the two phrases, we obtain the most simi­lar examples with the input sentence.</p></subsubsection></subsection><subsection number="3.2" title="Decoding"><p>After retrieving the translation examples, our goal is to use these examples to constrain the order of the output words. During the decoding, we iterate the following two steps.</p><subsubsection number="3.2.1" title="Matching"><p>For each translation example (Ck, A*, E*) consists of the constituent structure tree, we can match the input sentence with the tree as in Section 3.1.2.</p><p>After matching, we obtain a translation of the input sentence, in which some input phrases are matched to blocks in the tree, i.e. they are trans­lated, and some phrases are un-translated. The or­der of the matched blocks must be the same as the input phrases. We call the translation as a transla­tion template for the input.</p><p>If we take each un-translated phrase as a null-aligned block, the translation template will be able to form a new constituent tree. And the matched blocks in the template will restrict the translation structure.</p><p>Figure 4(a-c) illustrates the matching process, and Figure 4(c) is a translation template, in which " # t£" and ? " have been translated and "ft" Jf #M       is not translated. And the translation template can be derived from the ITG as follows (here we remove the un-matched phrase):<page local="6" global="6"/></p><doubt alpha="0.0" length="2" tooSmall="True" monospace="0.0">?6</doubt><doubt alpha="52.4" length="21" tooSmall="True" monospace="0.0">«   ii   Jiff «fft fi</doubt><doubt alpha="66.7" length="9" tooSmall="True" monospace="0.0">(a) Input</doubt><doubt alpha="27.3" length="11" tooSmall="False" monospace="0.0">A1-&gt;&lt; A3A4&gt;</doubt><doubt alpha="40.5" length="37" tooSmall="False" monospace="0.0">A2-&gt;us,?/? A3- &gt;    /you A4-&gt;Ik/could</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(15)</doubt><doubt alpha="23.1" length="26" tooSmall="True" monospace="0.0">«     ii     ff     — T »M</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">\ /</doubt><p>could you spell it   ? fe/you      jg/ could   #f / spell ^-T/e      <b><i>'/ </i></b>it »5?/ ?</p><p>Since we have <i>M </i>(here <i>M</i>=10) similar examples, we will get more than one translation template for the input sentence. So we define the evaluation *IIJ *M S ^ ?function <i>f </i>for each translation template as :</p><p><i>f </i>(<i>temp</i>) <i>= </i>log <i>P(Dtrans </i>) <i>+ </i>log <i>H (Cuntrans </i>) (16)</p><doubt alpha="69.2" length="13" tooSmall="True" monospace="0.0">(b) Example A</doubt><doubt alpha="88.9" length="9" tooSmall="True" monospace="0.0">could you</doubt><doubt alpha="50.0" length="32" tooSmall="True" monospace="0.0">^/you      ii/ could     frjf fi</doubt><doubt alpha="82.1" length="56" tooSmall="True" monospace="0.0">(c) Translation Tempate after match input with Example A</doubt><p>Where <i>P(Dtrans) </i>is the probability for the new ITG tree without the un-translated phrases, which is a derivation from the ITG, so we can calculate it * iijj   *m susing the SMT model in Section 2 ( formula 3).        <b><i>j \</i></b></p><doubt alpha="77.8" length="9" tooSmall="True" monospace="0.0">tiff «fft</doubt><doubt alpha="55.3" length="47" tooSmall="False" monospace="0.0">H(cm..n)=max{maXH(cmk)•H(ck..n),maXP(e*\cm..n)}</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(17)</doubt><p>That is, using the best translation to estimate the translation score.   Thus we can estimate the</p><p><i>H(Cuntrans </i>) as:</p><doubt alpha="69.2" length="13" tooSmall="True" monospace="0.0">(d) Example B</doubt><doubt alpha="67.4" length="43" tooSmall="True" monospace="0.0">open      your    bagIIJJ/open*M/yourfi/bag</doubt><doubt alpha="81.8" length="66" tooSmall="True" monospace="0.0">(e) Translation Tempate after match the child input with Example B</doubt><doubt alpha="50.0" length="20" tooSmall="True" monospace="0.0">«     iifTJF  «fi fi</doubt><p>H <i>(Cuntrans </i>) II H (cm ..n )</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(18)</doubt><p>We call the un-translated phrases as child inputs, and try to translate them literately, i.e., decoding them using the examples. If there are no un­translated phrases in the input, the decoding is completed, and the decoder returns the translation template with the best score as the result.</p></subsubsection><subsubsection number="3.2.2" title="Merging"><p>If one child input is translated completely, i.e. no phrase is un-translated. Then, it should be merged into the parent translation template to form a new template. When merging, we must satisfy the ITG constraint, so we use the rules [] and &lt;&gt; to merge the child input with the adjacent blocks. Figure 4(c-f) illustrates a merging process.</p><doubt alpha="61.0" length="136" tooSmall="True" monospace="0.0">could    youopenyourbag?       */you     jg/ could IIJF/ open   *ffi /your S/bag   rq? /? (f) Final translation after merged (c) and (e)</doubt><p>Figure 4. An example to illustrate the example-based decoding process, in which there are two translation examples.</p><p>When merging, it may modify some rules which are adjacent to the child inputs. For example, when merging Figure 4(c) and (e), we may add a new rule:</p><doubt alpha="57.1" length="14" tooSmall="False" monospace="0.0">A1_&gt;[A1Achild]</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(19)</doubt><p><i>Achild </i>is the root non-terminal for the child input. And we should modify the rule <i>A- &gt; </i>[A1A2] as:</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">(20)</doubt><p>The merged template may vary due to the fol­lowing situations:</p><p>• The orientation may vary. The orientation be­tween the new block formed from the child</p><p>And the <i>H(Cuntrans</i>) is the estimated score for please open your bag -   */please iij/ open   *m / your s/bag tain <i>H (Cuntrans </i>) , we estimate the score for each un-translated phrase <i>cm</i>.. <i>n </i>in the following way:</p><doubt alpha="66.0" length="50" tooSmall="False" monospace="0.0">the   un-translated  phrases.   In   order  to ob-</doubt><page local="7" global="7"/><p>1: Function Example_Decoder(I,examples) 2: Input: Input sentence I, Similar Examples examples 3: Output: The best N tranlsations 9:  If templates is null then 12: For each templateA in templates Do 13:    If templateA is complete then 14: AddTemplate_Complete(templateA,I); 16: RemoveTemplate(templateA,I); 17:       For each untranslated phraseB in templateA do 18: childTemplates = Example_Decoder(phraseB); 19: For each childTemplateC in childTemplates Do 20: templateD=MergeTemplate(templateA,childTemplateC); 24: return BEST_N(complete_templates); 28: End</p><doubt alpha="62.5" length="8" tooSmall="False" monospace="0.0">4: Begin</doubt><doubt alpha="64.7" length="119" tooSmall="False" monospace="0.0">5:   For each exampleA in examples Do 6:      templates = Match(exampleA,I); 7: AddTemplate(templates,I); 8:  End {For}</doubt><doubt alpha="57.1" length="35" tooSmall="False" monospace="0.0">10:     templates = CYK_Decoder(I);</doubt><doubt alpha="60.0" length="25" tooSmall="False" monospace="0.0">11:     return templates;</doubt><doubt alpha="50.0" length="8" tooSmall="False" monospace="0.0">15: Else</doubt><doubt alpha="45.5" length="11" tooSmall="False" monospace="0.0">21: End{If}</doubt><doubt alpha="64.3" length="42" tooSmall="False" monospace="0.0">22: AddTemplate(templateD,I); 23: End{For}</doubt><figure caption="Figure 5. The decoding algorithm."></figure><p>template and the preceding or posterior blocks may be straight or inverted. • The position to merge may vary. We may merge the new block with either the whole preceding or posterior blocks, or only the child blocks of them respectively, i.e. we may take the preceding or posterior blocks as the whole blocks or not. Thus, we will obtain a collection of the merged translation templates, the decoder will evaluate them using the formualte (16). If all the templates have no un-translated phrases, return the template with the best score.</p></subsubsection><subsubsection number="3.2.3" title="Decoding Algorithm"><p>The decoding algorithm is showed in Figure 5.</p><p>In line 5~8, we match the input sentence with each similar example, and generate a collection of translation templates, using the formular (16) to evaluate the templates.</p><p>In line 9—11, we verify whether the set of the templates for the input is null: If it is null, decoding the input using the normal CKY decoder, and return the translations.</p><p>In lin 12—23, we decode the un-matched phrase in each template, and merge it with the parent template, until all of the template are translated completely.</p><p>In line 24, we return the best N translations.</p></subsubsection></subsection></section><section number="4" title="Experiments"><p>We carried out experiments on an open Chinese-English translation task IWSLT2007, which con­sisting of sentence-aligned spoken language text for traveling. There are five development set, and we take the third development set, i.e. the <i><u>IWSLT07 devset3 *, </u></i><u>to tune the feature weights.</u></p><p>Considering the size of the training corpus is relatively small, and the words in Chinese have no morphological changes, we stemmed the words in the English sentences.</p><table caption="Table 1 shows the statistics for the training cor­pus, development set and test set."></table><p>In order to compare with the other SMT systems, we choose the Moses<footnote anchor="1"/>, which is an extension to the state-of-the-art SMT system Pharaoh (Koehn, 2004). We use the default tool in the Moses to train the model and tune the weights, in which the word alignment tool is Giza++ (Och and Ney 2003) and the language model tool is SRILM(Stolcke, 2002).</p><p>The test results are showed in Table2.</p><p>The first column lists the different MT systems, and the second column lists the Bleu scores (Pap-ineni et. al, 2002) for the four decoders.</p><p>The first system is the Moses, and the second is our SMT system described in section 2, which using a CKY-style decoder. We take them as base­line systems. The third is the hybrid system but only using the fast retrieval module and the fourth is the hybrid system with refined retrieval module.<page local="8" global="8"/></p><footnote label="1"> http://www.statmt.org/moses/ .</footnote><table caption="Table 1. The statistics of the corpus" 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Chinese</p></td><td class="cell"><p>English stemmed</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Train. cor­pus</p></td><td class="cell"><p>Sentences</p></td><td class="cell"><p>39,963 |</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Words</p></td><td class="cell"><p>351,060</p></td><td class="cell"><p>377,890</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Vocabu­lary</p></td><td class="cell"><p>11,302</p></td><td class="cell"><p>7,610</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Dev. Set</p></td><td class="cell"><p>Sentences</p></td><td class="cell"><p>506</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Words</p></td><td class="cell"><p>3,826</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Test Set</p></td><td class="cell"><p>Sentences</p></td><td class="cell"><p>489</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Words</p></td><td class="cell"><p>3,189</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></tr></table><p>Considering the result from the Moses, we think that maybe the size of the training corpus is too small, so that the word alignment obtained by Giza++ is poor.</p><p>The results show that the example-based de­coder achieves an improvement over the baseline decoders.</p></section><section number="5" title="Related works"><p>There is some works about the hybrid machine translation. One way is to merge EBMT and SMT resources, such as Groves and Way (2005).</p><p>Another way is to implement an exmaple-based decoder, Watanabe and Sumita (2003) presents an example-based decoder, which using a information retrieval framework to retrieve the examples; and when decoding, which runs a hill-climbing algo­rithm to modify the translation example ( Ck, Ek, Ak) to obtain an alignment ( C0, E'k, A'k).</p></section><section number="6" title="Conclusions"><p>In this paper, we proposed a SMT system with an example-based decoder for the spoken language machine translation. This approach will take ad­vantage of the constituent tree within the transla­tion examples to constrain the flexible word re­ordering in the spoken language, and it will also make the omitted words have the chance to be translated. Combining with the re-ordering model and the translation models in the SMT, the exam­ple-based decoder obtains an improvement over the baseline phrase-based SMT system.</p><p>In the future, we will test our method in the written text corpus. In addition, we will improve the methods to handle the morphological changes from the stemmed English words.</p></section><section title="Acknowledgements"><p>This work is supported by the National Science Foundation of China under Grants No. 60573057, 60473057 and 90604007.</p><table caption="Table 2. Test results for several systems." 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></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Decoder</p></td><td class="cell"><p>Bleu</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Moses</p></td><td class="cell"><p>22.61</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>SMT-CKY</p></td><td class="cell"><p>28.33</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Hybrid MT with fast retrieval</p></td><td class="cell"><p>30.03</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Hybrid MT with refined retrieval</p></td><td class="cell"><p>33.05</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></tr></table></section><references><p>Wen-Han Chao and Zhou-Jun Li.(2007). <i>Incorporating Constituent Structure Constraint into Discriminative Word Alignment. </i>MT Summit XI, Copenhagen, Denmark, September 10-14, 2007. pp.97-103.</p><doubt alpha="64.0" length="50" tooSmall="False" monospace="0.0">Wen-Han Chao, Zhou-Jun Li, and Yue-Xin Chen.(2007)</doubt><p><i>An Integrated Reordering Model for Statistical Ma­chine Translation. </i>In proceedings of MICAI 2007, LNAI 4827, pp. 955-965, 2007.</p><p>David Chiang. (2005). <i>A Hierarchical Phrase-Based Model for Statistical Machine Translation. </i>In Proc. of ACL 2005, pages 263-270.</p><p>Declan Groves and Andy Way: <i>Hybrid Example-Based SMT: the Best of Both Worlds? </i>In Proceedings of the ACL Workshop on Building and Using Parallel Texts,</p><doubt alpha="11.8" length="17" tooSmall="False" monospace="0.0">pp. 183-190(2005)</doubt><p>P. Koehn.(2004) Pharaoh: a beam search decoder for phrase-based statistical machine translation models. In: Proceedings of the Sixth Conference of the Asso­ciation for Machine Translation in the Americas, pp.</p><p>115-124.</p><p>R. Moore. (2005). <i>A discriminative framework for bilin­gual word alignment. </i>In Proceedings of HLT-EMNLP, pages 81-88, Vancouver, Canada, October.</p><p>Franz Joseph Och and Hermann Ney.(2002). <i>Discrimi­native training and maximum entropy models for sta­tistical machine translation. </i>In Proceedings of the 40th Annual Meeting of the ACL, pp. 295-302.</p><p>Franz Joseph Och and Hermann Ney. (2003) <i>A System­atic Comparison of Various Statistical Alignment Models. </i>Computational Linguistics 29(1), 19-52</p><p>Kishore Papineni, Salim Roukos, Todd Ward and Wei-Jing Zhu. (2002). <i>BLEU: a Method for Automatic Evaluation of Machine Translation. </i>In Proceedings of the 40th Annual Meeting of the Association fo Computational Linguistics (ACL), Philadelphia, July 2002, pp. 311-318.</p><p>A. Stolcke. (2002). <i>SRILM - An extensible language modeling toolkit. </i>In Proceedings of the International Conference on Spoken Language Processing, Denver, Colorado, 2002, pp. 901-904.</p><p>Taro Watanabe and Eiichiro Sumita. (2003). <i>Example-based Decoding for Statistical Machine Translation. </i>In Machine Translation Summit IX pp. 410-417.</p><p>Dekai Wu. (1997). <i>Stochastic Inversion Transduction Grammars and Bilingual Parsing of Parallel Cor­pora. </i>Computational Linguistics, 23(3):374.</p></references></body></article>