Unsupervised Translation of Programming Languages
Not on the map. Why?
Cited by 21 in LLM agents and tool use, but placed by its own abstract, which didn’t fit.
Abstract (arXiv)
A transcompiler, also known as source-to-source translator, is a system that converts source code from a high-level programming language (such as C++ or Python) to another. Transcompilers are primarily used for interoperability, and to port codebases written in an obsolete or deprecated language (e.g. COBOL, Python 2) to a modern one. They typically rely on handcrafted rewrite rules, applied to the source code abstract syntax tree. Unfortunately, the resulting translations often lack readability, fail to respect the target language conventions, and require manual modifications in order to work properly. The overall translation process is timeconsuming and requires expertise in both the source and target languages, making code-translation projects expensive. Although neural models significantly outperform their rule-based counterparts in the context of natural language translation, their applications to transcompilation have been limited due to the scarcity of parallel data in this domain. In this paper, we propose to leverage recent approaches in unsupervised machine translation to train a fully unsupervised neural transcompiler. We train our model on source code from open source GitHub projects, and show that it can translate functions between C++, Java, and Python with high accuracy. Our method relies exclusively on monolingual source code, requires no expertise in the source or target languages, and can easily be generalized to other programming languages. We also build and release a test set composed of 852 parallel functions, along with unit tests to check the correctness of translations. We show that our model outperforms rule-based commercial baselines by a significant margin.
Key facts. Cited by 262 papers in the map (data through 7 Oct 2026). First posted on arXiv 5 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 35; 2022: 31; 2023: 61; 2024: 53; 2025: 52; 2026: 30.
262 papers.
Sort:
By area:
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 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
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2021CodeT5: Identifier-aware Unified Pre-trained Encoder-Decoder Models for Code Understanding and Generationcited by 890
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2024A Survey on Large Language Models for Code Generationcited by 646
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2021Unified Pre-training for Program Understanding and Generationcited by 361
38 more
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 294
- 2021Unsolved Problems in ML Safetycited by 291
- 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
- 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
- 2023Planning with Large Language Models for Code Generationcited by 179
- 2022Multi-lingual Evaluation of Code Generation Modelscited by 158
- 2024Multi-Step Reasoning with Large Language Models, a Surveycited by 140
- 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 123
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 106
- 2023Execution-based Code Generation using Deep Reinforcement Learningcited by 95
- 2024RepoGraph: Enhancing AI Software Engineering with Repository-level Code Graphcited by 88
- 2022Natural Language to Code Generation in Interactive Data Science Notebookscited by 86
- 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
- 2021Break-It-Fix-It: Unsupervised Learning for Program Repaircited by 71
- 2024Reuse, Don't Retrain: A Recipe for Continued Pretraining of Language Modelscited by 69
- 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languagescited by 68
- 2024Getting the most out of your tokenizer for pre-training and domain adaptationcited by 65
- 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 62
- 2021CoTexT: Multi-task Learning with Code-Text Transformercited by 61
- 2024SelfCodeAlign: Self-Alignment for Code Generationcited by 61
- 2021AVATAR: A Parallel Corpus for Java-Python Program Translationcited by 59
- 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
- 2025OpenCodeInstruct: A Large-scale Instruction Tuning Dataset for Code LLMscited by 57
- 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translationcited by 55
- 2022XLCoST: A Benchmark Dataset for Cross-lingual Code Intelligencecited by 54
- 2021A Survey of Machine Learning for Computer Architecture and Systemscited by 53
- 2022NatGen: Generative pre-training by "Naturalizing" source codecited by 53
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
- 2023Large Language Models for Compiler Optimizationcited by 52
- 2022Investigating Explainability of Generative AI for Code through Scenario-based Designcited by 47
- 2022PanGu-Coder: Program Synthesis with Function-Level Language Modelingcited by 47
- 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 46
- 2023Large Language Models and Simple, Stupid Bugscited by 45
- 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 45
- 2023SelfEvolve: A Code Evolution Framework via Large Language Modelscited by 43
- 2022Code Translation with Compiler Representationscited by 42
- 2022No More Fine-Tuning? An Experimental Evaluation of Prompt Tuning in Code Intelligencecited by 41
- 2021TreeBERT: A Tree-Based Pre-Trained Model for Programming Languagecited by 40
50 most cited of 262 All 262 (JSON)
- 2026ORCA: Evaluating LLMs on Data Science Code Translation25 Sep 2026
- 2026Legacy System Modernization with Coding Agents: A Case Study29 Aug 2026
- 2026SWE Refactor Bench: Can Coding Agents Complete a Long-Horizon, Whole-Repository Stack Migration?24 Aug 2026
- 2026Identifying Latent Declarative Representations of Code for Assisting Repository Migration22 Aug 2026
- 2026SpecFirst: Behavioral Specification Elicitation as a First-Class Step in Agent-Based Program Synthesis from Scratch29 Jul 2026
- 2026Spaghetti Architect: A Contamination-Resistant, By-Construction-Labelled, Multi-Language Code Dataset Generator21 Jul 2026
- 2026Evaluating Neural Decompilation of Dart AOT Binaries: Fine-Tuning, Metric Validity, Specification Leakage, and Reliability7 Jul 2026
- 2026NKI-Agent: Domain-Specific Fine-Tuning and Agentic Tool Use for Neuron Kernel Generation5 Jul 2026
- 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agents26 Jun 2026
- 2026Frontier Coding Agents Use Metaprogramming to Adapt to Unfamiliar Programming Languages9 Jun 2026
- 2026Beyond Pass Rate: A Multilingual, Execution-Grounded Evaluation of Open Code LLMs7 Jun 2026
- 2026A Tertiary Review of Large Language Model-Based Code Generating Tasks: Trends, Challenges, and Future Directions25 May 2026
38 more
- 2026XSearch: Explainable Code Search via Concept-to-Code Alignment15 May 2026
- 2026Improving Code Translation with Syntax-Guided and Semantic-aware Preference Optimization13 May 2026
- 2026Text-to-CAD Evaluation with CADTests8 May 2026
- 2026Aligned Multi-View Scripts for Universal Chart-to-Code Generation27 Apr 2026
- 2026CodePivot: Bootstrapping Multilingual Transpilation in LLMs via Reinforcement Learning without Parallel Corpora20 Apr 2026
- 2026Bidirectional Small-Granularity Search between Code and Text19 Apr 2026
- 2026LLMs Corrupt Your Documents When You Delegate17 Apr 2026
- 2026ReCodeAgent: A Multi-agent Workflow for Language-Agnostic Translation and Validation of Large-Scale Repositories8 Apr 2026
- 2026SQLStructEval: Structural Evaluation of LLM Text-to-SQL Generation8 Apr 2026
- 2026Ensemble Self-Training for Unsupervised Machine Translation17 Mar 2026
- 2026LegacyTranslate: LLM-based Multi-Agent Method for Legacy Code Translation14 Mar 2026
- 2026Automatic Generation of High-Performance RL Environments12 Mar 2026
- 2026Rethinking Code Similarity for Automated Algorithm Design with LLMs3 Mar 2026
- 2026RepoRepair: Leveraging Code Documentation for Repository-Level Automated Program Repair1 Mar 2026
- 2026SPELL: Synthesis of Programmatic Edits using LLMs1 Feb 2026
- 2026Revisiting the Role of Natural Language Code Comments in Code Translation23 Jan 2026
- 2026Bridging the Knowledge Void: Inference-time Acquisition of Unfamiliar Programming Languages for Coding Tasks16 Jan 2026
- 2026The New Compiler Stack: A Survey on the Synergy of LLMs and Compilers5 Jan 2026
- 2025Neuron-Guided Interpretation of Code LLMs: Where, Why, and How?23 Dec 2025
- 2025SoK: Understanding (New) Security Issues Across AI4Code Use Cases20 Dec 2025
- 2025REMODEL-LLM: Transforming C code to Java using LLMs12 Dec 2025
- 2025Bridging Code Graphs and Large Language Models for Better Code Understanding8 Dec 2025
- 2025BabelCoder: Agentic Code Translation with Specification Alignment7 Dec 2025
- 2025Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translation29 Nov 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025OMPILOT: Harnessing Transformer Models for Auto Parallelization to Shared Memory Computing Paradigms5 Nov 2025
- 2025EffiReasonTrans: RL-Optimized Reasoning for Code Translation21 Oct 2025
- 2025Automated Snippet-Alignment Data Augmentation for Code Translation16 Oct 2025
- 2025Project-Level C-to-Rust Translation via Pointer Knowledge Graphs13 Oct 2025
- 2025LLM Based Long Code Translation using Identifier Replacement10 Oct 2025
- 2025RA-Gen: A Controllable Code Generation Framework Using ReAct for Multi-Agent Task Execution9 Oct 2025
- 2025Adversarial Agent Collaboration for Correctness Improvements of C to Safe Rust Translation4 Oct 2025
- 2025Red Teaming Program Repair Agents: When Correct Patches can Hide Vulnerabilities30 Sep 2025
- 2025Beyond Language Barriers: Multi-Agent Coordination for Multi-Language Code Generation24 Sep 2025
- 2025MatchFixAgent: Language-Agnostic Autonomous Repository-Level Code Translation Validation and Repair19 Sep 2025
- 2025Code Review Without Borders: Evaluating Synthetic vs. Real Data for Review Recommendation5 Sep 2025
- 2025Model-Driven Quantum Code Generation Using Large Language Models and Retrieval-Augmented Generation28 Aug 2025
- 2025EvoC2Rust: A Skeleton-guided Framework for Project-Level C-to-Rust Translation6 Aug 2025
50 newest of 262 All 262 (JSON)
- 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
- 2024You Name It, I Run It: An LLM Agent to Execute Tests of Arbitrary Projectscited by 45
- 2025CSR-Bench: Benchmarking LLM Agents in Deployment of Computer Science Research Repositoriescited by 15
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligencecited by 13
- 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agentscited by 12
- 2025INTA: Intent-Based Translation for Network Configuration with LLM Agentscited by 5
- 2025Red Teaming Program Repair Agents: When Correct Patches can Hide Vulnerabilitiescited by 4
- 2026SWE Refactor Bench: Can Coding Agents Complete a Long-Horizon, Whole-Repository Stack Migration?cited by 4
- 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinementcited by 3
- 2025Adversarial Agent Collaboration for Correctness Improvements of C to Safe Rust Translationcited by 3
- 2025RA-Gen: A Controllable Code Generation Framework Using ReAct for Multi-Agent Task Executioncited by 2
- 2026ReCodeAgent: A Multi-agent Workflow for Language-Agnostic Translation and Validation of Large-Scale Repositoriescited by 2
12 most cited of 20 All 20 (JSON)
- 2026Legacy System Modernization with Coding Agents: A Case Study29 Aug 2026
- 2026SWE Refactor Bench: Can Coding Agents Complete a Long-Horizon, Whole-Repository Stack Migration?24 Aug 2026
- 2026SpecFirst: Behavioral Specification Elicitation as a First-Class Step in Agent-Based Program Synthesis from Scratch29 Jul 2026
- 2026NKI-Agent: Domain-Specific Fine-Tuning and Agentic Tool Use for Neuron Kernel Generation5 Jul 2026
- 2026SWE-MeM: Learning Adaptive Memory Management for Long-Horizon Coding Agents26 Jun 2026
- 2026Frontier Coding Agents Use Metaprogramming to Adapt to Unfamiliar Programming Languages9 Jun 2026
- 2026ReCodeAgent: A Multi-agent Workflow for Language-Agnostic Translation and Validation of Large-Scale Repositories8 Apr 2026
- 2026LegacyTranslate: LLM-based Multi-Agent Method for Legacy Code Translation14 Mar 2026
- 2025BabelCoder: Agentic Code Translation with Specification Alignment7 Dec 2025
- 2025From Code Foundation Models to Agents and Applications: A Comprehensive Survey and Practical Guide to Code Intelligence23 Nov 2025
- 2025RA-Gen: A Controllable Code Generation Framework Using ReAct for Multi-Agent Task Execution9 Oct 2025
- 2025Adversarial Agent Collaboration for Correctness Improvements of C to Safe Rust Translation4 Oct 2025
12 newest of 20 All 20 (JSON)
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,302
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2024Multi-Step Reasoning with Large Language Models, a Surveycited by 140
- 2025EffiReasonTrans: RL-Optimized Reasoning for Code Translationcited by 5
- 2024Towards LLM-based optimization compilers. Can LLMs learn how to apply a single peephole optimization? Reasoning is all LLMs need!cited by 1
- 2026Rethinking Code Similarity for Automated Algorithm Design with LLMscited by 1
- 2026Rethinking Code Similarity for Automated Algorithm Design with LLMs3 Mar 2026
- 2025EffiReasonTrans: RL-Optimized Reasoning for Code Translation21 Oct 2025
- 2024Towards LLM-based optimization compilers. Can LLMs learn how to apply a single peephole optimization? Reasoning is all LLMs need!11 Dec 2024
- 2024Multi-Step Reasoning with Large Language Models, a Survey16 Jul 2024
- 2023Code Llama: Open Foundation Models for Code24 Aug 2023
- 2023Gorilla: Large Language Model Connected with Massive APIs24 May 2023
- 2023Teaching Large Language Models to Self-Debug11 Apr 2023
- 2023Explain-then-Translate: An Analysis on Improving Program Translation with Self-generated Explanationscited by 12
- 2026CodePivot: Bootstrapping Multilingual Transpilation in LLMs via Reinforcement Learning without Parallel Corporacited by 1
- 2025ACT: Bridging the Gap in Code Translation through Synthetic Data Generation & Adaptive Trainingcited by 0
- 2026CodePivot: Bootstrapping Multilingual Transpilation in LLMs via Reinforcement Learning without Parallel Corpora20 Apr 2026
- 2025ACT: Bridging the Gap in Code Translation through Synthetic Data Generation & Adaptive Training22 Jul 2025
- 2023Explain-then-Translate: An Analysis on Improving Program Translation with Self-generated Explanations13 Nov 2023
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2021Program Synthesis with Large Language Modelscited by 3,509
- 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
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2024A Survey on Large Language Models for Code Generationcited by 646
- 2021Unified Pre-training for Program Understanding and Generationcited by 361
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 294
- 2021Unsolved Problems in ML Safetycited by 291
- 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
- 2022HyperTree Proof Search for Neural Theorem Provingcited by 192
12 most cited of 228 All 228 (JSON)
- 2026ORCA: Evaluating LLMs on Data Science Code Translation25 Sep 2026
- 2026Identifying Latent Declarative Representations of Code for Assisting Repository Migration22 Aug 2026
- 2026Spaghetti Architect: A Contamination-Resistant, By-Construction-Labelled, Multi-Language Code Dataset Generator21 Jul 2026
- 2026Evaluating Neural Decompilation of Dart AOT Binaries: Fine-Tuning, Metric Validity, Specification Leakage, and Reliability7 Jul 2026
- 2026Beyond Pass Rate: A Multilingual, Execution-Grounded Evaluation of Open Code LLMs7 Jun 2026
- 2026A Tertiary Review of Large Language Model-Based Code Generating Tasks: Trends, Challenges, and Future Directions25 May 2026
- 2026XSearch: Explainable Code Search via Concept-to-Code Alignment15 May 2026
- 2026Text-to-CAD Evaluation with CADTests8 May 2026
- 2026Aligned Multi-View Scripts for Universal Chart-to-Code Generation27 Apr 2026
- 2026Bidirectional Small-Granularity Search between Code and Text19 Apr 2026
- 2026LLMs Corrupt Your Documents When You Delegate17 Apr 2026
- 2026SQLStructEval: Structural Evaluation of LLM Text-to-SQL Generation8 Apr 2026
12 newest of 228 All 228 (JSON)