Apple ML ★ 80 4 min

Mix, Don't Tune: Bilingual Pre-Training Outperforms Hyperparameter Search in Data-Constrained Settings

🔗 https://machinelearning.apple.com/research/mix-dont-tune

📌 【Apple】資料不足時,混資料贏過調參數

TL;DR:近千次預訓練實驗顯示,混入英文資料比調超參數更能救阿拉伯語低資源模型,且模型越大效果越明顯。

當低資源語言的訓練語料註定要被模型反覆看過好幾遍時,多數團隊的第一反應是調高weight decay硬壓過擬合——但Apple這篇研究用近千次訓練實驗說明,這條路可能從一開始就選錯了方向。

🤔 低資源語言預訓練的兩條老路

對世界上多數語言而言,語言模型的pre-training都處在data-constrained的狀態:模型必須把同一批訓練資料重複看過多次,這會傷害generalization。業界常見兩種補救方式。第一種是激進的hyperparameter tuning,例如拉高weight decay,透過壓縮權重來限制網路capacity,達到regularize效果;第二種是混入高資源輔助語言的資料,用一個可調的mixing ratio擴大訓練分布,為訓練訊號注入新知識。這兩種做法都是在data-constrained場景下改善訓練的原則性手段,但過去缺乏系統性比較。

🧩 4個模型規模、近1000次訓練,阿拉伯語當主角、英語當配角

研究團隊(Paul Jeha、Anastasiia Sedova、Louis Béthune、Skyler Seto、Jes Frellsen、Pierre Ablin、Natalie Schluter,部分作者同時隸屬DTU)系統性比較了這兩種槓桿,橫跨150M到1.43B參數的4個模型規模,以阿拉伯語作為低資源目標語言、英語作為高資源輔助語言,總共執行了約1000次pre-training實驗。

📊 三個發現:混資料贏、贏多少、為什麼validation loss會騙人

第一個發現是,無論在validation loss還是downstream task accuracy上,混資料(mixing)帶來的提升都大於調超參數,而且這個差距隨模型規模擴大而持續拉大。第二個發現是量化結果:在validation loss上,mixing帶來的提升相當於額外多了2到3倍的「目標語言獨特資料量」;在downstream task accuracy上,這個等效倍數更高達2到13倍,且提升幅度隨模型規模急遽放大。第三個發現最關鍵:只看目標語言的validation loss,會系統性低估mixing的真實價值。原因是mixing同時做了兩件事——透過多樣化訓練訊號來regularize,以及注入重複的目標語料本身無法提供的新知識——而validation loss只捕捉到前者,漏掉了後者對下游任務的貢獻。

💡 作者給出的三條具體建議

論文給出的實務建議相當直接:混入一個高資源語言;在調校預算有限時,優先調整mixing ratio,而不是一般的超參數搜尋;超參數設定則可以透過μP從一個小型proxy model轉移過來,省去在大模型上重跑搜尋的成本。

🎯 實務啟示

對正在訓練低資源語言模型的團隊而言,這篇研究的訊息很直接:別把預算全押在hyperparameter sweep上,先確認資料配方(mixing ratio)有沒有調對;同時,模型選擇與early stopping如果只看target-language validation loss,可能正在低估混資料對下游任務帶來的真實增益,應該搭配downstream task accuracy一起評估。

🔗 來源

  • 標題:Mix, Don’t Tune: Bilingual Pre-Training Outperforms Hyperparameter Search in Data-Constrained Settings
  • 作者/機構:Paul Jeha, Anastasiia Sedova, Louis Béthune, Skyler Seto, Jes Frellsen, Pierre Ablin, Natalie Schluter(Apple ML)
  • 連結:https://machinelearning.apple.com/research/mix-dont-tune

#MachineLearning #LLM #Pretraining #LowResourceNLP #AppleML #MultilingualNLP #HyperparameterTuning #DataMixing #NLPResearch #ScalingLaws

原始資料 Apple ML · 收集於 2026-10-13
來源原標題
Mix, Don't Tune: Bilingual Pre-Training Outperforms Hyperparameter Search in Data-Constrained Settings
原始連結
https://machinelearning.apple.com/research/mix-dont-tune

摘要原文

research area Speech and Natural Language Processing content type paper published October 2026 Mix, Don’t Tune: Bilingual Pre-Training Outperforms Hyperparameter Search in Data-Constrained Settings Authors Paul Jeha†**, Anastasiia Sedova, Louis Béthune, Skyler Seto, Jes Frellsen†‡, Pierre Ablin‡, Natalie Schluter‡ View publication Copy Bibtex For most languages of the world, language model pre-training operates in a data-constrained regime where models must repeat their training data many times, degrading generalization. Two remedies exist: aggressive hyperparameter tuning such as high weight decay, and mixing in data from a high-resource auxiliary language to directly aid the low-resource target. While hyperparameter tuning regularizes the model by shrinking weights to restrict network capacity, auxiliary data mixing uses a tunable mixing ratio to expand the training distribution and diversify the training signal with new knowledge. Both offer a principled way to improve training in a data-constrained domain. We compare these levers systematically across four model scales from 150M to 1.43B parameters, using Arabic as the low-resource target and English as the auxiliary, over approximately 1000 pre-training runs. Three findings emerge. First, mixing yields larger improvements than hyperparameter tuning on both validation loss and downstream task accuracy, and the gap grows with model size. Second, we quantify how much mixing helps: it boosts performance by an amount equivalent to 2–3× the unique target data on validation loss and 2–13× on downstream task accuracy, with the gain scaling steeply with model size. Third, this divergence reveals that target-language validation loss systematically underestimates mixing’s value. Mixing regularizes by diversifying the training signal and contributes knowledge the repeated target corpus cannot supply; validation loss captures only the first effect. Our practical recommendations are: mix in a high-resource language, prioritize the mixing ratio over hyperparameter tuning, and transfer hyperparameters from a small proxy model via μP. † DTU ‡ Equal senior authorship ** Work done while at Apple Related readings and updates. Completed Hyperparameter Transfer across Modules, Width, Depth, Batch and Duration February 13, 2026 research area Methods and Algorithms conference ICLR Hyperparameter tuning can dramatically impact training stability and final performance of large-scale models. Recent works on neural network parameterisations, such as μP, have enabled transfer of optimal global hyperparameters across model sizes. These works propose an empirical practice of search for optimal global base hyperparameters at a small model size, and transfer to a large size. We extend these works in two key ways. To handle scaling… Read more Scaling Laws for Forgetting During Finetuning with Pretraining Data Injection June 20, 2025 research area Methods and Algorithms conference ICML A widespread strategy for obtaining a language model that performs well in a target domain is to fine-tune it by training it to do unsupervised next-token prediction on data from that domain. Fine-tuning presents two challenges: i) if the amount of target data is limited, as is the case in most practical applications, the model will quickly overfit, and ii) the model will drift away from the original model and forget the pre-training… Read more Discover opportunities in Machine Learning. Our research in machine learning breaks new ground every day. Work with us

由 claude-code/sonnet 自動生成