paper-with-me

홈 › Papers

CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translation

2023-10-08 · Weixiang Yan, Yuchen Tian, Yunzhe Li, Qian Chen, Wen Wang

Recent code translation techniques exploit neural machine translation models to translate source code from one programming language to another to satisfy production compatibility or to improve efficiency of codebase maintenance. Most existing code translation datasets only focus on a single pair of popular programming languages. To advance research on code translation and meet diverse requirements of real-world applications, we construct CodeTransOcean, a large-scale comprehensive benchmark that supports the largest variety of programming languages for code translation. CodeTransOcean consists of three novel multilingual datasets, namely, MultilingualTrans supporting translations between multiple popular programming languages, NicheTrans for translating between niche programming languages and popular ones, and LLMTrans for evaluating executability of translated code by large language models (LLMs). CodeTransOcean also includes a novel cross-framework dataset, DLTrans, for translating deep learning code across different frameworks. We develop multilingual modeling approaches for code translation and demonstrate their great potential in improving the translation quality of both low-resource and high-resource language pairs and boosting the training efficiency. We also propose a novel evaluation metric Debugging Success Rate@K for program-level code translation. Last but not least, we evaluate LLM ChatGPT on our datasets and investigate its potential for fuzzy execution predictions. We build baselines for CodeTransOcean and analyze challenges of code translation for guiding future research. The CodeTransOcean datasets and code are publicly available at https://github.com/WeixiangYAN/CodeTransOcean.

📄 PDF Abstract BibTeX arXiv:2310.04951

Code (1)

weixiangyan/codetransocean 공식 구현

Tasks

Code TranslationMachine TranslationTranslation

Methods 이 논문이 사용한 방법론

Focus 설명 없음

Similar Papers 제목 키워드 기반

Minionese: Comprehensive Benchmark and Mechanistic Study of Multilingual LLM Safety

2026-07-11 · Chigozirim Ifebi, Brent Kong, Ayushi Mehrotra arxiv

Safety alignment in large language models remains brittle across languages: prompts reliably refused in English can elicit harmful compliance in non-English and low-resource settings. We introduce \textsc{Minionese}, a m…

Translation as a Scalable Proxy for Multilingual Evaluation

2026-01-16 · Sheriff Issaka, Erick Rosas Gonzalez, Lieqi Liu, Evans Kofi Agyei 외 arxiv

The rapid proliferation of LLMs has created a critical evaluation paradox: while LLMs claim multilingual proficiency, comprehensive non-machine-translated benchmarks exist for fewer than 30 languages, leaving >98% of the…

Massively Multilingual Adaptation of Large Language Models Using Bilingual Translation Data

2025-05-31 · Shaoxiong Ji, Zihao Li, Jaakko Paavola, Indraneil Paul 외

This paper investigates a critical design decision in the practice of massively multilingual continual pre-training -- the inclusion of parallel data. Specifically, we study the impact of bilingual translation data for m…

Translation

LLaMAX: Scaling Linguistic Horizons of LLM by Enhancing Translation Capabilities Beyond 100 Languages

2024-07-08 · Yinquan Lu, Wenhao Zhu, Lei LI, Yu Qiao 외

Large Language Models (LLMs) demonstrate remarkable translation capabilities in high-resource language tasks, yet their performance in low-resource languages is hindered by insufficient multilingual data during pre-train…

Data AugmentationTranslation

BenchMAX: A Comprehensive Multilingual Evaluation Suite for Large Language Models

2025-02-11 · Xu Huang, Wenhao Zhu, Hanxu Hu, Conghui He 외

Previous multilingual benchmarks focus primarily on simple understanding tasks, but for large language models(LLMs), we emphasize proficiency in instruction following, reasoning, long context understanding, code generati…

Code GenerationInstruction FollowingLong-Context Understanding