Learning with Enumeration: Neural-Guided SAT Framework for Cryptographic Key Recovery
Xinhao Zheng, Xinhao Song, Jinchen Yu, Zhuoyuan Xu, Gongshen Liu, Junchi Yan
NeurIPS page · Open on the map
Category: Optimization & Federated Learning › Neural SAT Solving · Type: new method · Keywords: cryptographic key recovery, neural-guided SAT, enumerative framework, constraint solving, cube-and-conquer, benchmark evaluation
Summary
The paper introduces a neural-guided enumerative SAT framework that uses a forward neural guidance to select critical variables, enumerates their assignments, and then invokes a heuristic SAT solver, achieving up to 5× speedup on cryptographic key-recovery tasks.
Explained to a 5-year-old
A secret code is hidden in a puzzle that can be solved by trying many possibilities. A little computer brain looks at the puzzle and picks the most important pieces to try first. Then we try all the choices for those pieces one by one. After that, we ask a regular puzzle solver to finish the rest. This makes finding the secret code faster and easier.
Explained to a 5-year-old, longer
Imagine you have a big jigsaw puzzle that shows a secret message. Solving the puzzle means figuring out which pieces fit together. Usually you try pieces one by one, but that can take a long time. A smart computer program can look at the puzzle and guess which pieces are most important. It picks a few key pieces and thinks about what they could be. Then we try all possible ways those key pieces could be arranged. After we have tried those, we give the remaining puzzle to a regular solver that knows how to finish it. This way we don't have to try every possible piece in the whole puzzle. It saves a lot of time and helps us find the secret faster. The method works for many different kinds of puzzles, including those used to protect information. It also still works well on puzzles that are not secret codes. So we get a faster, smarter way to solve hard puzzles.
For a technical reader
The paper presents a neural-guided enumerative framework that first uses a neural model to select a small set of critical variables for cryptographic instances. After selecting these variables, the framework enumerates all possible assignments for them, dramatically shrinking the search space. The reduced problem is then handed to a conventional heuristic SAT solver to complete the solution. This design yields up to 5× speedup and about 2× average improvement on cryptographic benchmarks while preserving performance on general tasks.
Problem
Recovering cryptographic keys using constraint solving is challenging because instances often exhibit high symmetry, many intermediate variables, and intricate algebraic relationships that hinder existing solvers.
Method
The approach employs a neural network to identify a small set of critical variables, enumerates over their possible assignments, and then invokes a standard heuristic solver to complete the search, thereby reducing the combinatorial space while keeping neural overhead low.
Results
The approach achieved up to 5× speedup and roughly 2× average improvement on cryptographic instances, while maintaining comparable performance on general benchmarks.
Contributions
It proposes a unified neural-guided enumerative framework for cryptographic key recovery, introduces a taxonomy of neural guidance strategies, and demonstrates strong empirical gains across multiple solvers and benchmarks.
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction