Optimizing Neural Network Representations of Boolean Networks
Joshua Russell, Ignacio Gavier, Devdhar Patel, Edward A. Rietman, Hava T. Siegelmann
Abstract
Neural networks are known to be universal computers for Boolean functions. Recent advancements in hardware have significantly reduced matrix multiplication times, making neural network simulation both fast and efficient. Consequently, functions defined by complex Boolean networks are increasingly viable candidates for simulation through their neural network representation. Prior research has introduced a general method for deriving neural network representations of Boolean networks. However, the resulting neural networks are often suboptimal in terms of the number of neurons and connections, leading to slower simulation performance. Optimizing them while preserving functional equivalence -lossless optimizationis an NP-hard problem, and current methods only provide lossy solutions. In this paper, we present a deterministic algorithm to optimize such neural networks in terms of neurons and connections while preserving functional equivalence. Moreover, to accelerate the compression of the neural network, we introduce an objective-aware algorithm that exploits representations that are shared among subproblems of the overall optimization. We demonstrate experimentally that we are able to reduce connections and neurons by up to 70% and 60%, respectively, in comparison to state-of-the-art. We also find that our objective-aware algorithm results in consistent speedups in optimization time, achieving up to 34.3× and 5.9× speedup relative to naive and caching solutions, respectively. Our methods are of practical relevance to applications such as high-throughput circuit simulation and placing neurosymbolic systems on the same hardware architecture.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 2158662d-ef92-41ea-8b12-b21ccd70243eBuilds on4
- GenFuzz: GPU-accelerated Hardware Fuzzing using Genetic Algorithm with Multiple InputsDian-Lun Lin, Yanqing Zhang, Haoxing Ren, Brucek Khailany et al.DAC 2023 · 40 citations
- Hidden Traveling Waves bind Working Memory Variables in Recurrent Neural NetworksArjun Karuvally, Terrence J. Sejnowski, Hava T. SiegelmannICML 2024 · 8 citations
- Functional Equivalence and Path Connectivity of Reducible Hyperbolic Tangent NetworksMatthew Farrugia-RobertsNeurIPS 2023 · 7 citations
- RNNs can generate bounded hierarchical languages with optimal memoryJohn Hewitt, Michael Hahn, Surya Ganguli, Percy Liang et al.EMNLP 2020 · 1 citation
Related papers
- KLay: Accelerating Arithmetic Circuits for Neurosymbolic AIJaron Maene, Vincent Derkinderen, Pedro Zuidberg Dos MartiresICLR 2025
- NEURODIFF: Scalable Differential Verification of Neural Networks using Fine-Grained ApproximationBrandon Paulsen, Jingbo Wang, Jiawei Wang, Chao WangASE 2020 · 26 citations
- Scalable Verification of Quantized Neural NetworksThomas A. Henzinger, Mathias Lechner, Dorde ZikelicAAAI 2021 · 41 citations
- Scaling Up Exact Neural Network Compression by ReLU StabilityThiago Serra, Xin Yu, Abhinav Kumar, Srikumar RamalingamNeurIPS 2021 · 31 citations
- Circuit Transformer: A Transformer That Preserves Logical EquivalenceXihan Li, Xing Li, Lei Chen, Xing Zhang et al.ICLR 2025 · 1 citation
