A bank fine-tunes a multilingual support assistant on a corpus that is 90% English and 10% Turkish by tokens. Following common multilingual practice, it samples training data from each language with probability pᵢ ∝ nᵢ^α, using α = 0.5, where nᵢ is the language's share of the corpus. What sampling mix results, and what does it do to the Turkish data?
Show the answer and explanation
Correct answer: A, 75% English and 25% Turkish, since √0.9 : √0.1 = 3 : 1; Turkish is sampled 2.5 times as often as its natural share, so its examples repeat more often and can be overfitted.
Explanation Probability
Exponent (temperature) sampling reweights data sources by pᵢ = nᵢ^α / Σⱼ nⱼ^α. With α = 1 you sample in proportion to the data; with α = 0 every source is equally likely; values in between flatten the mix toward uniform without going all the way. (It is often written as a temperature T = 1/α.)
Here √0.9 ≈ 0.949 and √0.1 ≈ 0.316, a ratio of exactly 3 : 1, so the mix is 75% English / 25% Turkish. Turkish goes from 10% to 25% of the samples, an upsampling factor of 2.5, while English is sampled at 0.75 / 0.9 ≈ 0.83 times its natural rate.
| α | English | Turkish |
|---|---|---|
| 1 (natural) | 90% | 10% |
| 0.7 | 82% | 18% |
| 0.5 | 75% | 25% |
| 0.3 | 66% | 34% |
| 0 (uniform) | 50% | 50% |
Why the other answers fail: α = 0.5 is not "half each"; 50/50 only appears at α = 0. The exponent works on ratios, not by linear interpolation, so the mix is not the midpoint 70/30. And powers below 1 shrink the ratio between large and small shares (9 : 1 becomes 3 : 1), so they flatten the distribution rather than sharpen it.
The trade-off: the low-resource language gets more training signal, but for a fixed token budget its examples are repeated more often, which risks memorisation, while the large language is slightly undertrained. Multilingual pre-training runs such as XLM-R and mT5 used α ≈ 0.3.
Interview tip: describe α as a knob between natural and uniform mixing, and check per-language validation loss for overfitting on the upsampled sources.