mlsanityData to 7 Oct 2026

TransAgent: Enhancing LLM-Based Code Translation via Fine-Grained Execution Alignment

arXiv 2409.19894 ↗First posted 30 Sep 2024cs.SE cs.AIcited by 7

Not on the map. Why?

Abstract (arXiv)

Code translation transforms code between programming languages while preserving functionality, which is critical in software development and maintenance. While traditional learning-based code translation methods have limited effectiveness due to the lack of sufficient parallel training data, Large Language Models (LLMs) have recently advanced this field with their strong code generation and comprehension capabilities. However, code translated by LLMs still suffers from diverse quality issues, such as syntax and semantic errors. In this work, we propose TransAGENT, a novel multi-agent system that eliminates the errors during LLM-based code translation. The main insight of TransAGENT is to localize error-prone code blocks via fine-grained execution alignment between source and target code. We evaluate TransAGENT on a newly constructed benchmark of recent programming tasks to mitigate data leakage. TransAGENT outperforms the latest UniTrans by up to 33.3% in translation accuracy and achieves an average improvement of 56.7% over Agentless in program repair performance. We also conduct an ablation study and evaluate TransAGENT across different LLMs, demonstrating its effectiveness and strong generalizability.

Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). Builds on 31 of its 80 references that are in the map. First posted on arXiv 30 Sep 2024.

Builds on

31 of 80 references.

References · 31

  1. 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,332
  2. 2021CodeXGLUE: A Machine Learning Benchmark Dataset for Code Understanding and Generationcited by 732
  3. 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 468
  4. 2024Agentless: Demystifying LLM-based Software Engineering Agentscited by 400
  5. 2024AutoCodeRover: Autonomous Program Improvementcited by 272
  6. 2020Unsupervised Translation of Programming Languagescited by 262
  7. 2024Large Language Model-Based Agents for Software Engineering: A Surveycited by 173
  8. 2022Few-shot training LLMs for project-specific code-summarizationcited by 128
  9. 2018Tree-to-tree Neural Networks for Program Translationcited by 93
  10. 2021Leveraging Automated Unit Tests for Unsupervised Code Translationcited by 82
  11. 2022Less Training, More Repairing Please: Revisiting Automated Program Repair via Zero-shot Learningcited by 76
  12. 2021DOBF: A Deobfuscation Pre-Training Objective for Programming Languagescited by 68
19 more
  1. 2022Repair Is Nearly Generation: Multilingual Program Repair with LLMscited by 68
  2. 2024MarsCode Agent: AI-native Automated Bug Fixingcited by 68
  3. 2023Towards Better Chain-of-Thought Prompting Strategies: A Surveycited by 62
  4. 2021AVATAR: A Parallel Corpus for Java-Python Program Translationcited by 59
  5. 2024Exploring and Unleashing the Power of Large Language Models in Automated Code Translationcited by 57
  6. 2023A Survey of Learning-based Automated Program Repaircited by 55
  7. 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
  8. 2024Reasoning Runtime Behavior of a Program with LLM: How Far Are We?cited by 44
  9. 2022Code Translation with Compiler Representationscited by 42
  10. 2018Nopol: Automatic Repair of Conditional Statement Bugs in Java Programscited by 32
  11. 2017ARJA: Automated Repair of Java Programs via Multi-Objective Genetic Programmingcited by 26
  12. 2018FixMiner: Mining Relevant Fix Patterns for Automated Program Repaircited by 22
  13. 2018AVATAR : Fixing Semantic Bugs with Fix Patterns of Static Analysis Violationscited by 22
  14. 2023GAMMA: Revisiting Template-based Automated Program Repair via Mask Predictioncited by 22
  15. 2024LLM-Powered Test Case Generation for Detecting Bugs in Plausible Programscited by 14
  16. 2022Summarize and Generate to Back-translate: Unsupervised Translation of Programming Languagescited by 12
  17. 2023Data Augmentation for Code Translation with Comparable Corpora and Multiple Referencescited by 9
  18. 2023Syntax and Domain Aware Model for Unsupervised Program Translationcited by 7
  19. 2020Challenges in migrating legacy software systems to the cloud an empirical studycited by 3

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2025: 6; 2026: 1.

7 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026LegacyTranslate: LLM-based Multi-Agent Method for Legacy Code Translation
  2. 2025BabelCoder: Agentic Code Translation with Specification Alignment
  3. 2025RepoTransAgent: Multi-Agent LLM Framework for Repository-Aware Code Translation
  4. 2025Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinement
  5. 2024CodeAgent: Enhancing Code Generation with Tool-Integrated Agent Systems for Real-World Repo-level Coding Challenges
  6. 2026ReCodeAgent: A Multi-agent Workflow for Language-Agnostic Translation and Validation of Large-Scale Repositories
  7. 2025A Survey on Code Generation with LLM-based Agents
  8. 2026Enhancing LLM-Based Code Translation with Verified Multi-Semantic Representations ↗