# US 2019/0244090 A1 · Serialized electro-optic neural network using optical weights encoding

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

- Number: US 2019/0244090 A1
- Document ID: US20190244090A1
- Status: Published application
- Kind: A1
- Application number: 16/268,578
- Filed: 2019-02-06
- Published: 2019-08-08
- Earliest claimed: 2018-02-06
- Assignees: Massachusetts Institute of Technology
- Inventors: Dirk Robert Englund
- Web page: https://patentgrep.com/patent/US20190244090A1

## CPC

- G06N 3/0675: {using electro-optical, acousto-optical or opto-electronic means}
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 3/048: Activation functions
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Most artificial neural networks are implemented electronically using graphical processing units to compute products of input signals and predetermined weights. The number of weights scales as the square of the number of neurons in the neural network, causing the power and bandwidth associated with retrieving and distributing the weights in an electronic architecture to scale poorly. Switching from an electronic architecture to an optical architecture for storing and distributing weights alleviates the communications bottleneck and reduces the power per transaction for much better scaling. The weights can be distributed at terabits per second at a power cost of picojoules per bit (versus gigabits per second and femtojoules per bit for electronic architectures). The bandwidth and power advantages are even better when distributing the same weights to many optical neural networks running simultaneously.

## Claims

### Claim 1

An apparatus for implementing an optical neural network, the apparatus comprising:
a first layer of neurons to emit a first array of data signals xj at a first optical frequency, where j=1, 2, . . . N, and N is a positive integer;
a second layer of neurons, each neuron in the second layer of neurons configured to calculate a weighted average yi of the first array of data signals, where yi=sum (wijxj), wij is a weight, i=1, 2 . . . M, and M is a positive integer; and
an optical weight transmitter, in optical communication with the second layer of neurons, to transmit an array of weight signals at a second optical frequency towards the second layer for calculating the weighted average yi, where the weight signals represent the weight wij.

### Claim 2 (depends on 1)

The apparatus of claim 1, wherein each neuron in the second layer comprises:
a homodyne receiver, operably coupled to the first layer and the optical encoding transmitter, to generate a weighted product between each data signal in the first array of data signals and a corresponding weight signal in the array of weight signals; and
an integrator, operably coupled to the homodyne receiver, to calculate the weighted average yi from the weighted products.

### Claim 3 (depends on 2)

The apparatus of claim 2, wherein the integrator comprises at least one of an RC filter or an integrating operational amplifier.

### Claim 4 (depends on 2)

The apparatus of claim 2, wherein each neuron further comprises a nonlinear function unit to generate an output zi from the weighted average yi.

### Claim 5 (depends on 4)

The apparatus of claim 4, wherein each neuron further comprises a neuron transmitter to transmit the output zi to a third layer in the optical neural network.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein each neuron in the second layer comprises:
a first detector to detect a data signal in the first array of data signals;
a second detector to detect a corresponding weight signal in the array of weight signals; and
a processor, operably coupled to the first detector and the second detector, to compute the weighted product between the data signal and the corresponding weight signal.

### Claim 7 (depends on 1)

The apparatus of claim 1, wherein the second optical frequency is greater than the first optical frequency by at least about 2π×20 GHz.

### Claim 8 (depends on 1)

The apparatus of claim 1, wherein the optical encoding transmitter comprises an array of grating couplers.

### Claim 9 (depends on 1)

The apparatus of claim 1, wherein each neuron in the first layer is configured to transmit a copy of the first array of data signals xi in a serial manner toward every neuron in the second layer.

### Claim 10 (depends on 1)

The apparatus of claim 1, wherein the first layer of neurons and the second layer of neurons are in a first optical neural network and further comprising:
a second optical neural network, in optical communication with the first optical communication with the optical weight transmitter, to compute a product of another array of data signals with the array of weight signals.

### Claim 11

A method for implementing an optical neural network, the method comprising:
transmitting a first array of data signals xj at a first optical frequency from a first layer of neurons in the optical neural network to a second layer of neurons in the optical neural network, where j=1, 2, . . . N, and N is a positive integer;
transmitting an array of weight signals at a second optical frequency to the second layer for calculating the weighted average yi, where the weight signals represent the weight wij; and
calculating a weighted average yi of the first array of data signals at the second layer of neurons, where yi=sum (wijxj), wij is a weight, i=1, 2 . . . M, and M is a positive integer; and

### Claim 12 (depends on 11)

The method of claim 11, wherein calculating the weighted average comprises:
generating, at a homodyne receiver, a weighted product between each data signal in the first array of data signals and a corresponding weight signal in the array of weight signals; and
integrating the weighted products to form the weighted average yi.

### Claim 13 (depends on 11)

The method of claim 11, further comprising transmitting the output zi from the second layer in the optical neural network to a third layer in the optical neural network.

### Claim 14 (depends on 11)

The method of claim 11, wherein calculating the weighted average comprises:
detecting a data signal in the first array of data signals;
detecting a corresponding weight signal in the array of weight signals; and
computing the weighted product between the data signal and the corresponding weight signal.

### Claim 15 (depends on 11)

The method of claim 11, further comprising:
transmitting a copy of the first array of data signals xi in a serial manner toward every neuron in the second layer.

### Claim 16 (depends on 11)

The method of claim 11, wherein the first layer of neurons and the second layer of neurons are in a first optical neural network and further comprising:
transmitting the array of weight signals to a layer in a second optical neural network.

### Claim 17

An optical processing system comprising:
a plurality of optical neural networks; and
an optical weight transmitter, in optical communication with the plurality of optical neural networks, to transmit an array of weight signals to each optical neural network in the plurality of optical neural networks.

### Claim 18 (depends on 17)

The optical processing system of claim 17, wherein each optical neural network in the plurality of optical neural networks calculates a weighted average of a corresponding array of input signals and the array of weight signals.

### Claim 19 (depends on 17)

The optical processing system of claim 17, wherein the optical weight transmitter is integrated in a photonic integrated circuit and comprises a grating coupler to couple the array of weight signals to the plurality of optical neural networks.
