arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.25960cs.SEcs.LGcs.PL
收藏

大型语言模型用于多语言代码智能:综述

Large Language Models for Multilingual Code Intelligence: A Survey

College of Computer Science and Software Engineering, Shenzhen University, China(深圳大学计算机科学与软件工程学院,中国);Guangzhou Institute of Technology, Xidian University, China(广州理工大学,西安电子科技大学,中国);Guangzhou University of Software, China(广州软件大学,中国);Shenzhen University of Information Technology(深圳信息大学);National University of Computer and Emerging Sciences Karachi, Pakistan(巴基斯坦卡拉奇国家计算机与新兴科学大学)

Chao Jiang, Dugang Liu, Cheng Wen, Zhiwu Xu, Hua Zheng, Muhammad Sadiq, Jawwad Ahmed Shamsi, Shengchao Qin, Zhong Ming

AI总结:

本文综述了多语言代码生成与翻译的关键任务,探讨了现有方法、基准和评估指标,指出多语言代码智能在现实系统中的重要性及挑战。

摘要:

大型语言模型已革新了AI辅助软件工程,但当前研究仍偏向高资源语言如Python,对Rust和OCaml等语言表现较弱。由于现实系统本质上是多语言的,稳健的多语言代码智能至关重要。本文综述了两个关键任务:从共享自然语言需求生成多语言代码,以及在不同语言间保持语义的多语言代码翻译。它回顾了代表性方法、基准和评估指标,并强调了可信跨语言泛化中的挑战和机遇。

英文摘要:

Large language models have transformed AI-assisted software engineering, but current research remains biased toward high-resource languages such as Python, with weaker performance in languages like Rust and OCaml. Since real-world systems are inherently polyglot, robust multilingual code intelligence is crucial. This survey focuses on two key tasks: multilingual code generation from shared natural-language requirements, and multilingual code translation that preserves semantics across languages. It reviews representative methods, benchmarks, and evaluation metrics, and highlights challenges and opportunities for trustworthy cross-language generalization.

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

↑