Deep Differentiable Logic Gate Networks

Felix Petersen, Christian Borgelt, Hilde Kuehne, Oliver Deussen
10/15/2022
cs.LG

Official code: Felix-Petersen/difflogic (828 stars, Python, MIT, last commit 2024-03-19).

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

MIT

A Library for Differentiable Logic Gate Networks

82898Python, CudaNov 28, 20222 years agoMIT

Similar Papers

Cite this paper

@article{petersen2022deep,
  title  = {Deep Differentiable Logic Gate Networks},
  author = {Felix Petersen and Christian Borgelt and Hilde Kuehne and Oliver Deussen},
  year   = {2022},
  eprint = {2210.08277},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.08277}
}

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/2210.08277.svg)](https://codeofpaper.com/paper/2210.08277)

Discussion