Collaboration is all you need: LLM Assisted Safe Code Translation

Rabimba Karanjai, Sam Blackshear, Lei Xu, Weidong Shi
3/14/2025
cs.AIcs.CLcs.SE

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

This paper introduces UniTranslator, a visionary framework that re-imagines code translation as a collaborative endeavor among multiple, compact LLMs. By orchestrating the interaction of specialized agents, each focused on different aspects of the translation process and grounded in a deep understanding of programming concepts, UniTranslator achieves a level of accuracy and efficiency that rivals larger, monolithic models.

Show full abstract

Our preliminary evaluation demonstrates the potential of UniTranslator to overcome the limitations of existing approaches and unlock the power of smaller LLMs for complex code translation tasks. We explore the effectiveness of this dynamic multi-agent paradigm in handling diverse language pairs, including low-resource languages, and in mitigating common issues such as code artifacts and hallucinations through the use of Natural Language Inference (NLI) grounding and iterative feedback mechanisms

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{karanjai2025collaboration,
  title  = {Collaboration is all you need: LLM Assisted Safe Code Translation},
  author = {Rabimba Karanjai and Sam Blackshear and Lei Xu and Weidong Shi},
  year   = {2025},
  eprint = {2503.11237},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.11237v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.11237.svg)](https://codeofpaper.com/paper/2503.11237)

Discussion