<?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="1323"/><title>Parametric Weighting of Parallel Data for Statistical Machine Translation</title><pubinfo>Proceedings of the 5th International Joint Conference on Natural Language Processing,pages 1323-1331, Chiang Mai, Thailand, November 8 - 13, 2011. ©2011 AFNLP</pubinfo><author surname="Shah" givenname="Kashif"><org  name="University of Le Mans" country="France" city="Le Mans"/></author><author surname="Barrault" givenname="Loïc"><org  name="University of Le Mans" country="France" city="Le Mans"/></author><author surname="Schwenk" givenname="Holger"><org  name="University of Le Mans" country="France" city="Le Mans"/></author></firstpageheader><frontmatter><p><b>Parametric Weighting of Parallel Data for Statistical Machine Translation</b></p><p><b>Kashif Shah, Loïc Barrault, Holger Schwenk</b></p><p>LIUM, University of Le Mans Le Mans, France.</p><p>FirstName.LastName@lium.univ-lemans.fr</p></frontmatter><abstract>During the last years there is increas­ing interest in methods that perform some kind of weighting of heterogeneous paral­lel training data when building a statistical machine translation system. It was for in­stance observed that training data that is close to the period of the test data is more valuable than older data (Hardt and Elm-ing, 2010; Levenberg et al., 2010). In this paper we obtain such a weighting by resampling alignments using weights that decrease with the temporal distance of bi-texts to the test set. By these means, we can use all the available bitexts and still put an emphasis on the most recent one. The main idea of our approach is to use a parametric form or meta-weights for the weighting of the different parts of the bi-texts. This ensures that our approach has only few parameters to optimize. We re­port experimental results on the Europarl corpus, translating from French to En­glish and further verified it on the official WMT'11 task, translating from English to French. Our method achieves improve­ments of about 0.6 points BLEU on the test set with respect to a system trained on data without any weighting. </abstract></header><body><section number="1" title="Introduction"><p>Statistical machine translation (SMT) systems are based on two types of resources: monolingual data to build a language model (LM) and bilingual data - also called bitexts - to train the translation model (TM). The parallel data often comes from differ­ent sources, <i>e.g. </i>Europarl, UN, in-domain data in limited amounts, data crawled from the Internet or even bitexts automatically extracted from compa­rable corpora. It seems obvious that the appropri­ateness and the usefulness of this parallel data for a particular translation task may vary quite a lot. Nevertheless, the standard procedure is to concate­nate all available parallel data, to perform word alignment using GIZA++ (Och and Ney, 2000) and to extract and score the phrase pairs by sim­ple relative frequency. Doing this, the parallel data is (wrongly) considered as one homogeneous pool of knowledge. We argue that the parallel data is quite inhomogeneous in many practical applica­tions with respect to several factors:</p><p>• the data may come from different sources that are more or less relevant to the translation task (in-domain versus out-of-domain data).</p><p>• more generally, the topic or genre of the data may be more or less relevant.</p><p>• the data may be of different quality (carefully performed human translations versus auto­matically crawled and aligned data).</p><p>• the recency of the data with respect to the task may have an influence. This is of interest in the news domain where named entities, etc change over time.</p><p>There have been several attempts in the liter­ature to address some of these problems. Mat-soukas et al. (2009) proposed to weight each sen­tence in the training bitexts by optimizing a dis­criminative function on a tuning set. Sentence-level features are extracted to estimate the weights that are relevant to the given task. Foster et al. (2010) proposed an extended approach by an in­stant weighting scheme which learns weights on individual phrase pairs instead of sentences and incorporated the instance-weighting model into a linear combination of feature functions.</p><p>The technique presented in this paper is related to these previous works as it concerns the weight­ing of corpora or sentences. However, it does not<page local="2" global="1324"/></p><p><u>Alignments obtained from time-stamped training parallel text</u></p><doubt alpha="0.0" length="8" tooSmall="False" monospace="0.0">0.4 0.45</doubt><p>Resampled alignments used to build Phrase Table</p><p>Figure 1: Overview of the weighting scheme. The alignments are weighted by an exponential decay function, parameterized by A. Resampling with replacement is used to create a new corpus (parts with higher weight will appear more often). The phrase table is built from this corpus using the standard procedure.</p><p>require the calculation of additional sentence-level features.</p><p>In our previous work Shah et al. (2010) we pro­posed a technique to weight heterogeneous data by weighted resampling of the alignments. The weights were numerically optimized on develop­ment data.</p><p>Hardt and Elming (2010) has shown recency ef­fect in terms of file-context and concluded that the data within the same file is of greater importance than the rest. Levenberg et al. (2010) proposed an incremental training procedure to deal with a con­tinuous stream of parallel text. Word alignment was performed by the stepwise online EM algo­rithm and the phrase table was represented with suffix arrays. The authors showed that it is better to use parallel data close to the test data than all the available data.</p><p>The research presented in this paper is the ex­tension of our previous work Shah et al. (2010) to weight corpora by resampling and is inspired by the work of Levenberg et al. (2010) to consider the recency of the training data. In fact, we could split the training data into several parts over time scale and use our previous resampling approach Shah et al. (2010) to automatically optimize the weights of each time period. However, this approach does not seem to scale very well when the number of indi­vidual corpora increases. Numerical optimization of more than ten corpus weights would probably need a large number of iterations, each one con­sisting in the creation of a complete phrase table and its evaluation on the development data.</p><p>The main idea of our work is to consider some kind of meta-weights for each part of the train­ing data. Instead of numerically optimizing all the weights, these meta-weights only depend on few parameters that need to be optimized. Con­cretely, in this work we study the exponential de­crease of the importance of parallel data in func­tion of its temporal distance to the development and test data. The weighting of the parts is still done by resampling the alignments. However, our general approach is not limited to weighting the training data with respect to recency to the devel­opment and test data. Any other criterion could be used as long as it can be calculated by a parametric function, <i>i.e. </i>to measure the topic appropriateness.</p></section><section number="2" title="Weighting Scheme"><p>The main idea of our work is summarized in Fig­ure 1. We consider that time information is avail­able for the bitexts. If this is not the case, one can consider that the time advances sequentially with the lines in the file. First, the data is con­sidered in parts according to the time information. In Figure 1, we group together all data within the same year, but any other granularity is possible (months, weeks, days, etc). Given the observation that more recent training data seems to be more important than older one, we apply an exponential decay function:<page local="3" global="1325"/></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><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>1996</p></td><td class="cell"><p>1997</p></td><td class="cell"><p></p></td><td class="cell"><p>2009</p></td><td class="cell"><p>2010</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></p></td><td class="cell"><p>8</p></td><td class="cell"><p>.9</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><td class="cell"></td><td class="cell"></td><td class="cell"></td></tr></table><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>If</p></td><td class="cell"><p></p></td><td class="cell"><p></p></td><td class="cell"><p>Normalized weights</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>0.05</p></td><td class="cell"><p>0.09</p></td><td class="cell"><p></p></td><td class="cell"><p>0.17</p></td><td class="cell"><p>0.20</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><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><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>_?</b></p></td><td class="cell"><p>_:</p></td><td class="cell"><p>-                                     1 1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>1996</p></td><td class="cell"><p>1997</p></td><td class="cell"><p></p></td><td class="cell"><p>2009</p></td><td class="cell"><p>2010</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><td class="cell"></td></tr></table><doubt alpha="88.5" length="26" tooSmall="True" monospace="0.0">Time Stamped Parallel Text</doubt><doubt alpha="66.7" length="6" tooSmall="False" monospace="0.0">e-X-At</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(1)</doubt><p>where A is the decay factor and At is the dis-cretized time distance (0 for most recent part, 1 for the next one, etc.). Therefore, our weighting scheme has only one parameter to be optimized.</p><p>Following ourprevious workShahetal. (2010), we resample the alignments in order to obtain a weighting of the bitexts according to their recency. The weight of each part of the bitexts is normal­ized (sum to one). The normalized weights rep­resent the percentage of final aligned corpus that is originated from each part of the source corpus: word alignments corresponding to bitexts that are close to the test period will appear more often than the older ones in the final corpus.</p><p>In addition, we considered the quality of the alignments during resampling, as described in our previous work (Shah et al., 2010). Alignments produced by GIZA++ have alignment scores as­sociated with each sentence pair in both direction, <i>i.e. </i>source to target and target to source. Align­ment scores have a very large dynamic range and are concentrated around very low values, conse­quently the following logarithmic mapping is ap­plied in order to flatten the distribution:</p><doubt alpha="80.0" length="5" tooSmall="False" monospace="0.0">log(a</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">2</doubt><doubt alpha="60.0" length="5" tooSmall="False" monospace="0.0">src))</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(2)</doubt><p>where <i>a </i>is the alignment score, <i>n </i>the size of a sentence and <i>a </i>a smoothing coefficient to opti­mize. We used these normalized alignment scores as confidence measurement for each sentence pair.</p></section><section number="3" title="Description of the algorithm"><p>The architecture is presented in Figure 2. The starting point is a parallel corpus. We performed word alignment in both directions using GIZA++. The corpus is then separated into several parts on the basis of a given time span. We performed ex­periments with different span sizes, namely year, month, week and day. The decaying function is scaled so that the range does not change when us­ing different span sizes. A weighting coefficient obtained with the exponential decay function is then associated to each part.</p><doubt alpha="91.7" length="12" tooSmall="True" monospace="0.0">Target Texts</doubt><doubt alpha="94.1" length="17" tooSmall="True" monospace="0.0">Optimization Loop</doubt><p>^equirecLsize depends upon the number of times we re-sample - see section 5.</p><figure caption="Figure 2: Architecture of SMT Weighting System."></figure><p><b>Algorithm 1 </b>Weighting with Exponential Decay function using resampling</p><p>1: Determine word to word alignment with GIZA++ on concatenated bitexts.</p><p>2: Initialize A and a with equal weights.</p><p>3: <b>while </b>not Optimized <b>do</b> 4: Compute <i>time-spans </i>weights by eq. 1 5: Normalize weights 7: <i>proportion </i>&lt;— required-size<footnote anchor="1"/> * weights[i] 9: <b>while </b><i>j &lt; proportion </i><b>do</b> 10: <i>Al      </i>Random alignment 11: <i>Alscore </i>&lt;— normalized score of <i>Al</i> 12: Flatten <i>Alscore </i>with <i>a</i> 14: <b>if </b><i>Alscore &gt; Threshold </i><b>then</b> 20: Create new resampled alignment file.</p><doubt alpha="66.7" length="24" tooSmall="False" monospace="0.0">6:fori= 0 to#time-spando</doubt><doubt alpha="14.3" length="7" tooSmall="False" monospace="0.0">8:j = 0</doubt><doubt alpha="52.0" length="25" tooSmall="False" monospace="0.0">13:Threshold&lt;- rand[0, 1]</doubt><doubt alpha="60.0" length="10" tooSmall="False" monospace="0.0">15:keep it</doubt><doubt alpha="18.2" length="11" tooSmall="False" monospace="0.0">16:j = j+ 1</doubt><doubt alpha="55.6" length="9" tooSmall="False" monospace="0.0">17:end if</doubt><doubt alpha="66.7" length="12" tooSmall="False" monospace="0.0">18:end while</doubt><doubt alpha="60.0" length="10" tooSmall="False" monospace="0.0">19:end for</doubt><p>21: Extract phrases and build the phrase table.</p><doubt alpha="66.7" length="9" tooSmall="False" monospace="0.0">22:Decode</doubt><p>23: Calculate the BLEU score on Dev 24: Update A and <i>a</i></p><doubt alpha="66.7" length="12" tooSmall="False" monospace="0.0">25:end while</doubt><p>Then, for each part, resampling with replace­ment is performed in order to select the required number of alignments and form the final corpus. The resampling is done as follows: for each align­ment considered, a new random threshold is generated and compared to the alignment score.<page local="4" global="1326"/> The alignment is kept only if its score is above the threshold. This ensures that all alignments have a chance to be selected, but this chance is propor­tional to its alignment score.</p><doubt alpha="100.0" length="7" tooSmall="True" monospace="0.0">Bitexts</doubt><doubt alpha="100.0" length="5" tooSmall="True" monospace="0.0">SRILM</doubt><doubt alpha="66.7" length="6" tooSmall="True" monospace="0.0">Giza++</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></tr><tr class="row"><td class="cell"></td><td class="cell"><p><b>Phrase Extraction and Scoring</b></p></td><td class="cell"><p></p></td><td class="cell"><p>New</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Alignments</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><p>Note that some alignments may appear several times, but this is exactly what is expected as it will increase the probability of certain phrase pairs which are supposed to be more related to the test data (in terms of recency) and of better quality. The smoothing and decay factors, a and A respec­tively, are optimized with a numerical optimizer called CONDOR (Berghen and Bersini, 2005).</p><p>The procedure and steps involved in our weight­ing scheme are shown in algorithm 1.</p></section><section number="4" title="Experimental evaluation"><p>Our first experiments are based on the French-English portion of the freely available time-stamped Europarl data (Koehn, 2005) from April 1996 to December 2010. We have built sev­eral phrase-based systems using the Moses toolkit (Koehn et al., 2007), though our approach is equally applicable to any other approach based on alignments and could be used for any language pairs. In our system, fourteen feature functions are used. These feature functions include phrase and lexical translation probabilities in both directions, seven features for the lexicalized distortion model, a word and phrase penalty, and the target language model. The coefficients of these feature functions are optimized by minimum error training.</p><p>In the first experiments, the whole Europarl cor­pus was split into train, development and test as shown in Figure 3. The most recent 5K sentences are split into two sets of equal size, one for devel­opment and the other for testing. The remaining data was used as training bitexts to build the dif­ferent systems.</p><doubt alpha="81.2" length="16" tooSmall="True" monospace="0.0">Ancient 1Recent1</doubt><doubt alpha="27.3" length="11" tooSmall="False" monospace="0.0">,-A-s /-*-s</doubt><doubt alpha="25.0" length="4" tooSmall="True" monospace="0.0">U5 ^</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">il</doubt><doubt alpha="33.3" length="6" tooSmall="False" monospace="0.0">j500k~</doubt><doubt alpha="25.0" length="4" tooSmall="True" monospace="0.0">300k</doubt><doubt alpha="25.0" length="4" tooSmall="True" monospace="0.0">200k</doubt><doubt alpha="25.0" length="4" tooSmall="True" monospace="0.0">500k</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">1</doubt><figure caption="Figure 3: Data used to build the different systems (# sentences)"></figure><p>Since we want to focus on the impact of the weighting scheme of the bitexts, we used the same language model for all systems. It has been trained with the SRILM toolkit (Stolcke, 2002) on the tar­get side of all the training data. In addition, the weights of the feature functions were tuned once for the system that uses all the training data and then kept constant for all the subsequent exper­iments, <i>i.e. </i>no tuning of the feature functions weights is done during the optimization of the weighting coefficients A and a.</p><p>Table 1 presents the results of the systems trained on various parts of the available bitexts without using the proposed weighting scheme. The best performance is obtained when using all the data (55M words, BLEU=30.48), but almost the same BLEU score is obtained by using only the most recent part of the data (24M words, part <i>Recent </i>2). However, if we use the same amount of data that is further away from the time period of the test data (25M words, part <i>Ancient </i>2), we observe a significant loss in performance. These results are in agreement with the observations al­ready described in (Levenberg et al., 2010). Us­ing less data, but still close to the evaluation pe­riod (15M words, part <i>Recent </i><i>1)</i><i> </i>results in a small loss in the BLEU score. The goal of the proposed weighting scheme is to be able to take advantage of all the data while giving more weight to recent data than to older one. By these means we are not obliged to disregard older parts of the data that may contain additional useful translations. If the weighting scheme does work correctly, we can­not perform worse than using all the data. Of course, we expect to achieve better results by find­ing the optimal weighting between recent and an­cient data.</p><p>The amount of data per year in the Europarl data can vary substantially in function of time period since it depends on the frequency and length of the sessions of the European Parliament. As an example Figure 4 shows the histogram of the data per year.</p><p>One can ask which time granularity should be used to achieve best weights. Only one weight is given to each time span, consequently the span size will have an impact on the alignment selec­tion process. Using smaller spans results in a more fine grained weighting scheme. We have tested different settings with different time spans to see whether the impact of weighting changes with the sizeofeachspan.<page local="5" global="1327"/> Theresults areshowninTable2.</p><doubt alpha="100.0" length="3" tooSmall="True" monospace="0.0">All</doubt><p>It is observed that all four systems obtained very similar results, which indicates that the size of the spans is not very important. One surprising ob­servation is that the optimized decay factor for all time span sizes are really close to each other. The reason to this could be the scaling of the exponen­tial decaying function based on the time span size. In fact scaled values ensure that the oldest data point get roughly the same value independent of using years, months or days as time span. Look­ing at the optimized values of A in Table 2, we can observe that the relative difference between recent and ancient data is rather small, <i>i.e. </i>the ancient data is still somehow important and cannot be ne­glected.</p><p>By using years as time span, we obtain an improvement of +0.50 BLEU score on the test set compared to using all data without weighting (30.48 — 30.98). It is clear that recency has a positive impact on system performance, however, weighting properly the different parts gives bet­ter performance than using the most recent or all available data.</p><figure caption="Figure 4: Amount of data available in the Europarl corpus for each year"></figure><figure caption="Figure 5: Distribution of data after weighting"></figure><p>Finally, the best system is retuned (feature func­tions weights) and an overall improvement of +0.61 in the BLEU score is observed on test set.</p></section><section number="5" title="Discussion"><p>The optimal decay factor of approximately 0.01 actually leads to an almost linear decrease over time. The difference in the quantity of data taken from most recent and least recent data is only 1.4% (which still represent 200k sentences). Therefore, one could think that the weighting does not fa­vor recent data that much. This is not the case as we can see in Figure 5 where the distribution of data used to build the adapted model is presented.</p><table caption="Table 1: BLEU scores obtained with systems trained on data coming from different time spans." 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>Europarl</p></td><td class="cell"><p>Anciei Ancient 1</p></td><td class="cell"><p>nt data Ancient 2</p></td><td class="cell"><p>Recen Recent 1</p></td><td class="cell"><p>t data Recent 2</p></td><td class="cell"><p>All</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p># of sentences/words</p></td><td class="cell"><p>500K/15M</p></td><td class="cell"><p>800K/25M</p></td><td class="cell"><p>500K/15M</p></td><td class="cell"><p>800K/24M</p></td><td class="cell"><p>1800K/55M</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>BLEU (on dev)</p></td><td class="cell"><p>29.84</p></td><td class="cell"><p>30.08</p></td><td class="cell"><p>30.80</p></td><td class="cell"><p>31.09</p></td><td class="cell"><p><b>31.34</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>BLEU (on test)</p></td><td class="cell"><p>29.30</p></td><td class="cell"><p>29.43</p></td><td class="cell"><p>30.32</p></td><td class="cell"><p>30.44</p></td><td class="cell"><p><b>30.48</b></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><table caption="Table 2: Results in BLEU score after weighting." 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>Europarl</p></td><td class="cell"><p>Weighting + alignment selection</p></td><td class="cell"><p>Best+retune</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Time span</p></td><td class="cell"><p>Days</p></td><td class="cell"><p>Weeks</p></td><td class="cell"><p>Months</p></td><td class="cell"><p>Years</p></td><td class="cell"><p>Years</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Optimized A</p></td><td class="cell"><p>0.0099</p></td><td class="cell"><p>0.0109</p></td><td class="cell"><p>0.0110</p></td><td class="cell"><p>0.0130</p></td><td class="cell"><p>0.0130</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>BLEU (on dev)</p></td><td class="cell"><p>31.73</p></td><td class="cell"><p>31.82</p></td><td class="cell"><p>31.75</p></td><td class="cell"><p>31.80</p></td><td class="cell"><p><b>31.92</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>BLEU (on test)</p></td><td class="cell"><p>30.94</p></td><td class="cell"><p>30.97</p></td><td class="cell"><p>30.92</p></td><td class="cell"><p><b>30.98</b></p></td><td class="cell"><p><b>31.09</b></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="6" global="1328"/><p>When comparing to Figure 4, the overall propor­tion of data coming from recent years is clearly bigger when using our resampling approach. This leads to different word choices while decoding.</p><p>Note that resampling is performed several times to estimate and select the samples which better represent the target data set. The more often we resample, the closer we get to the true probabil­ity distribution. The <i>required-size </i>in algorithm 1 depends upon the number of times we resample. We resampled ten times in our experiments. It is also worth to note that, we keep the original training data along with resampled one. It en­sures that no information is lost and the set of ex­tracted phrase pairs remain the same - only the cor­responding probability distributions in the phrase table are changed.</p><p>In order to get more insight in our method, we separately performed the different techniques:</p><p>• resampling the training data without weight­ing;</p><p>• resampling the training data using weighting only (with respect to recency);</p><p>• resampling the training data using alignment selection.</p><p>These results are summarized in Table 3.</p><p>Note that the first case does not correspond to duplicating the training data a certain amount of time (which would of course produce exactly the same phrase-table). Since we perform resampling with replacement, this procedure introduces some randomness which could be beneficial. Accord­ing to our results, this is not the case: we ob­tained exactly the same BLEU scores on the dev and test data than with the standard training proce­dure. Weighting with respect to recency or align­ment quality both slightly improve the BLEU, but not as much as both techniques together. The per­formance increase seems actually to be comple­mentary.</p><p>Some comparative examples between the trans­lations produced by systems <i>All </i>and <i>Best+retune </i>versus the reference translations are given in Ta­ble 4. It was noticed that a lot of occurrences of <i>"will" </i>in the reference are actually translated into <i>"shall" </i>with system <i>All </i>whereas the correct word choice is made by the system <i>Best+retune </i>as shown in Example 1. This could be explained by the fact that recently the word <i>"will" </i>is more fre­quently seen in the training corpus and adapting the model by weighting the most recent data produced correct translation.<page local="7" global="1329"/> Actually, it was found that the word <i>"will" </i>is 10% more frequent in recent data <i>(Recent </i><i>1)</i><i> </i>than in ancient data (An­<i>cient </i><i>1)</i><i> </i>while the word <i>"shall" </i>is 2% less fre­quent.</p><table caption="Table 3: Results in BLEU score with different settings." 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>Europarl</p></td><td class="cell"><p>Resampling only</p></td><td class="cell"><p>Weighting only</p></td><td class="cell"><p>alignment selection only</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>BLEU (on dev)</p></td><td class="cell"><p>31.36</p></td><td class="cell"><p>31.69</p></td><td class="cell"><p>31.45</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>BLEU (on test)</p></td><td class="cell"><p>30.51</p></td><td class="cell"><p>30.84</p></td><td class="cell"><p>30.64</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><table caption="Table 4: Example translations produced by systemsAll(A) andBest+retune(B) versus reference (R)" 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>Example 1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>A: B: R:</p></td><td class="cell"><p>Mr Ribeiro e Castro, we <b>shall </b>see all this in the Conference of Presidents. Mr Ribeiro e Castro, we <b>will </b>see all this at the Conference of Presidents. Mr Ribeiro e Castro, we <b>will </b>look at all these questions in the Conference of Presidents' meet­ing.</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Example 2</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>A:</p><p>B: R:</p></td><td class="cell"><p>We <b>shall </b>most probably consider again lodge a complaint with the <b>Court of Justice of the European Communities.</b></p><p>We <b>will </b>most probably consider again to lodge a complaint to the <b>European Court of Justice. </b>Most probably we <b>will </b>again discuss renewed recourse to the <b>European Court of Justice.</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Example 3</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>A: B: R:</p></td><td class="cell"><p>no Member State has <i>not </i>led to <b>field trials </b>as regards the BST . no Member State has led to <b>tests on the ground </b>as regards BST . No Member State has yet carried out <b>field tests </b>with BST .</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><p>Another interesting example is Example 2, in which the correct name for the <i>European Court of Justice </i>is proposed by the adapted system unlike the system <i>All </i>which proposed <i>Court of Justice of the European Communities. </i>Actually, it appears that the <i>Court of Justice of the European Commu­nities </i>is the former name of the <i>European Court ofJustice </i>prior to December 2009. The use of re­cent data allows to correctly translate the named entities which can change over time. The correct translation proposed by System <i>Best+retune </i>could be observed in Example 3 because of alignment selection procedure.</p><p>In our experiments, we assume that the test data is in present time (the usual case in a news trans­lation system), and consequently we decrease the weight of the bitexts towards the past. This princi­ple could be of course adapted to other scenarios.</p><p>An alternative approach could be to directly use the time decay function as the count for each extracted phrase. However, resampling the alignments and changing the counts of extracted phrases is not exactly the same. Same phrase pairs could be extracted from different parallel sen­tences coming from different time spans. Further­more, weighting the alignments with their scores has shown improvements in the BLEU score as presented in Table 3, but considering the align­ment score at the phrase level is not straight for­ward.</p></section><section number="6" title="Experiments on the WMT task"><p>To further verify whether our results are robust be­yond the narrow experimental conditions, we con­sidered a task where the development and test data do not come from the same source than the bitexts. We took the official test sets of the 2011 WMT translation tasks as dev and test sets (Schwenk et al., 2011) <i>i.e </i>news-test09 and news-test10 re­spectively. We built English-French systems by using the Europarl and News-Commentary (NC) corpora, both contain news data over a long time period.</p><p>For this set-up, there are three coefficients to op­timize: the decay factor for Europarl Ai, the decay factor for the news-commentary texts A2 and a co­efficient for the alignments a. The Europarl cor­pus was divided into time span according to years and <i>NC </i>corpus was assumed to be sorted over time since time-stamp information was not avail­able for the <i>NC </i>corpus. Remaining settings are kept same as mentioned in previous experiments to build the system <i>Best+retune. </i>The results are shown in Table 5. Finally, we considered the rel­ative importance of the Europarl and <i>NC </i>corpora. For this, a weight is attached to each corpus which represents the percentage of the final aligned cor­pus that comes from each source corpus. These weights are also optimized on the development data using the same technique as proposed in our previous work (Shah et al., 2010). Using all these methods, we have achieved an overall improve­ment of approximately +0.5 BLEU on the devel­opment and test data, as shown in Table 5.</p></section><section number="7" title="Conclusion and future work"><p>In this paper, a parametric weighting technique along with resampling is proposed to weight the training data of the translation model of an SMT system. By using a parametric weighting function we circumvented the difficult problem to numeri­cally optimize a large number of parameters. Us­ing this formalism, we were able to weight the par­allel training data according to the recency with re­spect to the period of the test data. By these means, the system can still take advantage of all data, in contrast to methods which only use a part of the available bitexts. We evaluated our approach on the Europarl corpus, translating from French into English and further tested it on official English to French WMT Task. A reasonable improvement in<page local="8" global="1330"/></p><table caption="Table 5: Results in BLEU score after weighting on English to French WMT Task." 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>WMT Task</p></td><td class="cell"><p>Baseline</p></td><td class="cell"><p>Receny weighting + alignment selection</p></td><td class="cell"><p>Recency weighting + alignment selection + relative importance</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>BLEU (on dev)</p></td><td class="cell"><p>26.08</p></td><td class="cell"><p>26.51</p></td><td class="cell"><p><b>26.60</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>BLEU (on test)</p></td><td class="cell"><p>28.16</p></td><td class="cell"><p>28.59</p></td><td class="cell"><p><b>28.69</b></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>BLEU score on the test data was observed in com­parison to using all the data or only the most recent one. We argue that weighting the training data with respect to its temporal closeness should be quite important for translating news material since word choice in this domain is rapidly changing.</p><p>An interesting continuation of this work is to consider other criteria for weighting the corpora than the temporal distance. It is clear that recency is a relevant information and this could be associ­ated with other features, <i>e.g. </i>thematic or linguis­tic distance. Also, this work can be included into a stream-based framework where new data is in­corporated in an existing system by exponential growth function and making use of online retrain­ing procedure as discussed in (Levenberg et al., 2010).</p></section><section title="Acknowledgments"><p>This work has been partially funded by the Euro­pean Commission under the project Euromatrix­Plus, the French government under the project Cosmat and by an Overseas scholarship of Higher Education Pakistan. We would like to thank the unknown reviewers for their valuable comments.</p></section><references><p>Frank Vanden Berghen and Hugues Bersini. 2005. CONDOR, a new parallel, constrained extension of Powell's UOBYQA algorithm: Experimental results and comparison with the DFO algorithm. <i>Journal of Computational and Applied Mathematics, </i>181:157-175, Septem­ber.</p><p>George Foster, Cyril Goutte, and Roland Kuhn. 2010. Discriminative instance weighting for domain adaptation in statistical machine trans­lation. In <i>Proceedings of the 2010 Confer­ence on Empirical Methods in Natural Lan­guage Processing, </i>EMNLP '10, pages 451­459, Stroudsburg, PA, USA. Association for Computational Linguistics.</p><p>Daniel Hardt and Jakob Elming. 2010. Incre­mental re-training for post-editing smt. In <i>The Ninth Conference </i><i>ofthe</i><i> Association for Ma­chine Translation in the Americas 2010.</i></p><p>Philipp Koehn, Hieu Hoang, Alexandra Birch, Chris Callison-Burch, Marcello Federico, Nicola Bertoldi, Brooke Cowan, Wade Shen,</p><p>Christine Moran, Richard Zens, Chris Dyer, Ondrej Bojar, Alexandra Constantin, and Evan Herbst. 2007. Moses: open source toolkit for statistical machine translation. In <i>Proceedings of the 45th Annual Meeting of the ACL on Interactive Poster and Demonstration Ses­sions, </i>ACL '07, pages 177-180, Stroudsburg, PA, USA. Association for Computational Linguistics.</p><p>Philipp Koehn. 2005. Europarl: A Parallel Cor­pus for Statistical Machine Translation. In <i>Con­ference Proceedings: the tenth Machine Trans­lation Summit, </i>pages 79-86, Phuket, Thailand.</p><p>AAMT.</p><p>Abby Levenberg, Chris Callison-Burch, and Miles Osborne. 2010. Stream-based translation models for statistical machine translation. In <i>Human Language Technologies: The 2010 An­nual Conference </i><i>ofthe</i><i> North American Chap­ter </i><i>ofthe</i><i> Association for Computational Lin­guistics, </i>HLT '10, pages 394-402, Stroudsburg, PA, USA. Association for Computational Lin­guistics.</p><p>Spyros Matsoukas, Antti-Veikko I. Rosti, and Bing Zhang. 2009. Discriminative corpus weight estimation for machine translation. In <i>Proceedings of the 2009 Conference on Empir­ical Methods in Natural Language Processing,</i> pages 708-717.</p><p>Franz Josef Och and Hermann Ney. 2000. Im­proved statistical alignment models. In <i>Pro­ceedings of the 38th Annual Meeting on Associ­ation for Computational Linguistics, </i>ACL '00, pages 440-447, Stroudsburg, PA, USA. Asso­ciation for Computational Linguistics.</p><p>Holger Schwenk, Patrik Lambert, Loïc Bar-rault, Christophe Servan, Sadaf Abdul-Rauf, Haithem Afli, and Kashif Shah. 2011. Lium's smt machine translation systems for wmt 2011. In <i>Proceedings of the Sixth Workshop on Sta­tistical Machine Translation, </i>pages 464-469, Edinburgh, Scotland. Association for Compu­tational Linguistics.</p><p>Kashif Shah, Loïc Barrault, and Holger Schwenk. 2010. Translation model adaptation by resampling. In <i>Proceedings of the Joint Fifth Workshop on Statistical Machine Translation and MetricsMATR, </i>WMT '10, pages 392-399,<page local="9" global="1331"/></p><p>Stroudsburg, PA, USA. Association for Com­putational Linguistics.</p><p>Andreas Stolcke. 2002. Srilm—an extensi­ble language modeling toolkit. <i>In Proceesings of the 7th International Conference on Spoken Language Processing (ICSLP 2002, </i>pages 901­904.</p></references></body></article>