CodeRosetta: Pushing the Boundaries of Unsupervised Code Translation for Parallel Programming
Not on the map. Why?
Abstract (arXiv)
Recent advancements in Large Language Models (LLMs) have renewed interest in automatic programming language translation. Encoder-decoder transformer models, in particular, have shown promise in translating between different programming languages. However, translating between a language and its high-performance computing (HPC) extensions remains underexplored due to challenges such as complex parallel semantics. In this paper, we introduce CodeRosetta, an encoder-decoder transformer model designed specifically for translating between programming languages and their HPC extensions. CodeRosetta is evaluated on C++ to CUDA and Fortran to C++ translation tasks. It uses a customized learning framework with tailored pretraining and training objectives to effectively capture both code semantics and parallel structural nuances, enabling bidirectional translation. Our results show that CodeRosetta outperforms state-of-the-art baselines in C++ to CUDA translation by 2.9 BLEU and 1.72 CodeBLEU points while improving compilation accuracy by 6.05%. Compared to general closed-source LLMs, our method improves C++ to CUDA translation by 22.08 BLEU and 14.39 CodeBLEU, with 2.75% higher compilation accuracy. Finally, CodeRosetta exhibits proficiency in Fortran to parallel C++ translation, marking it, to our knowledge, as the first encoder-decoder model for this complex task, improving CodeBLEU by at least 4.63 points compared to closed-source and open-code LLMs.
Key facts. Cited by 19 papers in the map (data through 7 Oct 2026). Builds on 30 of its 50 references that are in the map. First posted on arXiv 27 Oct 2024.
Builds on
30 of 50 references.
References · 30
- 2023GPT-4 Technical Reportcited by 18,132
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2015Distilling the Knowledge in a Neural Networkcited by 10,076
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2023Qwen Technical Reportcited by 3,273
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
- 2023Textbooks Are All You Needcited by 561
- 2023The Falcon Series of Open Language Modelscited by 526
18 more
- 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2021Unified Pre-training for Program Understanding and Generationcited by 361
- 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
- 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
- 2018A Survey on Deep Learning for Named Entity Recognitioncited by 281
- 2020Unsupervised Translation of Programming Languagescited by 262
- 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 242
- 2023SantaCoder: don't reach for the stars!cited by 169
- 2024CodeGemma: Open Code Models Based on Gemmacited by 145
- 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
- 2022Out of the BLEU: how should we assess quality of the Code Generation models?cited by 65
- 2022Code Translation with Compiler Representationscited by 42
- 2024Can Large Language Models Write Parallel Code?cited by 36
- 2024Code Representation Learning At Scalecited by 26
- 2023HPC-GPT: Integrating Large Language Model for High-Performance Computingcited by 22
- 2023Creating a Dataset for High-Performance Computing Code Translation using LLMs: A Bridge Between OpenMP Fortran and C++cited by 11
Built on by
Citing papers per year: 2025: 12; 2026: 7.
19 papers.
Sort:
By area:
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
- 2025Afterburner: Reinforcement Learning Facilitates Self-Improving Code Efficiency Optimizationcited by 14
- 2026KernelFoundry: Hardware-aware evolutionary GPU kernel optimizationcited by 11
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTecited by 6
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Modelscited by 5
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinementcited by 3
- 2025Leveraging LLMs to Automate Energy-Aware Refactoring of Parallel Scientific Codescited by 3
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translationcited by 3
- 2026OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimizationcited by 3
- 2025Leveraging AI for Productive and Trustworthy HPC Software: Challenges and Research Directionscited by 2
- 2025QiMeng-MuPa: Mutual-Supervised Learning for Sequential-to-Parallel Code Translationcited by 2
- 2025Learning Bug Context for PyTorch-to-JAX Translation with LLMscited by 0
7 more
- 2025What a diff makes: automating code migration with large language modelscited by 0
- 2025OMPILOT: Harnessing Transformer Models for Auto Parallelization to Shared Memory Computing Paradigmscited by 0
- 2025SoK: Understanding (New) Security Issues Across AI4Code Use Casescited by 0
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilerscited by 0
- 2026ParEVO: Synthesizing Code for Irregular Data: High-Performance Parallelism through Agentic Evolutioncited by 0
- 2026XSearch: Explainable Code Search via Concept-to-Code Alignmentcited by 0
- 2026Multi-turn RL with Structural and Performance Aware Rewards for CUDA Kernel Generationcited by 0
- 2026Multi-turn RL with Structural and Performance Aware Rewards for CUDA Kernel Generation23 Jul 2026
- 2026XSearch: Explainable Code Search via Concept-to-Code Alignment15 May 2026
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTe1 Apr 2026
- 2026KernelFoundry: Hardware-aware evolutionary GPU kernel optimization12 Mar 2026
- 2026ParEVO: Synthesizing Code for Irregular Data: High-Performance Parallelism through Agentic Evolution3 Mar 2026
- 2026OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimization12 Feb 2026
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers5 Jan 2026
- 2025SoK: Understanding (New) Security Issues Across AI4Code Use Cases20 Dec 2025
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translation29 Nov 2025
- 2025OMPILOT: Harnessing Transformer Models for Auto Parallelization to Shared Memory Computing Paradigms5 Nov 2025
- 2025What a diff makes: automating code migration with large language models31 Oct 2025
- 2025Learning Bug Context for PyTorch-to-JAX Translation with LLMs10 Oct 2025
7 more
- 2025QiMeng-MuPa: Mutual-Supervised Learning for Sequential-to-Parallel Code Translation11 Jun 2025
- 2025Afterburner: Reinforcement Learning Facilitates Self-Improving Code Efficiency Optimization29 May 2025
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Models16 May 2025
- 2025Leveraging AI for Productive and Trustworthy HPC Software: Challenges and Research Directions13 May 2025
- 2025Leveraging LLMs to Automate Energy-Aware Refactoring of Parallel Scientific Codes4 May 2025
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinement28 Mar 2025
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?14 Feb 2025
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTecited by 6
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinementcited by 3
- 2026ParEVO: Synthesizing Code for Irregular Data: High-Performance Parallelism through Agentic Evolutioncited by 0
- 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTe1 Apr 2026
- 2026ParEVO: Synthesizing Code for Irregular Data: High-Performance Parallelism through Agentic Evolution3 Mar 2026
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinement28 Mar 2025
- 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
- 2026KernelFoundry: Hardware-aware evolutionary GPU kernel optimizationcited by 11
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Modelscited by 5
- 2025Leveraging LLMs to Automate Energy-Aware Refactoring of Parallel Scientific Codescited by 3
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translationcited by 3
- 2026OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimizationcited by 3
- 2025Leveraging AI for Productive and Trustworthy HPC Software: Challenges and Research Directionscited by 2
- 2025QiMeng-MuPa: Mutual-Supervised Learning for Sequential-to-Parallel Code Translationcited by 2
- 2025Learning Bug Context for PyTorch-to-JAX Translation with LLMscited by 0
- 2025What a diff makes: automating code migration with large language modelscited by 0
- 2025OMPILOT: Harnessing Transformer Models for Auto Parallelization to Shared Memory Computing Paradigmscited by 0
- 2025SoK: Understanding (New) Security Issues Across AI4Code Use Casescited by 0
12 most cited of 14 All 14 (JSON)
- 2026XSearch: Explainable Code Search via Concept-to-Code Alignment15 May 2026
- 2026KernelFoundry: Hardware-aware evolutionary GPU kernel optimization12 Mar 2026
- 2026OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimization12 Feb 2026
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers5 Jan 2026
- 2025SoK: Understanding (New) Security Issues Across AI4Code Use Cases20 Dec 2025
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translation29 Nov 2025
- 2025OMPILOT: Harnessing Transformer Models for Auto Parallelization to Shared Memory Computing Paradigms5 Nov 2025
- 2025What a diff makes: automating code migration with large language models31 Oct 2025
- 2025Learning Bug Context for PyTorch-to-JAX Translation with LLMs10 Oct 2025
- 2025QiMeng-MuPa: Mutual-Supervised Learning for Sequential-to-Parallel Code Translation11 Jun 2025
- 2025SuperCoder: Assembly Program Superoptimization with Large Language Models16 May 2025
- 2025Leveraging AI for Productive and Trustworthy HPC Software: Challenges and Research Directions13 May 2025
12 newest of 14 All 14 (JSON)