Research map / Large language models / Agents, code and math
Surfacing Program Structure with Auxiliary Signals for Low-Resource Code Translation
Federico Ranaldi, Nickil Maveli, Shay B. Cohen, Fabio Massimo Zanzotto
University of Edinburgh · University of Rome Tor Vergata · Almawave Labs
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 |
|---|---|---|---|
| add BoJac structural comments to the source | gpt-oss-20B · HumanEval-X Go -> avg of four targets | Pass@1: 90.5 -> 92.8 | Improved |
| add BoJac structural comments to the source | Gemma-2-2B · HumanEval-X Kotlin -> avg of four targets | Pass@1: 48.3 -> 56.4 | Improved |
| add BoJac comments instead of teacher free-form comments (CoC_T) (ablation) | Qwen2.5-1.5B · HumanEval-X Rust -> avg of four targets | Pass@1: 62.4 -> 65.2 | Improved |
| add self-generated comments (CoC_S) to the source (ablation) | Gemma-3-4B · COBOL -> Python | Pass@1: 55.5 -> 29.5 | Hurt |
| add self-generated comments (CoC_S) to the source (ablation) | Gemma-3-4B · HumanEval-X Go -> avg of four targets | Pass@1: 66.3 -> 58.2 | Hurt |
| add teacher-generated comments (CoC_T) instead of self-generated (CoC_S) (ablation) | Gemma-2-2B · HumanEval-X Go -> avg of four targets | Pass@1: 64.4 -> 67.7 | Improved |
| add linearised AST to the source (ablation) | Qwen2.5-1.5B · HumanEval-X Rust -> avg of four targets | Pass@1: 61.5 -> 51.5 | Hurt |
| add I/O traces to the source (ablation) | gpt-oss-20B · HumanEval-X Go -> avg of four targets | Pass@1: 90.5 -> 91.8 | No clear effect |
| obfuscate identifiers (name mangling) in the source | Gemma-2-9B, direct translation · HumanEval-X Go -> JavaScript | Pass@1: 86.5 -> 42.6 | Hurt |
| add BoJac to name-mangled source | Gemma-2-9B · HumanEval-X Go -> JavaScript, name-mangled | Pass@1: 42.6 -> 65.9 | Improved |
| fine-tune with BoJac-enriched source instead of original source | Qwen2.5-1.5B, LoRA · HumanEval-X Rust -> C++ | Pass@1: 57.9 -> 68.8 | Improved |
| fine-tune with CoC_T-enriched source instead of original source (ablation) | Qwen2.5-1.5B, LoRA · HumanEval-X Kotlin -> Python | Pass@1: 66.7 -> 62.2 | Hurt |
Open problems this paper states
- “Covers translation from a limited set of source languages into four mainstream targets, excluding languages like Ruby, Swift, Prolog and assembly.” → Evaluated on Python or one other language only. (an open problem in execution-based code verification)
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- Program Translation via Code Distillation (EMNLP 2023 · similarity 0.89)
- ObscuraCoder: Powering Efficient Code LM Pre-Training Via Obfuscation Grounding (ICLR 2025 · similarity 0.87)
- LILO: Learning Interpretable Libraries by Compressing and Documenting Code (ICLR 2024 · similarity 0.87)
- Function-to-Style Guidance of LLMs for Code Translation (ICML 2025 · similarity 0.86)
- Synthetic Programming Elicitation for Text-to-Code in Very Low-Resource Programming and Formal Languages (NeurIPS 2024 · similarity 0.86)
- CodeChemist: Test-Time Scaling for Low-Resource Code Generation via Functional Knowledge Transfer (ICML 2026 · similarity 0.86)
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.