GPU-Accelerated Synthesis of Mixed-Boolean Arithmetic: Beyond Caching
Gabriel Bathie, Nathanaël Fijalkow
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Efficient LLM Inference & Training › Async Pipeline Communication Optimization · Type: new method · Keywords: Mixed-Boolean Arithmetic synthesis, GPU acceleration, cache-free enumeration, program deobfuscation, compiler optimization
Areas: Safety & Security › Cybersecurity › Vulnerability Detection
Summary
SIMBA is a GPU-accelerated, cache-free bottom-up enumeration synthesizer for Mixed-Boolean Arithmetic that significantly speeds up MBA synthesis and handles larger specifications than prior CPU-based tools.
Explained to a 5-year-old
We have a puzzle where we need to guess a math rule that turns numbers into other numbers. Old computers are slow at trying many possible rules. A new idea uses a special video game computer that can try many rules at once. This new computer does not forget the rules it already tried, so it works better for big puzzles. It helps solve harder puzzles that were too big for the old computers.
Explained to a 5-year-old, longer
Sometimes we want to find a hidden math rule that changes numbers into other numbers. We give it some examples of input numbers and the output numbers we want. The old way of finding the rule uses a regular computer that tries one thing at a time. This is slow when there are many possible rules to try. A new idea uses a graphics card, which is like a super-fast game console, to try many rules together. This card can do many calculations at the same time, so it works faster. Instead of remembering similar rules, it just builds the rules from the bottom up without storing them. This makes the search more efficient and avoids forgetting important possibilities. The new method can handle bigger puzzles that the old method cannot solve. It helps us solve problems in many areas like making software safer and understanding secret code. By using this faster method, we can find answers quicker and explore more complex situations. It also saves time and computer power compared to the old approach. Overall, it makes the puzzle of finding math rules easier and more powerful. This new way opens up possibilities for solving harder problems in many fields. It shows that using parallel computing can beat old caching tricks in some cases.
For a technical reader
SIMBA is a GPU-accelerated synthesizer for Mixed-Boolean Arithmetic (MBA) that avoids the caching of observationally equivalent candidates, which fails for quantitative bitvector outputs. It implements a bottom-up enumeration strategy designed for massive parallelism, keeping work local on the GPU and eliminating language-level caches. By exploring the huge behavioral space of MBA expressions directly, SIMBA can handle larger specifications and discover expression sizes that previous CPU-based tools miss. The experimental results show substantial speedups over prior MBA synthesizers and demonstrate the practicality of cache-free GPU synthesis for quantitative domains. This approach provides a scalable alternative to cache-centric designs for deobfuscation, compiler optimization, reverse engineering, and cryptanalysis.
Problem
Synthesizing Mixed-Boolean Arithmetic expressions from input-output examples is challenging because existing CPU-based synthesizers scale poorly on large specifications, and GPU-accelerated methods that rely on caching observationally equivalent candidates break down when outputs are quantitative bitvectors with an enormous behavioral space.
Method
The approach performs cache-free bottom-up enumeration of MBA expressions, designed for GPU parallelism by keeping work local and avoiding language caches. It leverages GPU-oriented enumeration to explore the large behavioral space efficiently.
Results
The approach achieves substantially faster synthesis than prior tools, handles larger specifications, and finds expression sizes that existing methods cannot solve.
Contributions
It introduces a cache-free GPU-accelerated enumeration design for MBA synthesis, demonstrating scalability to larger specifications and establishing cache-free GPU synthesis as a practical alternative to cache-centric designs.
Practical relevance
It enables faster and more scalable MBA synthesis for applications such as program deobfuscation and compiler optimization, making previously intractable problems tractable.
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