Low-power edge computing with optical neural networks via WDM weight broadcast

NetCast addresses the challenge of running large DNNs on edge devices by using WDM and optical weight transmission, allowing efficient deployment of data center-scale deep learning on low-power devices with reduced memory and power consumption.

JP7554541B2Active Publication Date: 2024-09-20MASSACHUSETTS INST OF TECH +1
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
JP2023519686
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-09-29
Filing Date
2021-07-29
Publication Date
2024-09-20
Estimated Expiration
2041-07-29

AI Technical Summary

Technical Problem

Existing deep neural networks (DNNs) are too large to run on edge devices due to memory and power constraints, leading to bandwidth bottlenecks and limited deployment in edge computing applications.

Method used

The introduction of NetCast, an optical neural network architecture using wavelength division multiplexing (WDM) and optical weight transmission, allows arbitrarily sized DNNs to run on edge devices by broadcasting synaptic weights from a central server, reducing memory and power requirements.

Benefits of technology

Enables high-performance DNN inference at the edge with reduced memory and power consumption, enabling deployment of data center-scale deep learning on low-power platforms.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007554541000059
    Figure 0007554541000059
  • Figure 0007554541000058
    Figure 0007554541000058
  • Figure 0007554541000057
    Figure 0007554541000057
Patent Text Reader

Abstract

NetCast is an optical neural network architecture that circumvents constraints on deep neural network (DNN) inference at the edge. Many DNNs have weight matrices that are too large to run on edge processors, resulting in limitations on DNN inference at the edge or bandwidth bottlenecks between the edge and the server hosting the DNN. In NetCast, a weight server stores DNN weight matrices in local memory, modulates the weights onto different spectral channels of an optical carrier, and distributes the weights to one or more clients over optical links. Each client stores activations, or layer inputs, for its DNN and computes the matrix-vector product of those activations with weights from the weight server in the optical domain. This multiplication can be done coherently by interfering spectrally multiplexed weights with spectrally multiplexed activations, or incoherently by modulating the weight signals from the weight server with activations.
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS This application claims priority under 35 U.S.C. §119(e) to U.S. patent application Ser. No. 63 / 084,600, filed Sep. 29, 2020, the entire contents of which are incorporated herein by reference.

[0002] Government support This invention was made with Government support under Grant No. ECCS1344005 awarded by the National Science Foundation (NSF) and Grant No. W911NF-18-2-0048 awarded by the Army Research Office (ARO). The Government has certain rights in this invention.

[0003] Machine learning is becoming more prevalent in edge computing applications, where large networks of low-power smart sensors preprocess data remotely before relaying it to a central server. Much of this preprocessing relies on deep neural networks (DNNs), so significant effort is expended in developing size-, weight-, and power-constrained (SWaP) hardware and efficient models for DNN inference at the edge. However, many state-of-the-art DNNs are so large that they can only run in data centers because the model size exceeds the memory of SWaP-constrained edge processors. Because such DNNs cannot run on the edge, sensors must send their data to a server for analysis, leading to significant bandwidth bottlenecks. Summary of the Invention

[0004] To address these issues in running DNN inference at the edge, we introduce NetCast, an optical neural network architecture that circumvents limitations on SNN size and allows DNNs of any size to run on SWaP-constrained edge devices. NetCast uses wavelength division multiplexing (WDM), difference detection and integration, optical weight transmission, and a server-client protocol and architecture that leverages the extremely high bandwidth of optical links to enable low-power DNN inference at the edge for networks of any size that are not bound by the SWaP constraints of edge devices. This enables an entirely new class of neural networks to be deployed at the edge that were previously limited to data centers.

[0005] More broadly, NetCast provides a server-client architecture for DNN inference on SWaP-constrained edge devices. By optically broadcasting synaptic weights from a central server, this architecture significantly reduces memory and power requirements on edge devices, enabling datacenter-scale deep learning on low-power platforms not possible today.

[0006] A central server encodes a matrix (DNN weights) into a train of optical pulses. It transmits the encoded train of optical pulses over a link (e.g., a free-space or fiber link, possibly with optical fan-out) and to one or more clients (edge ​​devices). Each client uses a combination of optical modulation, wavelength multiplexing, and optical detection to compute the matrix-vector product Σ between the weights (received over the link) and the DNN layer inputs, also called activations, that are stored on the client. n w mn x n Many layers are run sequentially, allowing each client to perform inference on DNNs of any size and depth without having to store the weights in memory.

[0007] This client-server architecture has several advantages over existing applications. Currently, there are limited options for performing deep learning on edge devices, each with its own drawbacks. These options include: (1) uploading the data and running the DNN in the cloud, at the expense of bandwidth, latency, and privacy issues; (2) running the entire DNN on the edge device, but noting that memory and power requirements often exceed the SWaP constraints of the device; or (3) compressing the DNN so that it can run with lower power and memory (often impossible), and degrading the DNN's performance (e.g., classification accuracy). In contrast, our technique can simultaneously provide local data storage, SWaP constraint satisfaction, and high-performance (uncompressed) DNNs.

[0008] Applications of the NetCast client-server protocol and architecture include bringing high performance deep learning to lightweight edge or fog devices in the Internet of Things; enabling low power fiber-coupled smart sensors on advanced machines (e.g., aircraft, automobiles, ships, satellites); and distributing DNNs to large free-space sensor networks (e.g., environmental monitoring, disaster relief, mining, oil / gas exploration, geospatial intelligence, or security). For highly utilized DNNs, data centers can also use the architecture to reduce the energy consumption of DNN inference.

[0009] NetCast can be implemented as follows: A server generates a weight signal comprising an optical carrier modulated with a set of spectrally multiplexed weights for a DNN and then transmits the weight signal over an optical link to a client. The client receives the weight signal and computes a matrix-vector product of (i) the set of spectrally multiplexed weights modulated onto the optical carrier and (ii) the input to a layer of the DNN. The server can store the set of spectrally multiplexed weights in its (local) memory and retrieve the set of spectrally multiplexed weights from its (local) memory.

[0010] The server can generate the weight signals at each of a plurality of time steps by modulating a WDM channel of an optical carrier with each entry of a column of a weight matrix of the DNN. In this case, the client can compute the matrix-vector product by modulating the weight signals with the input to the DNN layer, demultiplexing the WDM channels of the weight signals modulated with the input to the DNN layer, and sensing the power of each WDM channel of the weight signals modulated with the input to the DNN layer. The client can modulate the weight signals with the input to the DNN layer by intensity modulating the input to the Mach-Zehnder modulator with the amplitude of the input to the DNN layer and encoding the sign of the input to the DNN layer using the Mach-Zehnder modulator.

[0011] The server may also generate the weight signal by modulating the intensity of the optical carrier with the amplitude of the set of spectrally multiplexed weights and modulating the optical carrier with the sign of the set of spectrally multiplexed weights using the ring resonators before coupling the optical carrier to the set of ring resonators. Alternatively, the server may generate the weight signal by modulating the intensity of the optical carrier with the amplitude of the set of spectrally multiplexed weights using the ring resonators. Complex amplitude (complex amplitude)The weight signals can be generated by encoding them into, in which case the client computes the matrix-vector product in part by detecting the interference of the weight signals with local oscillators modulated at the input to the DNN layer.

[0012] The spectrally multiplexed weights may form a weight matrix, in which case the client may compute a matrix-vector product by weighting columns of the weight matrix with inputs to the layer of the DNN to generate a spectrally multiplexed product, demultiplexing the spectrally multiplexed product, and detecting the spectrally multiplexed product with a respective photodetector. In this case, weighting columns of the weight matrix with inputs to the layer of the DNN may include simultaneously modulating multiple wavelength channels. Alternatively, the client may weight rows of the weight matrix with inputs to the layer of the DNN to generate a time-multiplexed product and detect the time-multiplexed product with at least one (and possibly only one) photodetector. In this case, weighting rows of the weight matrix with inputs to the layer of the DNN may include independently modulating each of multiple wavelength channels.

[0013] The NetCast system may include both a server and one or more clients. The server may include a first memory, a (laser) source, and a first modulator operably coupled to the first memory and the source. In operation, the first memory stores the weights (weight matrix) of the DNN. The source emits an optical carrier (e.g., a frequency comb). And the first modulator generates a weight signal including the weights modulated onto a wavelength division multiplexed (WDM) channel of the optical carrier. The client is operably coupled to the server via an optical link and includes a second memory, a second modulator, and a frequency selective detector. In operation, the second memory stores activations for the layers of the DNN. The second modulator operably coupled to the second memory modulates the activations onto the weight signal, thereby generating a matrix-vector product of the weights and the activations. The frequency selective detector operably coupled to the modulator detects the WDM channel of the matrix-vector product.

[0014] The first modulator can modulate a WDM channel of the optical carrier with each entry of a column of the weight matrix of the DNN over each time step. It can include micro-ring resonators configured to modulate the WDM channel. The frequency selective detector can include a pair of ring resonators for each WDM channel and one balanced detector for each pair of ring resonators.

[0015] In some cases, the first modulator can modulate the sign of the weight onto the optical carrier, in which case the client further includes an intensity modulator operably coupled to the first modulator to modulate the amplitude of the weight onto the optical carrier. Similarly, the second modulator can modulate the sign of the activation onto the weight signal, in which case the client includes at least one intensity modulator operably coupled to the second modulator to modulate the amplitude of the activation onto the weight signal.

[0016] The Coherent NetCast system also includes a server and at least one client. The Coherent NetCast server includes a first memory for storing the weights of the DNN, a laser source for generating a frequency comb, and a frequency selective modulator operably coupled to the first memory and the laser source to generate a weight signal including the weights modulated onto a WDM channel of the frequency comb. The client is operably coupled to the server via an optical link and includes a second memory, a local oscillator (LO), a modulator, and a frequency selective detector. The second memory stores activations for the layers of the DNN. The LO generates an LO frequency comb phase-locked to the frequency comb. The modulator is operably coupled to the second memory and the LO to modulate the activations onto the LO frequency comb. The frequency selective detector is also operably coupled to the modulator to detect interference of the weight signal and the LO frequency comb, thereby generating a matrix-vector product of the weight signal and the activations.

[0017] The frequency selective modulator may include a pair of ring resonators for each of the WDM channels located on different arms of a Mach-Zehnder interferometer, and the frequency selective detector may include a pair of ring resonators for each of the WDM channels and one balanced detector for each pair of ring resonators.

[0018] All combinations of the above concepts and additional concepts discussed in more detail below (provided that such concepts are not mutually inconsistent) are considered to be part of the inventive subject matter disclosed herein. In particular, all combinations of the claimed subject matter appearing at the end of this disclosure are considered to be part of the inventive subject matter disclosed herein. Terms explicitly used in any disclosure incorporated herein by reference should be given the meaning most consistent with the specific concepts disclosed herein. [Brief description of the drawings]

[0019] Those skilled in the art will appreciate that the drawings are presented primarily for illustrative purposes and are not intended to limit the scope of the inventive subject matter described herein. The drawings are not necessarily to scale. In some instances, various aspects of the inventive subject matter disclosed herein may be shown exaggerated or enlarged in the drawings to facilitate understanding of different features. In the drawings, like reference characters generally refer to like features (e.g., functionally similar and / or structurally similar elements).

[0020] [Figure 1]Figure 1 shows an architecture system called NetCast for low-power edge computing using optical neural networks (ONNs) via wavelength division multiplexed (WDM) weight broadcast. The NetCast system includes a weight server with a WDM transmitter array (left), an optical link (center), and a client with a modulator coupled to a WDM receiver array with differential detection and integration (right). Specifically, Figure 1 shows the WDM transmitters and receivers implemented with microring arrays; however, they can also be implemented with Mach-Zehnder modulators and / or other components.

[0021] [Diagram 2] Figure 2 shows the data flow in the NetCast ONN of Figure 1. A matrix-vector product is performed on M wavelength channels in N time steps. At each time step n, a weight wmn is encoded by adjusting the electrical input to the modulator in the WDM transmitter array (in this case the detuning Δmn of the ring resonator). The through and drop port outputs

number

number

[0022] [Diagram 3]Figure 3 shows a coherent implementation of NetCast. The lines of the frequency comb are independently modulated with DNN weights using a WDM-MZM (here a ring-array-assisted MZM). At the client side, the signal is beat to a local oscillator (LO) and modulated at the DNN layer input by another MZM, and the wavelength channels are read out separately with a WDM homodyne detector. The main additional complexity comes from stabilizing the phase, frequency, and line spacing of the LO comb.

[0023] [Figure 4] FIG. 4A illustrates the difference between the time-integrate / frequency-separate (TIFS) and frequency-integrate / time-separate (FITS) integration schemes for NetCast.

[0024] FIG. 4B shows simple (top row) and low-noise (bottom row) server and client schematics for incoherent detection with TIFS (left client column) or FITS (right client column).

[0025] FIG. 4C shows a server and client schematic for coherent detection with TIFS (left client column) or FITS (right client column).

[0026] [Diagram 5] FIG. 5A is a plot of the MNIST DNN classification error as a function of the noise amplitude σ in Eq. (14) for a small neural network (NN).

[0027] FIG. 5B is a plot of the MNIST DNN classification error as a function of the noise amplitude σ in Eq. (14) for a large NN.

[0028] [Figure 6] FIG. 6A is a schematic diagram of a wafer-scale NetCast weight server based on a wavelength-multiplexed log-depth switching tree.

[0029] FIG. 6B shows an aircraft equipped with smart sensors linked to a central server in the NetCast architecture.

[0030] FIG. 6C shows a separate edge device (e.g., a drone) coupled to a central server via a free-space optical link in the NetCast architecture.

[0031] FIG. 6D shows a data center with edge devices linked to a central server via fiber links in a NetCast architecture.

[0032] [Figure 7] FIG. 7A shows the data flow for inference (solid arrows) and training (dashed arrows) through a single DNN layer.

[0033] FIG. 7B shows the w mn The weight update in the time-frequency space, δ, is similar to the encoding of mn This shows the encoding of

[0034] FIG. 7C shows an incoherent server and naive (top row) and low-noise (bottom row) client designs for training a DNN.

[0035] FIG. 7D shows a coherent server and client design for training a DNN.

[0036] [Figure 8] FIG. 8A illustrates combining weight updates from multiple clients using time interleaving for an incoherent scheme, and simple combining for a coherent scheme, to combat spurious interference.

[0037] FIG. 8B shows incoherent combining hardware, i.e., an MZI splitting tree (top) or a passive junction with time delays (bottom, immature man's interleaver).

[0038] FIG. 8C shows passive signals being combined in a coherent scheme. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0039] FIG. 1 illustrates a NetCast optical neural network 100, including a weight server 110 and one or more clients 130 connected by optical links 120. (For clarity, FIG. 1 illustrates only one client 130.) The weight server 110 includes a light source, illustrated in FIG. 1 as a mode-locked laser 111 that generates optical carriers in the form of a frequency comb (although coherence between frequency channels is not required for incoherent NetCast). Other suitable light sources include an array of lasers emitting at different frequencies. The weight server 110 also includes a broadband modulator, illustrated as a set of tunable wavelength division multiplexing (WDM) modulators (represented as a microring array) 112, whose inputs are optically coupled to the light source 111 and whose outputs are coupled via a bus waveguide to an input port of a polarizing beam splitter (PBS) 113. In this example, there are four microring modulators 112, each tuned to a different frequency from ω1 to ω4. The microring modulator 112 is driven with weights stored in a first memory, i.e. a random access memory (RAM) 113 that stores the weight matrix of the DNN, by a multi-channel digital-to-analog converter (DAC) 114 that converts the digital signal from the RAM 113 into an analog signal suitable for driving the microring modulator 112.

[0040] The output port of the beam splitter 113 is coupled to an optical link 120, which may be a fiber link 121 (e.g., polarization maintaining fiber (PMF) or single mode fiber (SMF) with polarization control at the output), a free space link 122, or an optical link with fan-out 123 for connecting to multiple clients 130. If the server 110 is connected to multiple clients 110, it may connect to each client 110 via a different (type) optical link 120. Furthermore, a given optical link 120 may include multiple segments, including multiple fiber or free space segments connected by amplifiers or repeaters.

[0041] Each client 130 includes a PBS 131 with two output ports that are coupled to respective input ports of a Mach-Zehnder modulator (MZM) 133 that has a phase modulator 132 in the path from one PBS output to a corresponding MZM input. The outputs of the MZM 133 are demultiplexed into an array of differential detectors 135, one for each wavelength channel. Demultiplexing can be accomplished using a variety of passive optical components, including arrayed waveguide gratings, unbalanced Mach-Zehnder trees, and ring filter arrays (shown here). In a ring-based implementation, the light is filtered in a bank of WDM ring resonators 134. The ring resonators 134 in each bank are tuned to the same resonant frequencies ω1 to ω4 as the micro-ring modulators 112 of the client 110. Each resonator 134 is paired with a corresponding resonator in the other bank that is tuned to the same resonant frequency. These pairs of resonators 134 are evanescently coupled to respective differential detectors 135, such that each differential detector 135 is coupled to a pair of resonators 134 that resonate at the same frequency (e.g., ω1). In this arrangement, the pairs of resonators 134 act as passband filters that couple light at a particular frequency from the MZM 133 to their respective differential detectors 135.

[0042] The differential detector 135 is coupled to an analog-to-digital converter (ADC) 136, which converts the analog signal from the differential detector 135 to a digital signal that can be stored in a RAM 137. The RAM 137 also stores inputs to one or more layers of the DNN. The RAM 136 is coupled to a DAC 138, which is in turn coupled to the MZM 133. The DAC 138 drives the MZM 133 with the DNN layer inputs stored in the RAM 137, as described below.

[0043] The NetCast Optical Neural Network 100 functions as follows: Data is encoded using a combination of time multiplexing and WDM, and the server 110 and client 130 perform an M×N matrix-vector product in N time steps across M wavelength channels. At each time step (indexed by n), the server 110 transmits, via optical link 120, a column w of the weight matrix. :,n to the clients 130. The server 110 modulates the weight matrix elements stored in RAM 113 onto a frequency comb to generate weight signals using wideband modulators (e.g., micro-ring resonators 112). The server 110 then transmits the weight signals to the clients 130 over optical link 120. The MZM 133 of the clients 130 multiplies the weight signals with the inputs to the corresponding DNN layers stored in the client RAM 137. A pair of M WDMs (e.g., M ring resonators 134) and M difference photodetectors 135 (one set per wavelength) in the clients 130 demultiplex the outputs of the MZM 133. These outputs are represented as products of weights with input vectors, w, stored in the client RAM 137. mn x n Integrating over all N time steps, the total charge accumulated on each difference detector 135 is y m =Σ n w mn x n (1) which performs the desired matrix-vector product.

[0044] FIG. 2 shows the NetCast protocol, in more detail, of the optical neural network 100 of FIG. 1. Again, the server 110 includes a broadband WDM source 111 emitting an optical carrier with multiple channels, such as an optical frequency comb, and coupled to a weight bank of micro-ring (or disk) modulators 112. Each micro-ring modulator 112 is coupled to a single WDM channel and transmits a portion of its input power to a through port, which is coupled to a waveguide coupled to the top port of the PBS 115. Each micro-ring modulator 112 reflects the remaining input power to a drop port, which is coupled to a waveguide coupled to the bottom port of the PBS 115. The difference between the power transmitted and reflected by the micro-ring modulator 112 encodes a weight, each of which can be positive or negative. This is expressed as a transmission coefficient and a reflection coefficient, i.e.,

number

number

[0045] The PBS 115 combines the through and drop port outputs of the ring modulator 112 into orthogonal polarizations in a polarization-maintaining output fiber (PMF) optical fiber link 121 that transmits the combined through and drop port outputs as a weighted signal to the client 130. If the through and drop beams have the same polarization (e.g., transverse electric (TE)), there may be a polarization rotator coupled to one input port of the PBS 115 to rotate the polarization of one input to the PBS 115 (e.g., from TE to transverse magnetic (TM)) so that the inputs can be coupled to the same output port of the PBS 115 as orthogonal modes (e.g., TE and TM modes propagate in the same 121 waveguide). The optical link 120 may be over fiber or free space and may include optical fan-out to multiple clients as described above. If the link loss or fan-out ratio is large, the server output may be pre-amplified by an erbium-doped fiber amplifier (EDFA) or another suitable optical amplifier (not shown).

[0046] At the end of link 120, the weighted signals enter client 130, where a second PBS 131 separates the polarizations and a phase shifter 132 (FIG. 1) corrects any relative phase shift due to polarization mode dispersion introduced in link 120.

number

number

[0047] Finally, the WDM channels are demultiplexed using a ring resonator 134 and the power in each channel is read out on a corresponding photodetector 135. In this case, in a ring-based WDM transmitter, the difference current between the MZM outputs is

number

[0048] The first term in equation (4) is the DNN weight (|t mn | 2 -|r mn | 2 ) and activation (cos(2θ n The second term Re[t * mn r mn ]sin(2θ n ) is unwanted. This is due to interference between the through and drop port outputs of MZM133. This interference can be suppressed or eliminated by ensuring that the fields are ±π / 2 out of phase (true in the critical coupling case equation (2)), by cancelling them with a time delay (but this reduces the throughput by a factor of two), or by using two MZMs instead of one (at the cost of extra complexity).

[0049] NetCast uses time multiplexing, where the matrix-vector product is derived by integrating over multiple time steps. For clarity, let the wavelength channels be indexed m and the time steps be indexed n. At each time step n, the weight server 110 computes the column w of this matrix. :,n where the weights are related to the modulator transmission coefficient (and hence the detuning) and the activation x n is encoded in the MZM phase.

number

[0050] After integrating equation (4) over the time step, the differential charge on detector pair m is: y m =Σ n ΔI mn =Σ n w mn x n (7) This is the desired matrix vector product.

[0051] At a high level, the NetCast architecture encodes neural networks (weights) into light pulses and broadcasts them to light clients 130 for processing, hence the name NetCast.

[0052] NetCast Architecture Variants The NetCast concept is very flexible. For example, if there is a stable local oscillator, a coherent version can be made using homodyne detection rather than differential power detection. NetCast does not rely on coherent detection or interference, although coherent detection can improve performance. Furthermore, the fast MZM can be replaced by an array of slow-ring modulators to integrate the signal over frequency rather than time (x instead of wx). T Finally, there are some ways to reduce the noise introduced by differential detection when many of the signals are small.

[0053] Coherent NetCast FIG. 3 shows a schematic diagram of an exemplary coherent NetCast architecture 300. Similar to the incoherent architecture 100 of FIG. 1, the coherent architecture 300 of FIG. 3 includes a weight server 310 coupled to one or more clients 330 via respective optical links 320 (for simplicity, FIG. 3 shows only one optical link 320 and one client 330). The weight server 310 includes a frequency comb source 311, such as a mode-locked laser, optically coupled to a WDM-MZM 312. The WDM-MZM independently modulates the amplitude of each frequency channel. Specifically, FIG. 3 shows a ring-based implementation that includes a pair of ring resonators for each WDM channel, with one half of each ring resonator pair evanescently coupled to one arm of the MZM and the other half evanescently coupled to the other arm. The ring resonator of the WDM-MZM 312 can be tuned by the DAC 314 based on weights stored in the RAM 313 or other memory.

[0054] This architecture 300 is referred to as a coherent architecture because the weighting data is encoded with coherent amplitudes and the client 330 performs coherent homodyne detection using a local oscillator (LO) 340. A tap coupler (e.g., a 90:10 beam splitter) 341 couples a small portion of the output of the LO 340 to one port of a differential detector 342 and couples the remaining portion to the input of the MZM 333. Similarly, the other port of the differential detector 342 receives a portion of the weighting signal from the server 310 via another tap coupler 332. The output of the differential detector 342 drives a phase locking circuit 343 that stabilizes the carrier frequency and repetition rate of the LO 340 in a phase locked loop (PLL). The second tap coupler 332 couples the remaining weighting signal to a 50:50 beam splitter 344 whose other input port is coupled to the output of the MZM 333. The output ports of this 50:50 beam splitter 344 are fed to respective input ports of the WDM homodyne detector 334 .

[0055] Specifically, FIG. 3 shows a ring drop filter based implementation with a ring resonator pair coupled to a respective differential detector, such as client 110 of FIG. 1. Each ring resonator pair of WDM homodyne detector 334 is tuned to a different WDM channel such that each differential detector transmits a homodyne interference between the corresponding weight signal and the LO WDM channel. ADC 336 digitizes the output of WDM homodyne detector 334 for storage in RAM 337, which also stores the DNN layer input for driving MZM 333. DAC 338 converts the digital DNN layer input from RAM 337 to an analog signal for driving MZM 333.

[0056] As shown in Figure 1, the weight w mn is generated in the server 310 on a time-frequency basis by modulating the lines of a frequency comb and broadcasting the resulting weighted signals to the clients 330 via optical link 320. The coherent clients 330 in FIG. 3 are Complex The same frequency comb from the LO 340 of the client 330 encodes the data in amplitude and uses a single polarization. Complex It serves as the LO signal for measuring the amplitude. A portion of the LO signal power is detected by the differential detector 342 and mixed with the weight signal to generate the beat note used by the phase locking circuit 343 to lock the LO comb to the server's comb. The remaining portion of the LO comb is amplitude modulated by the MZM 333 to provide the activation x n The wavelength demultiplexing homodyne detector 334 scales the amplitude of the LO comb by the product w mn x n and the products are integrated to obtain the matrix-vector product as in the incoherent case.

[0057] One advantage of coherent detection at the client 330 is increased data rates. The coherent scheme shown in Figure 3 and described above encodes data in a single orthogonal and polarized light. By encoding data in both quadrature and both polarized lights, the coherent scheme shown in Figure 3 provides four times the capacity of the incoherent scheme shown in Figures 1 and 2.

[0058] Another advantage of coherent schemes is the increased signal-to-noise ratio (SNR), especially at low signal powers. This is especially relevant for long-distance free-space links where the transmission efficiency is very low. Homodyne detection with a sufficiently strong LO allows this signal to be measured up to the quantum limit, rather than being overwhelmed by Johnson noise.

[0059] The inputs and weights are in the range x n ,w mn ∈[-1,1]. The combline amplitude input to the homodyne detector, normalized to the number of photons, is

number

number

number

[0060] ​The same protocol could also work if the weight data were sent over an RF link. In this case, a mixer would be used instead of an optical homodyne detector. The advantage of using an optical link is that it is 10 4 -10 5 × Much higher data capacity driven by higher carrier frequencies.

[0061] Additional NetCast Variants NetCast is highly scalable: it can detect coherently or incoherently, integrate over frequency or time, and in the case of incoherent detection reduce noise at the receiver with additional complexity.

[0062] 4A-4C show different variants of NetCast. All of these variants encode a weight matrix in the time-frequency space, where w mn is the time step t n Amplitude of the wavelength band at ω m FIG. 4A shows two possible matrix-vector multiplication schemes: right multiplication y=wx with time integration / frequency separation (TIFS; top) using a high-speed MZM and WDM photodetector (PD), or left multiplication y with time integration / frequency separation (FITS; bottom) using a client's high-speed photodetector (PD) and weight bank (WB). t =x T The weight bank serves to independently weight the power of the frequency channels, and one possible implementation includes the activation x encoded with the resonator detuning, as shown in Figure 2. m The FITS method involves an array of ring resonators that integrates over frequency at . Unlike the TIFS method, which uses many slow detectors, FITS uses a single pair of fast detectors.

[0063] 4B shows a weight server (left column), a TIFS client (middle column), and a FITS client (right column) for simple incoherent detection (top row) and low noise incoherent detection (bottom row). Simple incoherent detection can be implemented with the weight server 100 and TIFS client 130 from Figures 1 and 2. It can also be implemented with a FITS client 130' that uses a weight bank of a ring resonator 134' with add and drop ports coupled to differential detectors 135' with different inputs.

[0064] In the TIFS client 130, the optical signal is modulated by a wideband MZM 133 that simultaneously modulates all wavelength channels. This is called activation x n The weight matrix w mn The resulting wavelength channels are demultiplexed 134' and the products are detected in a difference detector 135' after time integration (the row sums of the weighting matrix, Σ n w mn x n ).

[0065] In the FITS client 130′, the optical signal is sent through a weight bank 134 that modulates each wavelength channel independently. This is done by using activation x m By dividing the weight matrix by row w mn The resulting signal is detected on a difference detector, and at time step n, the difference current is the sum of all contributing wavelength channels (the row sum of the weighting matrix, Σ m w mn x m ).

[0066] The low-noise incoherent server 410 and clients 430 and 430′ shown in the bottom row of FIG. 4 operates with lower noise than the incoherent server 110 and clients 130 and 130′ (but not as low as the coherent server 310 and clients 330 and 330′) and does not require LO. Compared to the simple incoherent weight server 110, the low-noise incoherent weight server 410 has an additional wavelength-selective intensity modulator (IM) 441 in front of the array of micro-ring modulators 412. This wavelength-selective intensity modulator 441 can be implemented in an array of rings as shown in FIG. 4B. The intensity modulator 441 modulates the weight amplitude |w mn Onto the optical carrier, the microring modulator 412 functions in binary mode to encode the sign of the weight onto the optical carrier. Similarly, in the TIFS client 430, an additional pair of intensity modulators 442 coupled to the input of the MZM 433 is used, as shown in FIG. 4B. The intensity modulators 442 encode the DNN input amplitude |x n | while the MZM 433 functions in binary mode to encode the sign of the DNN input. The ring resonator 134 filters each WDM channel for detection by the balanced photodetector 435, as described above. The FITS client 430' also includes an intensity modulator 442' coupled to the ring resonator 434', whose add and drop ports are coupled to different inputs of a differential detector 435'.

[0067] 4C shows weight server 310, TIFS client 330, and FITS client 330' operating using coherent detection. Weight server 310 and TIFS client 330 are described above with respect to FIG. 3. FITS client 330' uses a high-speed homodyne detector 334' to detect interference between the weight signal and an LO comb modulated on a WDM-MZM 333', such as WDM-MZM 312 of server 310, whose comb line generates the weight signal. One advantage of the homodyne approach is its low noise, which allows the ONN to operate at low received optical power, but the LO adds significant complexity to client 330'.

[0068] Depending on the desired neural network performance and system complexity, simple and low-noise incoherent servers and clients can be mixed and matched. To illustrate the benefits of low-noise configurations, we consider four cases: S / S, S / LN, LN / S, and LN / LN (simple server / simple client, simple server / low-noise client, etc.). In each case, the amplitude a w Start with an unweighted frequency comb with wt =|a w | 2 is the number of photons per weight (at the source), and we normalize the variables such that,w,x∈[-1,1]. 1.S / S: Weight bank (WB) is w mn are encoded into the differential power of the two channels multiplexed by PBS. These are

number

number

number

number

number

number

number

number

number

[0069] These cases are listed in Table 1. If they have the same differential charge Q det =w mn x n N wt The total PD charge, which sets the shot noise limit while collecting,can vary significantly when many inputs or weights are small (or zero).,This is true in general, and especially so for DNN weights, which,are often truncated to save memory.

[0070] From the PD charge, the logic output y m We can calculate the shot noise above. In general, we get

number

[0071] The right column of Table 1 shows the noise amplitude σ for the four incoherent schemes (as well as the coherent scheme, Eq. (9)). m As expected, the low-noise and coherent schemes have lower noise amplitudes than the simple scheme.

number

[0072] Since time and frequency are Fourier conjugates, noise analysis can be done in the FITS and TIFS integration schemes by substituting w → w T and N → M (swap time bins with frequency channels). Moreover, a side benefit of the low noise scheme is robustness against phase errors. Since the MZM is always in BAR or CROSS configuration, + and a - There is no interference between them and the relative phase is no longer important.

[0073] performance throughput If the client is implemented as a matrix vector multiplier, for example as shown in Figures 1 and 2, it performs one MAC per received weight. The client throughput is therefore limited by the optical link. The NetCast system can have a matrix-matrix client with on-chip fan-out after the PBS 115 (Figure 1). This increases the maximum throughput by a constant factor (κ MACs per weight) at the expense of complexity (clients are over-replicated κ times). However, in this case the link bandwidth still limits the throughput.

[0074] Fundamentally, the channel capacity of the optical link between the server and the client is usually limited by crosstalk. In this architecture, crosstalk takes two forms: (1) temporal crosstalk and (2) frequency crosstalk. Temporal crosstalk arises from the finite photon lifetime of the ring modulator and its finite RC time constant. Taken together, this is approximately the modulator response time

number

number

number

number

[0075] Frequency crosstalk occurs between channels in a WDM receiver (even in perfect WDM, the transmitter ring has frequency crosstalk). This is due to the Lorentz-type linear X-ray diffraction. ω =(1 / 2κ) 2 / (Δω 2 +(1 / 2κ) 2 ), where Δω is the spacing between adjacent WDM channels. For low crosstalk Δω>>κ, this gives the minimum channel spacing:

number

[0076] Analog crosstalk needs to be low enough for DNNs to function.

number

number

[0077] Table 2 shows capacity as a function of crosstalk. These values ​​are in the same ballpark as the HBM memory bandwidth of high-end GPUs (e.g., 6-12 Tbps). For a matrix-vector with 1 MAC / wt, it may not be possible to reach GPU or TPU levels of arithmetic performance (>50 TMAC / s). This may involve optical fan-out in the client, either to reuse weights (as mentioned above, GPUs and TPUs do this anyway) or to operate beyond the C-band.

[0078] There may also be practical bandwidth limitations set by the dispersion of the MZM, long fiber links, PBS, or free space optics. Many of these bandwidth limitations can be avoided with proper engineering. [Table 2]

[0079] Laser power / SQL The server needs to emit enough laser power to maintain a reasonable SNR at the detector. Noise can be modeled as a Gaussian term in the matrix-vector product of each DNN layer. After equation (10), we get:

number

[0080] Here, σ J and σ S are the Johnson and shot noise contributions, respectively. Johnson noise causes so-called kTC noise fluctuations in the charge on the capacitor. These fluctuations are

number

[0081] There are at least two ways to define a benchmark standard for laser output. First, a standard can be defined based on the source power in a frequency comb at the weight server before the WDM-MZM. src This is the same as the N wt Second, the base is N tr It can be defined based on the transmission power (average) at the output of the weight server, denoted by . If many of the weights are zero and a low noise or coherent detection scheme is used, this can be expressed as N src The received power (at the client) is only N of the link efficiency. tr Although source power is a convenient basis without a practical amplifier, transmitted power may be a more convenient basis, so long as it is possible to amplify the signal efficiently without too much dispersion, nonlinearity, or crosstalk. Furthermore, using transmitted power often leads to more favorable results.

[0082] To calculate the energy flux imposed by noise in an ONN, we run the neural network with additive Gaussian noise (Eq. (14)) in each layer and define a noise limit, the maximum allowed noise amplitude σ max Consider computing , which depends on the DNN and the tolerance for error.

[0083] Figures 5A and 5B show the error rate as a function of σ for the MNIST perceptron for small and large NNs, respectively. If noise makes the error larger by less than 1.5×, then σ for the small NN (100-neuron hidden layer) is 0.01. max = 0.27 and 0.95 for large NNs (1000-neuron hidden layer).

[0084]

number

number

[0085] Shot noise term σ sis inversely proportional to the square root of the power. It puts a lower limit on the optical power, called the Standard Quantum Limit (SQL), because it arises from fundamental quantum fluctuations in the coherent state (not thermal fluctuations, which can be avoided with a small enough capacitance or by using avalanching or on-chip gain before the detector). The SQL may be relevant here for two reasons: (1) the optical power budget is much lower due to laser efficiency, free carrier effects, and nonlinear effects. The chip can withstand 100W heating, whereas most silicon-on-insulator (SOI) waveguides take up to 100mW; and (2) the link may be very low efficiency in many applications (e.g., long distances in free space). So, unlike HD-ONN, the NetCast system may operate close to the SQL.

[0086] The coefficient F, src and F tr Coefficient definitions:

number

number

[0087] Therefore, the energy limit is a factor F src , F tr These coefficients can be obtained by the form of σ (Table 1). Table 4 lists the coefficients for each scheme. As mentioned above, sparse or nearly sparse weights or activations

number

[0088] At first glance, even with a simple design, the noise-limited power is E min = 1.4fJ / MAC, low enough that it is likely to be dominated by on-chip electronics, e.g., DACs, ADCs, and memory, such a reduction may not seem significant. However, this noise-limited power means that even for a modest throughput of 1 TMAC / s, there is 1.4mW of optical power at the receiver. Considering that lasers and EDFAs are supported at 10-100mW maximum, this puts limitations on the allowable optical fan-out, not to mention link loss and eye safety. Especially for lossy links (e.g., drones connected over long distances over free space), it is best to use as little E as possible, even if it does not impact the client-side power budget. min There is a strong incentive to reduce

[0089] Fortunately, the coherent and LN / LN incoherent schemes can operate at very low transmission energies of a few photons / MAC, even at 1 TMAC / sec. min <1umW can be achieved. In such a client, a 10mW source can achieve up to 10 4 Alternatively, a low-loss link could provide enough power for 100 TMAC / s of computation, beating a TPU with a sub-mW (optical) power budget.

[0090] In low-noise incoherent schemes, the shot noise limit is so low that Johnson noise can dominate the shot noise. To suppress Johnson noise, signal pre-amplification (e.g., with EDFA or semiconductor optical amplifiers) or an avalanche detector can be used. [Table 5]

[0091] Client Power Consumption The power consumption at the client depends on (1) fetching activations from client memory (inputs to the DNN layers), (2) driving the MZM, and (3) reading and digitizing the detector output.

[0092] By broadcasting weights from the server to clients, NetCast eliminates the need to retrieve weights from client memory. In general, weights in a DNN occupy much more memory than activations. In a fully connected layer, weights take up O(N 2 ) memory, while activations only use O(N). (Batching evens this out a bit, but the size of a mini-batch is typically smaller than N.) Furthermore, unlike weights, all of which must be stored somewhere; during estimation, only the activations of the current layer need to be stored at any time (excluding branch points and residual layers). Thus, the ratio of weights to activations increases with the depth of the network and the size of its layers.

[0093] Without weights, the client can store the entire state of the DNN in on-chip memory, eliminating dynamic random access memory (DRAM) reads on the client side. Furthermore, even when reading from on-chip memory, there is a data reuse factor of M from wavelength multiplexing in the MZM, as shown in Figure 1. Thus, the memory-related energy consumption by the client is very low.

[0094] Driving an MZM at the client does not consume much power. A free carrier-based uni-travel carrier (UTC) MZM transmitter uses O(1) pJ / bit. As with memory reads, WDM amortizes the driver cost over M channels, so the energy per MAC is O(1 / M) pJ. For many channels, the driving cost can be driven below a few tens of femtojoules / MAC. (This assumes that the MZM is UTC over the entire bandwidth and ignores dispersion). More exotic modulators (e.g. based on LiNbO3, organic polymers, BaTiO3, or photonic crystals) can reduce the modulation cost to femtojoules, which is again amortized to 1 / M from WDM. However, with modulators available in foundries today, low fJ / MAC performance is already possible.

[0095] Reading and digitizing the detector output at the client also consumes a small amount of power. The power consumption during readout and digitization is typically dominated by the analog-to-digital conversion (ADC), which is O(1) pJ / sample with 8-bit accuracy. It is possible to scale the ADC energy down to below 100 fJ by sacrificing 1 or 2 bits without compromising performance. In any case, after dividing by N>100, the cost of the ADC is at most a few tens of femtojoules / MAC.

[0096] The client may consume power for other operations, including tuning and control of the ring resonator used as a filter. Thermal ring tuning can raise the system-level power consumption of the ring modulator from fJ / bit to pJ / bit. If the receiver WDM (designed with a ring array as shown in Figure 1) is not thermally stable, it can be thermally tuned. The power consumption of thermal ring tuning can be reduced by using MEMS or carrier tuning.

[0097] Server Power Consumption In the highest power consumption scenario, the weight server stores all its weights in DRAM, achieving zero local data reuse, and therefore the power budget is dominated by DRAM reads (~20pJ / wt at 8-bit precision). For a target bandwidth of 1 Twt / s, this is roughly 20W. The transmitter may add a few watts (assuming the same O(1)pJ / wt as before), after which we have the optical power considered before.

[0098] The NetCast server-client architecture can lead to entirely new data flows, as the server is freed from computation and memory writing tasks. For example, weight servers can be built as wafer-scale weight servers that store weights in static random access memory (SRAM). With commensurate improvements in the modulators, energy consumption can decrease by orders of magnitude. Wafer-scale servers need to store data locally to avoid both off-chip and on-chip interconnect costs.

[0099] FIG. 6A shows an interlayer chip 600 that forms a low-power optical backbone for weight servers. Weights are stored in a regular array of SRAM blocks 613 on a wafer-scale (or multi-chipset) processor. Each SRAM block 613 is coupled to its own WDM modulator array 612 via a corresponding DAC 614 and has enough memory to step through a small number of time steps (e.g., 100 time steps). A server can select an SRAM block 613 on demand using a log-depth optical switching tree with MZMs 618 controlled by switching logic 619 at each cross point. The switching tree architecture is highly modular, making it possible to combine multiple wafer-scale servers when a model is too large for a single server. With a flexible photonic backbone (which can be built with slow but low-loss components, e.g., thermo-optical or MEMS components), the servers can serve different models independently or pool resources to build one server that rules them all.

[0100] At first glance, switching trees seem energy intensive if each leaf on the tree has one weight and the switch toggles every clock cycle. However, in this case, each leaf may contain many weights and can wait many clock cycles before switching. This significantly reduces the load on the switching network. However, NetCast needs to run with reasonable power on existing technology, even when the weights are stored in DRAM.

[0101] NetCast Applications There are many edge computing scenarios where smart sensors have direct line of sight or fiber optic connections to servers but lack power. For example, while a complex machine such as an aircraft may contain hundreds of sensors that may be linked through fiber inside the aircraft, as shown in Figure 6B, wiring them together may be cumbersome or dangerous or may make the signals susceptible to electromagnetic interference. This is especially true in space, where the long wires connecting the chips are prone to electrostatic discharges during solar storms.

[0102] Figure 6C shows NetCast used for surveying and field operations, where deep learning is brought to a network of solar or battery-powered cameras, drones, and other Internet of Things (IoT) devices to assist with tasks such as environmental monitoring, exploration, and resource detection. In this case, optical fibers are replaced by pencil beams of smart light that broadcast DNN weights to all devices within line of sight of the base station. A free-space transmitter coupled to a server may use potentially precise beam steering equipment for multiple beams that serve broadband signals for pointing, acquisition, and tracking of client devices.

[0103] Figure 6D shows NetCast deployed in a data center, where a single DNN server optically serves multiple racks, each of which holds a client. When the same neural network runs in parallel with many users, this allows a large amount of the energy cost (weight recovery) to be amortized over the number of racks. NetCast is more robust than other optical weight servers because (1) the incoherent version of NetCast does not rely on coherent interference, and (2) even in free-space links, there is a single mode to align.

[0104] NetCast offers several advantages over other schemes for edge processing using DNNs. First, it integrates the optical power in the analog domain and reads it out at the end. Thus, the energy consumption is O(1 / N) smaller than that of digital optical neural networks. It can be used to scale large DNNs (e.g., 10 8 It can be used to implement a metric with a metric of over 1000 metric weights (more than 1000 metric weights). It can operate without phase coherence, which relaxes the requirements on the stability of the links connecting the server and the client. Furthermore, the links are not imaging links; they are fiber optic links, or single-mode free-space links with simple Gaussian optics. Finally, the metric can be implemented with a metric of O(MN), or O(N 2 ), the chip area scales as O(M) because NetCast has fixed outputs, unlike fixed-weight schemes.

[0105] Distributed Training Another exciting possibility is to perform distributed training using a bidirectional optical link between the server and the clients. Training allows the server to update weights in real time from data processed on the clients. The following training method is compatible with NetCast and runs on similar hardware.

[0106] DNN training is a two-step process. First, activation X n =∂J / ∂x n , ψ m =∂J / ∂y m The gradient of the loss function J with respect to is calculated by backpropagation. Within each layer, the backpropagation relationship is

number

number

[0107] Second, the weight update δ mn = ∂J / ∂w mn , i.e., calculate the gradient of J with respect to the weights.

number

[0108] Backward propagation relies on matrix-vector multiplication. For the optical part, this is easy to implement in NetCast. Just w T For weight updates, we simply swap w for x and the gradient ψ, and the cross product δ = ψx T and sends the result (optically encoded in a compatible format) to the server.

[0109] Since the weight updates are matrices, they can be encoded in the same time-frequency format as the weight matrix, as shown in Figure 7B. To obtain the dot product, the rows of the matrix are scaled by ψ and the columns are scaled by x. This can be done by sending a frequency comb through an array of slow wavelength-selective modulators (represented in Figure 7B as a weight bank (WB) of ring resonators tuned to different resonant frequencies) and then through a high-speed broadband MZM. When the optical signal reaches the server, it is demultiplexed and each wavelength channel is read out on an array of high-speed detectors.

[0110] Figures 7C and 7D show three ways of doing this in hardware similar to the simple, low noise and coherent inference described above with respect to Figures 4B and 4C. Figure 7C shows a server 710a (left) connected via optical link 720 to simple clients 730a and / or low noise clients 730a' (top right) for using incoherent detection at the server 710a. Figure 7D shows a server 710b configured for coherent detection of a training signal from another client 730b via optical link 720.

[0111] In the simple client 730a of FIG. 7C, a mode-locked laser 731 is modulated by a weight bank (WB) of microring modulator 732a to generate a frequency comb that is fed to MZM 733. The WB modulator 732a is a part of the m ) and transmit the remaining part R=1 / 2(1-ψ m ) is set to reflect the θ n =1 / 2cos -1 (x n ), and mixing these inputs, but they are out of phase with each other by ±π / 2, no interference occurs and the power at each output port is

number

number

[0112] If many of the activations or weights are very small, the signal Q detIt can be difficult to solve this problem. The low noise client 730a′ of FIG. 7C solves this problem, similar to the low noise client 430 of FIG. 4B. Here, ψ m The sign and amplitude of x are encoded onto the frequency comb from source 731 by microring modulator 732a and wavelength-selective intensity modulator (IM) 741, respectively. Similarly, x m The sign and amplitude of is encoded into the MZM 733 and the intensity modulator pair 742. As a result, only one of the polarizations carries power (ψ m x n ), the power is |ψ m x n |. The detected differential charge is given by equation (21), but the total charge is greatly reduced along with the shot noise.

[0113] Since the coherent server 710b and client 730b share a common LO, the weights can be coherently encoded. This involves cascading the frequency comb from the comb source 731 through the low-speed WDM-MZM 732b to the high-speed broadband MZM 733 at the client side, and beating the resulting training signal against the LO 711 to LO comb of the WDM homodyne detector 712b at the server 710b. In this case, the signal field (rather than power) is ψ m x n At LO amplitude α, the charge on each detector is

number

[0114] As with estimation, the accuracy of training in NetCast is limited by detector noise, which is a function of optical power. In the large-signal limit, this noise leads to Gaussian terms in the computed cross products.

number

[0115] σ mn often depends on the specific matrix elements, but on average

number

number

number

[0116] If training is truly distributed, the server may receive weight updates from multiple clients. The client-side power budget for weight transmission is fairly low (O(M)+O(N) for an M×N matrix), but on the server side it is O(MN) since all weights are read into memory. If the server were to process the client weight updates independently, significant bandwidth and energy bottlenecks could occur. Therefore, it could be very advantageous to optically combine these updates before the server reads them.

[0117] Figure 8A shows the combining of weight updates in the optical components before reading at the server. In the incoherent case, the updates are interleaved in time to avoid spurious interference terms between overlapping optical signals of undefined phase (which can appear as noise). This can be done efficiently using a log-depth switching tree with fast MZM switches 801a and 801b to perform the interleaving as in the top half of Figure 8B. Alternatively, a passive combiner 802 with time delays can be used as a greenhorn interleaver at the expense of K times, where K is the number of clients as shown in the bottom half of Figure 8B.

[0118] In contrast, Figure 8C shows that since the signals are already in phase in a coherent scheme, they can be combined using ordinary passive optical elements without any interleaving. This involves a K-fold loss, but does not affect the SNR, since the relevant information (the sum of all client fields) is preserved during the combination. k , k∈{1,...,K}, and compare the results of K separate homodyne measurements.

number

number

[0119] The results of equations (23) and (24) vary with the scaling factor and have the same SNR. Thus, in a coherent scheme, the weight updates can be combined without losing any signal. Besides this, another advantage of the coherent scheme is the speed. Without interleaving, it is much faster for many clients. In the incoherent case, interleaving can limit the weight update speed to the limit derived above. In contrast, with coherent optics, these weight updates are optically batched and the limit no longer applies. This can be a big advantage in systems with many clients and where the (optical) throughput is limited.

[0120] Conclusion While various embodiments of the invention have been described and illustrated herein, those skilled in the art will readily envision various other means and / or structures for performing the functions and / or obtaining one or more of the results and / or advantages described herein, and each such variation and / or modification is deemed to be within the scope of the embodiments of the invention described herein. Moreover, those skilled in the art will readily appreciate that all parameters, dimensions, materials, and configurations described herein are meant to be examples, and that the actual parameters, dimensions, materials, and / or configurations will depend on the particular application or applications in which the teachings of the invention are used. Those skilled in the art will recognize, or be able to ascertain, using no more than routine experimentation, many equivalents to the specific inventive embodiments described herein. Thus, it is to be understood that the foregoing embodiments are presented by way of example only, and that, within the scope of the appended claims and their equivalents, the embodiments of the invention may be practiced otherwise than as specifically described and claimed. The inventive embodiments of the present disclosure are directed to each individual feature, system, article, material, kit, and / or method described herein. In addition, any combination of two or more such features, systems, articles, materials, kits, and / or methods is included within the inventive scope of the present disclosure, if such features, systems, articles, materials, kits, and / or methods are not mutually inconsistent.

[0121] Also, various inventive concepts may be embodied as one or more methods, examples of which are provided. Acts performed as part of a method may be ordered in any suitable manner. Thus, embodiments may be constructed to perform acts in an order different from that illustrated, which may include performing some acts simultaneously despite being shown as sequential acts in the illustrated embodiments.

[0122] All definitions and uses herein should be understood to control over dictionary definitions, definitions in documents incorporated by reference, and / or ordinary meanings of the defined terms.

[0123] As used herein, in the specification and claims, the indefinite articles "a" and "an" should be understood to mean "at least one," unless clearly indicated to the contrary.

[0124] The phrase "and / or" as used herein in the specification and claims should be understood to mean "either or both" of the elements so conjoined, i.e., elements that are conjunctive in some cases and disjunctive in other cases. Multiple elements listed with "and / or" should be construed in the same manner, i.e., "one or more" of the elements so conjoined. Other elements, whether related or unrelated to the elements specifically identified, may optionally be present other than the elements specifically identified by the "and / or" clause. Thus, as a non-limiting example, "A and / or B," when used in conjunction with open-ended language such as "comprising," may refer in one embodiment to only A (optionally including elements other than B), in another embodiment to only B (optionally including elements other than A), in yet another embodiment to both A and B (optionally including other elements), etc.

[0125] As used herein and in the claims, "or" should be understood to have the same meaning as "and / or" as defined above. For example, when separating items in a list, "or" or "and / or" shall be interpreted as being inclusive, i.e., including at least one of, but also including a plurality of, some or all of the listed elements and possibly additional unlisted items. Only terms clearly indicated to the contrary, such as "only one of" or "exactly one of," or "consisting of," when used in the claims, shall refer to the inclusion of exactly one element of a number or list of elements. In general, as used herein, the term "or" shall only be interpreted as indicating exclusive alternatives (i.e., "one or the other but not both") when preceded by an exclusive term, such as "either," "one of," "only one of," or "exactly one of." "Consisting essentially of," when used in the claims, shall have its ordinary meaning as used in the field of patent law.

[0126] As used in this specification and claims, the phrase "at least one" in connection with a list of one or more elements should be understood to mean at least one element selected from any one or more of the elements in the list of elements, but not necessarily including at least one of each and every element specifically listed in the list of elements, and not excluding any combination of elements in the list of elements. This definition also allows for the optional presence of elements other than those specifically identified in the list of elements to which the phrase "at least one" refers, whether related or unrelated to the specifically identified element. NON-LIMITING EXAMPLES Thus, as a non-limiting example, "at least one of A and B" (or, equivalently, "at least one of A or B," or, equivalently, "at least one of A and / or B") can refer in one embodiment to at least one, and optionally two or more, A, and no B (and optionally including elements other than B); in another embodiment to at least one, and optionally two or more, B, and no A (and optionally including elements other than A); in yet another embodiment to at least one, and optionally two or more, A, and at least one, and optionally two or more, B (and optionally including other elements); etc.

[0127] As used herein in the specification and claims, when a numerical range is expressed in terms of two values ​​connected by the term "between," the range is to be understood to include both values ​​as part of the range.

[0128] In the claims, as well as in the above specification, all transitional phrases, such as "comprising," "including," "carrying," "having," "containing," "involving," "holding," "composed of," and the like, are to be understood as open-ended, i.e., meaning including but not limited to. Only the transitional phrases "consisting of" and "consisting essentially of" shall be closed or semi-closed transitional phrases, respectively, as set forth in the United States Patent Office Manual of Patent Examining Procedures, Section 2111.03.

Claims

1. generating, at a server, a weight signal comprising an optical carrier modulated with a set of spectrally multiplexed weights for a deep neural network (DNN); transmitting the weighting signal from the server to a client over an optical link; and The method includes, at the client, computing a matrix-vector product of (i) the set of spectrally multiplexed weights modulated onto the optical carrier and (ii) an input to a layer of the DNN.

2. The method of claim 1 , wherein generating the weighting signals comprises retrieving the set of spectrally multiplexed weights from a memory of the server.

3. 2. The method of claim 1, wherein generating the weighting signals comprises modulating a wavelength division multiplexed (WDM) channel of the optical carrier with a respective entry of a column of a weighting matrix of the DNN at each of a plurality of time steps.

4. Calculating the matrix vector product modulating the weight signals with the inputs to the layers of the DNN; demultiplexing the WDM channels of the weight signals modulated at the inputs to the layers of the DNN; and 4. The method of claim 3, comprising sensing the power of the respective WDM channel of the weight signal modulated at the input to the layer of the DNN.

5. modulating the weight signals at the inputs to the layers of the DNN; Intensity modulating an input to a Mach-Zehnder modulator with the amplitude of the input to the layer of the DNN; and 5. The method of claim 4, comprising encoding a sign of the input to the layer of the DNN using the Mach-Zehnder modulator.

6. generating the weighting signal, modulating the intensity of the optical carrier with the amplitude of the set of spectrally multiplexed weights prior to coupling the optical carrier into a set of ring resonators; and The method of claim 1 , comprising using the ring resonator to modulate the optical carrier with a code of the set of spectrally multiplexed weights.

7. generating the weight signal includes encoding the set of spectrally multiplexed weights onto a complex amplitude of the optical carrier; and 2. The method of claim 1, wherein computing the matrix-vector product comprises detecting interference of the weight signals with local oscillators modulated at the input to the layer of the DNN.

8. The spectrally multiplexed weights form a weight matrix, and calculating the matrix-vector product of (i) the set of spectrally multiplexed weights modulated onto the optical carrier and (ii) an input to the layer of the DNN, weighting columns of the weighting matrix with the inputs to the layers of the DNN to generate a spectral multiplexed product; demultiplexing the spectral multiplexing product; and The method of claim 1 , comprising detecting the spectrally multiplexed products with respective photodetectors.

9. The method of claim 8 , wherein weighting the columns of the weight matrix at the input to the layer of the DNN comprises simultaneously modulating multiple wavelength channels.

10. The spectrally multiplexed weights form a weight matrix, and calculating the matrix-vector product of (i) the set of spectrally multiplexed weights modulated onto the optical carrier and (ii) an input to the layer of the DNN, weighting the rows of the weighting matrix with the inputs to the layers of the DNN to generate time-multiplexed products; and The method of claim 1 , comprising detecting the time-multiplexed products with at least one photodetector.

11. The method of claim 10 , wherein weighting the rows of the weight matrix with the input to the layer of the DNN comprises independently modulating each of a plurality of wavelength channels.

12. a first memory for storing weights of a deep neural network (DNN); a laser source for generating optical carriers; a first modulator operatively coupled to the first memory and the laser source for generating a weight signal including the weight modulated onto a wavelength division multiplexed (WDM) channel of the optical carrier; A server having a client operably coupled to the server via an optical link, a second memory for storing activations for a layer of the DNN; a second modulator operatively coupled to the second memory to modulate the activations onto the weight signals, thereby generating a matrix-vector product of the weights and the activations; a frequency selective detector operatively coupled to the modulator and configured to detect the WDM channels of the matrix vector product; A system equipped with

13. 13. The system of claim 12, wherein the first modulator is configured to modulate the WDM channels of the optical carrier with respective entries of a column of a weight matrix of the DNN for each time step.

14. The system of claim 12 , wherein the first modulator comprises a micro-ring resonator configured to modulate a WDM channel.

15. The frequency selective detector comprises: a pair of ring resonators for each of the WDM channels; One balanced detector for each pair of ring resonators. The system of claim 12, comprising:

16. the first modulator is configured to modulate a sign of the weight onto the optical carrier; The system of claim 12 , further comprising an intensity modulator operatively coupled to the first modulator to modulate an amplitude of the weight onto the optical carrier.

17. the second modulator is configured to modulate a sign of the activation onto the weight signal; 13. The system of claim 12, further comprising at least one intensity modulator operatively coupled to the second modulator to modulate an amplitude of the activation onto the weight signal.

18. a first memory for storing weights of a deep neural network (DNN); a laser source for generating a frequency comb; a frequency selective modulator operatively coupled to the first memory and the laser source to generate a weight signal including the weights modulated onto a wavelength division multiplexed (WDM) channel of the frequency comb; A server having a client operably coupled to the server via an optical link, a second memory for storing activations for a layer of the DNN; a local oscillator (LO) that generates a LO frequency comb that is phase-locked to the frequency comb; a modulator operatively coupled to the second memory and the LO to modulate the activation onto the LO frequency comb; a frequency selective detector operatively coupled to the modulator to detect interference of the weighting signals and the LO frequency comb, thereby generating a matrix vector product of the weighting signals and the activations; With clients who have A system equipped with

19. The frequency selective modulator comprises:

20. The system of claim 18, comprising a pair of ring resonators for each of the WDM channels located on different arms of a Mach-Zehnder interferometer.

20. The frequency selective detector comprises: a pair of ring resonators for each of the WDM channels; One balanced detector for each pair of ring resonators. The system of claim 18, comprising:

Citation Information

Patent Citations

  • Optical neurocomputer

    JP1990201427A

  • Optical information processor

    JP1994043957A

  • Apparatus and method for optical neural networks

    JP2019523932A