# Rethinking Neural Decompilation: Candidate Selection as the Hidden Bottleneck

DevFeed: [Rethinking Neural Decompilation: Candidate Selection as the Hidden Bottleneck](<https://devfeed.tech/articles/rethinking-neural-decompilation-candidate-selection-as-the-hidden-bottleneck-114086.md>)

Original publisher: [Read original article](<https://arxiv.org/abs/2611.02788>)

Author: Felix M\\"achtle, Gautham Sriram, Manjil Neupane, Nils Loose, Thomas Eisenbarth

Published: 2026-11-03T05:00:00Z

Content type: article

Language: en

Sources: [arXiv: Artificial Intelligence](<https://devfeed.tech/sources/arxiv-artificial-intelligence.md>), [arXiv: Cryptography and Security](<https://devfeed.tech/sources/arxiv-cryptography-and-security.md>)

Topics: [Reverse Engineering](<https://devfeed.tech/topics/reverse-engineering.md>), [obfuscation](<https://devfeed.tech/topics/obfuscation.md>), [LLM evaluation / benchmarking](<https://devfeed.tech/topics/llm-evaluation-benchmarking.md>), [AI Chat](<https://devfeed.tech/topics/ai-chat.md>), [Ghidra](<https://devfeed.tech/topics/ghidra.md>), [Fine-tuning](<https://devfeed.tech/topics/fine-tuning.md>)

Tags: [abstract](<https://devfeed.tech/tags/abstract.md>), [analysis](<https://devfeed.tech/tags/analysis.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [arxiv](<https://devfeed.tech/tags/arxiv.md>), [auditing](<https://devfeed.tech/tags/auditing.md>), [binaries](<https://devfeed.tech/tags/binaries.md>), [candidate](<https://devfeed.tech/tags/candidate.md>), [code](<https://devfeed.tech/tags/code.md>), [consensus](<https://devfeed.tech/tags/consensus.md>), [cs-ai](<https://devfeed.tech/tags/cs-ai.md>), [cs-cr](<https://devfeed.tech/tags/cs-cr.md>), [dataset](<https://devfeed.tech/tags/dataset.md>), [decoding](<https://devfeed.tech/tags/decoding.md>), [decompilation](<https://devfeed.tech/tags/decompilation.md>), [embedding](<https://devfeed.tech/tags/embedding.md>), [execution](<https://devfeed.tech/tags/execution.md>), [fine-tuning](<https://devfeed.tech/tags/fine-tuning.md>), [functional](<https://devfeed.tech/tags/functional.md>), [gap](<https://devfeed.tech/tags/gap.md>), [generate](<https://devfeed.tech/tags/generate.md>), [neural](<https://devfeed.tech/tags/neural.md>), [selection](<https://devfeed.tech/tags/selection.md>)

## AI overview

The study identifies candidate selection as a key bottleneck in neural decompilation: correct reconstructions often appear among model outputs, but choosing one is difficult. With LLM4Decompile, ground-truth tokens ranked in the top five 95.6% of the time on average, and multi-sample decoding reached 93% pass@100 on HumanEval-Decompile. Among selectors ranking 100 candidates, negative perplexity performed best among static methods on that benchmark (73.3% pass@1); execution-guided selection reached 86.3% pass@1 on ExeBench. After one fine-tuning epoch on 362,647 obfuscated OLLVM samples in ExeBench-Obfuscated, the pipeline achieved 88.8% pass@1 on obfuscated binaries. These are reported benchmark results; the supplied text is an abstract rather than the full paper.

## Source excerpt

arXiv:2611.02788v1 Announce Type: new Abstract: 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.