Unlocking LLM Repair Capabilities Through Cross-Language Translation and Multi-Agent Refinement
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Recent advances in leveraging LLMs for APR have demonstrated impressive capabilities in fixing software defects. However, current LLM-based approaches predominantly focus on mainstream programming languages like Java and Python, neglecting less prevalent but emerging languages such as Rust due to expensive training resources, limited datasets, and insufficient community support. This narrow focus creates a significant gap in repair capabilities across the programming language spectrum, where the full potential of LLMs for comprehensive multilingual program repair remains largely unexplored. To address this limitation, we introduce a novel cross-language program repair approach LANTERN that leverages LLMs' differential proficiency across languages through a multi-agent iterative repair paradigm. Our technique strategically translates defective code from languages where LLMs exhibit weaker repair capabilities to languages where they demonstrate stronger performance, without requiring additional training. A key innovation of our approach is an LLM-based decision-making system that dynamically selects optimal target languages based on bug characteristics and continuously incorporates feedback from previous repair attempts. We evaluate our method on xCodeEval, a comprehensive multilingual benchmark comprising 5,068 bugs across 11 programming languages. Results demonstrate significant enhancement in repair effectiveness, particularly for underrepresented languages, with Rust showing a 22.09% improvement in Pass@10 metrics. Our research provides the first empirical evidence that cross-language translation significantly expands the repair capabilities of LLMs and effectively bridges the performance gap between programming languages with different levels of popularity, opening new avenues for truly language-agnostic automated program repair.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 32 of its 65 references that are in the map. First posted on arXiv 28 Mar 2025.
Builds on
32 of 65 references.
Closest ancestors · 2
Same direction, newest first
- 2024Large Language Model-Based Agents for Software Engineering: A Survey4 Sep
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repair25 Mar
Other references · 30
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2024Qwen2 Technical Reportcited by 2,120
- 2023CodeGeeX: A Pre-Trained Model for Code Generation with Multilingual Benchmarking on HumanEval-Xcited by 300
- 2024AutoCodeRover: Autonomous Program Improvementcited by 278
- 2020Unsupervised Translation of Programming Languagescited by 263
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
- 2023InferFix: End-to-End Program Repair with LLMscited by 114
- 2023An Analysis of the Automatic Bug Fixing Performance of ChatGPTcited by 110
- 2018Tree-to-tree Neural Networks for Program Translationcited by 93
- 2022Less Training, More Repairing Please: Revisiting Automated Program Repair via Zero-shot Learningcited by 76
- 2022Repair Is Nearly Generation: Multilingual Program Repair with LLMscited by 68
- 2023A Survey of Learning-based Automated Program Repaircited by 55
18 more
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
- 2023xCodeEval: A Large Scale Multilingual Multitask Benchmark for Code Understanding, Generation, Translation and Retrievalcited by 47
- 2023RAP-Gen: Retrieval-Augmented Patch Generation with CodeT5 for Automatic Program Repaircited by 44
- 2021Multilingual training for Software Engineeringcited by 43
- 2024A Deep Dive into Large Language Models for Automated Bug Localization and Repaircited by 39
- 2024AlphaTrans: A Neuro-Symbolic Compositional Approach for Repository-Level Code Translation and Validationcited by 28
- 2018Automatic Software Repair: a Bibliographycited by 24
- 2021Trust Enhancement Issues in Program Repaircited by 22
- 2024CodeRosetta: Pushing the Boundaries of Unsupervised Code Translation for Parallel Programmingcited by 19
- 2022CIRCLE: Continual Repair across Programming Languagescited by 17
- 2024CigaR: Cost-efficient Program Repair with LLMscited by 15
- 2024ACFIX: Guiding LLMs with Mined Common RBAC Practices for Context-Aware Repair of Access Control Vulnerabilities in Smart Contractscited by 15
- 2024Verified Code Transpilation with LLMscited by 15
- 2024Scalable, Validated Code Translation of Entire Projects using Large Language Modelscited by 12
- 2024When Fine-Tuning LLMs Meets Data Privacy: An Empirical Study of Federated Learning in LLM-Based Program Repaircited by 10
- 2023Fixing Rust Compilation Errors using LLMscited by 7
- 2025Skeleton-Guided-Translation: A Benchmarking Framework for Code Repository Translation with Fine-Grained Quality Evaluationcited by 3
- 2018A Study of Bug Resolution Characteristics in Popular Programming Languagescited by 1
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
Similar, not cited
Close in wording, no citation either way
- 2026Refine After Generation: Toward Correct and Concise Patches in LLM-based Program Repair
- 2024Aligning the Objective of LLM-based Program Repair
- 2024MORepair: Teaching LLMs to Repair Code via Multi-Objective Fine-tuning
- 2025A Survey of LLM-based Automated Program Repair: Taxonomies, Design Paradigms, and Applications
- 2026Rethinking Automated Program Repair: The Impact of Bug Complexity, Fault Localization, and LLM Cost-efficiency
- 2025The Art of Repair: Optimizing Iterative Program Repair with Instruction-Tuned Models
- 2025MultiMend: Multilingual Program Repair with Context Augmentation and Multi-Hunk Patch Generation
- 2024An Empirical Evaluation of Pre-trained Large Language Models for Repairing Declarative Formal Specifications