Research map / Large language models / Agents, code and math
Guaranteed Guess: A Language Modeling Approach for CISC-to-RISC Transpilation with Testing Guarantees
Ahmed Heakl, Sarim Hashmi, Chaimaa Abi, Celine Lee, Abdulrahman Mahmoud
Cornell University · MBZUAI
Read the paperPlace an idea next to itCheck your own paper ↗
11measured effects
6improved
5hurt
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 with 1M AnghaBench (ablation) | Qwen2.5-Coder · HumanEval-C x86->ARMv8 | accuracy (%): 0 -> 93.94 | Improved |
| add 0.3M Stackv2 data (ablation) | Qwen2.5-Coder + AnghaBench · HumanEval-C x86->ARMv8 | accuracy (%): 93.94 -> 95.38 | Improved |
| add RoPE extrapolation (ablation) | Guaranteed Guess · HumanEval-C x86->ARMv8 | accuracy (%): 95.38 -> 97.14 | Improved |
| extend tokenizer (ablation) | Guaranteed Guess · HumanEval-C x86->ARMv8 | accuracy (%): 97.14 -> 98.18 | Improved |
| use 8-beam search decoding (ablation) | Guaranteed Guess · HumanEval-C x86->ARMv8 | accuracy (%): 98.18 -> 99.39 | Improved |
| compile at -O2 instead of -O0 | Guaranteed Guess 1.5B · HumanEval-C x86->ARMv8 | accuracy (%): 99.39 -> 45.12 | Hurt |
| target ARMv5 instead of ARMv8 | Guaranteed Guess 1.5B · HumanEval-C (-O0) | accuracy (%): 99.39 -> 93.71 | Hurt |
| target RISC-V64 instead of ARMv8 | Guaranteed Guess · HumanEval-C | pass@1 (%): 99.39 -> 89.63 | Hurt |
| use general-purpose LLMs without fine-tuning | StarCoder2, DeepSeek, Qwen2.5 · x86->ARM transpilation | accuracy: 0% | Hurt |
| use transpiled code vs Rosetta 2 | Guaranteed Guess · Apple M2 Pro | runtime, energy, memory: 1.73x faster, 1.47x energy, 2.41x memory | Improved |
| move from HumanEval-C to BringUpBench | Guaranteed Guess 1.5B · x86->ARM (-O0) | accuracy (%): 99.39 -> 49.23 | Hurt |
Open problems this paper states
- “The guarantee is bounded by unit test quality and coverage, which cannot ensure full semantic equivalence.” → Passing the tests does not show the code is correct. (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
- Guess & Sketch: Language Model Guided Transpilation (ICLR 2024 · similarity 0.88)
- CodeRosetta: Pushing the Boundaries of Unsupervised Code Translation for Parallel Programming (NeurIPS 2024 · similarity 0.86)
- T1: Tool-integrated Verification for Test-time Compute Scaling in Small Language Models (ICLR 2026 · similarity 0.85)
- QiMeng-MuPa: Mutual-Supervised Learning for Sequential-to-Parallel Code Translation (NeurIPS 2025 · similarity 0.85)
- QiMeng-NeuComBack: Self-Evolving Translation from IR to Assembly Code (NeurIPS 2025 · similarity 0.85)
- Verified Code Transpilation with LLMs (NeurIPS 2024 · similarity 0.85)
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.