Backoff Score Calculation for Sparse N-gram Language Models

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Statistical machine translation faces challenges in efficiently generating language models due to sparse data issues and the need for accurate probability calculations, particularly in handling n-grams with zero or undefined frequencies, which affects translation quality and efficiency.

Innovation Solution

The development of a system that uses n-grams with backoff scores calculated as a function of relative frequencies, allowing for direct determination of backoff values without normalizing probabilities, and enabling distributed generation of n-gram backoff values within a shared environment.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional statistical machine translation uses n-grams with zero or undefined frequencies, then translation coverage is improved, but probability calculation accuracy deteriorates

Engineering Contradiction:
Improvetranslation coverageVSAvoidprobability calculation accuracy
Core Design Contradiction:
Adaptability or versatilityVSMeasurement precision

Solution Approach 1:

The patent applies beforehand cushioning by pre-calculating backoff scores for n-grams based on their frequencies in training data. When an n-gram has zero or undefined frequency during translation, the system uses these pre-computed backoff scores to provide a cushion against probability calculation errors, ensuring stable and accurate translations even for rare or unseen n-grams.

Inventive Principle:
Principle #11Beforehand cushioning (Prior cushioning)

Solution Approach 2:

The backoff score acts as an intermediary between the raw frequency data and the final probability calculation. Instead of directly using zero or undefined frequencies which cause calculation errors, the system introduces backoff scores as a mediating parameter that bridges the gap between sparse data and accurate probability estimation.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If the system calculates normalized probabilities for all n-grams, then translation accuracy is improved, but computational complexity increases

Engineering Contradiction:
Improvetranslation accuracyVSAvoidcomputational complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The patent extracts the essential information needed for probability calculation from the full normalized probability distribution. By taking out only the necessary backoff score components and pre-computing them from training data, the system achieves translation accuracy without the computational burden of normalizing all n-gram probabilities during each translation operation.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The system performs preliminary action by pre-calculating backoff scores during the training phase rather than during translation. This allows the heavy computational work to be done once during training when data is available, while translation can proceed quickly using these pre-computed values without repeated normalization calculations.

Inventive Principle:
Principle #10Preliminary action

3Reliability

If the system handles sparse data by using backoff n-grams, then reliability is improved, but device complexity increases

Engineering Contradiction:
Improvehandling sparse dataVSAvoidlanguage model structure
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies parameter changes by transforming the approach from using raw frequencies or normalized probabilities to using backoff scores as a new parameter. This parameter transformation allows the system to handle sparse data reliably by smoothly transitioning between different n-gram orders (e.g., from 5-grams to 4-grams) based on the availability of frequency data, while maintaining a manageable model structure.

Inventive Principle:
Principle #35Parameter changes

Data Source

PatentUS8812291B2Large language models in machine translation
Publication Date: 2014.08.19 GOOGLE LLC
  • US8812291B2 patent drawing
  • US8812291B2 patent drawing
  • US8812291B2 patent drawing

AI summary

Systems, methods, and computer program products for machine translation are provided. In some implementations a system is provided. The system includes a language model including a collection of n-grams from a corpus, each n-gram having a corresponding relative frequency in the corpus and an order n corresponding to a number of tokens in the n-gram, each n-gram corresponding to a backoff n-gram having an order of n−1 and a collection of backoff scores, each backoff score associated with an n-gram, the backoff score determined as a function of a backoff factor and a relative frequency of a corresponding backoff n-gram in the corpus.