<?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="649"/><title>Distributed Minimum Error Rate Training of SMT using Particle Swarm Optimization</title><pubinfo>Proceedings of the 5th International Joint Conference on Natural Language Processing,pages 649-657, Chiang Mai, Thailand, November 8 - 13, 2011. ©2011 AFNLP</pubinfo><author surname="Suzuki" givenname="Jun"><org  name="NTT Communication Science Laboratories" country="Japan" city="Kyoto"/></author><author surname="Duh" givenname="Kevin"><org  name="BT Laboratories" country="United Kingdom" city="Ipswich"/></author><author surname="Nagata" givenname="Masaaki"><org  name="NTT Communication Science Laboratories" country="Japan" city="Kyoto"/></author></firstpageheader><frontmatter><p><b>Distributed Minimum Error Rate Training of SMT using Particle Swarm Optimization</b></p><p><b>Jun Suzuki, Kevin Duh, and Masaaki Nagata</b></p><p>NTT Communication Science Laboratories, NTT Corp. 2-4 Hikaridai, Seika-cho, Soraku-gun, Kyoto, 619-0237 Japan (suzuki.jun,  kevin.duh, nagata.masaaki}@lab.ntt.co.jp</p></frontmatter><abstract>The direct optimization of a translation metric is an integral part of building state-of-the-art SMT systems. Unfortunately, widely used translation metrics such as BLEU-score are non-smooth, non-convex, and non-trivial to optimize. Thus, stan­dard optimizers such as minimum error rate training (MERT) can be extremely time-consuming, leading to a slow turn­around rate for SMT research and exper­imentation. We propose an alternative ap­proach based on particle swarm optimiza­tion (PSO), which can easily exploit the fast growth of distributed computing to obtain solutions quickly. For example in our experiments on NIST 2008 Chinese-to-English data with 512 cores, we demon­strate a speed increase of up to 15x and reduce the parameter tuning time from 10 hours to 40 minutes with no degradation in BLEU-score. </abstract></header><body><section number="1" title="Introduction"><p>Recent statistical machine translation <b>(SMT) </b>sys­tems employ a linear combination of several model components, such as translation models, language models, and reordering models. Trans­lation is performed by selecting the most-likely translation, which is the candidate translation with the highest score based on the different model components. We usually refer to this search pro­cess as 'decoding'. Although the development of decoding algorithms is a key topic in SMT re­search, if we are to construct better SMT systems it is also important to find a way to determine the weights of different model components. We refer to this process as 'parameter tuning'.</p><p>The current standard strategy for tuning the pa­rameters of SMT systems is to search for the weights that maximize a given translation quality metric such as BLEU-score (Papineni et al., 2002). In fact, minimum error rate training (MERT) pro­posed by (Och, 2003) is the most widely used pa­rameter tuning method in SMT community. This is because, empirically, we obtain better trans­lation system performance by directly optimiz­ing the translation metric than by maximizing the likelihood function. However, translation met­rics such as BLEU-score are often non-smooth, non-convex, and non-trivial to optimize, and di­rect maximization does not allow us simply to ap­ply well-known fast and robust optimization tech­niques such as the gradient-ascent method. This restriction makes the parameter tuning process ex­tremely slow.</p><p>In this paper, we propose a novel distributed MERT framework based on particle swarm opti­mization <b>(PSO) </b>(Kennedy and Eberhart, 1995), a population based stochastic optimization tech­nique, to improve the slow parameter tuning pro­cess. The main characteristics of our method are that: (1) it directly optimizes a metric such as BLEU-score, (2) it greatly reduces the parame­ter tuning time compared with the conventional MERT, and (3) it is highly scalable, meaning that additional distributed processors lead to better and faster performance.</p><p>Our main motivation is to <i>improve the experi­ment turn-around time </i>for SMT system develop­ment. A faster parameter tuning algorithm would have a positive impact on research on all the com­ponents of the SMT system. Imagine a researcher designing a new pruning algorithm for decoding, a new word alignment model, or a new domain adaptation method. Any of these methods need to be evaluated in the context of a full SMT sys­tem, which requires parameter tuning. If we can reduce the parameter tuning time from 10 hours to 1 hour, this can greatly increase the pace of inno­vation. Thus our motivation is orthogonal to re­cent research on improving MERT, such as efforts to escape local maxima problems (Cer et al., 2008;<page local="2" global="650"/></p><p>Foster and Kuhn, 2009; Moore and Quirk, 2008), or incorporate lattices (Macherey et al., 2008).</p></section><section number="2" title="Parameter Tuning for SMT Systems"><p>Most recently developed SMT systems consist of several model components, such as translation models, language models, and reordering models. To combine evidence obtained from these differ­ent components, we often define a discriminative (log-)linear model.</p><p>Suppose the SMT system has D components. The log probabilities of the components are usu­ally treated as features in the discriminative model. We denote the d-th feature, or log probability of the d-th component given a source sentence f and its translation e, as &lt;jd(e, f). We also denote the d-th weight as Ad. Then, finding the most likely translation ê of a given source sentence f with the SMT system can be written in the following max­imization problem:</p><doubt alpha="38.7" length="31" tooSmall="False" monospace="0.0">e = argmax    ^\d&lt;j)d(e, f).(1)</doubt><doubt alpha="25.0" length="12" tooSmall="False" monospace="0.0">ed={1,...,D}</doubt><p>This process is called 'decoding' in SMT.</p><p>Next, to obtain better translation quality for any translations, we need somehow to tune the com­ponent weights Ad for all d. The current standard strategy for parameter tuning is to directly maxi­mize a translation quality measure such as BLEU-score rather than likelihood.</p><p>Suppose we have a dataset consisting of S sen­tences. Let <b><i>fs </i></b>be the s-th input sentence (source language) in the tuning dataset. We also sup­pose that each <b><i>fs </i></b>has Q reference translations that are usually generated by hand. Thus, let rs q be the q-th reference translation of fs. We write the weights in the vector representation as, for exam­ple, A = {Ad|D=1, and a system translation of <b><i>fs</i></b>obtained when the weights are A as ê(f, A) to pro­vide a better explanation. Then, the direct maxi­mization of a translation metric M can be written in the following form:</p><p>A* = arg maxM({fs, K,}Q=i, ês(fs, A)}f=i).</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(2)</doubt><p>where A* represents the optimal solution.</p><subsection number="2.1" title="Outline of Och's MERT"><p>The most widely used parameter tuning frame­work for solving Equation 2 in SMT is MERT proposed by (Och, 2003). There are several vari­ations for updating weights during the iterative tuning process in MERT. The most commonly used algorithm for MERT is usually called Koehn-coordinate descent (KCD), which is used in the MERT utility packaged in the popular Moses sta­tistical machine translation system (Koehn et al., 2007). Another choice is Powell's method that was advocated when MERT was first introduced marginally more effective at optimizing the MERT objective, and is much simpler to implement than Powell's method, this paper focuses only on KCD.</p><doubt alpha="61.9" length="42" tooSmall="False" monospace="0.0">for SMT (Och, 2003). Since KCD tends to be</doubt><p>KCD is a variant of a coordinate ascent (or descent) algorithm. At each iteration, it moves along the coordinate, which allows for the great­est progress of the maximization. The routine per­forms a trial line maximization along each coordi­nate to determine which one should be selected. It then updates the weight vector with the coordinate that it found to be the best objective in the trial.</p><p>To perform an iterative parameter update with MERT, it is necessary to evaluate the system trans­lation quality given by the current weights by the translation metric to be optimized. This process obviously requires us to perform decoding (Equa­tion 1), and decoding is usually a very expensive process. Thus, it often becomes infeasible to un­dertake decoding every iteration if the size of the tuning dataset is relatively large. To overcome this issue, Och (2003) has also introduced the N-best approximation method. This method separates de­coding and the parameter tuning process into an outer and an inner loop. The outer loop first runs the decoder over the source sentences in the tun­ing dataset with the current weights to generate N-best lists of translations. Then, the method employs the inner loop procedure to optimize the weights based on those N-best lists instead of de­coding the tuning dataset. After obtaining the op­timal weights from the inner loop, we repeat the outer loop to generate a new N-best list. Figure 1 shows the system outline, which is described in detail elsewhere (Bertoldi et al., 2009).</p><p>We note here that the method proposed in this paper essentially involves the replacement of the inner loop algorithm of the conventional MERT.</p></subsection></section><section number="3" title="Particle Swarm Optimization (PSO)"><p>Particle Swarm Optimization <b>(PSO) </b>is an (itera­tive) stochastic optimization technique proposed<page local="3" global="651"/></p><p>Figure 1: System outline of MERT proposed by (Och, 2003); This system diagram was first pub­lished in (Bertoldi et al., 2009) in (Kennedy and Eberhart, 1995). This optimiza­tion technique is explained in terms of emulating the social behavior of flocks of birds and shoals of fish, or taking advantage of the concept of the social sharing of information.</p><p>The basic strategy of this optimization tech­nique is that each particle flies individually through the search space to find the best position in the search space. By this iterative search pro­cess, each particle can learn from the experience of other particles in the same population (called a swarm). In other words, each particle in the itera­tive search process would adjust its flying velocity as well as position based on both its own acquain­tance and the flying experience of other particles in the swarm. PSO has been shown to be effec­tive in solving a variety of complex optimization problems in practice. Thus, PSO may also work relatively well in MERT since optimizing transla­tion metric such as BLEU-score is also a complex optimization problem.</p><subsection number="3.1" title="Basic definition"><p>Suppose we have a D-dimensional problem space (search space) given by the task at hand. Then, we also assume that we have an objective function F, which is generally called a fitness function in the context of PSO, to evaluate the solution. Basi­cally, solving the task is equivalent to either max­imizing or minimizing the objective function. For example, with the parameter tuning of SMT sys­tems, the objective function F is BLEU-score, and the solution should be the parameter set that maxi­mizes the BLEU-score over a given tuning dataset. Hereafter, we assume a maximization problem.</p><p>For PSO, we assume that the swarm consists of K particles. Each individual particle <i>Pk</i>, where k <i>G </i>{1,..., K}, can be represented as a three-tuple Pk = (xk, vk, bk ), where xk is the cur­rent position in the search space, <b><i>vk </i></b>is the current velocity, and bk is the personal best position in the search space. Note that xk, vk ,and bk are all represented as D-dimensional vectors. As briefly explained in Section 3, PSO is an iterative opti­mization technique. The personal best position, bk, corresponds to the position in the search space where particle k has the largest value of objective function F over all the past iterations. Hereafter, let t represent the PSO iteration counter, where t G {1,..., T}, and T represents the maximum iteration number given by a user, or is possibly set at infinity. In our case, we set T = 100, 000.</p><p>Formally, the personal best values for the k-th particle at the t-th iteration, bk (t), is updated by the following equation:</p><doubt alpha="51.6" length="62" tooSmall="False" monospace="0.0">bfc (t+ 1) =xfc(t+ 1) ifF(xfc(t+ 1))&gt; F(bfc(t)) bk(t)otherwise</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">,(3)</doubt><p>where we set bk(0) = xk(0) for all k.</p><p>The position yielding the largest objective among all the particles in the swarm is called the global best position. We denote this global best position as g, and denote the global best position at t-iteration as g(t). g(t) can be easily obtained by finding the bk (t) that has the largest objective, which is written as follows:</p><doubt alpha="47.6" length="21" tooSmall="False" monospace="0.0">g(t)= arg maxF(b).(4)</doubt><doubt alpha="32.0" length="25" tooSmall="False" monospace="0.0">be{bi(*),b2(*),...,bK(t)}</doubt><p>We assume U(a, b) is a function that returns a value between a and b drawn from a uniform dis­tribution. We denote U(a, b) as a D-dimensional vector all of whose elements are U(a, b). Then, the iterative PSO tuning process is mainly built on the following equations:</p><doubt alpha="39.1" length="23" tooSmall="False" monospace="0.0">vfc (t+ 1) =£(t)vfc (t)</doubt><doubt alpha="42.3" length="26" tooSmall="False" monospace="0.0">+CiU(0,1)(bfc(t) - xfc(t))</doubt><p>+C2U(0, 1)(g(t) - xfc(t)), xfc (t + 1)= xfc (t)+ vfc (t + 1).</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(5)</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(6)</doubt><p>where £ is the inertia weight of the past velocity, and c1 and c2 are acceleration constants regulat­ing the relative velocities with respect to the best personal and global positions. We use c1 = 2.0, c2 = 2.<page local="4" global="652"/>0, and <i>£(t)</i><i> </i><i>=</i><i> </i>1.0 - t/T, which are one standard setting for PSO. We also define vk (0) = U(-1,1) and <b><i>xk</i></b>(0) = U(-1,1) for all k.</p><p>To summarize the process, the velocities vk for all particles Pk are individually updated at the be­ginning of each iteration <i>t </i>by using the (personal) past velocity, and information about the personal and global best position. The new velocity for each particle is then added to its own current posi­tion <b><i>xk </i></b>to obtain the next position of the particle. After that, each particle updates its personal best position by using Equation 3, and finally the global best position of the swarm is updated by the mu­tual sharing of the personal best positions. PSO performs the above process iteratively until con­vergence is reached or iterations attain the maxi­mum number T defined by the user.</p><p>The key feature of the PSO architecture is that information regarding the global best position g is shared by all particles as shown in Equation 5.</p></subsection><subsection number="3.2" title="Extension to guarantee local convergence"><p>The standard PSO algorithm described in the pre­vious section does not guarantee convergence on a local maximum. It merely means that all the par­ticles have converged on the best position discov­ered so far by the swarm. To address this issue, we use the modified version of PSO proposed in (van den Bergh and Engelbrecht, 2002) that can guarantees convergence to a local maximum. The basic idea of the modification is allow the global best particle to move until it has reached a local maximum. To achieve this, they introduced a new velocity update equation for the global best parti­cle. Note that particles other than the global best particle in the swarm continue to use the usual ve­locity update as shown in Equation 5.</p><p>Let <i>t </i>be the index of the global best particle. Then, we use the following equation to update the velocity of the global best particle at the <i>t</i>-th iter­ation:</p><doubt alpha="34.3" length="35" tooSmall="False" monospace="0.0">vr(t + 1) =-Xt(t)+ g(t) + £(t)vr(t)</doubt><doubt alpha="18.8" length="16" tooSmall="False" monospace="0.0">+p(t)U(-1,1),(7)</doubt><p>where p is a scaling factor of the stochastic term U(-1,1), which is defined as follows:</p><doubt alpha="50.9" length="57" tooSmall="False" monospace="0.0">T2p(t)if#S &gt;Tsp(t+ 1) =I0.5p(t)if#F &gt;Tf,(8)p( t)otherwise</doubt><p>where #S and #F, respectively, denote the num­ber of consecutive failures or successes in finding a new global best point where a failure is defined as f (g(t)) = f (g(t - 1)).</p><p>Then, in the same manner as Equation 6, the new position can be calculated by adding the new velocity:</p><doubt alpha="34.6" length="26" tooSmall="False" monospace="0.0">Xt(t +1)=Xt(t) + vr(t + 1)</doubt><p>= g(t)+ £(t)vr (t)+ p(t)U(-1, 1).</p><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">(9)</doubt><p>The -xr (t) term in the velocity update is can­celed when updating the position. This means that a new position is always updated from the global best position g(t). This is one of the key tricks of the modification; the global best particle always searches for a new position around the current best position until new global best position is found. p also plays an important role in guaranteeing the locally convergence of the method. The diameter of this search area is controlled by the parameter p. The updating of p means that if the global best objective function value does not change, then p shrinks to half its original size and the search space around the global best position becomes smaller. The initial default value of p(0) = 1.0.</p><p>Finally, if we cannot find a new global best po­sition around the current global best position in a certain number of iterations Tc then the current global best position can be considered a local max­imum. We use Tc = 15.</p><p>A proof of guaranteed convergence to lo­cal maxima for this algorithm can be found in (van den Bergh and Engelbrecht, 2002). Note that this modification still does not guarantee conver­gence to the global optimum position unless the objective function is a convex function.</p></subsection></section><section number="4" title="MERT-PSO for SMT"><p>This section describes a way to incorporate PSO into the MERT framework. First, the position x in PSO corresponds to the component weights in the SMT system A. Next, the objective function F in PSO can be defined as a translation metric such as BLEU-score M shown in Equation 2. There­fore, in our case, F is calculated by using a tun­ing dataset D and system translations of the tun­ing dataset given by the current weight (position) x. We denote a translation metric such as BLEU-score as F(x, D) for MERT-PSO.</p><p>In PSO, each particle can individually update its velocity, position and personal best position. Thus, we design MERT-PSO to work in a par­allel computing environment. Basically, we uti-<page local="5" global="653"/></p><p><b><u>Algorithm: </u></b><u>MERT-PSO</u>_ <b>Input:</b><b> </b>K: number of particles, D: degree of parame­ter dimension, T: maximum number of iterations, Tc: threshold of convergence evaluation, I : iteration number for update trial, D: tuning dataset, F : objective function. <b>Main procedure:</b></p><p>1: initParticle(Pk ) Vfc in parallel processing procedure: <b>initParticle</b>(Pk )</p><doubt alpha="23.5" length="17" tooSmall="False" monospace="0.0">2: (t,g(0))—Eq. 4</doubt><doubt alpha="14.3" length="7" tooSmall="False" monospace="0.0">3:T' —0</doubt><doubt alpha="33.3" length="21" tooSmall="False" monospace="0.0">4: fortin 0,..., T -1</doubt><doubt alpha="57.9" length="76" tooSmall="False" monospace="0.0">5:    execParticle(t,Pk,t)Vfcin parallel processing 6:     (t,g(t+ 1))—Eq. 4</doubt><doubt alpha="30.8" length="39" tooSmall="False" monospace="0.0">7:T = T'+ 1 ifF(g(t+ 1), D)=F(g(t), D),</doubt><doubt alpha="59.2" length="49" tooSmall="False" monospace="0.0">orT'= 0 otherwise 8:    break ifT' &gt; Tc9: encLfor</doubt><doubt alpha="42.1" length="19" tooSmall="False" monospace="0.0">10: output g(t+ 1)_</doubt><doubt alpha="34.9" length="63" tooSmall="False" monospace="0.0">1: vk—U(-1,1) and xk— U(-1,1) 2: vk(0)— P(vk) and xk(0)— P'(xk)</doubt><doubt alpha="26.7" length="15" tooSmall="False" monospace="0.0">3: bk(0)—xk(0)_</doubt><doubt alpha="64.0" length="50" tooSmall="False" monospace="0.0">procedure:execParticle(t, Pk,t) 1: foriin 1,..., I</doubt><doubt alpha="40.6" length="69" tooSmall="False" monospace="0.0">2: v'—V(fc,t)or V'(fc,t)iffc=t(Eq. 5 or 7) 3:   vtmp— P(v' ) (Eq. 10)</doubt><doubt alpha="36.7" length="49" tooSmall="False" monospace="0.0">4: x'—xk(t)+vtmp(Eq.6) 5:   xtmp— P'(x') (Eq. 11)</doubt><doubt alpha="56.9" length="72" tooSmall="False" monospace="0.0">6:   ifF(xtb,D)&lt;F(xtmp,D)7:      xtb—xtmpand vtb—vtmp8: enddf 9: end_for</doubt><doubt alpha="44.1" length="34" tooSmall="False" monospace="0.0">10: xk(t+ 1)—xtb, and vk(t+ 1)—vtb</doubt><doubt alpha="44.0" length="25" tooSmall="False" monospace="0.0">11: bk(t+1)—Eq. 3 usingD_</doubt><figure caption="Figure 2: MERT-PSO algorithm implemented in the inner loop of MERT."></figure><p>lize a master-slave architecture for parallelization. We simply allocate one particle to one slave node (or processor), and the master node manages the global best position and the convergence test.</p><subsection number="4.1" title="Extensions"><p>This section describes our four proposed exten­sions for PSO that make it possible to fit PSO to parameter tuning for SMT systems.</p><p>The value of each dimension of every velocity is usually clamped to the range [-vmax, vmax] to avoid having too large an absolute velocity and thus realizing better convergence. Here, we intro­duce another procedure that can also avoid having velocities that are too large. Our proposed proce­dure is well-known as a 'norm projection' in the discriminative machine learning community, <i>i.e., </i>(Shalev-Shwartz et al., 2007), which can be de­fined as follows:</p><doubt alpha="35.3" length="17" tooSmall="False" monospace="0.0">P(v)=min|1,v,(10)</doubt><p>where ß represents the radius of Lp-norm ball. In our experiments, we set ß = 1 and p = 1. We project the velocity vector into the Lp-norm ball immediately after we update the velocities.</p><p>Next, in a similar manner to Equation 10, we also project the current positions for all particles 'onto' Lp-norm ball after updating. We use the following function:</p><doubt alpha="34.8" length="23" tooSmall="False" monospace="0.0">P'(x)^ttX- x,(11)||x||p</doubt><p>Suppose x' = P(x), then note that e(f, x) and ê(f, x') for any f can be identical. This is be­cause we assume the translation models used in our method to be the linear model described by Equation 1. This assumption guarantees that any system translation ê given by Equation 1 is never changed as a result of this position projection. This fact implies that we can find the solution onto an Lp-norm ball with a fixed radius. Thus, this projection may lead to faster convergence since it enables us to reduce the search space of PSO.</p><p>Third, for each iteration, we update the veloc­ity and position of each particle to those with the best objective value among <i>I </i>trials, in our case I = 10. Let the right-hand side of Equa­tions 5 and 7 be V(k, t) and V'(t, t), respectively, that is V(k,t) = £(t)vfc(t) + ciU(0,1)(bfc(t) -xfc(t)) + C2U(0,1)(g(t) - xfc(t)), and V'(t, t) = -xr(t) + g(t) + £(t)vr(t) + p(t)U(-1,1). Both V(k,t) and V'(t, t) have randomness character­ized by U. Therefore, we select the best position and velocity in I random trials as the position and velocity of t + 1 in t iterations. This extension re­duces the number of inefficient searches (and also the communication cost between particles). Thus, this may also lead to a faster tuning process.</p><p>Finally, we slightly modify the update scheme of p explained in Equation 8 to simplify the pro­cess as follows:</p><doubt alpha="43.1" length="58" tooSmall="False" monospace="0.0">p(t+ 1) = {0.5p(t)ifhFirgise)=F(g(t-1)).1.0      o herwise</doubt><p>To summarize our me hod, Figure 2 shows i s overall algori hm.</p></subsection><subsection number="4.2" title="Implementations"><p>Basically, we implemen ed he PSO algori hm de­scribed above in Moses, one of he leading open source implemen a ions of phrase-based machine translation (Koehn et al., 2007). More specifically, we substituted our PSO method for the inner loop<page local="6" global="654"/></p><doubt alpha="82.1" length="39" tooSmall="True" monospace="0.0">Moses-MERT (original: single processor)</doubt><doubt alpha="72.7" length="22" tooSmall="True" monospace="0.0">processor. 1 decoder ^</doubt><doubt alpha="93.3" length="15" tooSmall="True" monospace="0.0">Decoder results</doubt><doubt alpha="76.5" length="17" tooSmall="True" monospace="0.0">processor. 1 MERT</doubt><doubt alpha="92.3" length="13" tooSmall="True" monospace="0.0">final weights</doubt><doubt alpha="80.0" length="35" tooSmall="True" monospace="0.0">Moses-MERT (parallel: processors=K)</doubt><doubt alpha="78.3" length="23" tooSmall="True" monospace="0.0">MERT-PSO (processors=K)</doubt><doubt alpha="89.3" length="28" tooSmall="True" monospace="0.0">A partitioned tuning dataset</doubt><doubt alpha="60.4" length="48" tooSmall="False" monospace="0.0">Iprocessor. 1  | | processor.2 ||  processor.K |</doubt><doubt alpha="75.0" length="28" tooSmall="True" monospace="0.0">decoder ^decoder ^decoder&gt; ^</doubt><doubt alpha="55.6" length="72" tooSmall="True" monospace="0.0">processor.1       processor.2      .... processor.K M E RT M E RT M E RT</doubt><doubt alpha="100.0" length="7" tooSmall="True" monospace="0.0">weights</doubt><doubt alpha="59.2" length="49" tooSmall="False" monospace="0.0">Iprocessor. 1  | | processor.2 ||   processor.K |</doubt><doubt alpha="91.3" length="23" tooSmall="True" monospace="0.0">decoder decoder decoder</doubt><doubt alpha="87.2" length="47" tooSmall="True" monospace="0.0">Decoder results of a partitioned tuning dataset</doubt><doubt alpha="100.0" length="1" tooSmall="False" monospace="0.0">I</doubt><doubt alpha="76.2" length="21" tooSmall="True" monospace="0.0">particle.1 particle.2</doubt><doubt alpha="90.0" length="10" tooSmall="True" monospace="0.0">Particle.K</doubt><doubt alpha="84.1" length="63" tooSmall="True" monospace="0.0">Select weight set that gives the maximum BLUE on tuning dataset</doubt><p>Figure 3: Outline process images (a) Moses-MERT (original), (b) Moses-MERT (our parallel version), and (c) MERT-PSO of Moses MERT. The source code was written in C++ with boost:::MPI libraries for parallelization.</p><doubt alpha="92.9" length="14" tooSmall="True" monospace="0.0">Tuning dataset</doubt><doubt alpha="71.4" length="7" tooSmall="True" monospace="0.0">(merge)</doubt><doubt alpha="87.5" length="8" tooSmall="True" monospace="0.0">MERT-PSO</doubt><p>Moreover, we also substituted the code we de­veloped for the outer loop code to run a decoder in parallel to work on a large number of computa­tional resources such as cluster PCs. This is sim­ply accomplished by separating the tuning dataset, and then each computational resource executes the decoder independently to decode part of the parti­tioned dataset.</p><p>Additionally, in our experiments, we also im­plemented a parallel version of Moses-MERT as a competitor for comparison with our method. In this case, we independently performed the inner­loop algorithm of the original Moses-MERT in many computers with randomly selected initial weights. After completing all the Moses-MERT procedures, we selected a weight set that provided the best BLED-score.</p><p>Outline process images for three different im­plementations are shown in Figure 3.</p></subsection></section><section number="5" title="Experiments"><p>In our experiments, we evaluated the effective­ness of the proposed MERT-PSO in terms of both performance and runtime by comparison with a MERT package in Moses (Moses-MERT), and our parallel extended version ofMoses (Moses-MERT parallel). All three algorithms use the Moses decoder (Koehn et al., 2007) to select the best trans­lation given a source sentence (Equation 1).</p><p>We conducted our experiments on NIST-08 and WMT-10 datasets. Table 1 summarizes the data statistics used in our experiments. Note that the tuning datasets are formed from NIST-04 and NIST-05 test data for NIST-08, and WMT-09 test data for WMT-10. For both tasks, we train phrase tables from the provided training data using the standard GIZA++ pipeline and train language models using SRILM. The feature set consists of the standard 5 translation model probabilities, 1 language model probability, 1 distortion feature and 1 word penalty feature for 8 features, and an additional 6 reordering models for 14 features.</p></section><section number="6" title="Results and Discussion"><subsection number="6.1" title="Evaluations for overall tuning process"><p>Tables 2, and 3 show the results of our exper­iments comparing the parameter tuning qualities of the original Moses-MERT, Moses-MERT (par­allel) and MERT-PSO. All the experiments were performed ten times using different random seeds for each trial. We assumed the number of avail­able computational resources, which we refer to as '#PN', to be 512 in these experiments. In the tables, Ave, Max., Min., and Std. represent the average, maximum, minimum and standard devia­tion of ten trials, respectively.</p><p>Clearly, MERT-PSO greatly reduced the total runtime compared with the original Moses-MERT. Although MERT-PSO used a lot more computa­tional resources than the original Moses-MERT, the original Moses-MERT can never achieve the tuning speed of MERT-PSO.<footnote anchor="1"/> Additionally, we<page local="7" global="655"/></p><footnote label="1">It should be noted that Moses-MERT (parallel) is our</footnote><table class="main" frame="box" rules="all" border="1" regular="True"><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>processor.1</p></td><td class="cell"><p>processor.2</p></td><td class="cell"><p></p></td><td class="cell"><p>processor.K</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 1: Details of data used in our experiments." 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></p></td><td class="cell"><p>NIST-08</p></td><td class="cell"><p>WMT-10</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Source lang.</p></td><td class="cell"><p>Chinese</p></td><td class="cell"><p>German</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>Target lang.</p></td><td class="cell"><p>English</p></td><td class="cell"><p>English</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p># of sent. in tuning dataset (S)</p></td><td class="cell"><p>2679</p></td><td class="cell"><p>2524</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p># of reference per sent. (Q)</p></td><td class="cell"><p>4</p></td><td class="cell"><p>1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p># of dimensions (D)</p></td><td class="cell"><p>8</p></td><td class="cell"><p>14</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p># of N-best per sent.        (N)</p></td><td class="cell"><p>100</p></td><td class="cell"><p>100</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="1" tooSmall="False" monospace="0.0">£</doubt><doubt alpha="100.0" length="2" tooSmall="False" monospace="0.0">QJ</doubt><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">0) Q.JE</doubt><p>Moses-MERT (original)</p><doubt alpha="55.0" length="20" tooSmall="False" monospace="0.0">Moses-MERT (#PN=512)</doubt><doubt alpha="50.0" length="18" tooSmall="False" monospace="0.0">MERT-PSO (#PN=512)</doubt><p>Figure 4: Detailed rates of parameter tuning pro­cess (inner loop), decoding (outer loop), and disk I/O times in total runtimes for NIST-08 dataset.</p><p>can find the tendency that the standard deviations of the BLEU-scores for MERT-PSO are relatively small. This implies that MERT-PSO has the power to produce a robust solution. This property is im­portant for stochastic optimization algorithms.</p><p>The results of our developed parallel Moses-MERT are largely similar to those obtained by MERT-PSO in terms of BLEU-scores. However, the average runtimes of MERT-PSO are at least three times faster than those of Moses-MERT (par­allel). These observations may be interesting; PSO searches almost randomly for the model com­ponent weights during the parameter tuning pro­cess, but it can still find good weights sufficiently quickly. The faster runtime of MERT-PSO is also explained by this simple randomized update pro­cedure of PSO in contrast to KCD used in Moses-MERT, which tries to find the optimal coordinate by using an iterative line search.</p><p>Another interesting finding is that MERT-PSO tends to reduce the number of outer loops. This can be a good characteristic for the current MERT framework since decoding (outer loop) is usually expensive.</p><p>own developed system that is not implemented in the orig­inal Moses open source software.</p><p>Figure 4 summarizes the parameter tuning pro­cess (inner loop), decoding (outer loop), and disk I/O times for each method for NIST-08 dataset. Most SMT researchers would agree that the most of the MERT runtime is spent on decoding (outer loop). As shown in this figure, this is basically true for Moses-MERT (original) when the tun­ing dataset is large. However, with the parallel method, it appears not always to be true. For example, the dominant process of Moses-MERT (parallel) is parameter tuning process (inner loop). Thus, developing a faster parameter tuning algo­rithms is still meaningful.</p></subsection><subsection number="6.2" title="Evaluations for inner loop process"><p>This section evaluates the compared methods in terms of single inner loop process. To allow fair comparisons, all the methods are evaluated using the same N-best lists, even though running multi­ple iterations of MERT would normally produce different N-best lists. To perform this experi­ment, we first constructed models using the origi­nal Moses. Then, we utilized the generated inter­mediate files for the experiments described in this section.</p><subsubsection number="6.2.1" title="Effect of parallelization"><p>Figure 5 shows the effect of parallelization in terms of BLEU-score and runtime. It is clear that smaller #PN provided lower BLEU-score in</p><p>MERT-PSO. MERT-PSO generally requires a cer­tain number of particles (processors) to work well. It seems that we need at least 64 particles for a sta­ble tuning in our setting. However, when MERT-PSO employed sufficiently many particles, it out­performed Moses-MERT and provided stable con­vergence even though MERT-PSO is a stochastic optimization method.</p><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">2:00:00</doubt><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">1:00:00</doubt><table caption="Table 2: Results for NIST-08 dataset." 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></p></td><td class="cell"><p>Moses-MERT</p></td><td class="cell"><p>Moses-MERT</p></td><td class="cell"><p>MERT-PSO</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>(original)</p></td><td class="cell"><p>(#PN=512)</p></td><td class="cell"><p>(#PN=512)</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>Ave.</p></td><td class="cell"><p>30.18</p></td><td class="cell"><p><b>30.26</b></p></td><td class="cell"><p><b>30.26</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>score</p></td><td class="cell"><p>Max.</p></td><td class="cell"><p>30.25</p></td><td class="cell"><p>30.28</p></td><td class="cell"><p><b>30.30</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Min.</p></td><td class="cell"><p>30.06</p></td><td class="cell"><p><b>30.24</b></p></td><td class="cell"><p>30.20</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Std.</p></td><td class="cell"><p>.0033</p></td><td class="cell"><p><b>.0003</b></p></td><td class="cell"><p>.0008</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>#.of</p></td><td class="cell"><p>Ave.</p></td><td class="cell"><p>9.9</p></td><td class="cell"><p>9.0</p></td><td class="cell"><p><b>7.1</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>outer</p></td><td class="cell"><p>Min.</p></td><td class="cell"><p>7</p></td><td class="cell"><p><b>6</b></p></td><td class="cell"><p><b>6</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>loop</p></td><td class="cell"><p>Max.</p></td><td class="cell"><p>17</p></td><td class="cell"><p>11</p></td><td class="cell"><p><b>8</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Std.</p></td><td class="cell"><p>2.03</p></td><td class="cell"><p>1.61</p></td><td class="cell"><p><b>0.73</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>inner loop</p></td><td class="cell"><p>Ave.</p></td><td class="cell"><p>01.00.16</p></td><td class="cell"><p>01.01.45</p></td><td class="cell"><p><b>00.05.21</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>total time</p></td><td class="cell"><p>Min.</p></td><td class="cell"><p>00.26.48</p></td><td class="cell"><p>00.26.06</p></td><td class="cell"><p><b>00.03.40</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(hh.mm.ss)</p></td><td class="cell"><p>Max.</p></td><td class="cell"><p>02.31.39</p></td><td class="cell"><p>01.31.09</p></td><td class="cell"><p><b>00.07.14</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>opt. total</p></td><td class="cell"><p>Ave.</p></td><td class="cell"><p>09.40.08</p></td><td class="cell"><p>01.40.40</p></td><td class="cell"><p><b>00.36.41</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>time</p></td><td class="cell"><p>Min.</p></td><td class="cell"><p>06.44.39</p></td><td class="cell"><p>00.51.58</p></td><td class="cell"><p><b>00.27.26</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(hh.mm.ss)</p></td><td class="cell"><p>Max.</p></td><td class="cell"><p>13.28.29</p></td><td class="cell"><p>02.19.26</p></td><td class="cell"><p><b>00.43.20</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></tr></table><table caption="Table 3: Results for WMT-10 dataset." 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></p></td><td class="cell"><p>Moses-MERT</p></td><td class="cell"><p>Moses-MERT</p></td><td class="cell"><p>MERT-PSO</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>(original)</p></td><td class="cell"><p>(#PN=512)</p></td><td class="cell"><p>(#PN=512)</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>Ave.</p></td><td class="cell"><p>20.17</p></td><td class="cell"><p>20.21</p></td><td class="cell"><p><b>20.23</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>score</p></td><td class="cell"><p>Max.</p></td><td class="cell"><p>20.21</p></td><td class="cell"><p>20.24</p></td><td class="cell"><p><b>20.26</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Min.</p></td><td class="cell"><p>20.06</p></td><td class="cell"><p>20.13</p></td><td class="cell"><p><b>20.19</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Std.</p></td><td class="cell"><p>.0552</p></td><td class="cell"><p>.0331</p></td><td class="cell"><p><b>.0245</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>#.of</p></td><td class="cell"><p>Ave.</p></td><td class="cell"><p>13.0</p></td><td class="cell"><p>12.5</p></td><td class="cell"><p><b>7.4</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>outer</p></td><td class="cell"><p>Min.</p></td><td class="cell"><p>10</p></td><td class="cell"><p>10</p></td><td class="cell"><p><b>5</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>loop</p></td><td class="cell"><p>Max.</p></td><td class="cell"><p>17</p></td><td class="cell"><p>16</p></td><td class="cell"><p><b>9</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p>Std.</p></td><td class="cell"><p>2.06</p></td><td class="cell"><p>1.80</p></td><td class="cell"><p><b>1.20</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>inner loop</p></td><td class="cell"><p>Ave.</p></td><td class="cell"><p>03.40.22</p></td><td class="cell"><p>03.18.43</p></td><td class="cell"><p><b>00.09.09</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>total time</p></td><td class="cell"><p>Min.</p></td><td class="cell"><p>02.02.11</p></td><td class="cell"><p>02.12.57</p></td><td class="cell"><p><b>00.04.11</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(hh.mm.ss)</p></td><td class="cell"><p>Max.</p></td><td class="cell"><p>05.55.01</p></td><td class="cell"><p>05.14.53</p></td><td class="cell"><p><b>00.13.23</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>opt. total</p></td><td class="cell"><p>Ave.</p></td><td class="cell"><p>25.40.38</p></td><td class="cell"><p>07.14.40</p></td><td class="cell"><p><b>02.07.12</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>time</p></td><td class="cell"><p>Min.</p></td><td class="cell"><p>20.08.22</p></td><td class="cell"><p>05.20.47</p></td><td class="cell"><p><b>01.15.40</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>(hh.mm.ss)</p></td><td class="cell"><p>Max.</p></td><td class="cell"><p>37.51.22</p></td><td class="cell"><p>10.04.13</p></td><td class="cell"><p><b>02.23.24</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></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></p></td><td class="cell"><p></p></td><td class="cell"><p>(8.22.52)</p></td><td class="cell"><p></p></td><td class="cell"><p>MERT 1</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p></p></td><td class="cell"><p><i>It?</i></p></td><td class="cell"><p>/ Decoder □ Disk I/O</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>n</p></td><td class="cell"><p></p></td><td class="cell"><p>r~i m</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="8" global="656"/><p>MERT-PSO</p><p>Moses-MERT</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">30.4</doubt><doubt alpha="0.0" length="17" tooSmall="False" monospace="0.0">30.3 +~ 30.2 30.1</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">30.0</doubt><doubt alpha="0.0" length="19" tooSmall="False" monospace="0.0">29.9 29.8 29.7 29.6</doubt><doubt alpha="0.0" length="31" tooSmall="False" monospace="0.0">800 700 600 500 400 300 200 100</doubt><doubt alpha="0.0" length="1" tooSmall="False" monospace="0.0">0</doubt><doubt alpha="23.7" length="59" tooSmall="False" monospace="0.0">1 4 8 16 32 64 128 256 # of CPUs (fixed S=2678, N=900, D=8)</doubt><p>IMoses-MERT</p><doubt alpha="0.0" length="36" tooSmall="False" monospace="0.0">4     8     16    32    64   128 256</doubt><doubt alpha="38.9" length="36" tooSmall="False" monospace="0.0"># of CPUs (fixed S=2678, N=900, D=8)</doubt><p>Figure 5: Runtimes and BLEU-score of changing parallelization number in a single inner loop pro­cess for NIST-08 dataset (vertical line at each bar represents Std.).</p><p>Note that larger #PN provided better BLEU-score but slower runtime in Moses-MERT. This is because Moses-MERT (parallel) runs the orig­inal MERT processes individually on every pro­cessors. Thus, the runtime of Moses-MERT de­pends on the slowest MERT process for all MERT processes. Instead, it can select the weights that provide the best BLEU score among all the results of the MERT processes. This is the reason of this observation.</p></subsubsection><subsubsection number="6.2.2" title="Robustness against S and N"><p>Figure 6 shows the runtimes against the average number of N-best lists in a single inner loop, where the number of sentences in a tuning set is fixed, and runtimes against the sentences in a sin­gle inner loop, where the average number of N-best list is fixed.</p><p>We can find MERT-PSO has an almost linear relation in both figures in the same way as Moses-MERT. These figures also clarified that MERT-PSO is very robust as regards increasing the num­ber of sentences and the average N-best list size per sentence.</p></subsubsection></subsection><subsection number="6.3" title="Test data performance"><table caption="Table 4 shows the average BLEU-scores provided"></table><p>by ten models of Moses-MERT and MERT-PSO with 512 parallel processing for the test data. We</p><doubt alpha="50.0" length="4" tooSmall="True" monospace="0.0">tu £</doubt><doubt alpha="25.0" length="4" tooSmall="True" monospace="0.0">I- :</doubt><doubt alpha="0.0" length="14" tooSmall="False" monospace="0.0">0 400 800 1200</doubt><doubt alpha="64.3" length="56" tooSmall="False" monospace="0.0">Average N-best list size per sample (fixed S=2524, D=14)</doubt><doubt alpha="0.0" length="9" tooSmall="False" monospace="0.0">1400 1200</doubt><p>-A-Moses-MERT</p><doubt alpha="45.6" length="114" tooSmall="False" monospace="0.0">(#PN=32) -X-Moses-MERT (#PN=128) Moses-MERT (#PN=512) MERT-PSO (#PN=32) MERT-PSO (#PN=128) MERT-PSO 1600 (#PN=512)</doubt><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">1000</doubt><doubt alpha="0.0" length="7" tooSmall="False" monospace="0.0">800 600</doubt><doubt alpha="0.0" length="9" tooSmall="False" monospace="0.0">400 200 0</doubt><doubt alpha="27.3" length="66" tooSmall="False" monospace="0.0">500     1000    1500    2000 2500#of sentences (fixed N=700, D=14)</doubt><doubt alpha="60.0" length="20" tooSmall="False" monospace="0.0">rMoses-MERT (#PN=32)</doubt><doubt alpha="52.4" length="21" tooSmall="False" monospace="0.0">-Moses-MERT (#PN=128)</doubt><doubt alpha="49.4" length="77" tooSmall="False" monospace="0.0">-Moses-MERT (#PN=512) MERT-PSO (#PN=32) MERT-PSO (#PN=128) MERT-PSO (#PN=512)</doubt><p>Figure 6: Runtimes vs. average N-best list size per sentence (top), and number of sentences in tun­ing dataset (bottom) in a single inner loop process for WMT-10 dataset.</p><doubt alpha="63.2" length="38" tooSmall="False" monospace="0.0">MERT (parallel:  #PN=512) and MERT-PSO</doubt><p>(#PN=512).</p><p>confirmed that the translation qualities of MERT-PSO for unseen sentences are nearly the same level as those of Moses-MERT in terms of BLEU-score. This empirical evidence encourage us to use</p><p>MERT-PSO as a replacement of Moses-MERT:</p><p>MERT-PSO can provide the same quality level models as those provided by Moses-MERT with much faster runtime.</p></subsection></section><section number="7" title="Conclusion"><p>Our main goal was to provide a method to <i>im­prove the experiment turn-around time </i>for SMT system development. This paper proposed a novel distributed MERT framework based on particle swarm optimization (MERT-PSO). When there are abundant computational resources such as cluster PCs, our method can provide very much faster pa­rameter tuning for SMT systems while maintain­ing the translation quality provided by the standard parameter tuning algorithms such as BLEU-score. Even though MERT-PSO is a stochastic approach, the experimental results showed that MERT-PSO is very robust, and in most cases, provides better results than the original Moses-MERT.</p><doubt alpha="0.0" length="4" tooSmall="False" monospace="0.0">3000</doubt><doubt alpha="100.0" length="1" tooSmall="True" monospace="0.0">O</doubt><doubt alpha="40.0" length="5" tooSmall="True" monospace="0.0">T3 J5</doubt><doubt alpha="42.9" length="7" tooSmall="False" monospace="0.0">2L1J _l</doubt><doubt alpha="0.0" length="3" tooSmall="False" monospace="0.0">500</doubt><doubt alpha="50.0" length="2" tooSmall="True" monospace="0.0">T3</doubt><table caption="Table 4: Results for test data comparing Moses-" 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></p></td><td class="cell"><p>Moses-MERT (#PN=512)</p></td><td class="cell"><p>MERT-PSO (#PN=512)</p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>NIST-08 (Ch-En)</p></td><td class="cell"><p>Ave.</p></td><td class="cell"><p>21.32</p></td><td class="cell"><p><b>21.40</b></p></td><td class="cell"></td></tr><tr class="row"><td class="cell"></td><td class="cell"><p>WMT-10 (Ge-En)</p></td><td class="cell"><p>Ave.</p></td><td class="cell"><p><b>21.25</b></p></td><td class="cell"><p>21.22</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><page local="9" global="657"/></section><references><p>Nicola Bertoldi, Barry Haddow, and Jean-Baptiste Fouet. 2009. Improved Minimum Error Rate Train­ing in Moses. <i>Prague Bulletin of Mathematical Lin­guistics, </i>No. 91:7-16.</p><p>Daniel Cer, Dan Jurafsky, and Christopher D. Manning. 2008. Regularization and search for minimum er­ror rate training. In <i>Proceedings ofthe Third Work­shop on Statistical Machine Translation, </i>pages 26­34, Columbus, Ohio, June. Association for Compu­tational Linguistics.</p><p>George Foster and Roland Kuhn. 2009. Stabilizing minimum error rate training. In <i>Proceedings ofthe Fourth Workshop on Statistical Machine Transla­tion, </i>pages 242-249, Athens, Greece, March. As­sociation for Computational Linguistics.</p><p>James F. Kennedy and Russell C. Eberhart. 1995. Particle Swarm Optimization. In <i>Proceedings of IEEE International Conference on Neural Networks, </i>pages 1942-1948.</p><p>Philipp Koehn, Hieu Hoang, Alexandra Birch, Chris Callison-Burch, Marcello Federico, Nicola Bertoldi, Brooke Cowan, Wade Shen, Christine Moran, Richard Zens, Chris Dyer, Ondrej Bojar, Alexan­dra Constantin, and Evan Herbst. 2007. Moses: Open source toolkit for statistical machine transla­tion. In <i>Proceedings of the 45th Annual Meeting of the Association for Computational Linguistics Com­panion Volume Proceedings ofthe Demo and Poster Sessions, </i>pages 177-180, Prague, Czech Republic, June. Association for Computational Linguistics.</p><p>Wolfgang Macherey, Franz Och, Ignacio Thayer, and Jakob Uszkoreit. 2008. Lattice-based minimum er­ror rate training for statistical machine translation. In <i>Proceedings of the 2008 Conference on Empiri­cal Methods in Natural Language Processing, </i>pages 725-734, Honolulu, Hawaii, October. Association for Computational Linguistics.</p><p>Robert C. Moore and Chris Quirk. 2008. Random restarts in minimum error rate training for statistical machine translation. In <i>Proceedings ofthe 22nd In­ternational Conference on Computational Linguis­tics (Coling 2008), </i>pages 585-592, Manchester, UK, August. Coling 2008 Organizing Committee.</p><p>Franz Josef Och. 2003. Minimum error rate training in statistical machine translation. In <i>Proceedings of the 41st Annual Meeting of the Association for Com­putational Linguistics, </i>pages 160-167.</p><p>Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. 2002. Bleu: a method for automatic eval­uation of machine translation. In <i>Research Report RC22176, IBM Research Division, Thomas J. Wat­son Research Center, </i>pages 311-318.</p><p>Shai Shalev-Shwartz, Yoram Singer, and Nathan Sre-bro. 2007. Pegasos: Primal Estimated sub­GrAdient SOlver for SVM.    In <i>Proceedings of</i> <i>the Twenty-Fourth International Conference on Ma­chine Learning, </i>pages 807-814.</p><p>Frans van den Bergh and Andries P. Engelbrecht. 2002. A new locally convergent particle swarm optimizer. In <i>Proceedings of IEEE International Conference on Systems, Man, and Cybernetics, </i>pages 96-101.</p></references></body></article>