Deep Differentiable Logic Gate Networks
Felix Petersen, Christian Borgelt, Hilde Kuehne, Oliver Deussen
Abstract
Recently, research has increasingly focused on developing efficient neural network architectures. In this work, we explore logic gate networks for machine learning tasks by learning combinations of logic gates. These networks comprise logic gates such as "AND" and "XOR", which allow for very fast execution. The difficulty in learning logic gate networks is that they are conventionally non-differentiable and therefore do not allow training with gradient descent. Thus, to allow for effective training, we propose differentiable logic gate networks, an architecture that combines real-valued logics and a continuously parameterized relaxation of the network. The resulting discretized logic gate networks achieve fast inference speeds, e.g., beyond a million images of MNIST per second on a single CPU core.
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.
17 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Light Differentiable Logic Gate Networks cites Differentiable Weightless Neural Networks
- Light Differentiable Logic Gate Networks cites Convolutional Differentiable Logic Gate Networks
- Convolutional Differentiable Logic Gate Networks cites Differentiable Weightless Neural Networks
- Convolutional Differentiable Logic Gate Networks cites The Unreasonable Effectiveness of Random Pruning: Return of the Most Naive Baseline for Sparse Training
- Monotonic Differentiable Sorting Networks cites Learning with Algorithmic Supervision via Continuous Relaxations
- Monotonic Differentiable Sorting Networks cites Differentiable Sorting Networks for Scalable Sorting and Ranking Supervision
Cited by top-tier papers17
- Learning Transformer ProgramsDan Friedman, Alexander Wettig, Danqi ChenNeurIPS 2023 · 59 citations
- Convolutional Differentiable Logic Gate NetworksFelix Petersen, Hilde Kuehne, Christian Borgelt, Julian Welzel et al.NeurIPS 2024 · 58 citations
- Differentiable Weightless Neural NetworksAlan Tendler Leibel Bacellar, Zachary Susskind, Maurício Breternitz Jr., Eugene John et al.ICML 2024 · 34 citations
- Towards Next-Generation Logic Synthesis: A Scalable Neural Circuit Generation FrameworkZhihai Wang, Jie Wang, Qingyue Yang, Yinqi Bai et al.NeurIPS 2024 · 17 citations
- Light Differentiable Logic Gate NetworksLukas Rüttgers, Till Aczel, Andreas Plesner, Roger WattenhoferICLR 2026 · 11 citations
Builds on7
- The Unreasonable Effectiveness of Random Pruning: Return of the Most Naive Baseline for Sparse TrainingShiwei Liu, Tianlong Chen, Xiaohan Chen, Li Shen et al.ICLR 2022 · 141 citations
- Differentiable Sorting Networks for Scalable Sorting and Ranking SupervisionFelix Petersen, Christian Borgelt, Hilde Kuehne, Oliver DeussenICML 2021 · 39 citations
- Learning with Algorithmic Supervision via Continuous RelaxationsFelix Petersen, Christian Borgelt, Hilde Kuehne, Oliver DeussenNeurIPS 2021 · 33 citations
- Monotonic Differentiable Sorting NetworksFelix Petersen, Christian Borgelt, Hilde Kuehne, Oliver DeussenICLR 2022 · 32 citations
- Learning Binary Decision Trees by Argmin DifferentiationValentina Zantedeschi, Matt J. Kusner, Vlad NiculaeICML 2021 · 16 citations
Related papers
- Mind the Gap: Removing the Discretization Gap in Differentiable Logic Gate NetworksShakir Yousefi, Andreas Plesner, Till Aczel, Roger WattenhoferNeurIPS 2025 · 1 citation
- Plug-in, Trainable Gate for Streamlining Arbitrary Neural NetworksJaedeok Kim, Chiyoun Park, Hyun-Joo Jung, Yoonsuck ChoeAAAI 2020 · 19 citations
- Neuro-Symbolic Inductive Logic Programming with Logical Neural NetworksPrithviraj Sen, Breno W. S. R. de Carvalho, Ryan Riegel, Alexander G. GrayAAAI 2022 · 82 citations
- Two-Stage Unit Tying for Simplifying Differentiable Logic Gate NetworksSeungheon Lee, Jeongmin Sun, Jaeyong ChungICML 2026
- Injecting Logical Constraints into Neural Networks via Straight-Through EstimatorsZhun Yang, Joohyung Lee, Chiyoun ParkICML 2022 · 26 citations
