# US 2023/0359875 A1 · Deep neural network with multiple layers formed of multi-terminal logic gates

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0359875 A1
- Document ID: US20230359875A1
- Status: Published application
- Kind: A1
- Application number: 18/313,187
- Filed: 2023-05-05
- Published: 2023-11-09
- Earliest claimed: 2022-05-09
- Assignees: MemComputing, Inc.
- Applicants: MemComputing, Inc.
- Inventors: Fabio Lorenzo Traversa
- Web page: https://patentgrep.com/patent/US20230359875A1

## CPC

- G06N 3/063: using electronic means
- G06N 3/08: Learning methods
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A deep neural network circuit with multiple layers formed of multi-terminal logic gates is provided. In one aspect, the neural network circuit includes a plurality of logic gates arranged into a plurality of layers and a plurality of logical connectors arranged between each pair of adjacent layers. Each of the logical connectors connects the output of a first logic gate to the input of a second logic gate and each of the logical connectors has one of a plurality of different logical connector states. The neural network circuit is configured to be trained to implement a function by finding a set of the logical connector states for the logical connectors such that the neural network circuit implements the function.

## Claims

### Claim 1

A neural network circuit, comprising:
a plurality of logic gates arranged into a plurality of layers, each of the logic gates having a plurality of inputs and an output; and
a plurality of logical connectors arranged between each pair of adjacent layers, each of the logical connectors determining a relationship between the output of a first logic gate to one of the plurality of inputs of a second logic gate, and each of the logical connectors having one of a plurality of different logical connector states,
wherein the neural network circuit is configured to be trained to implement a function by finding a set of the logical connector states for the logical connectors such that the neural network circuit implements the function.

### Claim 2 (depends on 1)

The neural network circuit of claim 1, wherein the logical connector states include a first state in which the output of the first logic gate is connected to the input of the second logic gate via a NOT gate and a second state in which the output of the first logic gate is connected to the input of the second logic gate via a short circuit.

### Claim 3 (depends on 2)

The neural network circuit of claim 2, wherein the logical connector states further include a third state in which the output of the first logic gate is connected to the input of the second logic gate via an open circuit.

### Claim 4 (depends on 1)

The neural network circuit of claim 1, wherein the logic gates and the logical connectors are implemented in complementary metal-oxide semiconductor (CMOS) technology.

### Claim 5 (depends on 1)

The neural network circuit of claim 1, wherein the neural network circuit is formed on a single chip.

### Claim 6 (depends on 1)

The neural network circuit of claim 1, wherein each of the logical connectors comprises:
an input;
a short circuit connected to the input;
an inverter arranged in parallel with the short circuit and connected to the input;
an output; and
at least one switch configured to connect one of the short circuit and the inverter to the output.

### Claim 7 (depends on 6)

The neural network circuit of claim 6, wherein each of the logical connectors further comprises:
an open circuit connected to the input,
wherein the at least one switch configured to connect one of the short circuit, the inverter, and the open circuit to the output.

### Claim 8 (depends on 6)

The neural network circuit of claim 6, wherein:
the at least one switch comprises a first switch and a second switch connected in series,
the first switch is configured to electrically connect to one of the short circuit and the inverter, and
the second switch is configured to operate in either an open circuit or short circuit state.

### Claim 9 (depends on 1)

The neural network circuit of claim 1, wherein:
each of the logical connectors comprises at least one of a short circuit or an inverter, and
each of the logical connectors connects an output of a logic gate of a previous layer to an input of a logic gate of a current layer.

### Claim 10 (depends on 1)

The neural network circuit of claim 1, wherein each of the logic gates comprises a multi-terminal NOR gate.

### Claim 11 (depends on 1)

The neural network circuit of claim 1, further comprising a training circuit configured to produce the set of the logical connector states.

### Claim 12 (depends on 1)

The neural network circuit of claim 1, wherein each of the logical connectors has a fixed one of the logical connector states.

### Claim 13 (depends on 12)

The neural network circuit of claim 12, wherein each of the logical connectors comprises a single one of: a short circuit, an inverter, and an open circuit corresponding to the fixed one of the logical connector states.

### Claim 14

A method of computing a function using a neural network circuit, comprising:
providing a neural network circuit including:
a plurality of logic gates arranged into a plurality of layers, each of the logic gates having a plurality of inputs and an output; and
a plurality of logical connectors comprising sets of logical connectors arranged between each pair of adjacent layers, each of the logical connectors having one of a plurality of different logical connector states, wherein the plurality of logical connectors are programmed to implement a function; and
computing the function for an input signal using the neural network.

### Claim 15

The method of 14, further comprising:
finding a set of the logical connector states for the plurality of logical connectors such that the neural network circuit implements the function.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
generating a set of integer linear programming (ILP) problems based on the function; and
solving the set of ILP problems to produce the set of the logical connector states.

### Claim 17 (depends on 16)

The method of claim 16, further comprising:
determining a set of inequalities that describe the states of the logical connectors; and
linking outputs from a previous layer to inputs of a subsequent layer through the set of inequalities,
wherein the generating of the ILP problems is based on the linking of the outputs from the previous layer to the inputs of the subsequent layer through the set of inequalities.

### Claim 18 (depends on 14)

The method of claim 14, wherein the logical connector states include a first state in which the output of the first logic gate is connected to the input of the second logic gate via a NOT gate and a second state in which the output of the first logic gate is connected to the input of the second logic gate via a short circuit.

### Claim 19

A single chip, comprising:
a plurality of logic gates arranged into a plurality of layers of a neural network circuit, each of the logic gates having a plurality of inputs and an output;
a plurality of logical connectors arranged between logic gates of each pair of adjacent layers, each of the logical connectors determining a relationship between the output of a first logic gate to one of the plurality of inputs of a second logic gate, and each of the logical connectors having one of a plurality of different logical connector states;
a plurality of input terminals; and
at least one output terminal,
wherein the chip is configured to compute a function between the input terminals and the output terminal.

### Claim 20 (depends on 19)

The chip of claim 19, wherein the chip is configured to compute the function for a given input provided to the input terminals in ten clock cycles or fewer.
