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.
DynSTEER: Dynamic Stage-wise Trajectory Evaluation and Execution-time Review for Agents
UCAS(中国科学院大学);Institute of Computing Technology, CAS(中国科学院计算技术研究所);DataArc Tech Ltd.(DataArc科技有限公司);IDEA Research, International Digital Economy Academy(国际数字经济学院IDEA研究院);Jiangnan University(江南大学);The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
MemScope: Evolving Agent Memory Architectures through Localized Code Repair
State Key Laboratory of AI Safety(人工智能安全国家重点实验室);Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Chinese Academy of Sciences(中国科学院大学);Meituan(美团)
CoRE: A Fine-Grained Code Reasoning Benchmark Beyond Output Prediction
School of Software Technology, Zhejiang University(浙江大学软件学院);Chinese University of Hong Kong(香港中文大学);Fudan University(复旦大学);Yale University(耶鲁大学);CSIRO’s Data61(澳大利亚联邦科学与工业研究组织数据61);Hangzhou High-Tech Zone (Binjiang) Institute of Blockchain and Data Security(杭州高新区(滨江)区块链与数据安全研究所)
DeepRepro: State-Aware Subplanning for Paper-to-Code Reproduction in Evolving Repositories
State Key Laboratory of AI Safety, Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所人工智能安全重点实验室);University of Chinese Academy of Sciences(中国科学院大学);University of Amsterdam(阿姆斯特丹大学)