CoDe-R enables a 1.3B model to exceed 50% re-executability on decompiled code
CoDe-R achieves an average re-executability rate above 50% on the HumanEval-Decompile benchmark, setting a new lightweight SOTA
Software arXiv 14 Apr 2026 Method Prototype evidence
Published as “CoDe-R: Refining Decompiler Output with LLMs via Rationale Guidance and Adaptive Inference”
Why it matters
The approach makes lightweight decompilation models practical for security analysts by substantially improving the likelihood that generated code can be compiled and executed.
Summary
CoDe-R raises the average re-executability of decompiled code to 50.00%, a 5.18% gain over the baseline, and reaches a peak of 70.73% under O0 optimization. The improvement stems from injecting rationale-guided semantic information (SCE) and a dual-path fallback (DDPF) that selects between semantic-rich and syntactic-robust generations. Evidence comes from the HumanEval-Decompile benchmark (656 test samples) using a 1.3B model, but gains shrink at higher optimization levels and inference latency increases.
What they found 2
- Peak re-executability of 70.73% under O0, about 5% higher than the baseline
“Specifically, under the O0 setting, CoDe-R achieves a peak Re-executability Rate of 70.73%, an improvement of nearly 5% over the baseline.”
- Average re-executability of 50.00%, surpassing the baseline by 5.18%
“CoDe-R achieves the highest average reexecutability (50.00%), outperforming the baseline by 5.18%.”
Caveats 3
- Re-executability drops to 37.20% at O3 for the semantic-rich path and 38.41% for the syntactic-robust path, showing limited robustness under high optimization levels.
- The DDPF mechanism introduces inference overhead, increasing latency compared to single-pass methods.
- our evaluation is restricted to C/C++ compiled via GCC; generalizability to other languages and compilers remains unverified.
What’s new here 3
- Rationale-guided semantic injection (SCE) that conditions generation on high-level algorithmic summaries.
- Dynamic Dual-Path Fallback (DDPF) that generates and selects between two candidate code paths at test time.
- Demonstrated that lightweight 1.3B models can outperform larger models when equipped with these mechanisms.