paper-with-me

홈 › Papers

Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translation

2025-11-29 · Le Chen, Nuo Xu, Winson Chen, Bin Lei, Pei-Hung Lin, Dunzhi Zhou, Rajeev Thakur, Caiwen Ding, Ali Jannesari, Chunhua Liao arxiv

Large language models (LLMs) have shown remarkable capabilities in code translation, yet their performance deteriorates in low-resource programming domains such as Fortran and emerging frameworks like CUDA, where high-quality parallel data are scarce. We present an automated dataset generation pipeline featuring a dual-LLM Questioner-Solver design that incorporates external knowledge from compilers and runtime feedback. Beyond traditional source-target code pair datasets, our approach additionally generates (1) verified translations with unit tests for assessing functional consistency and (2) multi-turn dialogues that capture the reasoning process behind translation refinement. Applied to Fortran-to-C++ and C++-to-CUDA, the pipeline yields 3.64k and 3.93k dialogues, respectively. Fine-tuning on this data yields dramatic improvements in functional correctness, boosting unit test success rates by over 56% on the challenging C++-to-CUDA task. We show that the generated data enables a 7B open-weight model to significantly outperform larger proprietary systems on key metrics like compilation success.

📄 PDF Abstract BibTeX arXiv:2512.03086

Code (0)

등록된 구현이 없습니다.

Tasks

Code Translation

Similar Papers 제목 키워드 기반

End-to-End Knowledge-Routed Relational Dialogue System for Automatic Diagnosis

2019-01-30 · Lin Xu, Qixian Zhou, Ke Gong, Xiaodan Liang 외

Beyond current conversational chatbots or task-oriented dialogue systems that have attracted increasing attention, we move forward to develop a dialogue system for automatic medical diagnosis that converses with patients…

Decision MakingDialogue ManagementManagementMedical Diagnosis+3

Stylized Dialogue Response Generation Using Stylized Unpaired Texts

2020-09-27 · Yinhe Zheng, Zikai Chen, Rongsheng Zhang, Shilei Huang 외

Generating stylized responses is essential to build intelligent and engaging dialogue systems. However, this task is far from well-explored due to the difficulties of rendering a particular style in coherent responses, e…

DecoderDialogue GenerationResponse Generation

MCP: Self-supervised Pre-training for Personalized Chatbots with Multi-level Contrastive Sampling

2022-10-17 · Zhaoheng Huang, Zhicheng Dou, Yutao Zhu, Zhengyi Ma

Personalized chatbots focus on endowing the chatbots with a consistent personality to behave like real users and further act as personal assistants. Previous studies have explored generating implicit user profiles from t…

Response GenerationSelf-Supervised Learning

Multi-Turn Dialogue Generation in E-Commerce Platform with the Context of Historical Dialogue

2020-11-01 · Findings of the Association for Computational Linguistics 2020 · WeiSheng Zhang, Kaisong Song, Yangyang Kang, Zhongqing Wang 외

As an important research topic, customer service dialogue generation tends to generate generic seller responses by leveraging current dialogue information. In this study, we propose a novel and extensible dialogue genera…

Dialogue GenerationRepresentation Learning

Natural Language Generation in Dialogue using Lexicalized and Delexicalized Data

2016-06-11 · Shikhar Sharma, Jing He, Kaheer Suleman, Hannes Schulz 외

Natural language generation plays a critical role in spoken dialogue systems. We present a new approach to natural language generation for task-oriented dialogue using recurrent neural networks in an encoder-decoder fram…

DecoderSentenceSpoken Dialogue SystemsText Generation