Software Engineering
Machine Learning Hasn't Replaced Classical Decompilation—It's Found Its Niche
A comprehensive survey of 405 decompilation studies shows AI is transforming specific recovery tasks, but traditional techniques still anchor the core pipeline.
Researchers analyzing how to recover human-readable code from compiled binaries have long relied on classical computational methods. A new systematic survey spanning five decades of decompilation research reveals that machine learning and large language models are reshaping the field—but in a more specialized way than a wholesale replacement.
The Decompilation Challenge#
When source code isn't available, analysts must reverse-engineer binaries to understand what software does. This process, called decompilation, breaks down into distinct stages: recovering function boundaries and symbols, lifting instructions into intermediate representations, reconstructing control flow, recovering type information, and refining the final output. Each stage presents unique technical hurdles.
Where ML Is Gaining Ground#
Researchers from the survey examined 405 studies from 1973 through 2026, isolating 394 primary research contributions. The findings show a clear geographic split: classical approaches still dominate the front-end (recovering basic program structure and intermediate representations) and control-flow structuring. Some 277 of the 394 primary studies rely on traditional techniques.
Machine learning instead clusters around tasks that naturally frame problems as prediction or translation challenges: symbol recovery, variable naming, output refinement, and end-to-end binary-to-source translation. Of 116 studies that use ML to modify or propose new decompilation methods, most target native x86 and ARM binaries rather than platform-specific intermediate forms.
Type recovery emerges as the most contested middle ground, attracting both classical and ML-based research.
Evaluating the Evidence#
A critical finding concerns how ML-based work is validated. Most studies (89 of 116) rely on item-level matching against reference implementations—essentially comparing recovered names or types to ground truth. Execution-based testing, human expert judgment, and assessment based on downstream task performance remain uncommon. This gap matters: a system might recover correct variable names with high accuracy yet fail when that code is reused or executed.
What This Means#
The survey suggests that —rather, it has been integrated where problems can be posed as prediction or refinement tasks. Claims about ML-driven improvements must be read against two critical dimensions: where in the pipeline the method operates, and what kind of evidence backs the reported gains.