Statistical Machine Translation Foundations › The Language Model as a Fluency Judge
Language AI HandbookAll chapters Target-side language model scores can distinguish translation candidates with identical phrase scores and also contribute when those scores differ.
The exact chain rule conditions each token on the entire preceding prefix. The -gram model from Part II approximates that history with a window of at most tokens:
Estimate these bounded-history conditionals from target-side text, use smoothing for unseen -grams, and evaluate the model with perplexity. Its memory footprint depends on the vocabulary, retained -grams, and storage format.
Two details are specific to the MT setting.
First, a decoder queries the model as it extends a partial hypothesis. For each added word it needs the log probability conditioned on the preceding words. A wider beam and more phrase choices create more such lookups.
Second, a target-only language model can assign a high score to a fluent string that mistranslates the input. For example, “Take this with food” and “Do not take this with food” can both sound natural. The channel or other source-conditioned scores supply evidence about which instruction the input expresses.
Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!