BLEU: Match snippets, limit repetition, check length

compute clipped precision by hand, and avoid using translation indicators as factual validation.

• Step by stepCollate in 1 diagram2 self-measured2 First-hand sources
Start Body
Learning objectives and first steps2 objectives 2 first fixes

Try to do it after reading

  • compute clipped precision by hand, and avoid using translation indicators as factual validation.
  • Check the input, label and evaluation conditions in the example

Suggested first

  • Text Tasks and Language Expressions
  • Conditional probability and vector calculations

Why can't we just count the same words

If a single word appears in the reference translation, the candidate translation repeats it 10 times, the usual overlap count may give misleading points. BLEU uses a cut-off snippet match: the number of times a segment of the candidate may be counted and does not exceed the number of occurrences allowed in the reference. The repetition of words does not increase the number of hits indefinitely.

Successive segments of different orders reflect the matching of words to local words. Classic BLEU changes the accuracy of the steps to a weighted geometric average, multiplied by a short sentence. The main emphasis here is on how many of the selected segments are supported by reference; The shortness of the candidate may avoid hard translation and therefore add a length factor.

Just look at first-order matches

For the reference read the cat is here Can not delete folder: %s: No the the the cat ”。 The candidate has 4 words, but the counts 1 at the most, and cat counts 1 at the most, so the first step accuracy after the cut is 2/4 instead of 4/4. The two sentences are of the same length, and in this case the penalty is not triggered by a shorter length.

If only " the cat The first level of precision can be reached at 1, but the second half of the sentence is missing. The classic sentence, calculated using the candidate length 2, valid reference length 4, is punished by exp(1-4/2), or approximately 0.368. This calculation is a mere explanation of two components and cannot be described as a full fourth order BLEU.

The language-level protocol is more important than a score

The language level BLEU usually combines the hits of the steps with the denominator and calculates the overall result, not a simple average of BLEU. Short sentences may not have high snippets, and smoothing and effective step settings will significantly influence the outcome. Numericalization, case, reference number and version are all required to be preserved, and the use of recognizable evaluation signatures facilitates comparison.

Simultaneous rewords may be expressed correctly but not in the context of the reference, and minor changes in negative terms may allow most segments to converge. So BLEU is not a detector of factual correctness, safety or reasoning. Translations in specific areas should also be manually checked against terminology, numbers, denials and omissions in information.

When two system fractions are close, the composition of the test set and random changes may also influence the conclusion. The same reference and script should be used, and estimates of differences in re-sampling should be made when necessary. The high score of a single sentence does not represent the quality of the overall translation, nor is it the only assessment of open-ended responses.

BLEU cut countGreen words are included in matching, and light brown repeat words are more frequent than references; This graph only explains the first step of accuracy.References: the cat is hereCandidates:thethethecatHit one timeExcess over reference countHit one timeModified first step accuracy = 2/ 4 = 0.5Repeated the does not increase the number of hits that can be counted.
Green words are included in matching, and light brown repeat words are more frequent than references; This graph only explains the first step of accuracy.

Check understanding

One degree accuracy. Why is BLEU still very low?

Candidates may be too short and punished for length; The high-level segment may also not match. The full score consists of multiple parts and cannot be viewed solely as a word hit.

Can every sentence BLEU be used as a standard language for BLEU?

Not normally. Standard language calculations are first aggregated; The average sentence grade has different weights and non-linear effects and should be clearly named separately.

Sources and reconciliations

Definitions, methods and interfaces are available.

  1. BLEU original paper
  2. sacreBLEU — Reproducible evaluation

Figures and calculations are reorganized according to this chapter. Mathematical measurements, framework operations and real business effects are described separately in the body of the text.

← Back to the knowledge directory
Ask Max Ask about this site
Ask Max ↗

Opening the assistant…

Paper figure

Photo comments

LEAVE A NOTE

About this photograph

Connecting to the discussion board…

    Comments become public after moderation. You can delete your own comments from this browser.
    No email is required. Clearing cookies prevents this browser from claiming earlier comments.

    MAX WANG / INDEX

    Find something

    Enter a keyword, or explore the directory below.