Research map / Large language models / Language, safety and interpretability
Scaling Laws for Code: Every Programming Language Matters
Jian Yang, Shawn Guo, Lin Jing, Wei Zhang, Aishan Liu, Chuan Hao, Zhoujun Li, Wayne Xin Zhao, Xianglong Liu, Weifeng Lv, Bryan Dai
Beihang University · IQuest Research · Renmin University of China
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| mix Java with C# instead of repeating Java (ablation) | Java pre-training (128B tokens) · Java validation loss | validation loss: 0.903 -> 0.718 | Improved |
| mix TypeScript with JavaScript instead of repeating JavaScript (ablation) | JavaScript pre-training · JavaScript validation loss | validation loss: 0.542 -> 0.517 | Improved |
| mix other PLs with Python as target (ablation) | Python pre-training · Python validation loss | delta loss: Delta -0.009 to -0.021 (except Java +0.010) | Hurt |
| add Python as auxiliary language (ablation) | Java pre-training · Java validation loss | delta loss: +0.054 | Improved |
| use document-level parallel pairing instead of random shuffling | code LLM 7B · MultiPL-E average | Pass@1 (%): 33.79 vs 32.46 (7B); 25.12 vs 21.60 (3B) | Improved |
| use parallel pairing instead of shuffling | code LLM 0.5B · MultiPL-E average | Pass@1 (%): 10.12 vs 9.84 | No clear effect |
| use parallel pairing instead of shuffling | code LLM 7B · MultiPL-E Python | Pass@1 (%): 34.15 -> 26.22 | Hurt |
| use parallel pairing instead of shuffling | code LLM 7B · MultiPL-E Java | Pass@1 (%): 14.56 -> 32.28 | Improved |
| train with Python-centric parallel pairing | code LLM · unseen non-Python translation directions | validation loss | Improved |
| scale up data size instead of model size | per-language code LLMs · validation loss, all 7 PLs | validation loss | Improved |
| allocate tokens by fitted scaling laws and synergy instead of uniformly | 1.5B code LLM · MultiPL-E and code translation | Pass@1 / BLEU | Improved |
Open problems this paper states
- “Largest model is 14B parameters with 1T tokens, so whether scaling exponents hold at much larger scales is unvalidated.” → Results stop at small or mid-size models and larger ones are untested. (an open problem in LLM unlearning and benchmarks)
Open problems in LLM unlearning and benchmarks
Do LLM unlearning and privacy results still hold on larger models, other languages and real use?
- Results stop at small or mid-size models and larger ones are untested. · 23 papers state it
- The method adds compute, latency or memory over a simple baseline. · 17 papers state it
- Most work is tested in English or a few high-resource languages. · 14 papers state it
Closest papers by meaning
- Scaling Laws for Code: A More Data-Hungry Regime (ACL 2026 · similarity 0.94)
- AutoCodeBench: Large Language Models are Automatic Code Benchmark Generators (ICLR 2026 · similarity 0.91)
- McEval: Massively Multilingual Code Evaluation (ICLR 2025 · similarity 0.90)
- ATLAS: Adaptive Transfer Scaling Laws for Multilingual Pretraining, Finetuning, and Decoding the Curse of Multilinguality (ICLR 2026 · similarity 0.90)
- Language models scale reliably with over-training and on downstream tasks (ICLR 2025 · similarity 0.88)
- A Hitchhiker's Guide to Scaling Law Estimation (ICML 2025 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.