mlsanityData to 14 Oct 2026

CodePivot: Bootstrapping Multilingual Transpilation in LLMs via Reinforcement Learning without Parallel Corpora

arXiv 2604.18027 ↗First posted 20 Apr 2026cs.SE cs.CLcited by 1

On the map: Synthetic data and self-improvement for LLMs → Code and instruction data synthesis

Abstract (arXiv)

Transpilation, or code translation, aims to convert source code from one programming language (PL) to another. It is beneficial for many downstream applications, from modernizing large legacy codebases to augmenting data for low-resource PLs. Recent large language model (LLM)-based approaches have demonstrated immense potential for code translation. Among these approaches, training-based methods are particularly important because LLMs currently do not effectively adapt to domain-specific settings that suffer from a lack of knowledge without targeted training. This limitation is evident in transpilation tasks involving low-resource PLs. However, existing training-based approaches rely on a pairwise transpilation paradigm, making it impractical to support a diverse range of PLs. This limitation is particularly prominent for low-resource PLs due to a scarcity of training data. Furthermore, these methods suffer from suboptimal reinforcement learning (RL) reward formulations. To address these limitations, we propose CodePivot, a training framework that leverages Python as an intermediate representation (IR), augmented by a novel RL reward mechanism, Aggressive-Partial-Functional reward, to bootstrap the model's multilingual transpilation ability without requiring parallel corpora. Experiments involving 10 PLs show that the resulting 7B model, trained on Python-to-Others tasks, consistently improves performance across both general and low-resource PL-related transpilation tasks. It outperforms substantially larger mainstream models with hundreds of billions more parameters, such as Deepseek-R1 and Qwen3-235B-A22B-Instruct-2507, on Python-to-Others tasks and Others-to-All tasks, respectively. In addition, it outperforms its counterpart trained directly on Any-to-Any tasks on general transpilation tasks. The code and data are available at https://github.com/lishangyu-hkust/CodePivot.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Code and instruction data synthesis, one of 13 directions in Synthetic data and self-improvement for LLMs. Builds on 47 of its 88 references that are in the map. First posted on arXiv 20 Apr 2026.

Builds on

47 of 88 references.

References · 47

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  2. 2021Evaluating Large Language Models Trained on Codecited by 8,320
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  4. 2024HybridFlow: A Flexible and Efficient RLHF Frameworkcited by 2,057
  5. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,565
  6. 2024LlamaFactory: Unified Efficient Fine-Tuning of 100+ Language Modelscited by 1,464
  7. 2022Competition-Level Code Generation with AlphaCodecited by 1,462
  8. 2024DeepSeek-Coder: When the Large Language Model Meets Programming -- The Rise of Code Intelligencecited by 1,181
  9. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 502
  10. 2016Google's Multilingual Neural Machine Translation System: Enabling Zero-Shot Translationcited by 469
  11. 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 300
  12. 2020Unsupervised Translation of Programming Languagescited by 263
35 more
  1. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 263
  2. 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 200
  3. 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 151
  4. 2023Execution-based Code Generation using Deep Reinforcement Learningcited by 99
  5. 2022Productivity Assessment of Neural Code Completioncited by 98
  6. 2025ACECODER: Acing Coder RL via Automated Test-Case Synthesiscited by 93
  7. 2024Enhancing Code LLMs with Reinforcement Learning in Code Generation: A Surveycited by 83
  8. 2021AVATAR: A Parallel Corpus for Java-Python Program Translationcited by 59
  9. 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
  10. 2025CodeI/O: Condensing Reasoning Patterns via Code Input-Output Predictioncited by 55
  11. 2023Knowledge Transfer from High-Resource to Low-Resource Programming Languages for Code LLMscited by 45
  12. 2022Code Translation with Compiler Representationscited by 42
  13. 2025QiMeng-CodeV-R1: Reasoning-Enhanced Verilog Generationcited by 35
  14. 2024AlphaTrans: A Neuro-Symbolic Compositional Approach for Repository-Level Code Translation and Validationcited by 28
  15. 2024IRCoder: Intermediate Representations Make Language Models Robust Multilingual Code Generatorscited by 23
  16. 2024RepoTransBench: A Real-World Multilingual Benchmark for Repository-Level Code Translationcited by 23
  17. 2023CoTran: An LLM-based Code Translator using Reinforcement Learning with Feedback from Compiler and Symbolic Executioncited by 22
  18. 2023AI-assisted Code Authoring at Scale: Fine-tuning, deploying, and mixed methods evaluationcited by 21
  19. 2024VERT: Verified Equivalent Rust Transpilation with Large Language Models as Few-Shot Learnerscited by 20
  20. 2025C2SaferRust: Transforming C Projects into Safer Rust with NeuroSymbolic Techniquescited by 18
  21. 2024Enhancing Code Translation in Language Models with Few-Shot Learning via Retrieval-Augmented Generationcited by 16
  22. 2024Verified Code Transpilation with LLMscited by 15
  23. 2024Scalable, Validated Code Translation of Entire Projects using Large Language Modelscited by 12
  24. 2024To Tag, or Not to Tag: Translating C's Unions to Rust's Tagged Unionscited by 8
  25. 2024ClassEval-T: Evaluating Large Language Models in Class-Level Code Translationcited by 8
  26. 2025OSVBench: Benchmarking LLMs on Specification Generation Tasks for Operating System Verificationcited by 8
  27. 2025Scaling Laws for Code: Every Programming Language Matterscited by 8
  28. 2022Automated Transpilation of Imperative to Functional Code using Neural-Guided Program Synthesis (Extended Version)cited by 7
  29. 2025EffiReasonTrans: RL-Optimized Reasoning for Code Translationcited by 5
  30. 2025Automated Testing of COBOL to Java Transformationcited by 4
  31. 2024Bridge-Coder: Unlocking LLMs' Potential to Overcome Language Gaps in Low-Resource Codecited by 3
  32. 2025Project-Level C-to-Rust Translation via Pointer Knowledge Graphscited by 3
  33. 2023User-Customizable Transpilation of Scripting Languagescited by 2
  34. 2025Beyond Language Boundaries: Uncovering Programming Language Families for Code Language Modelscited by 2
  35. 2024Integrating Large Language Models and Reinforcement Learning for Non-Linear Reasoningcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Bootstrapping Code Translation with Weighted Multilanguage Exploration
  2. 2026Translate-R1: Cost-Aware Translation Tool Use via Reinforcement Learning
  3. 2024CHAI for LLMs: Improving Code-Mixed Translation in Large Language Models through Reinforcement Learning with AI Feedback
  4. 2025On-Policy Optimization with Group Equivalent Preference for Multi-Programming Language Understanding
  5. 2024InterTrans: Leveraging Transitive Intermediate Translations to Enhance LLM-based Code Translation
  6. 2025TritonRL: Training LLMs to Think and Code Triton Without Cheating
  7. 2026Mending the Holes: Mitigating Reward Hacking in Reinforcement Learning for Multilingual Translation
  8. 2025TransLibEval: Demystify Large Language Models' Capability in Third-party Library-targeted Code Translation