paper-with-me

Papers

Multilingual Code Co-Evolution Using Large Language Models

2023-07-27 · Jiyang Zhang, Pengyu Nie, Junyi Jessy Li, Milos Gligoric

Many software projects implement APIs and algorithms in multiple programming languages. Maintaining such projects is tiresome, as developers have to ensure that any change (e.g., a bug fix or a new feature) is being propagated, timely and without errors, to implementations in other programming languages. In the world of ever-changing software, using rule-based translation tools (i.e., transpilers) or machine learning models for translating code from one language to another provides limited value. Translating each time the entire codebase from one language to another is not the way developers work. In this paper, we target a novel task: translating code changes from one programming language to another using large language models (LLMs). We design and implement the first LLM, dubbed Codeditor, to tackle this task. Codeditor explicitly models code changes as edit sequences and learns to correlate changes across programming languages. To evaluate Codeditor, we collect a corpus of 6,613 aligned code changes from 8 pairs of open-source software projects implementing similar functionalities in two programming languages (Java and C#). Results show that Codeditor outperforms the state-of-the-art approaches by a large margin on all commonly used automatic metrics. Our work also reveals that Codeditor is complementary to the existing generation-based models, and their combination ensures even greater performance.

📄 PDF Abstract BibTeX arXiv:2307.14991

Code (1)

engineeringsoftware/codeditor 공식 구현 pytorch

Similar Papers 제목 키워드 기반

The Rise and Down of Babel Tower: Investigating the Evolution Process of Multilingual Code Large Language Model

2024-12-10 · Jiawei Chen, Wentao Chen, Jing Su, Jingjing Xu 외

Large language models (LLMs) have shown significant multilingual capabilities. However, the mechanisms underlying the development of these capabilities during pre-training are not well understood. In this paper, we use c…

Language ModelingLanguage ModellingLarge Language Model

How Do Multilingual Encoders Learn Cross-lingual Representation?

2022-07-12 · Shijie Wu

NLP systems typically require support for more than one language. As different languages have different amounts of supervision, cross-lingual transfer benefits languages with little to no training data by transferring fr…

Cross-Lingual TransferMultilingual NLPRepresentation Learning

Code-mixed LLM: Improve Large Language Models' Capability to Handle Code-Mixing through Reinforcement Learning from AI Feedback

2024-11-13 · Wenbo Zhang, Aditya Majumdar, Amulya Yadav

Code-mixing(CM) or code-switching(CSW) refers to the juxtaposition of linguistic units from two or more languages during the conversation or sometimes even a single utterance. Code-mixing introduces unique challenges in …

Machine Translationreinforcement-learningReinforcement Learning

Eka-Eval: An Evaluation Framework for Low-Resource Multilingual Large Language Models

2025-07-02 · Samridhi Raj Sinha, Rajvee Sheth, Abhishek Upperwal, Mayank Singh arxiv

The rapid evolution of Large Language Models' has underscored the need for evaluation frameworks that are globally applicable, flexible, and modular, and that support a wide range of tasks, model types, and linguistic se…

Document Intelligence in the Era of Large Language Models: A Survey

2025-10-15 · Weishi Wang, Hengchang Hu, Zhijie Zhang, Zhaochen Li 외 arxiv

Document AI (DAI) has emerged as a vital application area, and is significantly transformed by the advent of large language models (LLMs). While earlier approaches relied on encoder-decoder architectures, decoder-only LL…

Document AI