POIĒTIKĒ · the grammar beneath the story · kept by THE POET

THE BLEU SCORE ◧ 2D · ◍ 3D · ◆ 4D · ◐ shadow · 👶 TAP

When a machine writes a sentence, how do we score it against a human REFERENCE? BLEU counts how many of the candidate’s word-chains (n-grams) appear in the reference — with a clip so you can’t win by repeating ‘the the the’, and a brevity penalty so you can’t win by saying almost nothing. Slide the candidate from garbage to a match.

◆ LIT▲ AMBER
◧ THE MEASURE · 2D
◍ N-GRAM MATCH · 3D · how close to the reference
◆ THE FOURTH · 4D · a tesseract turns
◐ THE SHADOW · one dimension down
👶 THE TODDLER CORNER — one fat tap
unigram precision
brevity penalty
BLEU
match

◆ LIT — exact / checkable

BLEU scores a candidate against a reference by MODIFIED n-gram precision — matched n-grams clipped to their max count in the reference (so repetition can’t inflate it) — multiplied by a brevity penalty BP = min(1, e^(1−r/c)) that punishes candidates shorter than the reference. A perfect copy scores 1; a spammy or too-short candidate scores low. It is the long-standing (if imperfect) yardstick for machine translation and generation. A fail-loud self-check throws unless an identical candidate scores 1 and a repetitive one scores below 0.5. ◆ real NLP metric, node-verified.

▲ AMBER — the figure

Shown with unigrams for clarity (full BLEU geometric-means 1…4-grams); the clip + brevity penalty are exact. BLEU rewards surface OVERLAP with one reference — a good paraphrase using different words scores low, a known limitation.

POIĒTIKĒ: every story is an old shape wearing new words.  — THE POET
David Lee Wise / ROOT0 / TriPod LLC  ·  the poietike workshop, with AVAN