Elamur Research
☰
home / papers / 2010 / Intelligent Selection of Language Model Training Data

Intelligent Selection of Language Model Training Data

Written for the Research library (claude-opus-5-5) from the paper text, in our own words: the license "CC BY-NC-SA 3.0 (ACL Anthology, before 2016)" does not allow redistributing the text itself. Original — aclanthology.org/P10-2041.pdf

Summary

Language models for tasks like machine translation benefit from more training data only when that data resembles the target domain. However, in-domain text is usually scarce, and large general corpora are only partly relevant. Moore and Lewis propose filtering a general corpus sentence by sentence before building an auxiliary language model. Each candidate sentence receives a score equal to its per-word cross-entropy under an in-domain model minus its cross-entropy under a model built from randomly drawn general-corpus text. Sentences scoring below a threshold, tuned on held-out in-domain text, are kept. Normalizing by length prevents a bias toward very short sentences. The authors use the English side of Europarl v5 as the domain and LDC English Gigaword Third Edition as the general pool. They compare their method against random sampling, in-domain perplexity filtering (Lin et al.; Gao et al.) and Klakow's unigram method. The cross-entropy difference approach reaches the lowest test perplexity while keeping under 7% of Gigaword. This matters because filtering needs far less memory than training on everything, although BLEU gains remain to be shown.

Key points

  • Data:
    • In-domain training set: Europarl 1999–2008, with about 1.65M sentences and 48.2M tokens.
    • Test set: the first 2,000 sentences from January 2009.
    • Gigaword pool: about 133M sentences and 3.45B tokens.
    • The scoring model for Gigaword was trained on a random sample of comparable size (about 1.87M sentences).
  • Setup: Both scoring models are 4-gram models with absolute discounting (discount 0.7). Their vocabulary is limited to tokens seen at least twice in Europarl training. Eight score cutoffs were evaluated.
  • Perplexity results:
    • Full Gigaword: 135.
    • In-domain cross-entropy filtering: 124, using 36% of the data.
    • Klakow's method: 111, using 21%.
    • Cross-entropy difference: 101, using less than 7%.
  • Why length normalization is needed: Raw log-probability differences correlate strongly with sentence length (r = −0.92). Cross-entropy differences are nearly independent of length (r = 0.04).
  • Vocabulary-controlled check: After equalizing out-of-vocabulary (OOV) handling, perplexities were 124.8, 110.8 and 101.9. The ranking of methods is unchanged.

Our summary of the paper, in our own words — not its text. The work belongs to its authors; read it at the links above.

Fields: Natural language processing

Cited by

339 papers of our library cite it (of the 140673 whose bibliographies we read); 10 of them have a page here, 329 not yet.

Cite

The paper itself, not this page. BibTeX from the library's record of the work.

@inproceedings{moore2010intelligent,
  title = {{Intelligent Selection of Language Model Training Data}},
  author = {Moore, Robert C. and Lewis, William},
  booktitle = {Proceedings of the ACL 2010 Conference Short Papers},
  year = {2010},
  url = {https://aclanthology.org/P10-2041/}
}

References

9 references, 1 of them with a card of ours. ↗ leads to the work, «find» searches for one we have no id for yet.

  1. Thorsten Brants, Ashok C. Popat, Peng Xu, Franz J. Och, and Jeffrey Dean. 2007. Large language models in machine translation. In Proceedings of the Joint Conference on Empirical Methods in Natural Language Processing and Computational Natural Language Learning, June 28–30, Prague, Czech Republic, 85… find our card
  2. François Denis, Remi Gilleron, and Marc Tommasi. 2002. Text classification from positive and unlabeled examples. In The 9th International Conference on Information Processing and Management of Uncertainty in Knowledge-Based Systems (IPMU 2002), 1927–1934. find
  3. Charles Elkin and Keith Noto. 2008. Learning classifiers from only positive and unlabeled data. In KDD 2008, August 24–27, Las Vegas, Nevada, USA, 213–220. find
  4. Jianfeng Gao, Joshua Goodman, Mingjing Li, and Kai-Fu Lee. 2002. Toward a unified approach to statistical language modeling for Chinese. find
  5. ACM Transactions on Asian Language Information Processing, 1(1):3–33. find
  6. Dietrich Klakow. 2000. Selecting articles from the language model training corpus. In ICASSP 2000, June 5–9, Istanbul, Turkey, vol. 3, 1695– 1698. find
  7. Philipp Koehn. 2005. Europarl: a parallel corpus for statistical machine translation. In MT Summit X, September 12–16, Phuket, Thailand, 79–86. find
  8. Sung-Chien Lin, Chi-Lung Tsai, Lee-Feng Chien, Ker-Jiann Chen, and Lin-Shan Lee. 1997. Chinese language model adaptation based on document classification and multiple domain-specific language models. In EUROSPEECH-1997, 1463–1466. find
  9. Hermann Ney, Ute Essen, and Reinhard Kneser. 1994. On structuring dependencies in stochastic language modelling. Computer Speech and Language, 8:1–38. find