acceptodds
Published as a conference paper at NeurIPS 2026

Reinforcement Learning-Guided Symbolic Execution for Efficient and Exploitable Smart Contract Analysis

Zhaoxuan Li, Ziming Zhao, Siqi Lu, Rui Zhang, Wenhao Li, Xiaofei Yue, Fan T Zhang

Abstract

Currently, frequent security incidents of Ethereum contracts have caused billions of dollars in losses. There is a pressing need to identify defective contract code and generate exploit call sequences to reproduce attacks and ensure detection accuracy. Nevertheless, the state-of-the-art (SOTA) detection methods based on symbolic execution and fuzzy testing cannot achieve the desired performance due to the state explosion problem caused by contract characteristics such as cross-contract calls and loop branches, especially in large wild contracts. To tackle this problem, we propose RSymX, an assembly strategy-guided symbolic execution for contracts that leverages reinforcement learning to dynamically balance code coverage and vulnerability discovery. Extensive experiments on open-sourced datasets demonstrate that RSymX achieves an overlap score of 92.39% and identifies many vulnerable wild instances that SOTAs misreport. Especially, its dynamic strategies improve the efficiency of state exploration by 2x 4x, and in some cases up to 10x, offering guidance for future symbolic-execution-based analyzers. The code and data are available in https://github.com/ContractAudit/Code.

Keywords:
Sydney, Main Track

Reviews

Among:
Shape:
123456this paper, Bottom 4%
Figure 1. Mean review rating of the reviewed papers at NeurIPS 2026. This paper averages 3.67 over 3 reviews, above 4% of the others.
Reviewer_M7uHOpenReview ↗
Rating
4
Clarity
3
Confidence
4
Originality
2
Quality
2
Significance
3
Read review
Summary

This paper presents RSymX, a reinforcement-learning-guided symbolic execution framework for detecting vulnerabilities in Ethereum smart contracts. RSymX builds on the existing SymX executor and adds a 3DQN-based scheduler to prioritize symbolic states during path exploration. The scheduler uses a mixed reward that combines time-normalized instruction coverage and severity-weighted vulnerability discovery. The goal is to explore high-value paths earlier under a limited path budget and to generate reproducible exploit transaction sequences rather than only reporting suspicious code locations. The paper evaluates RSymX on labeled smart contract datasets, wild contracts, and real-world incident cases, and reports improvements in detection metrics and exploration efficiency over SymX and several existing analyzers.

Strengths and weaknesses

The paper addresses a practical and important problem. In smart contract analysis, generating reproducible transaction sequences is more useful to auditors than only locating suspicious code. The paper focuses on state explosion caused by multi-transaction behavior, cross-contract calls, fallback functions, and loops. The Crowdsale example is concrete and helps explain why path scheduling can affect vulnerability discovery.

The RSymX design is reasonable from an engineering perspective. It combines time-normalized coverage with severity-weighted vulnerability discovery, which helps avoid the bias of optimizing only coverage or only suspicious operations. Its state features include transaction index, coverage, visit counts, constraint size, stack size, and depth, which are more suitable for multi-transaction contract analysis than simple opcode or CFG features.

The evaluation is relatively broad. It includes labeled datasets, wild contracts, and real-world incident cases. The comparison with SymX is especially relevant because the main added component is RL scheduling: average runtime drops from 68.4s to 30.7s, while F1 improves from 94.88% to 96.06%. This supports the narrower claim that learning-based scheduling can improve exploration efficiency. The paper also includes ablations over rewards, features, models, and parameters.

The main concern is that the originality is weakened by prior work. MythrilQL [68] is titled "Reinforcement learning guided symbolic execution for Ethereum smart contracts", which substantially overlaps with the central claim of this paper. The authors do not clearly explain whether the essential novelty of RSymX comes from 3DQN, the mixed reward, online updates, or the stronger execution semantics inherited from SymX.

The related work is also incomplete. The paper cites MythrilQL, SmarTest, RLF, and Learch, but misses important systems such as Ferry, ItyFuzz, Confuzzius, Harvey, and ExGen, which are closely related to state-aware exploration, smart contract fuzzing, transaction sequence generation, and exploit generation. These works should at least be discussed to clarify the actual incremental contribution of RSymX.

The experiments do not fully validate the core idea. Compared with SymX, the efficiency gain is clear, but the accuracy gain is small: Dataset1 F1 improves only from 94.88% to 96.06%. The mixed reward improves F1 by only about 0.47%-0.66% over single-objective rewards. Since the method uses random initialization and online RL updates, the lack of multiple seeds, variances, error bars, or statistical significance tests makes it unclear whether these small gains are stable.

The paper does not sufficiently separate the contribution of RL scheduling from the contribution of SymX itself. RSymX relies on SymX's world memory, cross-transaction state handling, fallback and cross-contract call support, and vulnerability validation, while many baselines do not support these capabilities. Therefore, finding more vulnerabilities cannot be directly attributed to 3DQN. A more convincing experiment would fix the SymX executor and detectors and only replace the scheduler, comparing DFS/random, coverage-only, bug-only, MythrilQL-style Q-learning, and RSymX 3DQN.

The wild contract experiments are interpreted too optimistically. On Dataset3/4, the paper mainly reports that RSymX finds more issues, but without ground truth, more reports do not necessarily mean better accuracy. This is especially problematic for TOD/read-write conflicts, which can produce many potential warnings. The paper needs sampled manual validation by vulnerability type, reporting precision and exploitability.

The fairness of the baseline comparison is also questionable. Different tools support different vulnerability types, inputs, cross-contract semantics, and transaction-sequence capabilities. Directly aggregating OS/F1 mixes tool coverage with algorithmic quality.

Questions

Please clarify the exact technical difference between RSymX and MythrilQL [68]. In particular, which part is the real contribution: 3DQN, online learning, the mixed reward, the SymX execution semantics, or their combination?

Can the authors report multi-seed results with mean and standard deviation for Dataset1 and Dataset2? This is important because the improvements over SymX and over single-objective rewards are relatively small.

Can the authors run a scheduler-only ablation where the executor and vulnerability detectors are fixed to SymX, and only the scheduling strategy is changed? Useful baselines would include DFS, random, coverage-only, bug-only, MythrilQL-style Q-learning, and RSymX 3DQN.

Can the authors manually validate a stratified sample of wild contract reports from Dataset3/4? For each vulnerability type, it would be helpful to know how many reported issues are truly exploitable and how many are conservative warnings.

Please discuss missing related systems such as Ferry, ItyFuzz, Confuzzius, Harvey, and ExGen, and explain how RSymX differs from them in goal, technique, and evaluation.

Limitations

The authors discuss several limitations, including limited acceleration on safe contracts, possible false negatives on long paths, and SMT solver bottlenecks. These are useful, but the limitations section should also state that RSymX's gains depend heavily on SymX's existing execution semantics and detectors, so the conclusions may not transfer directly to other symbolic executors. The paper should also acknowledge that wild contract scans lack ground truth, that the RL results lack multi-seed stability evidence, and that generating exploit transaction sequences has dual-use security implications.

Paper formatting concerns

NA

Final justification

I have read the rebuttal and decide to raise the score.

1 comment

Response to Reviewer M7uH

Thank you for separating practical value from attribution and originality.

W1–W2, Q1, Q5 — Exact contribution and Table-8-style positioning

We will move an expanded Appendix Table 8 to the main paper and add the omitted systems. The novelty is not RL-guided symbolic execution, 3DQN, or SymX semantics individually, but their contract-specific scheduling formulation. Feat. I/E/S denotes instruction/environment/sequence signals; Sem. L/X/F/Tx denotes loop/cross-contract/fallback/multi-transaction handling. For non-RL systems, bug/coverage guidance denotes search signals rather than rewards, and — denotes concrete or hybrid execution.

Technique and guidance (same axes as submitted Table 8).

WorkSearch/actionI/E/SBug / coverage guidanceGoal; L/X/F/Tx
MythrilQLQ-learning; select states×/×/×sensitive opcodes / —path scheduling; partial/×/×/partial
Ferrysymbolic; select states/inputsstate/dep./seq.× / state-dependent branchesstate-dependent paths; non-EVM
Harveygreybox; mutate inputs/Txscost/state/Txdetector / branch coverageTx generation; concrete EVM
ConFuzziusfuzzing+SMT; mutate/solve Txsinstr./state/Txoracles / code coveragedeep-state Txs; hybrid
ItyFuzzsnapshot fuzzing; mutate states/Txsdataflow/state/Txoracles / waypointspersistent-state exploits; concrete
EXGENsymbolic synthesis; generate attack Txsstate/Tx ordertarget constraints / ×known-target exploits; multi-contract/Tx
RSymX3DQN; select feasible states✓/✓/✓severity findings / time-normalized noveltybudgeted vulnerable paths; ✓/✓/✓/✓

Goal, evaluation, and output.

WorkEvaluation/outputDifference from RSymX
Ferry13 programs, FuzzBench, LAVA-M; coverage/state-dependent bugsgeneral programs, not EVM exploit analysis
Harvey27 contracts; coverage and bug-triggering testsconcrete Tx fuzzing, not symbolic state ordering
ConFuzzius128 curated + 21K real contracts; coverage/bugshybrid fuzzing+SMT, not learned symbolic scheduling
ItyFuzzreal contracts and hacked DeFi cases; concrete exploitssnapshot/waypoint fuzzing, not SMT-feasible state ranking
EXGEN1,399 Ethereum + 130 EOS targets; verified exploitssynthesizes exploits for known vulnerable targets
RSymXD1–D5; vulnerable locations and replayable sequencesgeneral discovery and witnesses under a symbolic path budget

The distinction is threefold. Ferry targets general-program states; Harvey/ConFuzzius/ItyFuzz mutate concrete inputs, transactions, or snapshots; EXGEN synthesizes exploits for supplied targets. RSymX instead discovers vulnerabilities by ordering SMT-feasible symbolic successors under a path budget. Unlike MythrilQL's sensitive-opcode signal, RSymX combines time-normalized novelty, severity-weighted validated findings, and sequence-aware features, addressing coverage-only benign detours and bug-only unreachable sinks (Appendix H).

SymX supplies EVM/world-memory semantics, SMT feasibility, detectors, validation, and witnesses; RSymX supplies the scheduling observation, mixed return, successor-ordering action, and delayed learning. Fig. 9, Fig. 10, Fig. 11, Table 6, and the fixed-executor panel below isolate these elements.

W3, Q2 — Multi-seed stability and the small accuracy gain

The five-seed results described to Reviewer iz2G W1(i)/Q2 are:

Method/settingD1 F1D2 F1Time on D1
SymX94.8871.9968.4s
RSymX96.06 ± 0.1284.87 ± 0.2830.7 ± 1.2s
Coverage-only reward95.40 ± 0.15—28.6 ± 1.1s
Bug-only reward95.59 ± 0.16—27.0 ± 1.0s
Mixed reward96.06 ± 0.12—30.7 ± 1.2s

The modest F1 gain is expected because execution and predicates are unchanged; the larger effect is fewer paths and roughly half the runtime. We will report CIs and not use the small 3DQN-over-DQN/PPO gap as a novelty claim.

W4, Q3 — Scheduler-only ablation with a fixed executor/detector

Fig. 11 fixes the executor across RL algorithms and Fig. 10 across rewards, but they omit DFS, random, non-learned hybrid, and MythrilQL-style scheduling. We therefore add the unified fixed-SymX panel from iz2G Q4: all rows share semantics, world memory, SMT, detectors/validator, TX=2, R=2, and npaths=400 (only ordering differs):

SchedulerD1 OSD1 F1Time (s)
DFS88.7393.9820.0
Random88.20 ± 0.2593.65 ± 0.2221.1 ± 0.7
Coverage greedy91.5595.4028.6
Bug greedy91.8395.5927.0
Hybrid greedy92.0195.6927.7
MythrilQL-style Q-learning91.49 ± 0.2195.35 ± 0.1934.8 ± 1.4
DQN92.13 ± 0.1895.71 ± 0.1635.6 ± 1.5
RSymX/3DQN92.39 ± 0.1796.06 ± 0.1230.7 ± 1.2

This isolates three bounded conclusions: SymX supplies semantics; the hybrid objective supplies most aggregate gain; delayed learning adds a smaller benefit. We also stratify by execution difficulty:

Contract subsetDFS F1Hybrid-greedy F1RSymX/3DQN F1
Single-transaction / shallow95.1096.0096.08
Multi-transaction (TX≥2)89.8092.1093.35
Cross-contract or fallback88.9091.6593.05
Deep/long-path contracts87.7590.9092.60

The key attribution is not a large aggregate gap: greedy is sufficient on shallow paths, while delayed return helps when setup calls enable later sinks. We do not attribute all cross-tool gaps to 3DQN.

W5, Q4 — Manual validation of D3/D4 and TOD findings

More reports do not establish precision. Appendix G reports 35,761 RSymX versus 26,078 SymX findings and notes that roughly half are potentially hard-to-exploit TOD conflicts. Tables 4–5 and Listings 4–6 are examples, not a precision study. We therefore stratify a random sample by dataset and family. Two analysts independently inspect traces, locations, solved sequences, and replay outcomes. Disagreements are adjudicated. “Confirmed” means real and reachable, and “replayable/exploitable” additionally requires a concrete adverse-behavior sequence.

Vulnerability familySampledSemantically confirmedReplayable/exploitable
RE403937
IO403934
TOD403629
UIS/UIO403936
BP/TS403834
Total200191 (95.5%)170 (85.0%)

We will report D3/D4 separately with CIs, hashes, traces, and a distinction between conservative TOD warnings and direct exploits. They are sampled external validation, not exhaustive ground truth.

W6 — Fairness across tools with different capabilities

Table 9 already lists each tool’s supported vulnerability categories. Unsupported categories are excluded rather than counted as errors. For each tool, “Overall” is the arithmetic mean over the vulnerability types that tool supports. We will state this denominator explicitly.

Support-normalized averages still do not remove input, semantic, or witness-capability differences. We will add pairwise results on shared vulnerability types. The fixed-SymX panel remains the clean causal test because semantics and detectors are identical. Table 9 is a capability matrix, not evidence that every cross-tool gap comes from scheduling.

Limitations and dual use

Section 5 and Appendix H already discuss safe contracts, paths beyond npaths, and SMT/ABI bottlenecks. We will add dependence on SymX semantics/detectors, lack of exhaustive D3/D4 ground truth, stochastic uncertainty, and dual use. Public/historical cases support reproducibility. Our tool is available at https://github.com/ContractAudit/Code (welcome to try it).

Reviewer_ZWhFOpenReview ↗
Rating
3
Clarity
2
Confidence
2
Originality
2
Quality
3
Significance
2
Read review
Summary
  • Given a contract's source code, vulnerability detection within the RSymX framework follows three main steps: (1) the contract code inputter generates contract opcodes; (2) the symbolic executor explores state paths to test for vulnerabilities; and (3) the vulnerability detector uses predefined logic to identify vulnerabilities within those explored paths. Because the state-space is too large to explore naively, reinforcement learning (RL) is used within the symbolic executor to prioritize states that maximize code coverage and are highly likely to lead to vulnerabilities (so the q-values are defined in terms of vulnerability severity and coverage, i.e., state to instruction coverage(?) (Note that the distinction between an instruction, code, and a state means is unclear in the current version; please see the Weaknesses section for suggestions on how to improve the presentation for a general RL audience). When defining the qq-function, the authors propose using extracted state features (defined in Table 2) rather than the raw symbolic state xx.
  • RL-guided state exploration increases the rate of vulnerability detection by avoiding the naive path search that SymX (the most relevant baseline method) falls into.
Strengths and weaknesses

Weaknesses:

  • Presentation clarity / contribution fitness: It is not clear whether this paper is written for a general RL/AI audience or for readers with specific expertise in security, smart contracts, and blockchain systems. If the latter, I may not be the most appropriate reviewer. However, if the paper targets a general AI audience, the problem presentation and RL formulation should be made clearer in Sections 2 and 3.1. Currently, the general algorithmic contribution is not clear from the paper’s writing. (For example, in the code coverage reward description, it's not clear what is an instruction, a code, op code, and state xtx_t).
  • While both RSymX and SymX outperform other baselines (e.g., Slither, Park, and Manticore), the margin of improvement of RSymX over its closest baseline, SymX, remains fairly small in Table 3 -- les than 2 points in terms of the overall F1 score and gains across different severity types are similarly less than 2.

Strengths:

  • The experiment section includes ablations that consider different baseline models, compare effectiveness under the maximal path limit, different reward schemes, and state feature removal.
  • Ablation Table 6 shows the RL part of the algorithm can be combined with different baseline models (such as SymX, MLP, Bi-LSTM, CNN, XGB etc.)
  • Fig. 5 shows that RSymX reduces the time compared to SymX from 82.5s to 34.4s and is in general faster to run than other baselines, with the exception of Defect Checker.
Questions
  • How important is it to use the extracted features ss rather than the raw symbolic state xx? Is this inherited from the existing method, SymX? (Fig. 10 and "State features" ablations show that dropping the existing state features negatively affects performance, but how does using xx compare to ss?)
  • I'm not sure how to interpret the significance of the examples from Wild Contracts in Table 4.
  • The algorithmic improvements compared to RSymX could be explained in more detail. Is the main contribution or improvement over the existing method the introduction of q-function to the symbolic executor to avoid naive path exploration?
  • Including a preliminary / setup section that describes the problem setup with standard RL notations would help improve readability of this paper.
  • What are the differences among Datasets 1 through 5? If these are existing, open-source datasets, is there a reason they are referred to as "Dataset kk" instead of by their original names or sources? If these are new or modified datasets by the authors (and therefore need to be anonymized), describing the novelty of these datasets and the engineering efforts toward dataset construction/compilation (along with providing the public dataset links and repo) would help strengthen the work's novelty.
Limitations

yes

Paper formatting concerns

NA

Final justification

The rebuttal has addressed my main concern, and I strongly encourage the authors to:

  • Include "1. Originality and relation to prior work" from their meta-review response in the camera ready to clarify the scope of their claimed contribution that, "Therefore, the novelty is not a new RL algorithm. It is the combination of a compact 20-D contract-state representation, a joint time/coverage/severity return, delayed credit across transactions, and integration with a semantics-faithful symbolic executor. Table 6’s model insensitivity supports this interpretation: the principal contribution is the formulation."
  • Cite "Delayed Double Deep Q Network" in line 63 of Contribution.
  • Include that the particular RL algorithm used doesn't affect the overall gains, as the authors said in the rebuttal: "The differences among DQN, PPO, and 3DQN are comparatively small. We will therefore not claim that 3DQN itself is the main source of improvement. Its role is a lightweight implementation with the best observed effectiveness–runtime trade-off."

My understanding of the work's novelty/contribution is: applying an existing RL method with new rewards (described in section 3.2) and state features (from section 3.3 (i)).

1 comment

Response to Reviewer ZWhF

Thank you for identifying the presentation gap. The current paper contains the necessary security and RL components, but it does not connect them early enough for a general ML audience. We will reorganize Sections 2–3 rather than assume smart-contract expertise.

W1, Q4 — Terminology and standard RL formulation

We will add a short preliminary subsection before §3.1. Source code is compiled into EVM bytecode; an opcode is an EVM operation type, while an instruction is an opcode occurrence at a concrete program counter. A symbolic state x_t is the executor’s full semantic snapshot: program counter, symbolic stack/memory/storage, constraints, call stack, balances/world state, and transaction index. The exact state remains inside SymX and the SMT solver.

RSymX maps x_t to a compact scheduling observation s_t=φ(x_t)∈R^20 using the features in Table 2. At a symbolic branch, the action is not to modify execution semantics; it is the order in which the two feasible successor states are explored. The transition is produced by SymX/SMT. The return combines time-normalized new-instruction coverage and severity-weighted findings, R_mix=λR_bug+(1−λ)R_cov. The 3DQN estimates the delayed return and ranks the successors under npaths; it does not replace the executor, solver, or detector.

We will express this using standard (S,A,P,R,γ) notation and walk through one branch of the Crowdsale example in Listing 1. Algorithms 1–2, currently in Appendix E, will be condensed into the main text.

W2, Q3 — What is the algorithmic contribution, and why is the SymX margin small?

RSymX is not simply “a q-function added to SymX.” Appendix Fig. 13 already visually separates the inherited SymX components from the 3DQN-Agent extension. Appendix Table 8 compares the extension against prior exploration methods. We will move this decomposition to the main paper:

  • Inherited from SymX: EVM/world-state semantics, cross-contract and fallback execution, persistent multi-transaction state, SMT solving, vulnerability predicates, validation, and witness generation.
  • Introduced by RSymX: the 20-D scheduling observation, mixed time/severity-aware return, successor-ordering decision, replay-based delayed learning, and its integration into dynamic DFS under a fixed budget.

The small D1 accuracy margin is expected because RSymX intentionally does not change SymX’s detection predicates, and D1’s contracts are relatively small. The scheduler’s effect is visible in the efficiency results already reported in §4.2–4.3: 68.4s→30.7s and 2×–4× fewer explored paths for most vulnerability types. Fig. 7 further shows that useful accuracy remains under tighter 400→200 budgets. On larger contracts, the same scheduling difference determines whether deep paths are reached before timeout. This is the central practical contribution, especially for the large wild contracts. We will therefore foreground efficiency and avoid attributing SymX’s semantic capabilities to the RL component.

Q1 — Why use extracted s_t instead of raw symbolic state x_t?

The features are not inherited from SymX. They are designed by RSymX from measurable executor signals described in Table 2 and Appendix D. x_t is a heterogeneous, variable-size semantic object containing expression DAGs, constraints, maps for memory/storage, call contexts, and world state. It is neither a fixed-dimensional tensor nor a unique-length sequence. s_t is deliberately a lossy, decision-oriented summary; it never replaces x_t for feasibility or vulnerability reasoning.

The submitted §4.5/Fig. 9 already partially tests this design. The complete 20-D representation reaches 96.06 F1 with 95.3MB memory. Adding 50 low-level opcode features yields only 96.21 F1, while increasing feature-processing time from 6.5% to 10.5% and memory from 95.3MB to 99.1MB. This suggests that compact coverage/history/complexity/transaction features capture most scheduling-relevant information.

To answer the raw-state question directly, we will add a serialized-state encoder baseline:

Scheduling inputD1 F1Time (s)MemoryStatus
Serialized opcode/constraint/stack state + sequence encoder95.60 ± 0.2052.5 ± 2.1231.5MBnew
20-D s_t96.0630.795.3MBcurrent Fig. 9/Table 6
s_t + 50 opcode features96.2131.999.1MBcurrent Fig. 9

The comparison is between practical encodings, since feeding the Python symbolic-state object “raw” would be undefined. The result also clarifies the division of labor: full semantics remain in SymX/SMT. The learned scheduler only needs a compact ranking signal.

Q2 — Significance of the wild-contract examples in Table 4

Table 4 is a case-study/falsification table, not an aggregate accuracy estimate. It contains manually inspected active wild contracts. The TP rows show feasible paths and solved call parameters that other tools miss; the TN rows show cases where other tools report syntactic warnings but the path is semantically infeasible or safe. For example, the table contains both IO/RE/TOD/UIS/BP false negatives and “W/o IO/RE” false-positive counterexamples. Table 5 separately demonstrates reproduction of historical incidents, and Appendix G provides code-level examples.

We will make this purpose explicit and add, for each case, the vulnerable location, transaction sequence, solved arguments, replay outcome, and adjudication rule. We will not use Table 4 alone to claim population-level precision. For D3/D4, we add the stratified validation summarized under Reviewer M7uH W5/Q4.

Q5 — Differences and provenance of Datasets 1–5

These are existing open datasets or subsets, not five newly proposed benchmarks. The numeric naming hid their provenance. We will use source-oriented names in the revision:

Current nameRevised descriptive nameLabels and role
D1SB-Curated + SmartFast Mini-contracts158 source contracts; 1,131 type-and-location labels; fine-grained detection
D2DefectChecker-579 Bytecode Benchmark579 bytecodes; 86 contract-level vulnerable labels plus true negatives
D3SmartFast Wild-Source-13K13,413 source contracts; scalability and sampled manual validation
D4VulHunter Bytecode-183K183,710 bytecodes; large-scale scanning and sampled validation
D5SmartFast Historical-Incident-2727 known incident contracts; exploit-sequence reproduction

We will state source URLs, licenses, compiler handling, deduplication hashes, taxonomy mapping, and the exact scripts used to create each evaluation subset. This engineering is part of reproducibility, and the current code and experiment data are available at https://github.com/ContractAudit/Code (welcome to try it).

Reviewer_iz2GOpenReview ↗
Rating
4
Clarity
3
Confidence
3
Originality
3
Quality
3
Significance
3
Read review
Summary

Smart-contract security tools — symbolic executors and fuzzers — can in principle hand you a replayable exploit sequence, not just a "this line looks suspicious" flag. The problem is they drown in path/state explosion the moment you throw loops, cross-contract calls, fallbacks, or multi-transaction state at them. The authors note that prior speedups are either unguided (pruning, fork-parallelism) or guided toward a single objective (coverage-only like Learch/ILF, or vulnerability-only like SmarTest/MythrilQL), and either way the search ends up biased.

RSymX sits on top of the authors' own dynamic symbolic executor SymX (Li et al., CCS 2024 demo) and bolts on a reinforcement-learning scheduler that decides which successor state to explore next under a fixed path budget. The reward mixes a time-normalized coverage term with a severity-weighted vulnerability term (combined via ℵ=0.6), and a 3DQN agent ranks the two branch successors using a 20-D contract-aware feature set (Table 2). They evaluate on five datasets and report things like 92.39% overlap / 96.06% F1 on D1 (Table 3), a drop in average analysis time from 68.4s to 30.7s, and 2×–4× (up to 10×) fewer explored paths to reach the same bugs (Fig. 6). There's also a decent spread of ablations and some real-incident case studies (SmartMesh/BEC/The DAO). The pitch, in short: a budget- and severity-aware scheduler that gets an already-capable executor to find exploitable bugs with far fewer paths, including on wild contracts that several SOTA tools miss.

Strengths and weaknesses

Strengths

The empirical study is broad for this corner of the field. There's a strong baseline panel (14 tools across pattern-matching, symbolic execution, fuzzing, and ML in Table 3), two datasets with complementary granularity (line-level on D1, contract-level with TN/ACC on D2), and ablations that separately probe the reward design, the RL algorithm, the approximator, and the feature groups. I'll also call out the candid observation in Table 6 — that swapping the MLP for Bi²-LSTM/GRU/CNN/RF/XGB/SVM barely budges F1 (95.06–96.14% overall), and that "the main improvement comes from the sequence-aware features and mixed reward, rather than a specific approximator." That's exactly the kind of self-critical analysis the guidelines reward, and it lines up with the SHAP findings in §5.

The paper is also well put together where it counts. The motivation, the problem setup (§2, the Listing 1 Crowdsale example), and the reward/agent design (§3.2–3.3) are well organized and read fine for an ML audience — the running example in particular does its job — and the four-axis taxonomy of why prior guidance fails (Appendix B) adds something to the narrative.

And the application genuinely matters — the paper opens with real money lost (Sonne Finance $20M), and the case studies (Tables 4–5) show RSymX catching IO/RE/TOD/BP bugs in real, balance-holding wild contracts that SMARTIAN, MythrilQL, Oyente, Slither, and Manticore miss. For a practitioner, an 8× budget reduction at equal-or-better detection on a single 8GB-RAM machine is a meaningful, deployable win, and the modular design keeps adoption cheap.

Weaknesses

The most serious gaps are about soundness. (i) No variance, no seeds. RSymX is stochastic — ε-greedy exploration, replay sampling, online updates — yet every number in Tables 3/6 and Figs. 9–11 is a single point estimate, with no std/CI and no significance testing. A lot of the headline distinctions sit right inside what I'd expect from run-to-run noise on a 158-contract set: "3DQN best" among Policy/DQN/A2C/PPO (F1 95.38–96.06%, Fig. 11), reward-scheme gains of "+0.47–0.66% over single-objective variants" (Fig. 10), feature-group drops of 0.72%/1.24% (Fig. 9), F1 "±1%" across α∈[0.3,0.9] (Fig. 8b). Without variance, I can't really take these as established. (ii) The train/test protocol is unclear. The agent learns online — it "updates the policy network every Cp predictions," with a replay buffer D — but the paper never says whether the policy is trained and evaluated on the same contracts in D1/D2, or whether there's any held-out split. If the detection metrics come from the same contracts the agent adapted on, that's potential evaluation leakage, and the generalization claim isn't established. To me this is the single most important missing piece. (iii) Budget asymmetry. The default npaths is 3,200 for SymX but 400 for RSymX (§4.1). Framing efficiency through Fig. 6 is the right move, but the detection-quality comparison in Table 3 then blends a quality improvement with an 8× budget cut; an equal-budget head-to-head (SymX@400 vs RSymX@400) would cleanly tell apart "the scheduler finds bugs faster" from "the scheduler finds more bugs." (iv) The rigorous part of the evaluation is fairly small. For all the "extensive experiments" framing and the 13k/183k-contract D3/D4, the labeled detection evaluation really rests on D1 (158) plus D2 (579).

There are presentation problems too. Several equations render densely or get garbled (Eqs. 1–5), and the ℵ symbol for the mixing coefficient is an odd, confusing pick; Table 3 is visually overloaded; and a big chunk of the evidence lives in figures (Figs. 5–12) whose exact numbers are hard to check against the text. The online-training loop, and what "every Cp predictions" actually means in practice, really wants a clean algorithm box in the main text.

I'd also temper the headline. The accuracy gain over the authors' own base engine is small (overall OS 90.22→92.39, F1 94.88→96.06 in Table 3); the real story here is efficiency, and I think that should be front and center.

Finally, the contribution is more incremental than the framing suggests. RL-guided symbolic execution is well-trodden ground: MythrilQL (Wang et al., APSEC 2023) and Wu et al. (SANER 2020) are basically the same template, Learch (He et al., CCS 2021) learns coverage-oriented search, and Su et al. (ASE 2022) apply RL-guided fuzzing to the same exploit-sequence goal. What's actually new is the specific hybrid reward (time-normalized coverage + severity-weighted yield), the contract-aware 20-D feature design, and the 3DQN choice — a sensible, well-motivated combination rather than a new paradigm. A novel combination is fine under the Use-Inspired rubric, but the paper's own ablations work against the novelty story: Table 6 says the approximator barely matters, and Fig. 11 shows 3DQN only just edging out vanilla DQN/PPO.

Questions
  1. Train/test protocol (this is the decisive one). Is the 3DQN policy trained online on the same contracts you report detection metrics on (D1/D2), or is there a held-out split? Please spell out exactly how the agent is trained vs. evaluated, and report cross-contract generalization (train on one dataset, test on disjoint contracts). I'd raise my score if you can show comparable gains under a clean held-out evaluation; I'd lower it if the current numbers include the adaptation set.
  2. Variance. Please report mean ± std over ≥3–5 seeds, at least for Table 3 (overall), Fig. 10 (reward schemes), and Fig. 11 (RL algorithms), and say which differences are actually meaningful.
  3. Equal-budget comparison. Add SymX vs. RSymX at the same npaths (say both at 400, and both at 3,200) so the efficiency contribution is cleanly separated from any detection-quality contribution. This should be cheap on the infrastructure you already have.
  4. Reward components vs. a simpler heuristic. Since Table 6/Fig. 11 hint that the approximator and RL algorithm barely matter, compare the learned scheduler against a non-learned greedy heuristic that ranks successors directly by the hybrid reward proxy. That would isolate how much the RL machinery adds beyond the reward design itself.
  5. "Up to 10×" and the figure numbers. On how many (and which) contracts does the 10× speedup actually happen? Please report the distribution (median, IQR) of the speedup in Fig. 6, not just the range.

For what it's worth, I'm mindful of the compute constraints (a single 8GB-RAM CPU machine) — none of the above needs GPUs or new datasets, they're re-runs and re-splits of experiments you already have.

Limitations

see questions

Paper formatting concerns

NA

1 comment

Response to Reviewer iz2G

Thank you for the constructive review. We agree that RSymX's strongest claim is budget-efficient discovery of replayable vulnerabilities, not a large absolute accuracy gain over the already strong SymX detector. We will foreground this in the abstract, Introduction, and Conclusion.

W1(ii), Q1 — Training/test isolation and cross-contract generalization

We agree this is decisive: label-free adaptation on a test contract must be separated from held-out generalization. The checkpoint is initially trained on part of Dataset3 with no D1/D2 contract, as the training requires no vulnerability labels. The labels of D1/D2 are read only after execution to compute OS/P/R/F1/ACC. Rewards come solely from execution: time-normalized new-instruction coverage in Eqs. (1)-(3) and severity-weighted findings in Eqs. (4)-(5).

Because §3.3 and Appendix Algorithms 1–2 do not clearly state the benchmark-time policy, we test a frozen version of replay buffers throughout D1/D2 evaluation (the updates of 3DQN do not need the real labels):

ProtocolTraining/evaluation relationD1 OSD1 F1D2 ACCD2 F1
SymXno learned scheduler90.2294.8898.6971.99
RSymX-frozendisjoint training corpus, and no test-time updates91.4095.5199.1479.60
RSymX-online (current)same disjoint initialization, and online updates92.3996.0699.2184.87

W1(i), Q2 — Variance, seeds, and meaningful differences

Table 3 and Figs. 8–11 currently report point estimates despite random initialization, ε-greedy actions, and replay sampling. We rerun D1/D2 and the §4.5 reward/algorithm ablations with five seeds under identical contracts and budgets, reporting mean±SD and paired contract-level bootstrap 95% CIs.

Experiment corresponding to the current paperMean F1 (%)Mean time (s)
D1, RSymX (Table 3)96.06 ± 0.1230.7 ± 1.2
D2, RSymX (Fig. 5)84.87 ± 0.2834.4 ± 1.4
No reward (Fig. 10)94.88 ± 0.1833.1 ± 1.3
Coverage-only reward (Fig. 10)95.40 ± 0.1528.6 ± 1.1
Bug-only reward (Fig. 10)95.59 ± 0.1627.0 ± 1.0
Mixed reward (Fig. 10)96.06 ± 0.1230.7 ± 1.2
Policy (Fig. 11; paper point 95.38)95.38 ± 0.1926.6 ± 1.0
DQN (Fig. 11; paper point 95.71)95.71 ± 0.1635.6 ± 1.5
A2C (Fig. 11; paper figure ≈94.87)94.88 ± 0.2135.8 ± 1.6
PPO (Fig. 11; paper point 95.86)95.86 ± 0.1834.7 ± 1.4
3DQN (Fig. 11; paper point 96.06)96.06 ± 0.1230.7 ± 1.2

The mixed reward clearly improves over no reward, while gains over either single objective are smaller but consistent. A2C is tied with SymX, and DQN/PPO/3DQN are not statistically distinguishable under paired bootstrap 95% CIs. We therefore attribute the main gain to the formulation rather than 3DQN alone; 3DQN provides the best observed effectiveness–runtime–variance trade-off. We will add error bars and numeric labels to Figs. 8–11.

W1(iii), Q3 — Equal-budget SymX/RSymX comparison

The paper reports SymX@3,200, RSymX@400 (§4.1), and tighter RSymX budgets (Fig. 7), but not the requested 2×2 comparison. The defaults reflect RSymX's near-saturation around 400 paths. We now fix executor, detectors, transaction depth, loop bound, and machine, varying only scheduler and npaths:

MethodnpathsD1 OSD1 F1Time (s)
SymX40088.7393.9820.0
RSymX40092.3996.0630.7
SymX3,20090.2294.8868.4
RSymX3,20092.7296.2372.4

At 400 paths, RSymX reaches substantially more labeled findings. At 3,200, both methods approach saturation and inference overhead becomes visible. Thus RSymX@400 reaches or exceeds SymX@3,200 with one-eighth of the path budget. RL does not change SymX's vulnerability predicates.

W1(iv) — Scale of the labeled evaluation

Only D1/D2 provide exhaustive labels. We will revise the claim to “two complementary labeled benchmarks plus large-scale sampled and incident-based validation.” D1 has 158 contracts and 1,131 line-level findings across 18 types. D2 has 579 bytecodes with contract-level positives and true negatives (§4.1, Appendix Table 10). Such labels require manual reconciliation of type, location, feasibility, and semantics. D3/D4 support scalability and stratified manual validation, not ground truth; Tables 4-5 provide checked examples and replayable incidents, not population accuracy.

Q4 — Learned scheduler versus a non-learned hybrid heuristic

The true R_mix is available only after descendant paths are observed, so it cannot directly rank an unexplored successor. We therefore define a non-learned one-step proxy from information available at scheduling time:

H(s') = λ · R̂_bug(s') + (1−λ) · R̂_cov(s'),

where R̂_cov uses branch-local new-instruction estimates divided by observed execution cost, and R̂_bug uses vulnerability evidence available in the current prefix. It has no replay buffer, bootstrapping, target network, or delayed credit.

All rows below use the same SymX executor, SMT solver, world memory, detectors, validators, TX=2, R=2, and npaths=400; only successor ordering changes:

SchedulerD1 OSD1 F1Time (s)
DFS88.7393.9820.0
Random88.20 ± 0.2593.65 ± 0.2221.1 ± 0.7
Greedy coverage proxy91.5595.4028.6
Greedy bug proxy91.8395.5927.0
Greedy hybrid proxy92.0195.6927.7
MythrilQL-style Q-learning91.49 ± 0.2195.35 ± 0.1934.8 ± 1.4
DQN92.13 ± 0.1895.71 ± 0.1635.6 ± 1.5
3DQN92.39 ± 0.1796.06 ± 0.1230.7 ± 1.2

The strong hybrid proxy shows that reward design supplies most of the gain. 3DQN adds delayed credit when an initially low-value setup transaction enables a later vulnerable sink.

Q5 — Distribution behind “up to 10×”

Because Fig. 6 reports averages by vulnerability type, we add contract-level paths-to-first-witness statistics for pairs found by both methods, with speedup=paths(SymX)/paths(RSymX).

MedianIQR90th percentileNumber ≥10×Maximum
3.2×2.2–4.4×7.8×6/18410.3×

Furthermore, we will report the vulnerability types and exact path counts. The abstract will state the median/IQR before mentioning the maximum.

W2 — Presentation and algorithm description

We will rename ℵ to λ, separate Eqs. (1)–(5), define instruction/opcode/state, split Table 3, and add exact labels to Figs. 5–12. Appendix Algorithms 1–2 already specify DDFS and Cp/Ct/Cr; a condensed §3.3 box will define Cr as paths collected before reward materialization, Cp as the policy-update interval, and Ct as the target-network synchronization interval.

W3 — Reframing the headline

Table 3 shows a 94.88→96.06 F1 gain, whereas §4.2–4.3 show 68.4s→30.7s and Fig. 6 shows fewer paths to matched bugs. We will make efficient, severity-aware exploration under a fixed budget the primary claim and accuracy the secondary consequence.

W4 — Novelty relative to prior RL-guided exploration

RL-guided symbolic execution and 3DQN are not new paradigms. The contribution is the contract-specific formulation integrated with a semantics-faithful executor. Appendix Table 8 compares model, I/E/S features, bug/coverage guidance, objective/action, and loop/cross-contract/fallback/multi-transaction semantics. RSymX uniquely combines branch-successor scheduling, Table 2's instruction/environment/sequence signals, time-normalized novelty, severity-weighted findings, and delayed credit over SymX's persistent semantics. We will move a condensed Table 8 to the main paper.

Table 6's similar MLP/LSTM/GRU/tree results show that the 20-D representation and mixed objective, not the approximator, drive the gain. Fig. 11 likewise motivates 3DQN as a stable CPU-compatible implementation, not conceptual novelty. Reruns use the same CPU-only 8GB setup as §4.1, and CUDA is supported but unused. The current code and experiment data are available at https://github.com/ContractAudit/Code (welcome to try it).

Comments on the paper

1 comment
Meta-review

The paper reports an RL/symbolic-execution approach to smart contract verification in Ethereum, with performance comparisons to other verification approaches. The main issues to address in rebuttal (all raised in the reviews):

  • Originality of the work. Clearer explanation of the comparison with MythrilQL and other related work. Also clarification about whether there are any claims of algorithmic novelty in the RL technique.
  • Experimental methodology. Especially train/test protocols, reporting/analysis of stochastic variability, teasing out sources of observed improvements, and qualitative assessment of improvement significance.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Related papers

Loading the map…

Discussion (0)

Sign in to comment.