mlsanityData to 7 Oct 2026

Parallel-SFT: Improving Zero-Shot Cross-Programming-Language Transfer for Code RL

arXiv 2604.20835 ↗First posted 22 Apr 2026cs.CLcited by 1

Not on the map. Why?

Abstract (arXiv)

Modern language models demonstrate impressive coding capabilities in common programming languages (PLs), such as C++ and Python, but their performance in lower-resource PLs is often limited by training data availability. In principle, however, most programming skills are universal across PLs, so the capability acquired in one PL should transfer to others. In this work, we propose the task of zero-shot cross-programming-language transfer for code RL. We find that, for Llama-3.1, RL training for code generation in a source PL fails to improve, and sometimes even degrades, the performance on other target PLs. To address this, we hypothesize that effective RL transfer requires a generalizable SFT initialization before RL. We thus propose **Parallel-SFT**, an SFT strategy that incorporates "parallel programs" -- functionally equivalent code implemented in multiple PLs -- into the data mixture. We demonstrate that this improves transferability: when we subsequently perform RL on our Parallel-SFT model, we observe better generalization to unseen PLs. Analysis of the model internal representations reveals that Parallel-SFT leads to a more functionality-centric latent space, where equivalent programs across PLs are more tightly clustered, which we hypothesize to contribute to the improved transferability.

Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 62 of its 72 references that are in the map. First posted on arXiv 22 Apr 2026.

Builds on

62 of 72 references.

References · 62

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  3. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
  4. 2019Unsupervised Cross-lingual Representation Learning at Scalecited by 3,907
  5. 2021Program Synthesis with Large Language Modelscited by 3,509
  6. 2018Deep contextualized word representationscited by 2,285
  7. 2022Competition-Level Code Generation with AlphaCodecited by 1,427
  8. 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
  9. 2019Cross-lingual Language Model Pretrainingcited by 1,088
  10. 2018XNLI: Evaluating Cross-lingual Sentence Representationscited by 913
  11. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  12. 2021Measuring Coding Challenge Competence With APPScited by 879
38 more
  1. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  2. 2020XTREME: A Massively Multilingual Multi-task Benchmark for Evaluating Cross-lingual Generalizationcited by 738
  3. 2019How multilingual is Multilingual BERT?cited by 642
  4. 2020Language-agnostic BERT Sentence Embeddingcited by 621
  5. 2017Word Translation Without Parallel Datacited by 480
  6. 2018Massively Multilingual Sentence Embeddings for Zero-Shot Cross-Lingual Transfer and Beyondcited by 434
  7. 2024The Platonic Representation Hypothesiscited by 362
  8. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  9. 2019Beto, Bentz, Becas: The Surprising Cross-Lingual Effectiveness of BERTcited by 301
  10. 2024Do Llamas Work in English? On the Latent Language of Multilingual Transformerscited by 275
  11. 2019Massively Multilingual Neural Machine Translation in the Wild: Findings and Challengescited by 253
  12. 2019Massively Multilingual Neural Machine Translationcited by 246
  13. 2013Exploiting Similarities among Languages for Machine Translationcited by 187
  14. 2019Emerging Cross-lingual Structure in Pretrained Language Modelscited by 180
  15. 2019To Tune or Not to Tune? Adapting Pretrained Representations to Diverse Taskscited by 167
  16. 2018Phrase-Based & Neural Unsupervised Machine Translationcited by 138
  17. 2019Unicoder: A Universal Language Encoder by Pre-training with Multiple Cross-lingual Taskscited by 96
  18. 2025Reasoning or Memorization? Unreliable Results of Reinforcement Learning Due to Data Contaminationcited by 81
  19. 2024Multilingual Instruction Tuning With Just a Pinch of Multilingualitycited by 71
  20. 2024Repetition Improves Language Model Embeddingscited by 70
  21. 2024The Semantic Hub Hypothesis: Language Models Share Semantic Representations Across Languages and Modalitiescited by 69
  22. 2023Searching for Needles in a Haystack: On the Role of Incidental Bilingualism in PaLM's Translation Capabilitycited by 62
  23. 2023Monolingual or Multilingual Instruction Tuning: Which Makes a Better Alpacacited by 60
  24. 2017Learning Joint Multilingual Sentence Representations with Neural Machine Translationcited by 52
  25. 2021Bridging Multi-Task Learning and Meta-Learning: Towards Efficient Training and Effective Adaptationcited by 50
  26. 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 46
  27. 2023Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMscited by 45
  28. 2021Multilingual training for Software Engineeringcited by 43
  29. 2022Code Translation with Compiler Representationscited by 42
  30. 2024McEval: Massively Multilingual Code Evaluationcited by 42
  31. 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Executioncited by 31
  32. 2022On the Transferability of Pre-trained Language Models for Low-Resource Programming Languagescited by 30
  33. 2016Massively Multilingual Word Embeddingscited by 26
  34. 2024Reuse Your Rewards: Reward Model Transfer for Zero-Shot Cross-Lingual Alignmentcited by 26
  35. 2024IRCoder: Intermediate Representations Make Language Models Robust Multilingual Code Generatorscited by 21
  36. 2013Polyglot: Distributed Word Representations for Multilingual NLPcited by 19
  37. 2018Zero-Shot Cross-lingual Classification Using Multilingual Neural Machine Translationcited by 19
  38. 2022On the Role of Parallel Data in Cross-lingual Transfer Learningcited by 11

50 most cited of 62 All 62 (JSON)

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 1.

1 paper.