Research map / Large language models / Language, safety and interpretability
ERNIE-Code: Beyond English-Centric Cross-lingual Pretraining for Programming Languages
Yekun Chai, Shuohuan Wang, Chao Pang, Yu Sun, Hao Tian, Hua Wu
Baidu
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 |
|---|---|---|---|
| add PTLM pre-training task (ablation) | ERNIE-Code · mCoNaLa code summarization (avg) | BLEU-4: 0.41 -> 0.88 | Improved |
| add SCLM pre-training task (ablation) | ERNIE-Code · mCoNaLa code summarization (avg) | BLEU-4: 0.47 -> 0.88 | Improved |
| add PTLM pre-training task (ablation) | ERNIE-Code · mCoNaLa text-to-code (avg) | BLEU-4: 4.53 -> 5.48 | Improved |
| add SCLM pre-training task (ablation) | ERNIE-Code · mCoNaLa text-to-code (es) | BLEU-4: es 2.42 (w/o SCLM) vs 2.25; avg 4.91 -> 5.48 | Mixed |
| add SCLM pre-training task (ablation) | ERNIE-Code · PL-to-PL generation | accuracy | No clear effect |
| increase max length from 512 to 1024 | ERNIE-Code · mCoNaLa code summarization (avg) | BLEU-4: 0.88 -> 1.12 | Improved |
| increase max length from 512 to 1024 | ERNIE-Code · Bugs2Fix small / medium | BLEU-4: 80.09 -> 80.10; 91.20 -> 91.17 | No clear effect |
| use ERNIE-Code instead of PL-only/NL-only baselines | ERNIE-Code · Bugs2Fix small / medium | EM: CodeT5 22.59 vs 13.21 (small); 14.18 vs 2.22 (medium) | Hurt |
| zero-shot prompting instead of translate-train training | ERNIE-Code (L512) · mCoNaLa summarization (avg) | ROUGE-L: 16.05 -> 25.10 | Improved |
| zero-shot prompting instead of translate-train training | ERNIE-Code (L512) · mCoNaLa text-to-code (avg) | CodeBLEU: 0.08 -> 0.13 | Improved |
Earlier methods this paper compares with
Named baselines from earlier accepted papers in this paper's results tables: better than 1 of 1 on most shared results.
- CodeT5 — CodeT: Code Generation with Generated Tests (ICLR 2023) · better on 5 of 7 shared results
Matched by method name in results tables read by AI. Authors' own tables tend to favour the newer method, and a comparison can be missed when a method is renamed.
Open problems in LLM pruning and scaling data
Do pruning, unlearning and data-scaling methods still work at larger scale and beyond English?
- Experiments are small and larger models or corpora are untested. · 34 papers state it
- The method adds training or compute overhead over the baseline. · 20 papers state it
- Most evaluation uses English or a few high-resource languages. · 13 papers state it
Closest papers by meaning
- IRCoder: Intermediate Representations Make Language Models Robust Multilingual Code Generators (ACL 2024 · similarity 0.90)
- Scaling Laws for Code: Every Programming Language Matters (ACL 2026 · similarity 0.89)
- Language Agnostic Code Embeddings (NAACL 2024 · similarity 0.89)
- AutoCodeBench: Large Language Models are Automatic Code Benchmark Generators (ICLR 2026 · similarity 0.89)
- Investigating and Scaling up Code-Switching for Multilingual Language Model Pre-Training (ACL 2025 · similarity 0.89)
- A Comparison of Language Modeling and Translation as Multilingual Pretraining Objectives (EMNLP 2024 · similarity 0.89)
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.