Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation
Longhui Zhang, Jiahao Wang, Chenhao Hu, Bingyu Liang, Jing Li, Min Zhang
ICML · 2026
Validity evidence
Evidence from the paper
- Objects of Evaluation
- yes
- Intended Users
- yes
- Intended Interpretation or Use
- yes
- Capabilities Stated
- yes
- Capability Choice Justification
- yes
- Capability Definitions
- partially defined
- Capability Definition Justification
- no
- Measured Capability Structure
- no
- Capability Structure Justification
- no
- Data Source
- newly created, repurposed
- Newly-Created Sub-Type
- human written, scraped
- Data Description
- detailed
- Item-to-Capability Mapping
- implicit
- Content Justification
- yes
- Primary Adaptation Method Description
- fine tuning, few shot, custom prompt, agent harness
- Downstream Adaptation Prescription
- no
- Adaptation Justification
- no
- Assembly Method
- use all
- Assembly Justification
- no
- Evaluation-Set Policy
- subset allowed
- Official Evidence Extraction Method
- automatic metric
- Metric Justification
- follows prior work
- Within-Slice Evidence Accumulation
- averaging, pooled counts
- Cross-Slice Evidence Accumulation
- macro average
- Evidence Accumulation Justification
- no
Reported model results
SwiftBench
| Model or baseline | Score | Chart |
|---|---|---|
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Correctness-only baseline · Source C | ||
| 75.1% | ||
| 90% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Correctness-only baseline · Source C++ | ||
| 75.8% | ||
| 82.3% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Correctness-only baseline · Source Go | ||
| 84.2% | ||
| 92.8% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Correctness-only baseline · Source Java | ||
| 81.6% | ||
| 91.1% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Correctness-only baseline · Source Python | ||
| 71.4% | ||
| 90.4% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Joint correctness and efficiency baseline · Source C | ||
| 73.5% | ||
| 83.3% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Joint correctness and efficiency baseline · Source C++ | ||
| 77.6% | ||
| 75% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Joint correctness and efficiency baseline · Source Go | ||
| 78.4% | ||
| 88.3% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Joint correctness and efficiency baseline · Source Java | ||
| 70.7% | ||
| 79.8% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Joint correctness and efficiency baseline · Source Python | ||
| 65.5% | ||
| 83.6% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Correctness then efficiency baseline · Source C | ||
| 61.7% | ||
| 74.9% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Correctness then efficiency baseline · Source C++ | ||
| 60.5% | ||
| 57.1% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Correctness then efficiency baseline · Source Go | ||
| 67.6% | ||
| 67.9% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Correctness then efficiency baseline · Source Java | ||
| 62.3% | ||
| 78.5% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · Correctness then efficiency baseline · Source Python | ||
| 58.1% | ||
| 63.3% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · F2STrans · Source C | ||
| 86.6% | ||
| 87.8% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · F2STrans · Source C++ | ||
| 86.5% | ||
| 88.6% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · F2STrans · Source Go | ||
| 90.9% | ||
| 92.8% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · F2STrans · Source Java | ||
| 87.2% | ||
| 88.4% | ||
| Computational accuracy (%)Bridging Functional Correctness and Runtime Efficiency Gaps in LLM-Based Code Translation · Table 1 SwiftBench · F2STrans · Source Python | ||
| 79.9% | ||
| 83.1% | ||