arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.07425cs.SE
收藏

神经代码翻译的系统性文献综述

A Systematic Literature Review on Neural Code Translation

Xiang Chen, Jiacheng Xue, Xiaofei Xie, Caokai Liang, Xiaolin Ju

AI总结:

本文系统综述2020—2025年57项神经代码翻译研究,从七个维度梳理技术、评估方法、挑战与未来方向。

摘要:

代码翻译旨在自动将代码从一种编程语言转换为另一种编程语言,其动因来自多语言软件开发和遗留系统迁移的需求。近年来,在深度学习和大型语言模型快速发展的推动下,神经代码翻译受到了广泛关注。研究人员提出了多种技术以提升神经代码翻译质量。然而,据我们所知,目前尚无全面的系统性文献综述来总结该领域的关键技术与挑战。为填补这一研究空白,我们收集了2020年至2025年间关于神经代码翻译的57项主要研究。我们从七个关键视角对这些研究进行分析:任务特征、数据预处理、代码建模、模型构建、后处理、评估主体和评估指标。我们的分析揭示了当前研究趋势,识别了尚未解决的挑战,并展示了未来工作的潜在方向。这些发现能够为神经代码翻译领域的研究人员和从业者提供有价值的见解。

英文摘要:

Code translation aims to convert code from one programming language to another automatically. It is motivated by the need for multi-language software development and legacy system migration. In recent years, neural code translation has gained significant attention, driven by rapid advancements in deep learning and large language models. Researchers have proposed various techniques to improve neural code translation quality. However, to the best of our knowledge, no comprehensive systematic literature review has been conducted to summarize the key techniques and challenges in this field. To fill this research gap, we collected 57 primary studies covering the period 2020~2025 on neural code translation. These studies are analyzed from seven key perspectives: task characteristics, data preprocessing, code modeling, model construction, post-processing, evaluation subjects, and evaluation metrics. Our analysis reveals current research trends, identifies unresolved challenges, and shows potential directions for future work. These findings can provide valuable insights for both researchers and practitioners in the field of neural code translation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑