Research map / Label-efficient and robust learning / Recognition and long-tail
Rethinking Pivot Programming Languages in Code Language Models
Ulm University · University of Southern Denmark
Read the paperPlace an idea next to itCheck your own paper ↗
12measured effects
5improved
4no clear effect
3hurt
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 |
|---|---|---|---|
| Compute cosine on raw (uncentered) representations | 3 code LMs · Anisotropy | random-pair cosine: 0.74-0.94 at most isotropic layer | Hurt |
| Compare PLs with unmatched code length | code-English cosine alignment · Length confound | Spearman |rho|: up to 0.88 (CodeLlama), 0.96 (Qwen2.5-Coder) | Hurt |
| Compare PLs with unmatched code length | StarEncoder code-English alignment · Length confound | Spearman |rho|: max 0.23 | No clear effect |
| Apply mean-centering and length matching | code-code centroid geometry · Cross-PL alignment | centroid cosine | No clear effect |
| Rank PLs by English alignment | code-English pointwise cosine · English alignment | rank | Improved |
| Use lexical token overlap instead of representation alignment | English alignment ranking · English alignment | rank | No clear effect |
| Use Ruby as pivot instead of weakest pivot | pivoted retrieval · English-to-code | mean within-task rank: Ruby 2.43 vs Rust 8.09 | Improved |
| Use PHP as pivot in code-to-code | pivoted retrieval · Code-to-code | mean within-task rank: PHP 4.36 vs C++ 4.39 | No clear effect |
| Use Python as pivot in code-to-code | pivoted retrieval · Code-to-code | mean within-task rank: 5.90 | Hurt |
| Use pivot space instead of direct no-pivot retrieval | English-to-code retrieval · English-to-code | MRR | Improved |
| Use instruction-tuned Qwen2.5-Coder | pivoted retrieval · Code-to-code | MRR: 0.263 -> 0.297 (+12.9%) | Improved |
| Use instruction-tuned Qwen2.5-Coder | pivoted retrieval · English-to-code | MRR: 0.132 -> 0.164 (+24.7%) | Improved |
Open problems this paper states
- “Covers only three models up to 7B parameters and 11 programming languages from competitive-programming data.” → Models are tested only at small scale, with larger ones untried. (an open problem in multilingual language representation pretraining)
Open problems in multilingual language representation pretraining
Do multilingual text representations hold up beyond a few languages, larger models and real, non-synthetic data?
- Few languages and scripts are covered, and English dominates. · 37 papers state it
- Models are tested only at small scale, with larger ones untried. · 15 papers state it
- Data built with LLMs, translation or synthesis may carry noise and bias. · 15 papers state it
Closest papers by meaning
- Information Parity for Code: The Scope of Transfer in Multilingual Code Models (NeurIPS 2026 · similarity 0.88)
- Language Agnostic Code Embeddings (NAACL 2024 · similarity 0.88)
- A Survey of Code-switching: Linguistic and Social Perspectives for Language Technologies (ACL 2021 · similarity 0.87)
- IRCoder: Intermediate Representations Make Language Models Robust Multilingual Code Generators (ACL 2024 · similarity 0.87)
- McEval: Massively Multilingual Code Evaluation (ICLR 2025 · similarity 0.85)
- The Same but Different: Structural Similarities and Differences in Multilingual Language Modeling (ICLR 2025 · similarity 0.85)
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.