- Rating
- 3
- Clarity
- 3
- Confidence
- 5
- Originality
- 3
- Quality
- 3
- Significance
- 2
Read review
Summary
ASAP is a two-stage binary decompilation framework that augments pseudocode-based LLM refinement with compressed assembly representations. Stage 1 trains an assembly encoder via multi-positive contrastive learning against a frozen source encoder. Stage 2 uses a Q-Former to compress assembly features into a fixed token budget, combined with pseudocode masking and a relative assembly-advantage loss. ASAP uses the HumanEval and MBPP datasets, compiled across four GCC optimization levels, for evaluation; it reports gains in re-execution (64.7% -->71.9%) and recompilation (91.6% --> 96.6%) over the strongest baseline.
Strengths and weaknesses
Stregnth
- Clean and coherent design -- representation gap and attention bias are well-motivated and each component is properly ablated
- Assembly-advantage loss and causal intervention analysis (Table 5) are the most original contributions and convincingly show the LLM genuinely uses assembly tokens
- Downstream binary analysis evaluation (Table 2) adds practical value beyond self-contained metrics
- Well-written and easy to follow
Weaknesses
Major
-
HumanEval and MBPP are trivial single-function programs with low cyclomatic complexity. The paper's whole motivation is handling complex optimized binaries, yet it never tests this regime. Decompile-Bench-Eval, which includes real GitHub binaries, was available before submission and should have been used.
-
GPT-4-class baselines are missing without explanation. Gemini, DeepSeek, and Grok are included as task-agnostic baselines, but GPT-4.1/GPT-5-mini are not, despite the paper simultaneously using GPT-5-mini as both a post-processing agent and a GPT-Judge evaluator. HELIOS (https://arxiv.org/pdf/2601.14598) reports GPT-4.1 Mini achieving 89.6% average compilability on HumanEval-Decompile, competitive with ASAP's recompilation gains. This omission needs justification. In my personal experience as well, I have seen GPT models perform really well. I know cost and other factors could be a reason, but would love to know why you specifically omitted GPT models.
-
We have seen that embedding structural information usually provides better gains (SK2Decompile for example), and I did not see discussion related to that here.
-
SC²Dec/FAE (EMNLP 2024) is not cited. FAE aligns assembly to source at the statement level using compiler debug info, with supervision nearly identical to ASAP's snippet-level alignment. This must be acknowledged and differentiated.
Minor
- Nova (ICLR 2025) also uses contrastive learning with optimization-level grouping; the cross-modal vs intra-modal distinction should be stated explicitly
- Only GCC x86_64 + Ghidra evaluated; SK2Decompile tests GCC and Clang
Questions
- Why are GPT-4.1 and GPT-5-mini excluded from the task-agnostic baselines? Have the authors tested these and found ASAP competitive?
- Would the assembly-advantage loss still help on more complex real-world functions where pseudocode errors are more severe? The current benchmarks may be too easy to stress this.
Limitations
Discussed above.
We appreciate Reviewer kWyY's detailed feedback and address each comment below.
Comment #1:
Major1: HumanEval and MBPP are trivial single-function programs with low cyclomatic complexity. The paper's motivation is handling complex optimized binaries, yet it never tests this regime. Decompile-Bench-Eval, with real GitHub binaries, was available before submission.
Answer #1:
Thank you for raising this concern. We agree HumanEval and MBPP do not adequately represent complex program binaries. Decompile-Bench-Eval reports re-execution only on HumanEval and MBPP, while its GitHub2025 subset lacks function-level executable tests and relies on reference-based metrics (R2I, edit similarity). Its executable evaluation would therefore repeat our benchmarks rather than probe functional recovery in a harder regime.
We instead evaluated ASAP on BringUpBench, which contains complete, nontrivial C programs with minimal dependencies, without benchmark-specific fine-tuning. Re-execution rates (%) are below.
ASAP outperforms SK2Decompile and both rule-based decompilers at every optimization level. The comparison is informative because ASAP refines Ghidra pseudocode, at only 4.8% average re-execution, while SK2Decompile refines the much stronger IDA Pro pseudocode at 21.7%. Despite this weaker starting point, ASAP reaches 34.4% against 27.0%. This executable evaluation shows ASAP’s gains extend beyond short single-function tasks to demanding programs and optimized binaries.
Comment #2:
Major2: GPT-4-class baselines are missing without explanation. ... HELIOS reports GPT-4.1 Mini achieving 89.6% average compilability on HumanEval-Decompile, competitive with ASAP's recompilation gains. In my experience GPT models perform really well. Cost could be a reason, but why omit them?
Answer #2:
Thank you for identifying this omission. Our task-agnostic baselines prioritized lower-cost, high-throughput models suitable for large numbers of functions, and we excluded GPT-family generation models because GPT-5-mini also served as the GPT-Judge, risking same-family evaluator bias. We agree this should not preclude execution-based comparison, and therefore evaluated GPT-4.1-mini, GPT-5-mini, and GPT-5.5 in the same Ghidra-pseudocode pipeline. Re-execution rates (%) are below.
The GPT models are strong task-agnostic baselines. GPT-5.5 achieves a higher average than ASAP on HumanEval, while ASAP remains higher on MBPP and exceeds GPT-4.1-mini and GPT-5-mini on both. We will add these GPT-class comparisons to the revised evaluation.
Following your reference to HELIOS, we also compared recompilation rates on the HumanEval levels reported there.
ASAP achieves a higher recompilation rate than GPT-4.1-mini with HELIOS at every reported level, and we will include this comparison in the revised paper.
Comment #3:
Major3: We have seen that embedding structural information usually provides better gains (SK2Decompile for example), and I did not see discussion related to that.
Answer #3:
Thank you for this important observation. ASAP uses program structure indirectly through Ghidra pseudocode, which retains high-level constructs such as branches, loops, and expressions, and its masking deliberately preserves structural tokens and control-flow keywords so this structure stays visible. The assembly side is complementary: instruction chunks are encoded in order with chunk-position embeddings, without explicit control-flow or data-flow edges. SK2Decompile differs, as its skeleton separates structure from naming.
This indirect use of structure is already effective: ASAP surpasses SK2Decompile on re-execution (71.9% versus 64.7%) and recompilation (96.6% versus 91.6%), and on BringUpBench does so from a far weaker pseudocode starting point. Our masking ablation and attention analysis quantify this reliance on structure versus assembly.
We nevertheless agree explicit structure is promising. ASAP could add control-flow and data-flow edges to the assembly encoder or Q-Former so evidence from related basic blocks is aggregated structurally, or be combined with a skeleton-to-skin pipeline that applies assembly evidence during structure recovery and names identifiers separately. We will make this discussion explicit and add both as future work.
Comment #4:
Major4: SC²Dec/FAE (EMNLP 2024) is not cited. FAE aligns assembly to source at the statement level using compiler debug info, with supervision nearly identical to ASAP's snippet-level alignment.
Answer #4:
Thank you for identifying this missing reference. We agree SC²Dec/FAE is closely related and will cite and distinguish it in the revised paper. Both methods derive local assembly–source correspondences from compiler debugging information, and in both cases that information builds training data only and is never needed at inference.
The difference lies in how the alignment is consumed. FAE converts each correspondence into a generation target, supervising an assembly-to-source model to emit source code for a given block alongside its end-to-end objective. ASAP treats it as a representation-learning signal: because optimizations may move, merge, or remove statements, we use snippets with overlapping source-line mappings as weak positives rather than exact statement-level targets, and train the assembly encoder with function- and snippet-level contrastive objectives. The Q-Former compresses these representations to augment pseudocode refinement. FAE thus improves direct assembly-to-source generation, while ASAP corrects a pseudocode hypothesis with aligned assembly.
We also evaluated FAE in the same re-execution pipeline.
ASAP outperforms FAE at every optimization level. Fine-grained alignment is thus valuable in both settings, while ASAP further pairs aligned assembly with the high-level structure of pseudocode.
Comment #5:
Minor1: Nova (ICLR 2025) also uses contrastive learning with optimization-level grouping; the cross-modal vs intra-modal distinction should be explicit.
Answer #5:
Thank you for pointing out this related work. We will cite Nova and clarify the distinction. Nova combines hierarchical attention with two contrastive objectives: functionality contrastive learning brings source code and assembly variants of the same function closer, while optimization contrastive learning organizes representations of one function across O0–O3 to model the progression from compiler optimization. The latter is intra-modal.
ASAP is cross-modal: its multi-positive function-level objective associates all assembly variants of a function with the corresponding source representation, and its snippet-level objective uses debugging information for weakly aligned local pairs. ASAP imposes no ordered O0–O3 distance and pretrains no standalone generative assembly model; the aligned representations serve as corrective evidence for pseudocode refinement through the Q-Former. We will add this to the revised paper.
Comment #6:
Minor2: Only GCC x86_64 + Ghidra is evaluated; SK2Decompile tests GCC and Clang.
Answer #6:
Following your comment, we evaluated the same ASAP model on macOS-ARM64 binaries built with Clang and Windows-x86_64 binaries built with MSVC, without platform-specific fine-tuning.
ASAP transfers to both unseen configurations, although performance decreases relative to Linux-x86_64-GCC, particularly on optimized ARM64 binaries. Windows keeps the x86_64 instruction set architecture (ISA) but changes the compiler, operating system, and application binary interface, whereas macOS also moves to ARM64, with different instructions, register roles, and calling conventions. The larger macOS decrease is consistent with this broader shift and with the cross-platform trend SK2Decompile reports. ASAP still retains substantial functional recovery on both.