Lune

ICLR2025Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

Builds onCited byLeft to right by year; the more cited, the higher.

Builds on4

  1. 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
  2. Hidden Traveling Waves bind Working Memory Variables in Recurrent Neural NetworksArjun Karuvally, Terrence J. Sejnowski, Hava T. SiegelmannICML 2024 · 8 citations
  3. Functional Equivalence and Path Connectivity of Reducible Hyperbolic Tangent NetworksMatthew Farrugia-RobertsNeurIPS 2023 · 7 citations
  4. RNNs can generate bounded hierarchical languages with optimal memoryJohn Hewitt, Michael Hahn, Surya Ganguli, Percy Liang et al.EMNLP 2020 · 1 citation

Related papers

  1. KLay: Accelerating Arithmetic Circuits for Neurosymbolic AIJaron Maene, Vincent Derkinderen, Pedro Zuidberg Dos MartiresICLR 2025
  2. NEURODIFF: Scalable Differential Verification of Neural Networks using Fine-Grained ApproximationBrandon Paulsen, Jingbo Wang, Jiawei Wang, Chao WangASE 2020 · 26 citations
  3. Scalable Verification of Quantized Neural NetworksThomas A. Henzinger, Mathias Lechner, Dorde ZikelicAAAI 2021 · 41 citations
  4. Scaling Up Exact Neural Network Compression by ReLU StabilityThiago Serra, Xin Yu, Abhinav Kumar, Srikumar RamalingamNeurIPS 2021 · 31 citations
  5. Circuit Transformer: A Transformer That Preserves Logical EquivalenceXihan Li, Xing Li, Lei Chen, Xing Zhang et al.ICLR 2025 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines