Multilingual Pre-training and Data Balancing › Summary
Language AI HandbookAll chapters 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 . It is monotone in the natural share, easy to reason about in log space (), and free at inference. XLM-R and mT5 both used after sampling experiments. Use it as a baseline and select the exponent against your own validation criteria.
- Effective epochs, , measure expected draws relative to corpus size in a corpus-sized nominal pass. At , 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, minimizes corpus-weighted risk and 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!