<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<TEI xmlns="http://www.tei-c.org/ns/1.0" xmlns:ns2="http://www.tei-c.org/ns/Examples">
    <teiHeader>
        <fileDesc>
            <titleStmt>
                <title>BLEU in characters: towards automatic MT evaluation in languages without word delimiters</title>
            </titleStmt>
        </fileDesc>
    </teiHeader>
    <text>
        <front>
            <div type="abs">
                <head>Abstract</head>
                <p>Automatic evaluation metrics for Machine Translation (MT) systems, such as BLEU or NIST, are now well established. Yet, they are scarcely used for the assessment of language pairs like English-Chinese or English-Japanese, because of the word segmentation problem. This study establishes the equivalence between the standard use of BLEU in word n -grams and its application at the character level. The use of BLEU at the character level eliminates the word segmentation problem: it makes it possible to directly compare commercial systems outputting unsegmented texts with, for instance, statistical MT systems which usually segment their outputs.</p>
            </div>
        </front>
        <body>
            <div>
                <p/>
            </div>
            <div1>
                <head xml:id="sec1">Introduction</head>
                <p>Automatic evaluation metrics for Machine Translation (MT) systems, such as BLEU ( P APINENI et al., 2001) or NIST ( D ODDINGTON , 2002), are now well established. They serve as quality assessment methods or comparison tools and are a fast way of measuring improvement. Although it is claimed that such objective MT evaluation methods are language-independent, they are usually only applied to English, as they basically rely on word counts. In fact, the organisers of campaigns like NIST ( P RZYBOCKI 2004) 1 TIDES 2 , , or IWSLT (A KIBA et al., 2004) 3 , prefer to evaluate outputs of machine translation systems which are already segmented into words before applying such objective evaluation methods. The consequence of this state of affairs is that evaluation campaigns of English to Japanese or English to Chinese machine translation systems for instance, are not, to our knowledge, widely seen or reported.</p>
            </div1>
            <div1>
                <head xml:id="sec2">Overview</head>
                <div2>
                    <head xml:id="sec2.1">The word segmentation problem</head>
                    <p>As statistical machine translation systems basically rely on the notion of words through their lexicon models (B ROWN et al., 1993), they are usually capable of outputting sentences already segmented into words when they translate into languages like Chinese or Japanese. But this is not necessarily the case with commercial systems. For instance, Systran 4 does not output segmented texts when it translates into Chinese or Japanese.</p>
                    <p>As such, comparing systems that translate into languages where words are not an immediate given in unprocessed texts, is still hindered by the human evaluation bottleneck. To compare the performance of different systems, segmentation has to be performed beforehand.</p>
                    <p>One can always apply standard word segmentation tools (for instance, The Peking University Segmenter for Chinese (D UAN et al., 2003) or ChaSen for Japanese (M ATSUMOTO et al., 1999)), and then apply objective MT evaluation methods. However, the scores obtained would be biased by the error rates of the segmentation tools on MT outputs 5 . Indeed, MT outputs still differ from standard texts, and their segmentation may lead to a different performance. Consequently, it is difficult to directly and fairly compare scores obtained for a system outputting non-segmented sentences with scores obtained for a system delivering sentences already segmented into words.</p>
                </div2>
                <div2>
                    <head xml:id="sec2.2">BLEU in characters</head>
                    <p>Notwithstanding the previous issue, it is undeniable that methods like BLEU or NIST have been adopted by the MT community as they measure complementary characteristics of translations: namely fluency and adequacy ( A KIBA et al., 2004, p. 7). Although far from being perfect, they definitely are automatic, fast, and cheap. For all these reasons, one cannot easily ask the MT community to give up their practical knowhow related to such measures. It is preferable to state an equivalence with well established measures than to merely look for some correlation with human scores, which would indeed amount to propose yet another new evaluation method.</p>
                    <p>Characters are always an immediate given in any electronic text of any language, which is not necessarily the case for words. Based on this observation, this study shows the effect of shifting from the level of words to the level of characters, i.e., of performing all computations in characters instead of words. According to what was said above, the purpose is not to look for any correlation with human scores, but to establish an equivalence between BLEU scores obtained in two ways: on characters and on words.</p>
                    <p>Intuitively a high correlation should exist. The contrary would be surprising. However, the equivalence has yet to be determined, along with the corresponding numbers of characters and words for which the best correlation is obtained.</p>
                </div2>
            </div1>
            <note n="1" place="below">http://www.nist.gov/speech/tests/mt-</note>
            <note n="3" place="below">http://www.slt.atr.jp/IWSLT2004/archives/000619.html 4 http://www.systranbox.com/systran/box .</note>
            <note n="5" place="below">Such error rates are around 5% to 10% for standard texts. An evaluation of the segmentation tool is in fact required. on MT outputs alone.</note>
            <div1>
                <head xml:id="sec3">Experimental setup</head>
                <p>The most popular off-the-shelf objective methods currently seem to be BLEU and NIST. As NIST was a modification of the original definition of BLEU, the work reported here concentrates on BLEU. Also, according to ( B RILL and S ORICUT , 2004), BLEU is a good representative of a class of automatic evaluation methods with the focus on precision 6 .</p>
                <div2>
                    <head xml:id="sec3.1">Computation of a BLEU score</head>
                    <p>For a given maximal order N , a baseline BLEU wN score is the product of two factors: a brevity penalty and the geometric average of modified n -gram precisions computed for all n grams up to N . BLEU wN score = BP × N√ √ √N √∏ [BAR] p n n =1</p>
                    <p>The brevity penalty is the exponential of the relative variation in length against the closest ref- erence: { BP = 1 e 1 −r/c if if |C| |C| ≤ &gt; |R |R closest closest | | where C is the candidate and R closest is the closest reference to the candidate according to its length. |S| is the length of a sentence S in words. Using a consistent notation, we note as |S| W the number of occurrences of the (sub)string W in the sentence S , so that |S| w n 1 ...w n is the number of occur- rences of the word -gram w 1 ...w n in the sen- tence S .</p>
                    <p>With the previous notations, a modified n -gram precision for the order n is the ratio of two sums 7 :</p>
                    <p>∑ ( ( ) ) p n = [BAR] w 1 ...w n ∈C min |C| ∑ w 1 ...w |C| n , w max 1 R ...w n |R| w 1 ...w n</p>
                    <p>w 1 ...w n ∈C • the numerator gives the number of n -grams</p>
                    <p>of the candidate appearing in the references, limited to the maximal number of occurrences of the n -gram considered in a single reference 8 ; • the denominator gives the total number of n -</p>
                    <p>grams in the candidate.</p>
                    <p>We leave the basic definition of BLEU untouched. The previous formulae can be applied to character n -grams instead of word n -grams. In the sequel of this paper, for a given order N , the measure obtained using words will be called BLEU wN , whereas the measure in characters for a given order M will be noted BLEU cM .</p>
                </div2>
                <div2>
                    <head xml:id="sec3.2">The test data</head>
                    <p>We perform our study on English because a language for which the segmentation is obvious and undisputable is required. On Japanese or Chinese, this would not be the case, as different segmenters differ in their results on the same texts 9 .</p>
                    <p>The experiments presented in this paper rely on a data set consisting of 510 Japanese sentences translated into English by 4 different machine translation systems, adding up to 2 , 040 candidate translations. For each sentence, a set of 13 references had been produced by hand in advance.</p>
                    <p>Different BLEU scores in words and characters were computed for each of the 2 , 040 English candidate sentences, with their corresponding 13 reference sentences.</p>
                </div2>
            </div1>
            <note n="6" place="below">ROUGE ( LIN and HOVY, 2003) would be a representative of measures with the focus on recall. 7 We limit ourselves to the cases where one candidate or one reference is one sentence.</note>
            <div1>
                <head xml:id="sec4">Results: equivalence BLEU wN / BLEU cM</head>
                <p>To investigate the equivalence of BLEU wN and BLEU cM , we use three methods: we look for the best correlation, the best agreement in judgements between the two measures, and the best behaviour, according to an intrinsic property of BLEU.</p>
                <div2>
                    <head xml:id="sec4.1">Best correlation</head>
                    <p>For some given order N , our goal is to determine the value of M for which the BLEU cM scores (in characters) are best correlated with the scores obtained with BLEU wN . To this end, we compute for all possible N s and M s all Pearson’s correlations between scores obtained with BLEU wN and BLEU cM . We then select for each N , that M which gives a maximum in correlation. The results 10 are shown in Table 1. For N =4 words, the best M is 17 characters.</p>
                </div2>
                <div2>
                    <head xml:id="sec4.2">Best agreement in judgement</head>
                    <p>Similar to the previous method, we compute for all possible M s and N s all Kappa coefficients between BLEU wN and BLEU cM and then select, for each given N , that M which gives a maximum. The justification for such a procedure is as follows.</p>
                    <p>All BLEU scores fall between 0 and 1, therefore it is always possible to recast them on a scale of grades. We arbitrarily chose 10 grades, ranging from 0 to 9, to cover the interval [0 , 1] with ten smaller intervals of equal size. A grade of 0 sentence with a BLEU score of, say 0.435, will be assigned a grade of 4. corresponds to the interval [0 , 0 . 1[ , and so on, up to grade 9 which corresponds to [0 . 9 , 1] .A</p>
                    <p>By recasting BLEU scores as described above, they become judgements into discrete grades, so that computing two different BLEU scores first in words and then in characters for the same sentence, is tantamount to asking two different judges to judge the same sentence. A wellestablished technique to assess the agreement between two judges being the computation of the Kappa coefficient, we use this technique to measure the agreement between any BLEU wN and any BLEU cM .</p>
                    <p>The maximum in the Kappa coefficients is reached for the values 11 given in Table 1. For N =4 words, the best M is 18 characters. that distant from the average word length in our data set: 3 . 84 for the candidate sentences.</p>
                    <p>Also, for N =4 , we computed all values of M s for each sentence length. See Table 2. quite different from that obtained with Pearson’s correlation (10), the values obtained with Kappa coefficients atmost differ by 1.</p>
                </div2>
                <div2>
                    <head xml:id="sec4.3">Best analogical behaviour</head>
                    <p>BLEU depends heavily on the geometric average of modified n -gram precision scores. Therefore, because one cannot hope to find a given n -gram in a sentence if neither of the two included ( n− 1) grams is found in the same sentence, the following property holds for BLEU: For any given N , for any given candidate, for any given set of references, BLEU wN ≤ BLEU w ( N− 1) The left graph of Figure 2 shows the correspondence of BLEU w 4 and BLEU w 3 scores for the data set. Indeed all points are found on the diagonal or below.</p>
                    <p>Using the property above, we are interested in finding experimentally the value M such that BLEU cM ≤ BLEU w ( N− 1) is true for almost all values. Such a value M can then be considered to be the equivalent in characters for the value N in words.</p>
                    <p>Here we look incrementally for the M allowing BLEU cM to best mimic BLEU wN , that is leaving at least 90% of the points on or under the diagonal. For N =4 , as the graph in the middle of Figure 2 illustrates, such a situation is first encountered for M = 18 . The graph on the right side shows the corresponding layout of the scores for the data set. This indeed tends to confirm that the M for which BLEU cM displays a similar behaviour to BLEU w 4 is around 18.</p>
                </div2>
            </div1>
            <note n="8" place="below">This operation is referred to as clipping in the original paper (PAPINENI et al., 2001). 9 Although we already applied the method in characters on unsegmented Japanese or Chinese MT outputs, this is not the object of the present study, which, again, is to show the equivalence between BLEU in words and characters.</note>
            <note n="10" place="below">The average ratio M/N obtained is 4 . 14 , which is not</note>
            <note n="11" place="below">Except for N = 3 , where the value obtained (14) is</note>
            <div1>
                <head xml:id="sec5">The standard case of system evaluation</head>
                <div2>
                    <head xml:id="sec5.1">BLEU w 4 ' BLEU c 18</head>
                    <p>According to the previous results, it is possible to find some M for some given N for which there is a high correlation, a good agreement in judgement and an analogy of behaviour between measures in characters and in words. For the most widely used value of N , 4, the corresponding values in characters were 17 according to correlation, 18 according to agreement in judgement, and 18 according to analogical behaviour. We thus decide to take 18 as the number of characters corresponding to 4 words (see Figure 1 for plots of scores in words against scores in characters).</p>
                </div2>
                <div2>
                    <head xml:id="sec5.2">Ranking systems</head>
                    <p>We recomputed the overall BLEU scores of the four MT systems whose data we used, with the usual BLEU w 4 and its corresponding method in characters, BLEU c 18 . Table 3 shows the average values obtained on the four systems.</p>
                    <p>When going from words to characters, the values decrease by an average of 0 . 047 . This is explained as follows: a sentence of less than N units, has necessarily a BLEU score of 0 for N grams in this unit. Table 4 shows that, in our data, there are more sentences of less than 18 characters ( 350 ) than sentences of less than 4 words ( 302 ). Thus, there are more 0 scores with characters, and this explains the decrease in system scores when going from words to characters.</p>
                    <p>On the whole, Table 3 shows that happily enough, shifting from words to characters in the application of the standard BLEU measure leaves the ranking unchanged 12 .</p>
                </div2>
            </div1>
            <div1>
                <head xml:id="sec6">Conclusion</head>
                <p>We studied the equivalence of applying the BLEU formula in character M -grams instead of word N -grams. Our study showed a high correlation, a good agreement in judgement, and an analogy of behaviour for definite corresponding values of M and N . For the most widely used value of N , 4, we determined a corresponding value in characters of 18.</p>
                <p>Consequently, this study paves the way to the application of BLEU (in characters) in objective evaluation campaigns of automatic translation into languages without word delimiters, like Chinese or Japanese, as it avoids any problem with segmentation. Acknowledgements The research reported here was supported in part by a contract with the National Institute of Information and Communications Technology entitled ”A study of speech dialogue translation technology based on a large corpus”. around 2% ( i.e., in this case, ± 0 . 01 ) for BLEU, so that system 2 and 3 are undistinguishable by BLEU w 4 . References Yasuhiro A KIBA , Marcello F EDERICO , Noriko</p>
                <p>K ANDO , Hiromi N AKAIWA , Michael P AUL , and</p>
                <p>Jun’ichi T SUJII . 2004. Overview of the IWSLT04</p>
                <p>evaluation campaign. In Proc. of the International</p>
                <p>Workshop on Spoken Language Translation , pages</p>
                <p>1–12, Kyoto, Japan. Eric B RILL and Radu S ORICUT . 2004. A unified</p>
                <p>framework for automatic evaluation using n-gram</p>
                <p>co-occurence statistics. In Proceedings of ACL</p>
                <p>2004, pages 613–620, Barcelone. Peter E. B ROWN , Vincent J. D ELLA P IETRA ,</p>
                <p>Stephen A. D ELLA P IETRA , and Robert L. M ER -</p>
                <p>CER . 1993. The mathematics of statistical machine</p>
                <p>translation: Parameter estimation. Computational</p>
                <p>Linguistics, Special Issue on Using Large Corpora:</p>
                <p>II, 19(2):263–311. George D ODDINGTON . 2002. Automatic evalua-</p>
                <p>tion of machine translation quality using N-gram</p>
                <p>co-occurrence statistics. In Proceedings of Human</p>
                <p>Language Technology , pages 128–132, San Diego. Huiming D UAN , Xiaojing B AI , Baobao C HANG , and</p>
                <p>Shiwen Y U . 2003. Chinese word segmentation at Figure 1: BLEU w 4 in ordinates against BLEU c 18 in abscissae. Peking University. In Qing Ma and Fei Xia, editors, Proceedings of the Second SIGHAN Workshop on Chinese Language Processing , pages 152–155. Chin-Yew L IN and Eduard H OVY . 2003. Auto-</p>
                <p>matic evaluation of summaries using n-gram co-</p>
                <p>occurrence statistics. In Proceedings of HLT-</p>
                <p>NAACL 2003 , pages 71–78, Edmonton. Y. M ATSUMOTO , A. K ITAUCHI , T. Y AMASHITA , Y. H IRANO ,H. M ATSUDA , and M. H ASAHARA . Kishore P APINENI ,Salim R OUKOS ,Todd W ARD , and</p>
                <p>Wei-Jing Z HU . 2001. Bleu: amethodforautomatic</p>
                <p>evaluation of machine translation. Research report</p>
                <p>RC22176, IBM. Mark P RZYBOCKI . 2004. The 2004 NIST machine</p>
                <p>translation evaluation plan (MT-04). Ying Z HANG , Stefan V OGEL , and Alex W AIBEL .</p>
                <p>2004. Interpreting BLEU/NIST scores: how much</p>
                <p>improvement do we need to have a better system?</p>
                <p>In Proceedings of LREC 2004 , volume V, pages</p>
                <p>2051–2054, Lisbonne. Figure 2: On the left, experimental scores for BLEU w 4 versus BLEU w 3 : all points are on the diagonal or below. On the right, BLEU c 18 scores versus BLEU w 3 : 90% of the points are on the diagonal or below. In the middle, proportion of BLEU cM scores under BLEU w 3 for M varying from 1 to 30. Table 2: Correlation of BLEU scores with BLEU scores by sentence length. Table 4: Distribution of the 510 sentences by lengths in words and characters.</p>
            </div1>
            <note n="12" place="below">(ZHANG et al., 2004) reported confidence intervals of</note>
            <note n="0.9" place="below"></note>
            <note n="0.8" place="below"></note>
            <note n="0.7" place="below"></note>
            <note n="0.6" place="below"></note>
            <note n="0.5" place="below"></note>
            <note n="0.4" place="below"></note>
            <note n="0.3" place="below"></note>
            <note n="0.2" place="below"></note>
            <note n="0.1" place="below"></note>
            <note n="0" place="below"></note>
            <note n="0" place="below">0.1 0.2 0.3 0.4 BLEUc18 0.5 0.6 0.7 0.8 0.9 1</note>
            <note n="1999." place="below">Japanese morphological analysis system ChaSen version 2.0. Technical report NAIST-ISTR99009, Nara Institute of Technology.</note>
        </body>
        <back/>
    </text>
</TEI>
