paper-with-me

홈 › Papers

A Joint Learning Model with Variational Interaction for Multilingual Program Translation

2024-08-25 · Yali Du, Hui Sun, Ming Li

Programs implemented in various programming languages form the foundation of software applications. To alleviate the burden of program migration and facilitate the development of software systems, automated program translation across languages has garnered significant attention. Previous approaches primarily focus on pairwise translation paradigms, learning translation between pairs of languages using bilingual parallel data. However, parallel data is difficult to collect for some language pairs, and the distribution of program semantics across languages can shift, posing challenges for pairwise program translation. In this paper, we argue that jointly learning a unified model to translate code across multiple programming languages is superior to separately learning from bilingual parallel data. We propose Variational Interaction for Multilingual Program Translation~(VIM-PT), a disentanglement-based generative approach that jointly trains a unified model for multilingual program translation across multiple languages. VIM-PT disentangles code into language-shared and language-specific features, using variational inference and interaction information with a novel lower bound, then achieves program translation through conditional generation. VIM-PT demonstrates four advantages: 1) captures language-shared information more accurately from various implementations and improves the quality of multilingual program translation, 2) mines and leverages the capability of non-parallel data, 3) addresses the distribution shift of program semantics across languages, 4) and serves as a unified model, reducing deployment complexity.

📄 PDF Abstract BibTeX arXiv:2408.14515

Code (1)

duyali2000/VIM-PT 공식 구현 pytorch

Tasks

DisentanglementTranslationVariational Inference

Methods 이 논문이 사용한 방법론

Variational Inference 설명 없음
Focus 설명 없음

Similar Papers 제목 키워드 기반

Multilingual Machine Translation with Quantum Encoder Decoder Attention-based Convolutional Variational Circuits

2025-05-14 · Subrit Dikshit, Ritu Tiwari, Priyank Jain

Cloud-based multilingual translation services like Google Translate and Microsoft Translator achieve state-of-the-art translation capabilities. These services inherently use large multilingual language models such as GRU…

DecoderMachine TranslationTranslation

Character-Level Neural Translation for Multilingual Media Monitoring in the SUMMA Project

2016-04-05 · LREC 2016 5 · Guntis Barzdins, Steve Renals, Didzis Gosko

The paper steps outside the comfort-zone of the traditional NLP tasks like automatic speech recognition (ASR) and machine translation (MT) to addresses two novel problems arising in the automated multilingual news monito…

Automatic Speech RecognitionAutomatic Speech Recognition (ASR)ClusteringMachine Translation+5

CodeTransOcean: A Comprehensive Multilingual Benchmark for Code Translation

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

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 main…

Code TranslationMachine TranslationTranslation

Constructing Multilingual Code Search Dataset Using Neural Machine Translation

2023-06-27 · Ryo Sekizawa, Nan Duan, Shuai Lu, Hitomi Yanaka

Code search is a task to find programming codes that semantically match the given natural language queries. Even though some of the existing datasets for this task are multilingual on the programming language side, their…

Code SearchMachine TranslationNatural Language QueriesTranslation

Mix-of-Language-Experts Architecture for Multilingual Programming

2025-06-18 · Yifan Zong, Yuntian Deng, Pengyu Nie

Large language models (LLMs) have demonstrated impressive capabilities in aiding developers with tasks like code comprehension, generation, and translation. Supporting multilingual programming -- i.e., coding tasks acros…