Neural Combinatorial Logic Circuit Synthesis from Input-Output Examples

Peter Belcak, Roger Wattenhofer
10/29/2022
cs.LGcs.AIcs.SC

Official code: pbelcak/neccs (5 stars, Shell, last commit 2022-10-29).

Abstract

We propose a novel, fully explainable neural approach to synthesis of combinatorial logic circuits from input-output examples. The carrying advantage of our method is that it readily extends to inductive scenarios, where the set of examples is incomplete but still indicative of the desired behaviour.

Show full abstract

Our method can be employed for a virtually arbitrary choice of atoms - from logic gates to FPGA blocks - as long as they can be formulated in a differentiable fashion, and consistently yields good results for synthesis of practical circuits of increasing size. In particular, we succeed in learning a number of arithmetic, bitwise, and signal-routing operations, and even generalise towards the correct behaviour in inductive scenarios. Our method, attacking a discrete logical synthesis problem with an explainable neural approach, hints at a wider promise for synthesis and reasoning-related tasks.

View on arXivView PDF

Code Implementations(1)

pbelcak/neccsOfficial100%

The repository for the paper titled "Neural Combinatorial Logic Circuit Synthesis from Input-Output Examples"

50Shell, PythonOct 29, 20224 years ago

Similar Papers

Cite this paper

@article{belcak2022neural,
  title  = {Neural Combinatorial Logic Circuit Synthesis from Input-Output Examples},
  author = {Peter Belcak and Roger Wattenhofer},
  year   = {2022},
  eprint = {2210.16606},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.16606}
}

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

Discussion