Multilingual Pre-training and Data Balancing › Summary

Michael BrenndoerferNovember 26, 20262 min read
Language AI HandbookAll chapters
Part 26 of 67Multilingual Language Models and Cross-Lingual Transfer
Chapter 185Multilingual Pre-training and Data Balancing › Summary
Reading section 10 of 11 · Summary · 2 minSection 10 of 11 · 2 min

Section 10 of 11 · 2 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

A multilingual model shares one budget across many languages, and training it is mostly a question of how to divide that budget.

The chapter's argument can be compressed into a handful of claims. Each is a decision point, and each has a default that is defensible but not universal.

  • The natural corpus distribution is an artifact of crawling, not a statement of need. Rebalance deliberately, and state which objective you are optimizing.
  • Temperature-based sampling sets qi∝piαq_i \propto p_i^{\alpha}. It is monotone in the natural share, easy to reason about in log space (log⁡qi=αlog⁡pi−log⁡Z\log q_i = \alpha \log p_i - \log Z), and free at inference. XLM-R and mT5 both used α=0.3\alpha = 0.3 after sampling experiments. Use it as a baseline and select the exponent against your own validation criteria.
  • Effective epochs, ei=qi/pie_i = q_i/p_i, measure expected draws relative to corpus size in a corpus-sized nominal pass. At α=0.3\alpha = 0.3, the expected draw volume is about 11.6 Yoruba corpus-equivalents and 0.42 English corpus-equivalents. Inspect actual coverage and quality where reuse is high.
  • Beyond one exponent: multipliers set individual priorities, and caps bound shares or expected draws under their stated interpretation. Name the unit of share.
  • Capacity is the other half of the problem. In the XLM-R comparisons, model size and the number of training languages affected performance. Test both capacity and exposure before attributing changes to one of them.
  • Diagnose before you dial. Check delivered exposure, per-language validation results, and tokenizer fertility. Use controlled changes to the mixture and model to test the likely bottleneck.
  • Evaluate the mixture against your target objective. In this toy, α=1\alpha=1 minimizes corpus-weighted risk and α=0\alpha=0 minimizes language-uniform risk. For an intermediate setting, compare each objective with its own baseline and report per-language results.

The through-line is that multilingual training is an allocation problem with two levers and three failure modes. The levers are sampling and capacity; the failure modes are attention, representation, and tokenization. Matching the lever to the failure mode is the skill, and the diagnostics in this chapter are designed to make that match visible before a full training run commits to the wrong setting.

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!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy