Rethinking Neural Decompilation: Candidate Selection as the Hidden Bottleneck
On the map: LLM reasoning → Reasoning for agents, planning and code
Abstract (arXiv)
Reverse engineering obfuscated binaries is a core task in malware analysis and software security auditing. While neural decompilers based on Large Language Models (LLMs) have improved the readability and functional fidelity of recovered code over heuristic tools such as Ghidra and IDA Pro, a substantial gap remains between best-sample performance and practical single-output accuracy, particularly under code obfuscation. We study this gap through the lens of candidate generation and candidate selection. Using the LLM4Decompile architecture, we show that ground-truth tokens lie within the model's top-five next-token predictions in 95.6% of positions on average and that multi-sample decoding reaches a pass@100 of 93% on HumanEval-Decompile, indicating that correct reconstructions are typically already present in the model's sampling space. We then evaluate a generate-then-select pipeline that ranks 100 candidates per input with text-, syntax-, embedding-, consensus-, and likelihood-based selectors. Negative perplexity emerges as the strongest static selector on HumanEval-Decompile (73.3% pass@1), while execution-guided selection nearly closes the oracle gap on ExeBench (86.3% pass@1). Combined with one epoch of fine-tuning on our newly released ExeBench-Obfuscated dataset containing 362,647 obfuscated OLLVM samples, the same pipeline increases the pass@1 rate for obfuscated binaries to 88.8%, directly contradicting prior claims that released LLM4Decompile checkpoints are unsuitable for obfuscated inputs.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in Reasoning for agents, planning and code, one of 17 directions in LLM reasoning. Builds on 20 of its 43 references that are in the map. Submitted 2 Nov 2026.
Builds on
20 of 43 references.
Closest ancestors · 2
Same direction, newest first
- 2023Teaching Large Language Models to Self-Debug11 Apr
- 2022Competition-Level Code Generation with AlphaCode8 Feb
Other references · 18
- 2017Attention Is All You Needcited by 62,125
- 2021Evaluating Large Language Models Trained on Codecited by 8,938
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 6,016
- 2023Let's Verify Step by Stepcited by 4,259
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 502
- 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 222
- 2020Is MAP Decoding All You Need? The Inadequacy of the Mode in Neural Machine Translationcited by 142
- 2022Natural Language to Code Translation with Executioncited by 128
- 2024LLM4Decompile: Decompiling Binary Code with Large Language Modelscited by 44
- 2023SLaDe: A Portable Small Language Model Decompiler for Optimized Assemblycited by 31
- 2019Towards Neural Decompilationcited by 16
- 2025Decompile-Bench: Million-Scale Binary-Source Function Pairs for Real-World Binary Decompilationcited by 14
6 more
- 2025SK2Decompile: LLM-based Two-Phase Binary Decompilation from Skeleton to Skincited by 8
- 2025Trace Gadgets: Minimizing Code Context for Machine Learning-Based Vulnerability Predictioncited by 6
- 2024Self-Constructed Context Decompilation with Fined-grained Alignment Enhancementcited by 4
- 2024OCEAN: Open-World Contrastive Authorship Identificationcited by 4
- 2026HELIOS: Hierarchical Graph Abstraction for Structure-Aware LLM Decompilationcited by 4
- 2025Deconstructing Obfuscation: A four-dimensional framework for evaluating Large Language Models assembly code deobfuscation capabilitiescited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024CodePurify: Defend Backdoor Attacks on Neural Code Models via Entropy-based Purification
- 2025"Digital Camouflage": The LLVM Challenge in LLM-Based Malware Detection
- 2024Eliminating Backdoors in Neural Code Models for Secure Code Understanding
- 2023TrojanedCM: A Repository of Trojaned Large Language Models of Code
- 2026Can LLMs Deobfuscate Binary Code? A Systematic Analysis of Large Language Models into Pseudocode Deobfuscation ↗
- 2022Beyond the C: Retargetable Decompilation using Neural Machine Translation
- 2025A Systematic Study of Code Obfuscation Against LLM-based Vulnerability Detection
- 2025XGen-Q: An Explainable Domain-Adaptive LLM Framework with Retrieval-Augmented Generation for Software Security