NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Log-linear interpolation of language models

Dietrich KlakowICSLP 1998

TL;DR

This paper introduces Log-Linear Interpolation (LLI), a novel method for combining language models that offers greater flexibility and performance than traditional linear interpolation. LLI proves particularly effective for adapting models to new domains and for integrating models with different context lengths, outperforming linear methods in key metrics like perplexity and word error rate.

What Problem Does This Paper Address?

Language models are crucial for speech recognition and natural language processing, but building a single, optimal model for all tasks and domains is challenging. Often, we have multiple models trained on different data or with different characteristics (e.g., varying context lengths). The standard approach to combine these models is linear interpolation, where a weighted average of the model probabilities is taken. However, this method has limitations in its flexibility and expressive power. More advanced techniques like maximum entropy models offer greater power but come with significantly longer training times and potential issues with constraint consistency. This paper aims to bridge this gap by proposing Log-Linear Interpolation (LLI), a method that combines the flexibility of linear interpolation with the power of maximum entropy models, while maintaining comparable training efficiency.

Methods

The core contribution is the introduction of Log-Linear Interpolation (LLI). LLI is derived from a constrained Kullback-Leibler (KL) divergence minimization approach. Essentially, it seeks to find a new model p that is "close" to a set of existing models p_i (measured by KL divergence) while satisfying certain constraints. The resulting LLI model takes the form:

p(w|h) = 1/Z_x(h) * Π_i [p_i(w|h)]^λ_i

where p_i(w|h) are the probabilities from the individual models, λ_i are the learned interpolation weights, and Z_x(h) is a normalization term. This formulation is shown to be equivalent to a linear interpolation of scores, but with a more powerful multiplicative structure.

The paper contrasts this with standard linear interpolation:

p(w|h) = Σ_i α_i * p_i(w|h)

where α_i are the weights and sum to 1.

For training, the paper proposes optimizing the log-likelihood of the data with respect to the λ_i parameters. This optimization problem is shown to be convex, allowing for efficient solution using standard optimization algorithms like the simplex method.

Datasets

The paper utilizes several datasets for its experiments:

  • Spoke 4 adaptation task (1994 ARPA evaluation): Used for adaptation experiments. This includes:
  • Target domains: Articles about Jackie Kennedy ("JK") and Korea ("KO").
  • Adaptation data: ~12,000 words per domain.
  • Cross-validation data: ~10,000 words.
  • Test data: ~2,000 words (for perplexity and recognition tests).
  • Background models trained on: 240 million words of North American business news (NAB).
  • 1997 DARPA evaluation development set (transcripts of acoustic training data - "TAT"): Used for experiments combining models for different histories.
  • Training data: 380,000 words.
  • Cross-validation data: 11,500 words.
  • Testing data: 11,500 words.
  • An artificial vocabulary of 1,500 words was constructed for this dataset.

Key Insights and Ideas

  • LLI offers greater expressive power: The multiplicative nature of LLI allows it to capture more complex interactions between models compared to the additive nature of linear interpolation. This is particularly evident when combining models with different context lengths.
  • Robustness of LLI parameters: The learned interpolation weights (λ_i) for combining models of different ranges (e.g., bigrams and distance-2 bigrams) were found to be surprisingly consistent across different datasets (NAB and TAT), suggesting their robustness and potential for transferability.
  • LLI excels at long-range dependencies: The paper demonstrates that LLI significantly outperforms linear interpolation when combining models that capture longer-range dependencies, such as distance-2 bigrams with standard bigrams to form effective trigrams.
  • Implicit handling of model components: LLI's normalization term Z_x(h) can implicitly absorb components like unigram models, simplifying the explicit parameterization needed in some other methods.

Key Results

  • Adaptation: LLI consistently outperformed linear interpolation and FMA (Fast Marginal Adaptation) in adaptation tasks, showing improvements in perplexity (PP) of 4-13% and reductions in word error rate (WER).
  • Long Range Models: For combining bigrams and distance-2 bigrams to create effective trigrams, LLI achieved perplexity reductions of 19-21%, significantly better than linear interpolation's 1-5% improvement.
  • Fourgrams and beyond: LLI demonstrated an additional 3% improvement in perplexity when building effective fourgrams by combining distance-n bigrams, a benefit not seen with linear interpolation in certain cases.
  • Phrase Combination: When combining phrases with LLI, perplexity was reduced to within 2.5% of a true trigram model, showing promise for integrating phrase-level information.

Limitations and Future Work

  • Comparison with Maximum Entropy: The paper acknowledges that a direct performance comparison between LLI and Maximum Entropy (ME) models is still needed. While ME models are expected to perform better, the authors question whether the performance gain justifies the significantly higher training effort and complexity of ME models.
  • Robustness of parameters: While parameters for long-range models showed robustness, further investigation into the general robustness of LLI parameters across a wider range of tasks and domains would be beneficial.
  • Optimization algorithms: While the simplex algorithm was used, exploring other optimization techniques for training LLI parameters could be a future direction.

Summary updated

BibTeX
@inproceedings{klakow1998log,
  author = {Dietrich Klakow},
  title = {{Log-linear interpolation of language models}},
  booktitle = {ICSLP},
  year = {1998},
  doi = {10.21437/icslp.1998-623},
}
Figure