Research map / Large language models / Instruction and fine-tuning
Beyond Code Pairs: Dialogue-Based Data Generation for LLM Code Translation
Le Chen, Nuo Xu, Winson Chen, Bin Lei, Pei-Hung Lin, Dunzhi Zhou, Rajeev Thakur, Caiwen Ding, Ali Jannesari, Chunhua Liao
Argonne National Laboratory · University of Minnesota · Lawrence Livermore National Laboratory · Iowa State University
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| fine-tune on QS-Pair dialogue data | CodeLlama-13B · CPP2CUDA Code Pair Test (528) | unit test success rate: 12.50% -> 68.80% | Improved |
| fine-tune on Dialogue data | CodeLlama-13B · Fortran2CPP Code Pair Test (652) | unit test success rate: 42.30% -> 74.10% | Improved |
| use full Dialogue instead of Code Pair data (ablation) | CodeLlama-13B · Fortran2CPP Code Pair Test (652) | unit test success rate: 68.90% -> 74.10% | Improved |
| use QS-Pair instead of Code Pair data (ablation) | CodeLlama-13B · CPP2CUDA Code Pair Test (528) | unit test success rate: 66.50% -> 68.80% | Improved |
| use Dialogue instead of Code Pair data (ablation) | CodeLlama-13B · CPP2CUDA Code Pair Test with Checksum (394) | unit test success rate: 75.90% -> 69.80% | Hurt |
| fine-tune on Code Pair data | DeepSeek-Coder-6.7B and Qwen2.5-Coder-7B · HPC-Fortran-Cpp (301) | unit test success rate: DeepSeek 25.91% -> 24.58%; Qwen 23.26% -> 23.92% | Mixed |
| fine-tune on QS-Pair data | Qwen2.5-Coder-7B · Fortran2CPP Code Pair Test (652) | unit test success rate: 68.10% -> 57.40% | Hurt |
| add debug rounds (D-round=3) to Dialogue-tuned model | Qwen2.5-Coder-7B · CPP2CUDA Code Pair Test (528) | compilation success rate: 82.58% -> 93.18% | Improved |
| remove execution feedback from dialogues (NoExec) (ablation) | CodeLlama-13B Dialogue · Fortran2CPP Code Pair Test (652) | unit test success rate: 74.10% -> 73.93% | No clear effect |
| remove execution feedback from dialogues (NoExec) (ablation) | CodeLlama-13B · CPP2CUDA Code Pair Test (528) | unit test success rate: 64.20% -> 65.72% | No clear effect |
| fine-tuned 7B Dialogue model vs Gemini 2.5 Flash | Qwen2.5-Coder-7B (D-round=3) · Fortran2CPP Code Pair Test (652) | unit test success rate: 82.20% vs 87.30% | Hurt |
| fine-tune on code pairs, dialogues or QS-pairs | CodeLlama-13B, DeepSeek-6.7B, Qwen2.5-7B · CodeBLEU Fortran2CPP | CodeBLEU: CodeLlama 0.565 -> 0.596 (Code Pair), 0.594 (Dialogue) | Improved |
Open problems in calibration and knowledge in LLM tuning
Do calibration and multilingual fine-tuning methods hold up on larger models, more languages and cleaner data?
- Few languages are covered, and low-resource languages are untested or score lower. · 18 papers state it
- Data are machine-translated or LLM-generated, so noise and bias carry over. · 15 papers state it
- Models above 13B parameters were not tried, mostly because of compute. · 11 papers state it
Closest papers by meaning
- ConvCodeWorld: Benchmarking Conversational Code Generation in Reproducible Feedback Environments (ICLR 2025 · similarity 0.88)
- How efficient is LLM-generated code? A rigorous & high-standard benchmark (ICLR 2025 · similarity 0.88)
- EffiCoder: Enhancing Code Generation in Large Language Models through Efficiency-Aware Fine-tuning (ICML 2025 · similarity 0.88)
- CodeRosetta: Pushing the Boundaries of Unsupervised Code Translation for Parallel Programming (NeurIPS 2024 · similarity 0.87)
- CRAFT: Customizing LLMs by Creating and Retrieving from Specialized Toolsets (ICLR 2024 · similarity 0.87)
- Function-to-Style Guidance of LLMs for Code Translation (ICML 2025 · similarity 0.87)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.