mlsanityData to 7 Oct 2026

CodeRosetta: Pushing the Boundaries of Unsupervised Code Translation for Parallel Programming

arXiv 2410.20527 ↗First posted 27 Oct 2024cs.DC cs.AI cs.LGcited by 19

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

  1. 2023GPT-4 Technical Reportcited by 18,132
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  3. 2015Distilling the Knowledge in a Neural Networkcited by 10,076
  4. 2021Evaluating Large Language Models Trained on Codecited by 8,053
  5. 2023Qwen Technical Reportcited by 3,273
  6. 2023Code Llama: Open Foundation Models for Codecited by 2,105
  7. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  8. 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
  9. 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
  10. 2023WizardCoder: Empowering Code Large Language Models with Evol-Instructcited by 728
  11. 2023Textbooks Are All You Needcited by 561
  12. 2023The Falcon Series of Open Language Modelscited by 526
18 more
  1. 2024StarCoder 2 and The Stack v2: The Next Generationcited by 484
  2. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  3. 2021Unified Pre-training for Program Understanding and Generationcited by 361
  4. 2022UniXcoder: Unified Cross-Modal Pre-training for Code Representationcited by 355
  5. 2024DeepSeek-Coder-V2: Breaking the Barrier of Closed-Source Models in Code Intelligencecited by 325
  6. 2018A Survey on Deep Learning for Named Entity Recognitioncited by 281
  7. 2020Unsupervised Translation of Programming Languagescited by 262
  8. 2024OpenCodeInterpreter: Integrating Code Generation with Execution and Refinementcited by 242
  9. 2023SantaCoder: don't reach for the stars!cited by 169
  10. 2024CodeGemma: Open Code Models Based on Gemmacited by 145
  11. 2023CodeBERTScore: Evaluating Code Generation with Pretrained Models of Codecited by 101
  12. 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
  13. 2022Out of the BLEU: how should we assess quality of the Code Generation models?cited by 65
  14. 2022Code Translation with Compiler Representationscited by 42
  15. 2024Can Large Language Models Write Parallel Code?cited by 36
  16. 2024Code Representation Learning At Scalecited by 26
  17. 2023HPC-GPT: Integrating Large Language Model for High-Performance Computingcited by 22
  18. 2023Creating a Dataset for High-Performance Computing Code Translation using LLMs: A Bridge Between OpenMP Fortran and C++cited by 11

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 12; 2026: 7.

19 papers.

Sort:

By area:

  1. 2025KernelBench: Can LLMs Write Efficient GPU Kernels?cited by 206
  2. 2025Afterburner: Reinforcement Learning Facilitates Self-Improving Code Efficiency Optimizationcited by 14
  3. 2026KernelFoundry: Hardware-aware evolutionary GPU kernel optimizationcited by 11
  4. 2026CuTeGen: An LLM-Based Agentic Framework for Generation and Optimization of High-Performance GPU Kernels using CuTecited by 6
  5. 2025SuperCoder: Assembly Program Superoptimization with Large Language Modelscited by 5
  6. 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinementcited by 3
  7. 2025Leveraging LLMs to Automate Energy-Aware Refactoring of Parallel Scientific Codescited by 3
  8. 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translationcited by 3
  9. 2026OptiML: An End-to-End Framework for Program Synthesis and CUDA Kernel Optimizationcited by 3
  10. 2025Leveraging AI for Productive and Trustworthy HPC Software: Challenges and Research Directionscited by 2
  11. 2025QiMeng-MuPa: Mutual-Supervised Learning for Sequential-to-Parallel Code Translationcited by 2
  12. 2025Learning Bug Context for PyTorch-to-JAX Translation with LLMscited by 0
7 more
  1. 2025What a diff makes: automating code migration with large language modelscited by 0
  2. 2025OMPILOT: Harnessing Transformer Models for Auto Parallelization to Shared Memory Computing Paradigmscited by 0
  3. 2025SoK: Understanding (New) Security Issues Across AI4Code Use Casescited by 0
  4. 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilerscited by 0
  5. 2026ParEVO: Synthesizing Code for Irregular Data: High-Performance Parallelism through Agentic Evolutioncited by 0
  6. 2026XSearch: Explainable Code Search via Concept-to-Code Alignmentcited by 0
  7. 2026Multi-turn RL with Structural and Performance Aware Rewards for CUDA Kernel Generationcited by 0