大型语言模型用于多语言代码智能:综述
Large Language Models for Multilingual Code Intelligence: A Survey
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分析而来,可能存在错误,请以论文正文为准。