A Method for Optimizing Connections in Differentiable Logic Gate Networks

Wout Mommen, Lars Keuninckx, Matthias Hartmann, Piet Wambacq
7/8/2025
cs.LGcs.AI

No confident code implementation found for this paper.

Abstract

We introduce a novel method for partial optimization of the connections in Deep Differentiable Logic Gate Networks (LGNs). Our training method utilizes a probability distribution over a subset of connections per gate input, selecting the connection with highest merit, after which the gate-types are selected. We show that the connection-optimized LGNs outperform standard fixed-connection LGNs on the Yin-Yang, MNIST and Fashion-MNIST benchmarks, while requiring only a fraction of the number of logic gates. When training all connections, we demonstrate that 8000 simple logic gates are sufficient to achieve over 98% on the MNIST data set. Additionally, we show that our network has 24 times fewer gates, while performing better on the MNIST data set compared to standard fully connected LGNs. As such, our work shows a pathway towards fully trainable Boolean logic.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mommen2025method,
  title  = {A Method for Optimizing Connections in Differentiable Logic Gate Networks},
  author = {Wout Mommen and Lars Keuninckx and Matthias Hartmann and Piet Wambacq},
  year   = {2025},
  eprint = {2507.06173},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.06173v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2507.06173.svg)](https://codeofpaper.com/paper/2507.06173)

Discussion