atlas

Research map / Large language models / Agents, code and math

ASAP: Assembly-Source Aligned Pseudocode Refinement For Binary Decompilation

NeurIPS 2026 · Large language models › Agents, code and math · approach: Execution-based code verification

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes ASAP, which aligns assembly and source representations and compresses assembly into Q-Former tokens that condition an LLM refining Ghidra pseudocode, trained with pseudocode masking and an assembly-advantage loss.

Problem

LLM-based pseudocode refinement of rule-based decompiler output inherits decompiler errors, especially for optimized binaries, while assembly-to-source translation is hard due to long sequences and syntax gap.

Approach

Augment pseudocode refinement with a compact, source-aligned assembly representation (contrastively aligned encoder plus Q-Former compression into fixed tokens), and force the LLM to use these tokens via stochastic pseudocode masking and a detached relative assembly-advantage loss.

Key results

Surprising findings

Limitations

Experimental setup

Datasets: ExeBench HumanEval MBPP BinMetric

Benchmarks: HumanEval MBPP BinMetric

Metrics: re-execution rate recompilation rate edit similarity GPT-Judge BLEU METEOR ROUGE-L accuracy

Baselines: Ghidra IDA Pro DeepSeek-v3.2 Grok-4-fast Gemini-3.1-flash Ref Decompile LLM4Decompile SK2Decompile

Builds on: LLM4Decompile Q-Former InfoNCE UniXcoder SK2Decompile

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy