Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Deep Differentiable Logic Gate Networks

About

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.

Felix Petersen, Christian Borgelt, Hilde Kuehne, Oliver Deussen• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR-10 (test)
Accuracy62.14
906
Image ClassificationMNIST (test)
Accuracy98.47
196
Image ClassificationCIFAR-10 standard (test)
Accuracy60.78
97
Image ClassificationMNIST (test)
Accuracy98.8
61
Image ClassificationMNIST standard (test)--
40
Image ClassificationCIFAR-10 10K (test)
Soft Accuracy52.5
12
Image ClassificationCIFAR-10 2K samples
Circuit Accuracy53
12
Logic Gate Network ClassificationMNIST
Worst Accuracy97.1
6
Logic Gate Network ClassificationM-Binary
Worst Accuracy97.2
6
Logic Gate Network ClassificationC-10 Binary
Worst Accuracy50.7
6
Showing 10 of 10 rows

Other info

Follow for update