potentialpaper

Learning with Enumeration: Neural-Guided SAT Framework for Cryptographic Key Recovery

Xinhao Zheng, Xinhao Song, Jinchen Yu, Zhuoyuan Xu, Gongshen Liu, Junchi Yan

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. We propose a unified neural-guided enumerative framework for cryptographic key recovery, with a three-regime taxonomy of neural guidance, validated across 10 SAT solvers and 2 cube-and-conquer strategies.

Abstract. Boolean satisfiability (SAT) provides a foundation tool for cryptographic key recovery by encoding ciphers into CNF or ANF representations. However, heuristic solvers and their neural-enhanced variants often degrade significantly on cryptographic instances due to pronounced structural symmetry, a large number of intermediate variables, and complex algebraic dependencies. Existing neural approaches—ranging from end-to-end prediction to solver-integrated heuristics—face challenges in scalability, assignment accuracy, or computational efficiency. In this paper, we propose a unified neural-guided enumerative SAT framework for cryptographic key recovery. It performs a single forward neural guidance to identify a subset of kk critical variables, followed by enumeration over their assignments before invoking a heuristic SAT solver. This design effectively reduces the combinatorial search space while keeping neural overhead minimal. We further introduce a taxonomy of neural guidance across data and model capability regimes, including supervised selection with cryptographic priors, uncertainty-driven selection with assignment prediction, and robust fallback strategies using the model trained on general SAT datasets. Experiments on 10 SAT solvers and 2 cube-and-conquer strategies over SAT4CryptoBench and SAT Competition benchmarks demonstrate up to 5×5\times speedup and approximately 2× average improvement on cryptographic instances, while maintaining better performance on general SAT datasets. These results highlight the effectiveness and generalization of this framework, illustrating its potential to bridge machine learning and SAT solving in cryptanalysis tasks.

Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.

Claim this paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:47 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This paper proposes a practical neural-guided SAT framework that selects a small set of variables, enumerates their assignments, and solves the resulting subproblems with standard SAT solvers. The method requires only one neural forward pass and is compatible with many solver backends. The evaluation covers ten SAT solvers, two cube-and-conquer strategies, confidence intervals, and sensitivity to the enumeration size, with substantial average speedups. The main issue is that enumeration partitions rather than reduces the worst-case search space; the gains should instead be attributed to simplification, propagation, and subproblem ordering. The cryptographic evaluation is also limited to a small number of cipher configurations, and the train/test protocol should rule out near-duplicate instances. Comparisons with stronger compute-matched cube-and-conquer and GNN-based SAT methods would further strengthen the results. The core idea is related to existing splitting methods, although neural variable selection makes it practically useful. I lean slightly toward poster acceptance because the framework is simple, broadly compatible, and empirically effective. This assessment could change if the rebuttal does not clarify the data split, comparison budgets, and scope of the search-space claim.

Final justification

The rebuttal addresses the main concerns by clarifying that the claim concerns effective, solver-explored search space rather than formal worst-case complexity reduction, confirming independent train/test generation, and providing equal-budget sequential and parallel comparisons with cube-and-conquer baselines. The additional results support that the gains come from neural-guided variable selection rather than enumeration alone. Although the method is related to existing splitting strategies and the empirical scope remains specialized, the framework is practical, broadly compatible, and supported by results across multiple solver backends. I therefore maintain my recommendation for acceptance as a poster.

Area Chair Raff · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This paper proposes a practical neural-guided SAT framework that selects a small set of variables, enumerates their assignments, and solves the resulting subproblems with standard SAT solvers. The method requires only one neural forward pass and is compatible with many solver backends. The evaluation covers ten SAT solvers, two cube-and-conquer strategies, confidence intervals, and sensitivity to the enumeration size, with substantial average speedups. The main issue is that enumeration partitions rather than reduces the worst-case search space; the gains should instead be attributed to simplification, propagation, and subproblem ordering. The cryptographic evaluation is also limited to a small number of cipher configurations, and the train/test protocol should rule out near-duplicate instances. Comparisons with stronger compute-matched cube-and-conquer and GNN-based SAT methods would further strengthen the results. The core idea is related to existing splitting methods, although neural variable selection makes it practically useful. I lean slightly toward poster acceptance because the framework is simple, broadly compatible, and empirically effective. This assessment could change if the rebuttal does not clarify the data split, comparison budgets, and scope of the search-space claim.

Final justification

The rebuttal addresses the main concerns by clarifying that the claim concerns effective, solver-explored search space rather than formal worst-case complexity reduction, confirming independent train/test generation, and providing equal-budget sequential and parallel comparisons with cube-and-conquer baselines. The additional results support that the gains come from neural-guided variable selection rather than enumeration alone. Although the method is related to existing splitting strategies and the empirical scope remains specialized, the framework is practical, broadly compatible, and supported by results across multiple solver backends. I therefore maintain my recommendation for acceptance as a poster.

1 comment
Authors · CommentOpenReview ↗

General Response

We sincerely thank the Area Chair and reviewers for their time, feedback, and constructive suggestions. Overall, our work was deemed “clear and well-structured” (GxT6), “detailed”, "effective" (fGSt), "practical" (4o6g) with a “reasonably comprehensive”(GxT6, fGSt) and “diverse”(4o6g) experiments.

The key concerns involve the data split, comparison budgets, and scope of the search-space claim. Here, we restate and address these points.

  1. Scope of the search-space claim. (A.W1. in Response to Reviewer GxT6)

We agree that enumeration itself does not reduce the formal worst-case search space of the original SAT problem, since the union of all 2k2^k derived subproblems is equivalent to the original instance. As stated in Section 4.1 (Lines 142–146), our claim is not a reduction of the overall worst-case search space, but a reduction of the effective search space explored by the underlying SAT solver. By fixing neural-guided important variables before solving, our framework provides the solver with more informative subproblems—each with a reduced search space—thereby effectively breaking structural symmetries in cryptographic SAT instances and strengthening constraint propagation. As a result, the average solving cost of each derived instance is significantly reduced, which outweighs the overhead introduced by solving multiple subproblems. This mechanism is further validated by our ablation study: random variable selection does not achieve comparable acceleration, demonstrating that the improvement comes from the quality of neural-guided selection rather than enumeration alone.

  1. Data Split (A.Q1. in Response to Reviewer GxT6)

We clarify that all training and test instances are generated independently and there is no overlap between the training and test sets. For Simon/Cipher, plaintexts and keys are independently sampled for training and test sets, ensuring that no plaintext–key pair is shared. For SHA-1/SHA-256, the input messages are independently generated without overlap. Since cryptographic algorithms are deterministic, identical CNF instances cannot be generated across the two splits.

We acknowledge that instances derived from the same cryptographic primitive naturally exhibit structural similarity, as most clauses originate from identical round functions. However, this near-duplicate structural consistency reflects realistic cryptanalysis scenarios (e.g., known-plaintext attacks (KPA) and chosen-plaintext attacks (CPA)) and is the core challenge of predicting cryptographic SAT instances: even small changes in plaintext, ciphertext, or key can lead to substantially different assignments or satisfiability outcomes.

  1. Comparison budgets with cube-and-conquer methods (A.Q2. in Response to Reviewer GxT6)

We have conducted additional experiments under equal cube budgets and identical sequential/parallel settings. In the original evaluation, both approaches were compared in sequential mode using the default cubing configurations of cube-and-conquer solvers. To further ensure fairness, we constrained the number of generated cubes to match the number of derived instances produced by our framework and additionally included Proofix, a stronger proof-guided cube-and-conquer baseline. Under both sequential and 16-core parallel settings, our framework consistently achieves better solving efficiency than existing cube-and-conquer approaches. These results indicate that the performance gain does not simply come from decomposing the problem into multiple subproblems, but from the neural-guided selection of more informative variables for decomposition.


Besides, we clarify the neural-guided selection regimes and their performance characteristics under different prior settings (Response to Reviewer fGSt). We also clarify the key differences between our framework and cube-and-conquer methods, including decomposition paradigms, prior-neural guidance integration, and solver-independent design, with additional insights and evidence supporting our framework (Response to Reviewer 4o6g).


In the further discussion with Reviewer 4o6g, we provided a formal analysis of the uncertainty-driven strategy under Regime (ii). Our analysis shows that the uncertainty-driven strategy can be viewed as an approximation to identifying the backdoor set in the backdoor theory.

We again sincerely thank the Area Chair and all reviewers for their reviews, constructive discussions, and recognition of the contributions of our work.

Reviewer 4o6gOpenReview ↗
Rating
4/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
3/4
Originality
3/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a neural-guided enumerative SAT framework for cryptographic key recovery. The key idea is to use a neural model once at the beginning to select a small set of critical variables, enumerate all assignments of these variables, and then solve the derived SAT instances using standard heuristic SAT solvers. The paper considers three neural-guidance regimes depending on the availability of cryptographic priors and the capability of assignment prediction. Experiments on cryptographic SAT benchmarks and general SAT datasets show that the proposed framework can reduce solving time for multiple SAT solvers and cube-and-conquer variants.

Strengths and weaknesses

S1.The proposed framework is simple and practical.Instead of replacing SAT solvers with neural models, the method uses neural guidance only as a preprocessing step and remains compatible with existing heuristic SAT solvers.

S2.The neural overhead is relatively small.Since the neural model is invoked only once before enumeration, the method avoids the high computational cost of integrating neural predictions into every step of the SAT solving process.

S3.The experimental evaluation covers multiple solvers. The paper evaluates the framework with a diverse set of SAT solvers and cube-and-conquer strategies, which helps demonstrate the general applicability of the preprocessing framework.

W1.The overall idea is closely related to existing splitting or cube-and-conquer strategies, where selected variables are fixed to decompose the original SAT instance into subproblems. The main new component is neural-guided variable selection, but the framework itself is not a fundamentally new SAT-solving paradigm.

W2.Several design choices are heuristic and lack strong theoretical support.For example, the uncertainty-driven selection strategy chooses variables with near-random prediction accuracy and high occurrence frequency, which is intuitive but not theoretically justified. The paper does not provide a principled analysis of why these variables should be optimal or near-optimal for enumeration.

Questions

See W1-W2.

Limitations

Yes.

Final justification

The rebuttal resolved part of my concern regarding originality. The authors clearly distinguished their uniform, solver-independent enumeration framework from traditional cube-and-conquer methods, and clarified how the three guidance regimes adapt to different levels of cryptographic prior knowledge and prediction capability. I also find the broad empirical evaluation across multiple SAT solvers, cryptographic benchmarks, and general SAT datasets convincing evidence of practical effectiveness.

My main remaining concern is the limited theoretical justification for the variable-selection strategies, especially Regime (ii). The connection between prediction uncertainty, variable occurrence frequency, cryptographic structure, and reduced SAT-solving complexity is currently supported mainly by intuition and prior observations, rather than a formal analysis or approximation guarantee. Nevertheless, I view this as an important limitation rather than a fatal flaw, given the consistent empirical gains and low-overhead, solver-agnostic design. Overall, the rebuttal improved my assessment, and I therefore update my rating from 3 to 4.

Formatting concerns

N/A

4 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your efforts and comments.


W1 The overall idea is closely related to existing splitting or cube-and-conquer strategies, where selected variables are fixed to decompose the original SAT instance into subproblems. The main new component is neural-guided variable selection, but the framework itself is not a fundamentally new SAT-solving paradigm.


A.W1. Thank you for this comment. We agree that our enumeration-based preprocessing shares a structural similarity with cube-and-conquer: both fix selected variables to decompose the original SAT instance into subproblems. However, we would like to clarify that our contribution goes beyond simply replacing the variable selection module in cube-and-conquer. The key differences lie in the following aspects.

(1) Different decomposition paradigms.

Cube-and-conquer methods (e.g., March and AMS) generate cubes through internal search procedures, such as look-ahead probing or MCTS-guided tree search. The resulting cubes are dynamically and non-uniformly generated, with different variables fixed at different branches and depths. In contrast, our framework performs a single neural inference to select k variables and then exhaustively enumerates their 2k2^k assignments. This produces a uniform decomposition where all subproblems share the same fixed variables and differ only in their assignments.

This distinction is particularly important for cryptographic SAT instances, where structural symmetry dominates the search difficulty. By fixing variables selected according to cryptographic and structural information, all derived subproblems benefit from the same symmetry-breaking effect determined by the cipher structure, rather than by search-based heuristics. As shown in Table 2, with the same cube budget and sequential/parallel settings, our framework consistently outperforms existing cube-and-conquer methods, demonstrating that decomposition quality is more important than the number of generated subproblems.

(2) A unified framework connecting available priors and neural guidance.

The main contribution is not merely a neural variable selector, but a unified framework that systematically determines how neural information should be utilized under different levels of available prior knowledge. Specifically, when cryptographic priors are available, we formulate variable selection as supervised learning from plaintext–ciphertext information; when only structural alignment is available, we exploit model uncertainty to identify informative variables; and when neither prior is available, the framework naturally degrades to a general SAT setting using assignment prediction and frequency-based selection. This principled decomposition of neural-guided selection strategies is fundamentally different from traditional cube-and-conquer, whose decomposition is driven solely by internal search.

(3) Solver-independent and low-overhead design.

Our framework introduces only one lightweight neural forward pass per instance, followed by enumeration with unit-clause assignments, making it independent of the underlying SAT solver. In contrast, cube-and-conquer requires running dedicated cube-generation procedures that are often tightly coupled with solver heuristics, like Proodix and AMS. This design enables our framework to be applied consistently across different SAT solvers.

Overall, our contribution is not an entirely new SAT-solving paradigm, but a neural-guided preprocessing framework that complements existing solvers by producing more informative decompositions and enabling efficient solving.


W2 Several design choices are heuristic and lack strong theoretical support. For example, the uncertainty-driven selection strategy chooses variables with near-random prediction accuracy and high occurrence frequency, which is intuitive but not theoretically justified. The paper does not provide a principled analysis of why these variables should be optimal or near-optimal for enumeration.


A.W2. Thanks for your comments. We would like to provide further insights and supports for our proposed method.

1. Regime (i) leverages cryptographic theoretical analysis to constrain candidate variable selections. As mentioned in [1], for cryptographic SAT instances, prioritizing variables whose assignments can reduce high-order terms in the round function can significantly decrease solving time. Due to the inherent symmetry of the round function, these variables form a cyclic sequence with a length equal to the key length, making the selection of a consecutive segment from this cycle a practical and near-optimal strategy. Consequently, the candidate space can be reduced to a finite set of possible selections, and our neural-guided variable selection essentially formulates this process as a classification problem over these candidate strategies.

2. Regime (ii) is motivated by observations from existing neural SAT models on satisfiability and assignment prediction. As demonstrated by the interpretability analysis of NeuroSAT [3] and NeuroGIFT [2], the learning process of neural SAT solvers typically progresses from variables whose assignments can be easily inferred by shallow reasoning to variables requiring more complex inference. An interesting phenomenon observed in Fig. 7 of [2] is that, as training proceeds, the activation patterns associated with many variables continuously evolve, while the activations of variables related to cryptographic nonlinear operations remain relatively unchanged. This indicates that variables involving nonlinear cryptographic structures are inherently more difficult for neural models to predict, resulting in near-random prediction accuracy.

Therefore, Regime (ii) selects variables with low assignment-prediction accuracy, which is partially correlated with the nonlinear structures in cryptographic SAT instances and is consistent with the analysis in [1]. By further incorporating traditional heuristic information (variable occurrence frequency), Regime (ii) combines neural uncertainty with structural importance to achieve more effective variable selection. From this perspective, this strategy may not be intuitive, but it is supported by both neural model behavior and cryptographic structure analysis.

3. Regime (iii) serves as a general fallback strategy for arbitrary SAT datasets without cryptographic priors. It can be viewed as an extension of previous neural-guided SAT solving approaches, such as NeuroBack, within our enumeration framework. In other words, without domain-specific prior knowledge, it is generally difficult to directly identify the optimal variable subset. However, inspired by heuristic SAT solving, we exploit the representation capability of neural networks and combine learned guidance with heuristic criteria to identify effective suboptimal variable selections. This follows the long-standing principle of heuristic solver design, where practical performance is continuously improved by discovering and exploiting informative search patterns rather than relying on exact optimal decisions.


Besides, we acknowledge that further theoretical analysis may provide a deeper understanding of these strategies. For instance, the phenomenon exploited in Regime (ii) may be related to the representation capability and optimization dynamics of neural networks, which is an interesting direction for future investigation. We hope our response has clarified our support and addressed your concerns, and we appreciate the opportunity for further discussion.

[1] Monika et al. "Parity (XOR) Reasoning for the Index Calculus Attack."

[2] Sun, Ling, et al. "Neurogift: Using a machine learning based sat solver for cryptanalysis."

[3] Selsam, Daniel, et al. "Learning a SAT solver from single-bit supervision."

Authors · CommentOpenReview ↗

Dear Reviewer 4o6g,

This is a gentle reminder that we are approaching the end of the discussion period. If there are any outstanding concerns that you would like us to address, please let us know, and we will respond as soon as possible. If our responses and additional experiments have addressed your concerns, we would appreciate your consideration in updating your evaluation of the paper.

Thank you very much for your time, valuable feedback, and consideration.

Sincerely,

Authors of Paper 24392

Reviewer 4o6g · CommentOpenReview ↗

Thank you for the detailed response. The clarification regarding the distinction from traditional cube-and-conquer methods, as well as the motivations behind the three variable-selection regimes, has addressed part of my concerns.

I am still interested in whether the proposed selection strategies, especially the uncertainty-driven strategy in Regime (ii), admit a more concrete theoretical analysis beyond the provided intuition. For example, is there a formal connection between prediction uncertainty, variable occurrence frequency, and the expected reduction in SAT-solving complexity? It would also be valuable to understand whether the selected variable subsets can be shown to be optimal or approximately optimal under certain structural assumptions.

Nevertheless, given the authors’ clarification of the contribution and the extensive empirical evaluation across multiple solvers and datasets, I update my rating from 3 to 4.

Authors · CommentOpenReview ↗

Thank your for the insightful questions and constructive feedback.

Regarding whether the uncertainty-driven strategy under Regime (ii) admits formal analysis, we try to further address this as follows:

(1) Theoretical foundation

The backdoor theory proposed by Williams et al.[1] provides a natural formal framework: there exists a small subset of variables BB such that, once assigned, the remaining variables can be solved by a polynomial-time sub-solver, where non-backdoor variables are precisely those that the sub-solver can derive without enumeration-based search. Thus, the relevant partition is between derivable and non-derivable variables, with a subset of the latter constituting the backdoor set BB that must be explicitly assigned.

(2) Structural correspondence between the uncertain variable set VuV_u and backdoor candidates

Under the structural alignment assumption of Regime (ii), pip_i remains consistent between training and test instances. Prior studies [2, 3, 4] have demonstrated that GNN-based assignment predictors can effectively learn variables that are determinable via propagation, yet fail on variables that require explicit search. Mojžíšek et al. [5] further proved that GNN-based predictors implicitly perform an optimization analogous to a continuous relaxation, in which variables reachable through short propagation chains receive high-confidence predictions, whereas variables embedded in deep dependency chains degenerate to near-random guessing.

Therefore, under Regime (ii)'s structural alignment assumption where pip_i is consistent between training and test instances, the uncertain set Vu={xi:∣pi−0.5∣<τ}V_u = \{x_i : |p_i - 0.5| < \tau\} identifies variables whose propagation depth exceeds the reach — thereby encompassing the backdoor candidates that cannot be derived and must be enumerated.

(3) Variable occurrence frequency (clause participation) quantifies proof complexity reduction

Ben-Sasson et al. [6] proved that resolution proof size is bounded by exp⁡(Ω(w(F)−1))\exp(\Omega(w(F) - 1)), where w(F)w(F) denotes the maximum clause width. Atserias et al. [7] and Pipatsrisawat and Darwiche [8] proved that CDCL polynomially simulates general resolution, thereby linking solving time to proof size. Fixing a variable appearing in fif_i clauses reduces the width of all fif_i affected clauses, thereby contracting the proof size exponent. Liang et al. [9] empirically confirmed that high-participation variables disproportionately reduce search tree size when prioritized. Thus, ranking VuV_u by fif_i selects variables yielding the greatest proof complexity reduction per enumerated variable.

(4)) The top-k variables in VuV_u ranked by fif_i approximates the backdoor Set BB

The low-accuracy criterion ensures recall: by the arguments in (1–2), every backdoor variable xi∈Bx_i \in B is non-derivable, hence pi≈0.5p_i \approx 0.5 under Regime(ii) assumptions, and consequently B⊆VuB \subseteq V_u. The high-participation criterion ensures precision: by the backdoor definition[1], every xi∈Bx_i \in B must trigger sufficient propagation upon assignment, necessitating high fif_i. Therefore, the top-k variables in VuV_u ranked by fif_i approximates BB.

[1] R. Williams, et al. "Backdoors to Typical Case Complexity."

[2] Sun, Ling, et al. "Neurogift: Using a machine learning based sat solver for cryptanalysis."

[3] Selsam, Daniel, et al. "Learning a SAT solver from single-bit supervision."

[4] W. Wang, et al. "NeuroBack: Improving CDCL SAT Solving Using Graph Neural Networks."

[5] Mojžíšek, D., et al. "Neural Approaches to SAT Solving: Design Choices and Interpretability."

[6] E. Ben-Sasson, et al. "Short Proofs Are Narrow—Resolution Made Simple."

[7] A. Atserias, et al. "Clause-Learning Algorithms with Many Restarts and Bounded Width."

[8] K. Pipatsrisawat, et al. "On the Power of Clause-Learning SAT Solvers as Resolution Engines."

[9] J. H. Liang, et al. "Understanding VSIDS Branching Heuristics in Conflict-Driven Clause-Learning SAT Solvers."


We hope the above discussion address your concerns and thank you for your valuable feedback in leading us into a deeper thought.

We would sincerely appreciate your consideration in updating your evaluation of the paper and will incorporate the points discussed during the rebuttal period into the revised version of the paper.

Reviewer fGStOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
4/4
Clarity
3/4
Significance
3/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper proposes a unified neural-guided enumerative SAT framework for cryptographic key recovery. The proposed framework operates by identifying a critical subset of variables first, enumerating over their assignments to partition the problem, and then invoking a heuristic SAT solver. To achieve efficient partitioning and enhance the efficiency of the final solving phase, the approach trains the model via supervised learning to select the variables used for partitioning, or alternatively, chooses variables where past AI models exhibit uncertainty. Furthermore, the authors introduce a principled taxonomy categorized by data priors and model capacity. Experiments across various SAT solvers and divide-and-conquer strategies demonstrate substantial speedups and an average performance improvement on cryptographic instances, while simultaneously establishing strong generalization capabilities on general SAT datasets.

Strengths and weaknesses

Strengths

  • Variable Selection for Effective Partitioning: The core idea of selecting a effective subset of nodes (variables) to drive problem decomposition.
  • Comprehensive Validation Across Diverse Datasets: Extensive evaluation conducted over a wide range of cryptographic and standard SAT benchmarks.
  • In-Depth Analysis of Partition Size: Detailed investigation and evaluation regarding the trade-offs of the enumeration size (kk).

Weaknesses

  • Lack of Comparison with Existing GNN-Based Methods: The evaluation lacks a direct comparative analysis against current Graph Neural Network (GNN)-based SAT approaches.
Questions

Regarding the neural-guided variable selection, is there a significant variance in behavior or performance across the different proposed regimes (methods)? Furthermore, how does this variance ultimately impact the final solving efficiency and accuracy?

Limitations

yes

Final justification

The author's responses to the weaknesses were satisfactory, and I will maintain my positive evaluation.

Formatting concerns

Nothing

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your efforts and reviews.


W1: Lack of Comparison with Existing GNN-Based Methods: The evaluation lacks a direct comparative analysis against current Graph Neural Network (GNN)-based SAT approaches.


A.W1. Thank you for your valuable comment.

Existing Graph Neural Network (GNN)-based SAT approaches can generally be divided into two categories: (i) GNN-based prediction methods, which directly predict variable assignments using a GNN classifier, and (ii) GNN-guided SAT solvers, which employ a GNN as a component to guide or accelerate a conventional SAT solver.

For the first category, existing GNN-based prediction methods are unable to produce effective assignment predictions for cryptographic SAT instances. Even the strongest existing models achieve per-variable prediction accuracies of only around 50% on benchmarks such as Simon-12-32-64 and Cipher-12. Consequently, the probability of correctly predicting the complete assignment is essentially zero, making this comparison meaningless.

For the second category, we have already reported the performance of NeuroBack-Kissat, a representative GNN-guided SAT solver in SAT4CryptoBench, under different settings in Table 1 of the main paper.

To further strengthen the comparison, we additionally evaluated another GNN-guided SAT solver in SAT4CryptoBench.(We did not include SATformer[2] or Graph-Q-SAT[3] in this comparison because its solving time is prohibitively long (> 3000 s per instance) under our experimental settings, making it impractical to complete a evaluation within the rebuttal period.)

Solvers Method Simon-12-32-64 Cipher-12
Kissat Base 778.69 ±\pm 52.71 1017.83 ±\pm 73.11
Kissat NeuroBack 766.58 ±\pm 165.17 759.26 ±\pm 169.54
Kissat NGESAT-I 153.29 ±\pm 17.46 171.51 ±\pm 21.33
Kissat NGESAT-II 159.73 ±\pm 16.88 165.38 ±\pm 19.07
Cadical Base 1351.17 ±\pm 241.97 1791.23 ±\pm 293.97
Cadical Neuro-cadical[1] 1260.61 ±\pm 277.38 1633.05 ±\pm 285.40
Cadical NGESAT-I 519.27 ±\pm 51.39 484.83 ±\pm 48.16
Cadical NGESAT-II 493.21 ±\pm 47.04 415.48 ±\pm 50.20

The results demonstrate that our method outperforms solver-centric GNN-based SAT approaches, confirming its effectiveness.

[1] J. M. Han, “Enhancing sat solvers with glue variable predictions”.

[2] Shi Z, Li M, Liu Y, et al. "Satformer: Transformer-based unsat core learning".

[3] V. Kurin, S. Godil, S. Whiteson, and B. Catanzaro, “Can q-learning with graph networks learn a generalizable branching heuristic for a sat solver?”.


Q1 Regarding the neural-guided variable selection, is there a significant variance in behavior or performance across the different proposed regimes (methods)? Furthermore, how does this variance ultimately impact the final solving efficiency and accuracy?


A.Q1 Thank you for this insightful question. We address it from three aspects:

1. Variances across different regimes: There is a difference across the three proposed neural-guided variable selection regimes s they are intentionally designed for different settings of available data prior and model capability of assignment prediction.

Specifically, Regime (i) assumes cryptographic priors and learns the variable selection through supervised selection. Regime (ii) requires only limited assignment prediction capability and combines uncertainty-guided selection with structural importance. Regime (iii) assumes neither cryptographic priors nor structural alignment, relying solely on general assignment predictions and clause-frequency-based selection as a fallback. Therefore, the three regimes target different application scenarios rather than representing competing algorithmic variants. From this perspective, the underlying behavior of the neural-guided variable selection remains consistent across the three regimes

2. For accuracy, It is worth emphasizing that All three regimes preserve the completeness of SAT solving. Neural guidance only determines which variables are enumerated, while the underlying SAT solver remains complete. Consequently, the solving accuracy remains 100% across all three regimes.

3. For efficiency/performance: Each regime is tailored to a specific practical setting and performs well when its corresponding conditions are met.

Regimes (i) and (ii) leverage prior information and achieve very similar performance when such conditions are satisfied. As shown in Table 1, NGESAT-I and NGESAT-II consistently obtain nearly identical solving times across multiple SAT solvers and cryptographic benchmarks. For example, on Simon-12-32-64 with Kissat, the average runtime is reduced from 778.69 s to 153.29 s and 159.73 s under Regimes (i) and (ii), respectively. Similar trends are observed for CaDiCaL, Glucose, MapleSAT, and other solvers, where the performance gap between the two regimes is minor compared with the substantial speedups achieved over the original solver.

In contrast, Regime (iii) depends primarily on the capability of the underlying neural model: a sufficiently powerful model can yield competitive results, whereas a weak model approximates the bad performance. As for cryptographic SAT instances, existing neural SAT models are currently unable to provide effective assignment predictions for these difficult problems. Consequently, Regime (iii) performs noticeably worse than Regimes (i) and (ii) on cryptographic SAT instances, making it difficult to accelerate.

Nevertheless, the key advantage of Regime (iii) is its generality. Unlike Regimes (i) and (ii), it does not rely on any data priors and can therefore be applied to a much broader range of SAT problems beyond cryptographic applications, where Regimes (i) and (ii) are not applicable.

Finally, it is worth noting that practical cryptographic attacks, such as known-plaintext attacks (KPA) and chosen-plaintext attacks (CPA), naturally provide plaintext–ciphertext pairs that serve as supervision or structural priors. These conditions make Regimes (i) and (ii) particularly suitable for cryptographic SAT solving, which is why our main evaluation in Table 1 focuses on these two regimes.

Reviewer fGSt · CommentOpenReview ↗

Thank you for answering my questions. Your responses to the weaknesses were satisfactory, and I will maintain my positive evaluation.

Authors · CommentOpenReview ↗

Thank you very much for your time and valuable feedback. We sincerely appreciate your recognition of our work and will incorporate the points discussed during the rebuttal period into the revised version of the paper.

Reviewer GxT6OpenReview ↗
Rating
3/6
Confidence
2/5
Quality
3/4
Clarity
2/4
Significance
3/4
Originality
2/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

This paper addresses central challenge of improving SAT-based cryptographic key recovery when standard and neural-assisted solvers struggle with symmetry, intermediate variables, and algebraic structure. The proposed method uses one neural-guided step to select k variables, enumerates all 2^k assignments by adding unit clauses, and then runs a conventional SAT solver over the derived instances in an order determined by the neural initial assignment.

Strengths and weaknesses

Strengths:

  1. Experimental rigor and validation: The experiments are reasonably comprehensive, covering multiple SAT solvers and comparisons with random selection, neural-assisted solvers, BMM variants, and cube-and-conquer strategies. The authors also report confidence intervals and analyze the sensitivity to the enumeration size (k).
  2. Clarity of presentation: The presentation is clear and well-structured, with Figures 1 and 2 effectively summarizing the framework and guidance regimes. Weaknesses:
  3. The paper claims that enumeration “reduces” the combinatorial search space, but it actually partitions the original space into (2^k) subproblems. While each derived instance may be easier to solve, their union remains equivalent to the original formula. Thus, the gains should be attributed to solver behavior, simplification, propagation, and assignment ordering rather than a true worst-case search-space reduction.
  4. The cryptographic evaluation is too narrow. The main experiments use Simon-12-32-64 and Cipher-12, with 2,000 generated training samples and 800 test samples per dataset. This does not sufficiently demonstrate generalization across different ciphers, block sizes, numbers of rounds, key sizes, CNF encodings, ANF/CNF variants, or UNSAT/multiple-solution cases.
Questions
  1. What exact train/test split protocol is used for SAT4CryptoBench-generated instances? How do you ensure no duplicated plaintext-ciphertext/key structure or near-duplicate formulas between training and test?
  2. How do the conclusions change when comparing against stronger and more thoroughly tuned cube-and-conquer baselines with equal cube budgets and equal sequential/parallel settings?
Limitations

No. The authors include a limitations section, but it is too generic. They mention dependence on the underlying solver and the separation between neural selection and symbolic enumeration, but they do not adequately address the main practical limitations: dependence on fixed cipher structure, expensive label generation, narrow benchmark coverage, lack of UNSAT evaluation, sensitivity to k, etc.

Formatting concerns

None

3 comments
Authors · RebuttalOpenReview ↗
Rebuttal

Thank you for your efforts and reviews.


W1 The paper claims that enumeration “reduces” the combinatorial search space, ... rather than a true worst-case search-space reduction.


A.W1. Thanks. We fully agree that the union of all 2k2^k derived subproblems is formally equivalent to the original SAT instance—the problem itself is neither relaxed nor simplified. But importantly, we would like to clarify that our claim is not a reduction of the overall worst-case search space, but a reduction of the effective search space explored by the SAT solver. As stated in Line 43, our framework guides the solver toward "a reduced and more informative subspace" by fixing kk selected variables before solving, thereby presenting the solver with a substantially smaller combinatorial search space.

Furthermore, we agree that the underlying heuristic SAT solver is an essential component of our framework. However, the same solver consistently achieves substantial speedups under our framework compared with its standalone baseline, indicating that the improvement comes from our framework. Thus, we would like to briefly clarify the accelerate machnism of our framework.

As stated in Section 4.1 (Lines 142–146), cryptographic SAT instances contain many structurally similar round-function clauses, causing heuristic solvers to repeatedly branch on uninformative intermediate variables and spend considerable effort exploring structurally symmetric search regions. Our neural-guided variable selection identifies variables with high structural importance and cryptographic significance, so that each derived instance starts with these critical variables already fixed. This effectively breaks the cipher's structural symmetry (e.g., reducing quadratic terms to linear ones after fixing one operand), significantly strengthens constraint propagation, and reduces the average solving time of each derived instance by an amount that substantially outweighs the overhead of solving up to 2k2^k subproblems, thereby achieving effective acceleration.

Besides, if the speedup resulted merely from partitioning the search space, random variable selection would achieve comparable performance. Instead, Table 1 shows that NGESAT-I/II consistently and substantially outperforms Random across all ten SAT solvers and both benchmark datasets. More importantly, this advantage is consistent across solvers with different branching heuristics, demonstrating that the speedup is driven by the quality of neural-guided variable selection, rather than by enumeration alone.


W2 About the cryptographic evaluation

A.W2. Thanks. We first clarify our dataset selection. Based on SAT4CryptoBench, small round and blocksize instances are overly simple and less representative, while large configurations incur prohibitive computational costs (e.g., 12-round instances require around 10× more solving time than 11-round on Kissat). Thus, we select Simon-12-32-64 and Cipher-12 as challenging yet computationally feasible benchmarks that best represent practical cryptanalysis scenarios. In practical settings such as known-plaintext attacks (KPA) and chosen-plaintext attacks (CPA), the goal is key recovery from valid plaintext–ciphertext pairs, where algorithms ensure key uniqueness. Thus, UNSAT and multi-solution instances are excluded from our previous experiments.

We have further conducted experiments with 800 test samples per dataset using Kissat due to the limited rebuttal time. We exclude multi-solution instances because cryptographic constructions inherently guarantee key uniqueness, and meaningful relaxed variants are difficult to construct without altering the original problem characteristics.

For UNSAT, we generate inconsistent ciphertexts by perturbing the original plaintext–key pairs. For neural-guided variable selection on UNSAT datasets, we use models trained on the corresponding SAT datasets.

Only Cipher-11 uses a different setting (k=6); for all other datasets, we keep the same configuration as in the main paper (k=7).

Data Base Random NGESAT-I NGESAT-II
Simon-11-32-64 70.76 ±\pm 10.67 99.73 ±\pm 12.52 64.01 ±\pm 7.15 65.18 ±\pm 57.47
Simon-11-32-64-UNSAT 181.87 ±\pm 10.87 208.61 ±\pm 5.22 112.61 ±\pm 3.19 122.84 ±\pm 5.55
Simon-12-24-48 78.72 ±\pm 12.41 54.02 ±\pm 6.54 49.77 ±\pm 6.52 57.84 ±\pm 6.11
Simon-12-24-48-UNSAT 226.28 ±\pm 7.12 100.24 ±\pm 1.77 99.32 ±\pm 1.89 100.98 ±\pm 2.10
Simon-12-32-64 778.69 ±\pm 52.71 397.95 ±\pm 41.25 153.29 ±\pm 17.46 159.73 ±\pm 16.88
Simon-12-32-64-UNSAT 4977.44 ±\pm 31.82 727.27 ±\pm 32.69 294.61 ±\pm 7.80 338.45 ±\pm 8.82
Cipher-11 77.86 ±\pm 11.06 60.87 ±\pm 7.24 42.94 ±\pm 6.60 43.93 ±\pm 5.08
Cipher-11-UNSAT 185.38 ±\pm 9.47 123.37 ±\pm 6.68 84.96 ±\pm 5.54 84.32 ±\pm 8.94
Cipher-12 1017.83 ±\pm 73.11 427.67 ±\pm 67.27 171.51 ±\pm 21.33 165.38 ±\pm 19.07
Cipher-12-UNSAT 4904.96 ±\pm 51.02 869.92 ±\pm 35.88 337.49 ±\pm 7.57 368.91 ±\pm 8.39
SHA-1 50.57 ±\pm 7.86 91.47 ±\pm 23.07 45.03 ±\pm 7.31 48.73 ±\pm 5.04
SHA-256 59.18 ±\pm 8.51 213.64 ±\pm 55.70 50.55 ±\pm 7.99 53.87 ±\pm 6.59

The above results indicate that our framework's speedup generalizes to a wider range of evaluations.


Q1: Concerns about data split protocol and near-duplicate formulas


A.Q1. Thanks for your question.

For Simon/Cipher, we independently generate the plaintexts and keys for the training and test sets, strictly ensuring that no plaintext–key pair is shared between them. The encryption algorithm then generates the corresponding ciphertexts. The corresponding CNF instances are then constructed using the plaintexts and ciphertexts.

For SHA-1 and SHA-256, we generate the inputs for the training and test sets, again ensuring that no input is shared between them. The corresponding CNF instances are then constructed using the hashing algorithms.

Then the complete dataset is subsequently randomly split into train and test sets without any additional processing. Since all plaintext–key pairs (for Simon/Cipher) and inputs (for SHA-1/SHA-256) are unique, and the underlying cryptographic algorithms are deterministic, no identical CNF instances can be generated. Therefore, there is no overlap between the training and test sets.

Concerns about near-duplicate formulas:

It is important to note that CNF formulas derived from the same cryptographic primitive (e.g., the same cipher, block size, and number of rounds) inherently exhibit strong structural symmetry. Most clauses are structurally identical across instances, with differences concentrated in the plaintext/ciphertext constraints. In practical cryptographic attacks (e.g., KPA and CPA), known plaintext–ciphertext pairs naturally produce such near-duplicate instances.

However, these natural near-duplicates do not simplify prediction. On the contrary, they constitute the core challenge of cryptographic SAT instances: despite their overwhelming structural similarity, even a one-bit change in the plaintext, key, or ciphertext can completely change the satisfiability outcome or the satisfying assignment. Consequently, existing neural SAT methods still struggle with SAT/UNSAT and assignment prediction on these instances.


Q2 How do the conclusions change when comparing ... with equal cube budgets and equal sequential/parallel settings?


A.Q2. Thanks. We would first like to clarify the settings used in the main paper. Both the cube-and-conquer baselines and our framework are evaluated in sequential mode, without any parallelization. We use their default configurations, resulting in approximately 260–516 cubes.

We have conducted additional experiments using equal cube budgets and equal sequential/parallel settings by constraining the number and size of cubes generated by each cube-and-conquer method to match the number of derived instances produced by our framework. In addition, we included Proofix[1], a recent method that combines cube-and-conquer with proof-guided cubing, as a stronger baseline. Since Proofix performs DRAT proof generation using Cadical during the cubing stage, we retain its official configuration and evaluate it as Proofix+Cadical.

Sequential:

Solvers Method Simon-12-32-64 Cipher-12
Base 1351.17 ±\pm 241.97 1791.23 ±\pm 293.97
March 926.05 ±\pm 155.10 1105.43 ±\pm 29.85
Cadical AMS 995.70 ±\pm 19.98 1410.96 ±\pm 67.74
NGESAT-I 519.27 ±\pm 51.39 484.83 ±\pm 48.16
NGESAT-II 493.21 ±\pm 47.04 415.48 ±\pm 50.20
Proofix 503.42 ±\pm 73.02 558.39 ±\pm 80.61
- - - -
Base 417.42 ±\pm 52.14 429.31 ±\pm 43.86
March 337.07 ±\pm 42.48 701.36 ±\pm 48.49
MapleSat AMS 329.71 ±\pm 47.52 806.83 ±\pm 100.58
NGESAT-I 319.21 ±\pm 55.67 325.43 ±\pm 45.51
NGESAT-II 362.59 ±\pm 61.23 359.70 ±\pm 40.57

Parallel: All experiments use 16 CPU cores per original sample. Cube-and-conquer solvers parallelize up to 16 solving processes, while our framework parallelizes the solving of up to 16 derived subproblems.

Solvers Method Simon-12-32-64 Cipher-12
March 280.26 ±\pm 39.01 145.55 ±\pm 4.50
AMS 168.53 ±\pm 24.92 189.86 ±\pm 9.57
Cadical NGESAT-I 19.02 ±\pm 2.38 20.25 ±\pm 2.49
NGESAT-II 17.97 ±\pm 1.23 18.28 ±\pm 1.53
Proofix 328.11 ±\pm 38.21 441.14 ±\pm 51.05
- - - -
March 76.49 ±\pm 10.45 123.02 ±\pm 2.31
MapleSat AMS 95.85 ±\pm 13.59 132.81 ±\pm 3.37
NGESAT-I 54.05 ±\pm 3.34 38.72 ±\pm 2.33
NGESAT-II 53.87 ±\pm 3.09 38.98 ±\pm 2.07

The results show that under equal cube budgets and equal sequential/parallel settings, our framework consistently outperforms cube-and-conquer methods.

[1] Battleman, et al. “Problem partitioning via proof prefixes".

Authors · CommentOpenReview ↗

Additional results for A.W2

We have conducted additional experiments to evaluate the performance of SAT datasets in ANF. We evaluate WDSat [1], a representative ANF-based SAT solver, within our framework. Since SAT4CryptoBench only provides an ANF generator for Simon, we perform this evaluation on the Simon dataset. Moreover, existing neural methods for ANF-based inputs achieve only around 50% assignment prediction accuracy on 11/12-round Simon ANF instances. Therefore, we do not evaluate Regime (ii) under the ANF setting, as its effectiveness relies on informative assignment predictions. Additionally, it is noted that in Regime (i), we adopt the same model for key variable selection as other CNF solvers with k=4.

The results are shown as follows.

Setting Base Random NGESAT-I
Simon-11-32-64 47.36 ±\pm 4.53 64.74 ±\pm 13.32 41.46 ±\pm 4.83
Simon-11-32-64-UNSAT 76.27 ±\pm 1.03 157.61 ±\pm 19.9 74.04 ±\pm 1.56
Simon-12-32-64 327.44 ±\pm 34.23 453.14 ±\pm 51.77 320.95 ±\pm 34.54
Simon-12-32-64-UNSAT 536.28 ±\pm 7.60 838.66 ±\pm 61.59 528.02 ±\pm 7.15
Simon-12-24-48 35.77 ±\pm 2.95 36.82 ±\pm 3.37 30.80 ±\pm 5.51
Simon-12-24-48-UNSAT 48.32 ±\pm 0.24 50.87 ±\pm 0.34 47.48 ±\pm 0.36

Note that WDSat is a solver specifically designed for ANF inputs, where XOR clauses are normalized and represented as equivalence classes. Its solving process closely resembles enumeration over these equivalence classes rather than the clause-learning-driven search of CNF-based CDCL solvers.

Although this underlying solving paradigm differs substantially from CDCL and already provides better performance than CDCL solvers, our framework still outperforms WDSat a bit, further demonstrating its broad applicability.

We are glad to provide additional experimental results and will add the above results in the rebuttal to the revised version of the paper.

[1] Trimoska, Monika, Sorina Ionica, and Gilles Dequen. "Parity (XOR) reasoning for the index calculus attack."


About the limitation Section


A. Thank you for your comment. We agree that the limitations section should provide a more comprehensive discussion of the practical challenges. We have added further clarifications as follows.

Dependence on fixed cipher structure, benchmark coverage, and lack of UNSAT evaluation.

We have provided additional discussion on practical cryptographic scenarios in A.Q1. In practice, cryptographic SAT instances with structural information can be naturally constructed from available cryptographic data (e.g., known plaintext-ciphertext pairs or function inputs), which provides the necessary structural prior for our framework. Moreover, in A.W2, we further provide experimental results on SAT instances from more diverse cryptographic settings, including additional cipher configurations and UNSAT instances, to demonstrate the generality of our approach.

Label generation cost. This aspect has already been discussed in Appendix H of the paper. In summary, generating a label for an SAT instance is equivalent to evaluating the corresponding heuristic solver within our framework on that instance. Compared with GNN-based training or differential cryptanalysis models, which typically require tens of thousands of training samples, our framework only requires a few thousand labeled instances, making the labeling cost acceptable in practice. Nevertheless, we acknowledge that further reducing label generation overhead is an important direction. In future work, we aim to explore more theoretically grounded approaches for deriving high-quality labels without repeatedly invoking SAT solvers.

Sensitivity to k. This aspect has been discussed in Section 5.4 of the paper. In practice, the candidate range of k is relatively limited, and k can be selected as a hyperparameter using a small validation set with acceptable additional cost.

We will incorporate the above discussions into the Limitations Section in the appendix in the revised version of the paper to provide a detailed discussion.

Authors · CommentOpenReview ↗

Dear Reviewer GxT6,

This is a gentle reminder that we are approaching the end of the discussion period. If there are any outstanding concerns that you would like us to address, please let us know, and we will respond as soon as possible. If our responses and additional experiments have addressed your concerns, we would appreciate your consideration in updating your evaluation of the paper.

Thank you very much for your time, valuable feedback, and consideration.

Sincerely,

Authors of Paper 24392

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

Missing a submission?

Loading the discussion…