AVATAR: A Parallel Corpus for Java-Python Program Translation
Not on the map. Why?
Abstract (arXiv)
Program translation refers to migrating source code from one programming language to another. It has tremendous practical value in software development, as porting software across languages is time-consuming and costly. Automating program translation is of paramount importance in software migration, and recently researchers explored unsupervised approaches due to the unavailability of parallel corpora. However, the availability of pre-trained language models for programming languages enables supervised fine-tuning with a small number of labeled examples. Therefore, we present AVATAR, a collection of 9,515 programming problems and their solutions written in two popular languages, Java and Python. AVATAR is collected from competitive programming sites, online platforms, and open-source repositories. Furthermore, AVATAR includes unit tests for 250 examples to facilitate functional correctness evaluation. We benchmark several pre-trained language models fine-tuned on AVATAR. Experiment results show that the models lack in generating functionally accurate code.
Key facts. Cited by 59 papers in the map (data through 7 Oct 2026). Builds on 15 of its 31 references that are in the map. First posted on arXiv 26 Aug 2021.
Builds on
15 of 31 references.
References · 15
- 2017Attention Is All You Needcited by 59,932
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2020CodeBERT: A Pre-Trained Model for Programming and Natural Languagescited by 1,286
- 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
- 2020GraphCodeBERT: Pre-training Code Representations with Data Flowcited by 600
- 2019Quantifying the Carbon Emissions of Machine Learningcited by 516
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
- 2021Unified Pre-training for Program Understanding and Generationcited by 361
- 2020Multilingual Translation with Extensible Multilingual Pretraining and Finetuningcited by 287
- 2020Unsupervised Translation of Programming Languagescited by 262
- 2021CodeNet: A Large-Scale AI for Code Dataset for Learning a Diversity of Coding Taskscited by 199
3 more
- 2020A Transformer-based Approach for Source Code Summarizationcited by 129
- 2018Tree-to-tree Neural Networks for Program Translationcited by 93
- 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languagescited by 68
Built on by
Citing papers per year: 2021: 2; 2022: 6; 2023: 9; 2024: 19; 2025: 18; 2026: 5.
59 papers.
Sort:
By area:
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 294
- 2022Multi-lingual Evaluation of Code Generation Modelscited by 158
- 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 116
- 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 62
- 2024SelfCodeAlign: Self-Alignment for Code Generationcited by 61
- 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
- 2022NatGen: Generative pre-training by "Naturalizing" source codecited by 53
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
- 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 46
- 2024TDD-Bench Verified: Can LLMs Generate Tests for Issues Before They Get Resolved?cited by 32
38 more
- 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Executioncited by 31
- 2024CodeMind: Evaluating Large Language Models for Code Reasoningcited by 30
- 2023SLaDe: A Portable Small Language Model Decompiler for Optimized Assemblycited by 28
- 2024EffiLearner: Enhancing Efficiency of Generated Code via Self-Optimizationcited by 28
- 2024AlphaTrans: A Neuro-Symbolic Compositional Approach for Repository-Level Code Translation and Validationcited by 28
- 2022Probing Pretrained Models of Source Codecited by 26
- 2024MHPP: Exploring the Capabilities and Limitations of Language Models Beyond Basic Code Generationcited by 25
- 2025EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Codecited by 24
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkitcited by 22
- 2024CodeEditorBench: Evaluating Code Editing Capability of Large Language Modelscited by 22
- 2023CoTran: An LLM-based Code Translator using Reinforcement Learning with Feedback from Compiler and Symbolic Executioncited by 21
- 2024RepoTransBench: A Real-World Multilingual Benchmark for Repository-Level Code Translationcited by 21
- 2024Rectifier: Code Translation with Corrector via LLMscited by 20
- 2024Divide-and-Conquer Meets Consensus: Unleashing the Power of Functions in Code Generationcited by 19
- 2022FixEval: Execution-based Evaluation of Program Fixes for Programming Problemscited by 17
- 2024EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuningcited by 15
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2024VersiCode: Towards Version-controllable Code Generationcited by 14
- 2026Seeing is Coding: On the Effectiveness of Vision Language Models in Code Understandingcited by 13
- 2022Summarize and Generate to Back-translate: Unsupervised Translation of Programming Languagescited by 12
- 2025Enhancing LLM Performance Through Debate: An Empirical Study on Multi-Agent Debate for Coding Taskscited by 11
- 2023CodeBPE: Investigating Subtokenization Options for Large Language Model Pretraining on Source Codecited by 9
- 2023Data Augmentation for Code Translation with Comparable Corpora and Multiple Referencescited by 9
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignmentcited by 7
- 2024SABER: Model-agnostic Backdoor Attack on Chain-of-Thought in Neural Code Generationcited by 7
- 2025A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Modelscited by 6
- 2025Large Language Models are Qualified Benchmark Builders: Rebuilding Pre-Training Datasets for Advancing Code Intelligence Taskscited by 6
- 2025Function-to-Style Guidance of LLMs for Code Translationcited by 4
- 2024Structured Code Representations Enable Data-Efficient Adaptation of Code Language Modelscited by 3
- 2025Skeleton-Guided-Translation: A Benchmarking Framework for Code Repository Translation with Fine-Grained Quality Evaluationcited by 3
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Qualitycited by 3
- 2025Post-Incorporating Code Structural Knowledge into Pretrained Models via ICL for Code Translationcited by 3
- 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Surveycited by 3
- 2025Evaluating Code Reasoning Abilities of Large Language Models Under Real-World Settingscited by 3
- 2025TokDrift: When LLM Speaks in Subwords but Code Speaks in Grammarcited by 2
- 2021Using Document Similarity Methods to create Parallel Datasets for Code Translationcited by 1
- 2023SUT: Active Defects Probing for Transcompiler Modelscited by 1
- 2025Collaboration is all you need: LLM Assisted Safe Code Translationcited by 1
50 most cited of 59 All 59 (JSON)
- 2026CodePivot: Bootstrapping Multilingual Transpilation in LLMs via Reinforcement Learning without Parallel Corpora20 Apr 2026
- 2026CangjieBench: Benchmarking LLMs on a Low-Resource General-Purpose Programming Language15 Mar 2026
- 2026Seeing is Coding: On the Effectiveness of Vision Language Models in Code Understanding2 Feb 2026
- 2026Revisiting the Role of Natural Language Code Comments in Code Translation23 Jan 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
- 2025Evaluating Code Reasoning Abilities of Large Language Models Under Real-World Settings16 Dec 2025
- 2025BabelCoder: Agentic Code Translation with Specification Alignment7 Dec 2025
- 2025TokDrift: When LLM Speaks in Subwords but Code Speaks in Grammar16 Oct 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025LLM Based Long Code Translation using Identifier Replacement10 Oct 2025
- 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Survey28 Jul 2025
38 more
- 2025Function-to-Style Guidance of LLMs for Code Translation15 Jul 2025
- 2025Contamination Means Overestimation? A Fine-Grained Empirical Study in Code Intelligence3 Jun 2025
- 2025EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code19 May 2025
- 2025Large Language Models are Qualified Benchmark Builders: Rebuilding Pre-Training Datasets for Advancing Code Intelligence Tasks28 Apr 2025
- 2025OpenCodeInstruct: A Large-scale Instruction Tuning Dataset for Code LLMs5 Apr 2025
- 2025Post-Incorporating Code Structural Knowledge into Pretrained Models via ICL for Code Translation28 Mar 2025
- 2025Enhancing LLM Performance Through Debate: An Empirical Study on Multi-Agent Debate for Coding Tasks15 Mar 2025
- 2025Collaboration is all you need: LLM Assisted Safe Code Translation14 Mar 2025
- 2025Benchmarking AI Models in Software Engineering: A Review, Search Tool, and Unified Approach for Elevating Benchmark Quality7 Mar 2025
- 2025A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Models30 Jan 2025
- 2025Skeleton-Guided-Translation: A Benchmarking Framework for Code Repository Translation with Fine-Grained Quality Evaluation27 Jan 2025
- 2024RepoTransBench: A Real-World Multilingual Benchmark for Repository-Level Code Translation23 Dec 2024
- 2024SABER: Model-agnostic Backdoor Attack on Chain-of-Thought in Neural Code Generation8 Dec 2024
- 2024TDD-Bench Verified: Can LLMs Generate Tests for Issues Before They Get Resolved?3 Dec 2024
- 2024SelfCodeAlign: Self-Alignment for Code Generation31 Oct 2024
- 2024AlphaTrans: A Neuro-Symbolic Compositional Approach for Repository-Level Code Translation and Validation31 Oct 2024
- 2024EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning14 Oct 2024
- 2024TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignment30 Sep 2024
- 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Execution23 Aug 2024
- 2024Rectifier: Code Translation with Corrector via LLMs10 Jul 2024
- 2024VersiCode: Towards Version-controllable Code Generation11 Jun 2024
- 2024Divide-and-Conquer Meets Consensus: Unleashing the Power of Functions in Code Generation30 May 2024
- 2024EffiLearner: Enhancing Efficiency of Generated Code via Self-Optimization24 May 2024
- 2024MHPP: Exploring the Capabilities and Limitations of Language Models Beyond Basic Code Generation19 May 2024
- 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligence7 May 2024
- 2024CodeEditorBench: Evaluating Code Editing Capability of Large Language Models4 Apr 2024
- 2024CodeMind: Evaluating Large Language Models for Code Reasoning15 Feb 2024
- 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Code3 Feb 2024
- 2024Structured Code Representations Enable Data-Efficient Adaptation of Code Language Models19 Jan 2024
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Execution5 Jan 2024
- 2023Deep Learning for Code Intelligence: Survey, Benchmark and Toolkit30 Dec 2023
- 2023Data Augmentation for Code Translation with Comparable Corpora and Multiple References1 Nov 2023
- 2023SUT: Active Defects Probing for Transcompiler Models22 Oct 2023
- 2023CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translation8 Oct 2023
- 2023Bias Testing and Mitigation in LLM-based Code Generation3 Sep 2023
- 2023CodeBPE: Investigating Subtokenization Options for Large Language Model Pretraining on Source Code1 Aug 2023
- 2023CoTran: An LLM-based Code Translator using Reinforcement Learning with Feedback from Compiler and Symbolic Execution11 Jun 2023
- 2023SLaDe: A Portable Small Language Model Decompiler for Optimized Assembly21 May 2023
50 newest of 59 All 59 (JSON)
- 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Executioncited by 31
- 2024CodeMind: Evaluating Large Language Models for Code Reasoningcited by 30
- 2024SABER: Model-agnostic Backdoor Attack on Chain-of-Thought in Neural Code Generationcited by 7
- 2025A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Modelscited by 6
- 2025Evaluating Code Reasoning Abilities of Large Language Models Under Real-World Settingscited by 3
- 2025Evaluating Code Reasoning Abilities of Large Language Models Under Real-World Settings16 Dec 2025
- 2025A Tool for In-depth Analysis of Code Execution Reasoning of Large Language Models30 Jan 2025
- 2024SABER: Model-agnostic Backdoor Attack on Chain-of-Thought in Neural Code Generation8 Dec 2024
- 2024CRUXEval-X: A Benchmark for Multilingual Code Reasoning, Understanding and Execution23 Aug 2024
- 2024CodeMind: Evaluating Large Language Models for Code Reasoning15 Feb 2024
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic Systemcited by 15
- 2025Enhancing LLM Performance Through Debate: An Empirical Study on Multi-Agent Debate for Coding Taskscited by 11
- 2025BabelCoder: Agentic Code Translation with Specification Alignmentcited by 1
- 2025BabelCoder: Agentic Code Translation with Specification Alignment7 Dec 2025
- 2025A Comprehensive Survey on Benchmarks and Solutions in Software Engineering of LLM-Empowered Agentic System10 Oct 2025
- 2025Enhancing LLM Performance Through Debate: An Empirical Study on Multi-Agent Debate for Coding Tasks15 Mar 2025
- 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 294
- 2022Multi-lingual Evaluation of Code Generation Modelscited by 158
- 2024Granite Code Models: A Family of Open Foundation Models for Code Intelligencecited by 116
- 2024EffiBench: Benchmarking the Efficiency of Automatically Generated Codecited by 62
- 2024SelfCodeAlign: Self-Alignment for Code Generationcited by 61
- 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
- 2022NatGen: Generative pre-training by "Naturalizing" source codecited by 53
- 2023Bias Testing and Mitigation in LLM-based Code Generationcited by 53
- 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 46
- 2024TDD-Bench Verified: Can LLMs Generate Tests for Issues Before They Get Resolved?cited by 32
12 most cited of 49 All 49 (JSON)
- 2026CangjieBench: Benchmarking LLMs on a Low-Resource General-Purpose Programming Language15 Mar 2026
- 2026Revisiting the Role of Natural Language Code Comments in Code Translation23 Jan 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
- 2025TokDrift: When LLM Speaks in Subwords but Code Speaks in Grammar16 Oct 2025
- 2025LLM Based Long Code Translation using Identifier Replacement10 Oct 2025
- 2025On The Role of Pretrained Language Models in General-Purpose Text Embeddings: A Survey28 Jul 2025
- 2025Function-to-Style Guidance of LLMs for Code Translation15 Jul 2025
- 2025Contamination Means Overestimation? A Fine-Grained Empirical Study in Code Intelligence3 Jun 2025
- 2025EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code19 May 2025
- 2025Large Language Models are Qualified Benchmark Builders: Rebuilding Pre-Training Datasets for Advancing Code Intelligence Tasks28 Apr 2025
- 2025OpenCodeInstruct: A Large-scale Instruction Tuning Dataset for Code LLMs5 Apr 2025
12 newest of 49 All 49 (JSON)