WO2022016894A1 - Photonic neural network - Google Patents

Photonic neural network Download PDF

Info

Publication number
WO2022016894A1
WO2022016894A1 PCT/CN2021/082632 CN2021082632W WO2022016894A1 WO 2022016894 A1 WO2022016894 A1 WO 2022016894A1 CN 2021082632 W CN2021082632 W CN 2021082632W WO 2022016894 A1 WO2022016894 A1 WO 2022016894A1
Authority
WO
WIPO (PCT)
Prior art keywords
array
optical
optical signal
wavelength
unit
Prior art date
Application number
PCT/CN2021/082632
Other languages
French (fr)
Chinese (zh)
Inventor
李强
田野
刘胜平
赵洋
王玮
Original Assignee
联合微电子中心有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 联合微电子中心有限责任公司 filed Critical 联合微电子中心有限责任公司
Publication of WO2022016894A1 publication Critical patent/WO2022016894A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/06Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons
    • G06N3/067Physical realisation, i.e. hardware implementation of neural networks, neurons or parts of neurons using optical means

Definitions

  • the invention relates to the technical field of photonic artificial intelligence chips, in particular to a photonic neural network.
  • AI artificial intelligence
  • an AI chip is a chip specially oriented to AI applications, and is an important physical base carrier of AI technology.
  • CMOS Complementary Metal Oxide Semiconductor
  • problems such as decreased energy efficiency ratio, limited clock frequency (difficult to exceed 6GHz), electronic crosstalk, high power consumption, and heat generation. It restricts the continued improvement of the performance of existing electronic AI chips.
  • the technical problem solved by the present invention is how to improve the computing power of the photonic artificial intelligence chip.
  • an embodiment of the present invention provides a photonic neural network, including: an optical transmission module, the optical transmission module modulates the optical signal of the first array according to the signal to be processed, wherein the optical signal of the first array is Each beam of optical signal in the signal includes light of multiple wavelengths; an optical signal processing module is coupled to the light emission module to receive the optical signals of the first array, and the optical signal processing module at least Perform a linear operation on the optical signals of the array to obtain the optical signals of the second array, wherein, for each beam of optical signals in the optical signals of the first array, the optical signal processing module processes the optical signals of each wavelength in the optical signals.
  • the linear operation of light is performed independently; the light receiving module is coupled to the optical signal processing module to receive the optical signals of the second array, and the light receiving module obtains and processes the optical signals based on the second array. Signal.
  • the optical signal processing module performs the linear operation on the light of each wavelength in the optical signal independently, which means:
  • the optical signal processing module configures corresponding convolution kernels respectively for light of different wavelengths in the optical signal, and the linear operations of the respective convolution kernels for the light of respective corresponding wavelengths are independent of each other.
  • the optical signal processing module includes: a linear matrix multiplication unit, configured to perform a multi-core parallel matrix multiplication operation on each optical signal in the optical signals of the first array, so as to obtain the second array of optical signals. optical signal.
  • a linear matrix multiplication unit configured to perform a multi-core parallel matrix multiplication operation on each optical signal in the optical signals of the first array, so as to obtain the second array of optical signals. optical signal.
  • the linear matrix multiplication unit includes: a plurality of optical interference units connected in series and parallel to each other, wherein the interference arm of each optical interference unit is provided with a wavelength-sensitive phase shifter array, and the input arm of each optical interference unit is provided with a wavelength-sensitive phase shifter array. and at least one of the output arms is provided with the wavelength-sensitive phase shifter array to perform independent phase shifting operations on the light of each wavelength in the optical signal input to the optical interference unit.
  • the optical signal processing module includes a plurality of cascaded linear matrix multiplication units, wherein the output of the linear matrix multiplication unit of the previous stage is the input of the linear matrix multiplication unit of the subsequent stage, and the first The input of the linear matrix multiplying unit of the first stage is the optical signal of the first array, and the output of the linear matrix multiplying unit of the last stage is the optical signal of the second array.
  • the optical signal processing module further includes: an optical nonlinear unit, coupled to the linear matrix multiplication unit to receive a linear operation result of the linear matrix multiplication unit on the optical signals of the first array, and A nonlinear operation is performed on the linear operation result of the optical signal of the first array according to the optical signal of the reference array, so as to obtain the optical signal of the second array.
  • an optical nonlinear unit coupled to the linear matrix multiplication unit to receive a linear operation result of the linear matrix multiplication unit on the optical signals of the first array, and A nonlinear operation is performed on the linear operation result of the optical signal of the first array according to the optical signal of the reference array, so as to obtain the optical signal of the second array.
  • the coupled linear matrix multiplication unit and the optical nonlinear unit are denoted as a neural network unit
  • the optical signal processing module includes a plurality of cascaded neural network units, wherein the previous The output of the neural network unit of the first stage is the input of the neural network unit of the next stage, the input of the neural network unit of the first stage is the optical signal of the first array, and the output of the neural network unit of the last stage is the optical signal of the second array. Signal.
  • the linear operation result of the optical signals of the first array is recorded as the optical signals of the fourth array, and the optical nonlinear unit performs nonlinear operations on the light of each wavelength in the optical signals of the fourth array. is carried out independently.
  • the optical nonlinear unit includes: a plurality of optical interference units, wherein each optical interference unit receives the optical signal of the fourth array and the optical signal of the reference array respectively, the input arm of the optical interference unit and The interference arm is provided with a wavelength-sensitive phase shifter array to perform an independent nonlinear transformation operation on the light of each wavelength in the optical signal of the fourth array according to the optical signal of the reference array.
  • the optical nonlinear unit includes: a plurality of optical interference units, wherein each optical interference unit receives the optical signal of the fourth array and the optical signal of the reference array respectively, and the input arm of the optical interference unit is set
  • a wavelength-sensitive phase shifter array is provided to perform an independent nonlinear transformation operation on the light of each wavelength in the optical signal of the fourth array according to the optical signal of the reference array.
  • the wavelength-sensitive phase shifter array includes a plurality of phase shifters, and the plurality of phase shifters correspond one-to-one with each wavelength of light in the input optical signal.
  • the light emitting module includes: an optical signal array generation unit, the optical signal array generation unit is used to generate an optical signal array, and each beam of optical signals in the optical signal array includes a continuous wavelength of multiple wavelengths.
  • the optical signal array generated by the optical signal array generating unit is recorded as the optical signal of the third array;
  • the modulator array is coupled with the optical signal array generating unit to receive the optical signal of the third array, so The modulator array is configured to apply a modulation signal to the optical signals of the third array to obtain the optical signals of the first array, wherein the modulation signal is associated with the signal to be processed.
  • the modulator array applies the same modulation signal to the light of each wavelength of the same beam of optical signals in the optical signals of the third array, and applies different beams of optical signals to the optical signals of the third array. modulation signal.
  • the modulator array applies different modulation signals to light of different wavelengths of the same optical signal in the optical signals of the third array.
  • the modulator array includes a plurality of multi-wavelength light modulator units, wherein each of the multi-wavelength light modulator units includes an optical interference unit, and the upper arm and the lower arm of the optical interference unit are respectively provided with wavelength sensitive units.
  • the phase shifter array can independently modulate the light of each wavelength in the input optical signal.
  • the wavelength-sensitive phase shifter array includes a plurality of phase shifters, and the plurality of phase shifters correspond to each wavelength of light in the input optical signal one-to-one.
  • the sum of the phase shift parameters of the phase shifters corresponding to the same wavelength in the wavelength-sensitive phase shifter array arranged on the upper arm and the wavelength-sensitive phase shifter array arranged on the lower arm is an integer of 2 ⁇ . multiple.
  • the photonic neural network further includes: an electrical control module coupled to the light receiving module, and the electrical control module is configured to receive and adjust the processed signal.
  • the electrical control module is further coupled to the light emission module, so as to transmit the adjusted processed signal to the light emission module as a signal to be processed.
  • the photonic neural network is used for image processing, image recognition, speech recognition, gene sequencing, quantum communication or quantum computing.
  • An embodiment of the present invention provides a photonic neural network, including: an optical transmission module, the optical transmission module modulates the optical signals of the first array according to the signal to be processed, wherein each beam of optical signals in the optical signals of the first array is The signal includes light of a plurality of wavelengths; an optical signal processing module is coupled to the optical transmission module to receive the optical signals of the first array, and the optical signal processing module at least linearizes the optical signals of the first array operation to obtain the optical signals of the second array, wherein, for each optical signal in the optical signals of the first array, the linear operation of the optical signal processing module on the light of each wavelength in the optical signal is independent To carry out: an optical receiving module coupled to the optical signal processing module to receive the optical signals of the second array, the optical receiving module obtaining the processed signals based on the optical signals of the second array.
  • the operation is independent of each other, which means that the parameters and/or operation algorithms used in the operation process are independent of each other and have no dependency relationship, and may be the same or different from each other, and may be related or not.
  • the solution of this embodiment can greatly improve the computing power and flexibility of the photonic artificial intelligence chip.
  • the existing photonic artificial intelligence chips perform linear operations on a single wavelength of light, or perform the same linear operations on each wavelength of light in the same optical signal, which leads to extremely limited computing power and flexibility of photonic neural networks. big limit.
  • the solution of this embodiment makes it possible to perform multi-core parallel processing of the input light by independently performing linear operations on the light of each wavelength in the same optical signal, which is beneficial to improve the computing power and flexibility of the photonic artificial intelligence chip. Further, it can also improve the computing power of photonic artificial intelligence chips per unit area.
  • the optical signal processing module performs the linear operation on the light of each wavelength in the optical signal independently, which means: the The optical signal processing module configures corresponding convolution kernels respectively for light of different wavelengths in the optical signal, and the linear operations of each convolution kernel for the light of respective corresponding wavelengths are independent of each other. Therefore, by independently setting up the convolution kernel for each wavelength, the calculation results of each wavelength will not affect each other. Further, the solution of this embodiment provides a multi-core parallel computing photonic neural network, which performs linear operations on the light of multiple wavelengths in the optical signal in parallel through multiple convolution cores, which greatly improves the overall computing speed and computing power. .
  • FIG. 1 is a schematic diagram of the principle of a photonic neural network according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a first specific embodiment of the light emission module in FIG. 1;
  • FIG. 3 is a schematic structural diagram of a specific implementation manner of a single modulator in the modulator array shown in FIG. 2;
  • FIG. 4 is a schematic structural diagram of a second specific implementation manner of the light emission module in FIG. 1;
  • FIG. 5 is a schematic structural diagram of a first specific implementation manner of the optical signal processing module in FIG. 1;
  • FIG. 6 is a schematic structural diagram of a first specific embodiment of the minimum basic unit of the optical signal processing module in FIG. 1;
  • FIG. 7 is a schematic structural diagram of a specific embodiment of the M 2 ⁇ M 1 convolution kernel unit shown in FIG. 5 ;
  • FIG. 8 is a schematic structural diagram of a second specific implementation manner of the optical signal processing module in FIG. 1;
  • FIG. 9 is a schematic structural diagram of the first specific embodiment of the optical nonlinear unit in FIG. 8;
  • Fig. 10 is the simulation result of the nonlinear function of light amplitude under different conditions when using the optical nonlinear unit shown in Fig. 9;
  • Fig. 11 is the simulation result of the nonlinear function of light intensity under different conditions when using the optical nonlinear unit shown in Fig. 9;
  • Fig. 12 is the structural schematic diagram of the third specific embodiment of the optical signal processing module in Fig. 1;
  • FIG. 13 is a schematic structural diagram of a specific implementation manner of the light receiving module in FIG. 1;
  • FIG. 14 is a schematic structural diagram of the second specific embodiment of the optical nonlinear unit in FIG. 8;
  • Fig. 15 is the simulation result of the nonlinear function of light amplitude under different conditions when the optical nonlinear unit shown in Fig. 14 is used;
  • Fig. 16 is the simulation result of the nonlinear function of light intensity under different conditions when using the optical nonlinear unit shown in Fig. 14;
  • FIG. 17 is a schematic structural diagram of a second specific implementation manner of the minimum basic unit of the optical signal processing module in FIG. 1 .
  • the inventors of the present application have found through analysis that this is because the existing photonic artificial intelligence chips perform linear operations on light of a single wavelength, or perform the same linear operations on lights of various wavelengths in the same optical signal, which leads to the failure of the photonic neural network. Computing power and flexibility are greatly limited.
  • an embodiment of the present invention provides a photonic neural network, including: an optical transmission module, the optical transmission module modulates the optical signal of the first array according to the signal to be processed, wherein the optical signal of the first array is Each beam of optical signal in the signal includes light of multiple wavelengths; an optical signal processing module is coupled to the light emission module to receive the optical signals of the first array, and the optical signal processing module at least Perform a linear operation on the optical signals of the array to obtain the optical signals of the second array, wherein, for each beam of optical signals in the optical signals of the first array, the optical signal processing module processes the optical signals of each wavelength in the optical signals.
  • the linear operation of light is performed independently; the light receiving module is coupled to the optical signal processing module to receive the optical signals of the second array, and the light receiving module obtains and processes the optical signals based on the second array.
  • the operation is independent of each other, which means that the parameters and/or operation algorithms used in the operation process are independent of each other and have no dependency relationship, and may be the same or different from each other, and may or may not be associated with each other.
  • the solution of this embodiment can greatly improve the computing power and flexibility of the photonic artificial intelligence chip.
  • the solution of this embodiment makes it possible to perform multi-core parallel processing of input light by independently performing linear operations on the light of each wavelength in the same optical signal, which is beneficial to improve the computing power and flexibility of the photonic artificial intelligence chip.
  • FIG. 1 is a schematic diagram of the principle of a photonic neural network according to an embodiment of the present invention.
  • the solution of this embodiment can be applied to application scenarios such as image recognition and speech recognition, and the photonic neural network 1 described in this embodiment can realize the recognition of images, speech, etc. with better computing power.
  • the photonic neural network 1 in this embodiment may include: an optical transmission module 11, which modulates the optical signal of the first array according to the signal to be processed (in the figure, 1, 2, ..., M 1 mark), wherein each optical signal in the optical signals of the first array includes light of multiple wavelengths.
  • the signal to be processed may include a digital signal or an analog signal to be processed.
  • image signals for image recognition voice signals for speech recognition.
  • the light emitting module 11 encodes the digital signal or analog signal to be processed into an optical signal for subsequent operation.
  • the photonic neural network 1 may receive, for example, a speech signal from a speaker, and process the received speech signal to recognize the content of the speech signal.
  • speech recognition can be realized based on the photonic neural network 1 .
  • the photonic neural network 1 may receive, for example, an image signal from an image acquisition device, and process the received image signal to identify the content of the image signal.
  • image recognition can be realized based on the photonic neural network 1 .
  • the to-be-processed signal may be the grayscale of multiple pixels of the image.
  • a waveguide refers to any structure capable of guiding an optical signal in any manner. Such as optical fibers, semiconductor waveguides fabricated in substrates, photonic crystal structures configured to guide optical signals, or any other suitable structure.
  • the signal to be processed may be input to the light emitting module 11 by other components, and the other components may be integrated within the photonic neural network 1 , or may be other components coupled to the photonic neural network 1 . connected external devices.
  • the photonic neural network 1 may include an electrical control module 14 coupled with the light emitting module 11 to transmit the signal to be processed to the light emitting module 11 .
  • the signal to be processed can be characterized as an electrical signal carrying corresponding information
  • the electrical control module 14 transmits the electrical signal to the light emitting module 11 so that the light emitting module 11 can load the information in the electrical signal into the optical signal above to form the optical signals of the first array.
  • the light emitting module 11 may include: an optical signal array generating unit 111, the optical signal array generating unit 111 is configured to generate an optical signal array, and each beam in the optical signal array The optical signal includes continuous light of multiple wavelengths, and the optical signal array generated by the optical signal array generating unit 111 is denoted as the optical signal of the third array; the modulator array 112 is coupled to the optical signal array generating unit 111 to Receiving the optical signals of the third array, the modulator array 112 is configured to apply a modulation signal to the optical signals of the third array to obtain the optical signals of the first array, wherein the modulation signal is the same as the optical signal of the third array. associated with the signal to be processed.
  • the optical signals of the third array and the optical signals of the first array are marked with 1, 2, . . . , M 1 .
  • the difference between the two is that the optical signal of the third array is the unmodulated original light output by the optical signal array generating unit 111 , while the optical signal of the first array is modulated by the modulator array 112 and carries the light to be processed.
  • Light for signal related information is the optical signal of the third array.
  • associating the modulated signal with the to-be-processed signal may refer to determining a specific value of the modulated signal according to specific information of the to-be-processed signal.
  • the intensity of the optical signals can be adjusted by the modulator array.
  • the intensity adjustment amount of each optical signal is different.
  • the intensities of the input light and the output light are related, and through this relationship, the information of the signal to be processed can be loaded on the light.
  • the optical signals of the third array can be obtained by multiplexing laser arrays with different emission wavelengths through a wavelength multiplexer.
  • the optical signal array generating unit 111 may include a laser unit 113 for generating optical signals of multiple wavelengths (indicated by ⁇ 1 , ⁇ 2 , . . . , ⁇ N in the figure).
  • the laser unit 113 may be implemented by a laser array with different emission wavelengths, and the laser array includes a plurality of lasers, wherein each laser outputs light of a specific wavelength respectively.
  • the laser unit 113 may include one or more multi-wavelength lasers, wherein each laser generates an optical signal of a specific wavelength or wavelengths.
  • the optical signal array generating unit 111 may include a multiplexer 114, which is coupled to the laser unit 113 to wavelength-multiplex the optical signals of the multiple wavelengths into a continuous beam including multiple wavelengths.
  • the multiplexer 114 may be an Arrayed Waveguide Grating (AWG for short) optical multiplexer.
  • AWG Arrayed Waveguide Grating
  • the optical signal array generating unit 111 may include a beam splitter 115 coupled to the multiplexer 114 .
  • the beam splitter 115 may be a 1 ⁇ M 1 beam splitter, which is used to split the single beam optical signal including multiple wavelengths output by the multiplexer 114 into M 1 beam optical signals.
  • the optical signals of the third array obtained by splitting the beams are the optical signals of the third array, wherein each optical signal includes light of N wavelengths from ⁇ 1 to ⁇ N in total.
  • the beam splitter 115 may be a single beam splitting device.
  • the beam splitter 115 may be formed by cascaded multiple beam splitters.
  • the optical signal array generating unit 111 may adopt other similar structures to generate optical signals of a third array composed of M1 optical signals, wherein each optical signal includes a total of N wavelengths from ⁇ 1 to ⁇ N of continuous light.
  • the optical signal array generating unit 111 may be a multi-wavelength laser.
  • the multi-wavelength laser directly emits a beam of continuous light containing multiple wavelengths, and then splits the beam by a beam splitter to obtain the optical signal of the third array. Signal.
  • the output optical signal of the light emitting module 11 may be an optical signal with multiple wavelengths and the same modulation signal. That is, the modulator array 112 applies the same modulation signal to the light of each wavelength of the same optical signal in the optical signals of the third array.
  • the modulator array 112 may apply different modulation signals to different beams of optical signals in the optical signals of the third array.
  • the modulator array 112 may include M1 modulators, where each modulator is used to modulate one optical signal. Specifically, each modulator loads the same optical signal, but each modulator applies different voltages to the optical signal, thereby obtaining modulation results of different intensities. Therefore, in the optical signals of the first array output by the modulator array 112, the information to be processed carried by each wavelength in the same optical signal is the same, and the information carried by the same wavelength in different optical signals may be different.
  • the modulator array 112 can apply the same modulation signal to some of the optical signals in the beams, and the information carried by the same wavelength in the optical signals in the different beams can also be the same.
  • the modulator array 112 may apply different modulation signals to light of different wavelengths of the same optical signal in the optical signals of the third array. Therefore, the output optical signal of the light emitting module 11 may be an optical signal with various wavelengths and different modulation signals.
  • the corresponding modulator loads different voltages for different wavelengths of the beam of light, so as to obtain modulation results of different intensities.
  • the modulator array 112 may employ electro-optic, acousto-optic, thermo-optic and other types of modulators.
  • FIG. 3 shows a schematic structural diagram of a specific implementation manner of a single modulator in the modulator array 112 .
  • the modulator array 112 may include M 1 modulators shown in FIG. 3 .
  • the modulator may be referred to as a multi-wavelength optical modulator unit 116 to realize modulation of optical signals of different wavelengths.
  • the plurality of multi-wavelength light modulator units 116 are in one-to-one correspondence with the optical signals of the third array, wherein each multi-wavelength light modulator unit 116 is used for a certain beam of optical signals in the optical signals of the third array to modulate.
  • the multi-wavelength optical modulator unit 116 may include an input waveguide, an optical interference unit 117 and an output waveguide.
  • the received optical signal input waveguide may be a plurality of continuous light of a wavelength ( ⁇ 1, ⁇ 2, ... , ⁇ N), i.e., a single beam optical signal of the optical signal in the third array.
  • the optical interference unit 117 may be a 1 ⁇ 1 Mach-Zehnder interferometer.
  • the 1 ⁇ 1 Mach-Zehnder interferometer may include two 1 ⁇ 2 beam splitters (identified as beam splitter 1 and beam splitter 2 in the figure, respectively) and two wavelength-sensitive phase shifter arrays 118 .
  • the wavelength-sensitive phase shifter array may also be referred to as a wavelength-dependent phase shifter array.
  • the beam splitter may use a directional coupler (Directional Coupler, DC for short), a multi-mode interferometer (Multi-Mode Interferometer, MMI for short), and the like.
  • DC Directional Coupler
  • MMI Multi-Mode Interferometer
  • two wavelength-sensitive phase shifter arrays 118 can be disposed on the upper arm and the lower arm of the 1 ⁇ 1 Mach-Zehnder interferometer, respectively, to independently modulate the light of each wavelength in the input optical signal.
  • the wavelength sensitive phase shifter array 118 may perform independent phase shifting operations on optical signals of a single wavelength.
  • the wavelength-sensitive phase shifter array 118 can be implemented by wavelength-dependent devices such as microring resonators, gratings, and the like. Phase shifting can be achieved by means of thermo-optic, electro-optic, phase transition, plasma dispersion, etc.
  • Fig. 3 exemplifies the micro-ring resonator as an example.
  • the wavelength-sensitive phase shifter array 118 may include a plurality of phase shifters (marked by a circle in the figure), and the plurality of phase shifters correspond to the light of each wavelength in the input optical signal one-to-one . That is, a single wavelength-sensitive phase shifter array 118 includes the number of phase shifters corresponding to the number of wavelengths of the input light, and performs phase shifting operations on the input continuous light containing multiple wavelengths in parallel with multiple cores.
  • the sum of the phase shift parameters of the phase shifters corresponding to the same wavelength in the wavelength-sensitive phase shifter array 118 arranged on the upper arm and the wavelength-sensitive phase shifter array 118 arranged on the lower arm is an integer of 2 ⁇ times.
  • the corresponding phase-shifting parameter is ⁇ ⁇ m-U ; the micro-ring phase shifter whose lower arm resonant wavelength is ⁇ m, the corresponding phase-shifting parameter is ⁇ ⁇ m-D .
  • the transmission matrix of the optical interference unit 117 It can be described as formula (1):
  • the optical transmitting module 11 can adopt the structure shown in FIG. 4 , the light of each wavelength is divided into M1 optical signals and modulated respectively and output to the corresponding multiplexer, and the multiplexer combines the lights of different wavelengths into M1 beams of optical signals. In the same waveguide, the optical signals of the first array are finally formed.
  • the information carried by each wavelength in the same optical signal is different. That is, the optical signals of the first array generated by the structure shown in FIG. 4 may be optical signals with various wavelengths and different modulation signals. Of course, in the optical signals of the first array generated by the structure shown in FIG. 4 , the information carried by each wavelength in the same optical signal can also be the same. As long as the signals to be processed applied by the modulator are the same, then each wavelength carries the same information. information can be considered to be the same.
  • the light emitting module 11 may include a laser unit 113 for generating light of N wavelengths.
  • the laser unit 113 includes one or more multi-wavelength lasers, the optical signals output by the laser unit 113 need to be separated by a wavelength demultiplexer to separate optical signals of different wavelengths, and then output to subsequent modules.
  • the light emitting module 11 may include N 1 ⁇ M 1 beam splitters (indicated by beam splitter 1 to beam splitter N in the figure), the N 1 ⁇ M 1 beam splitters and the N 1 ⁇ M 1 beam splitters The wavelengths are in one-to-one correspondence, and are used to split the received single-wavelength optical signal into M 1 single-wavelength optical signals.
  • the light emitting module 11 may include N modulator arrays (indicated by modulator array 1 to modulator array N in the figure), and the N modulator arrays correspond to the N beam splitters one-to-one, It is used to modulate the optical signal of a single wavelength of the received M 1 beam.
  • the modulator array may include M 1 optical modulators, which may be electro-optic, acousto-optic, thermo-optic and other modulators.
  • M 1 optical modulators which may be electro-optic, acousto-optic, thermo-optic and other modulators.
  • the modulator array can apply different modulation signals to the input M 1 beams of optical signals of a single wavelength.
  • the optical transmission module 11 may include M 1 wavelength division multiplexers (identified by multiplexer 1 to multiplexer M 1 in the figure), wherein each wavelength division multiplexer is used to combine the N modulator arrays One channel of modulated optical signals outputted by each is wavelength-division multiplexed into one channel of optical signals.
  • the outputs of the M 1 wavelength division multiplexers are the optical signals of the first array.
  • the optical signal is first divided into M 1 beams equally by a 1 ⁇ M 1 beam splitter m.
  • the M 1 beams of light are respectively modulated by the corresponding modulators in the modulator array m, and then respectively connected to the M 1 wavelength division multiplexers.
  • the optical signals of different wavelengths received by the wavelength division multiplexer are modulated by different modulator arrays, and thus, the optical transmission module 11 can Different wavelengths of light can be modulated differently.
  • the M 1 wavelength division multiplexers may perform wavelength division multiplexing on light of different wavelengths modulated by applying the same modulation signal to each modulator array, so as to obtain a single beam in the optical signal of the first array by compounding optical signal. Therefore, the light emitting module 11 using the structure shown in FIG. 4 can output a plurality of optical signals with the same wavelength modulation.
  • the optical signal array generating unit 111 can be equivalent to the remaining modules except the modulator arrays 1 to N.
  • the difference from the optical signal array generating unit 111 shown in FIG. 2 is that this implementation
  • the optical signal array generating unit 111 modulates the light of each wavelength individually, and only combines them into an optical signal at the end.
  • the optical signals of the first array output by the light emitting module 11 may be optical signals with different wavelengths and the same modulation signal, or may be optical signals with different wavelengths but different modulation signals.
  • the photonic neural network 1 may further include an optical signal processing module 12 coupled to the optical transmission module 11 to receive the optical signals of the first array, the optical signals The processing module 12 at least performs linear operations on the optical signals of the first array to obtain the optical signals of the second array (indicated by 1, 2, . . . , M 2 in the figure), wherein, for the first array of For each optical signal in the optical signal, the optical signal processing module 12 performs the linear operation on the light of each wavelength in the optical signal independently.
  • an optical signal processing module 12 coupled to the optical transmission module 11 to receive the optical signals of the first array, the optical signals The processing module 12 at least performs linear operations on the optical signals of the first array to obtain the optical signals of the second array (indicated by 1, 2, . . . , M 2 in the figure), wherein, for the first array of For each optical signal in the optical signal, the optical signal processing module 12 performs the linear operation on the light of each wavelength in the optical signal independently.
  • the optical signal processing module 12 performs linear operations on the light of each wavelength in the optical signal independently, which may refer to :
  • the optical signal processing module 12 respectively configures corresponding convolution kernels for light of different wavelengths in the optical signal, and the linear operations of each convolution kernel for the light of corresponding wavelengths are independent of each other.
  • the solution of this embodiment provides a multi-core parallel operation photonic neural network 1, which performs linear operations on the light of multiple wavelengths in the optical signal in parallel through multiple convolution cores, which greatly improves the overall operation speed and calculation speed. force.
  • the optical signal processing module 12 may include a linear matrix multiplication unit 121 for performing a multi-core parallel matrix multiplication operation on each optical signal in the optical signal of the first array, to obtain the optical signals of the second array.
  • the number of the linear matrix multiplying units 121 may be one.
  • the linear matrix multiplying unit 121 may include an input waveguide array, an M 2 ⁇ M 1 convolution kernel unit 122 and an output waveguide array.
  • the input waveguide array is adapted to receive the optical signals of the first array
  • the output waveguide array is adapted to output the optical signals of the second array.
  • the M 2 ⁇ M 1 convolution kernel unit 122 in the linear matrix multiplication unit 121 may include: a plurality of optical interference units 123 connected in series and parallel to each other, wherein each optical interference unit 123 The interference arms of the optical interference unit 123 are provided with a wavelength-sensitive phase shifter array 124, and at least one of the input arm and the output arm of each optical interference unit 123 is provided with the wavelength-sensitive phase shifter array 124, so as to adjust the input of the optical The light of each wavelength in the optical signal of the interference unit 123 performs an independent phase shift operation.
  • the optical interference unit 123 can be used as the minimum basic unit of the M 2 ⁇ M 1 convolution kernel unit 122 .
  • the M 2 ⁇ M 1 convolution kernel unit 122 may be composed of the optical interference unit 123 shown in FIG. 6 in a certain connection manner.
  • FIG. 7 exemplarily shows a 4 ⁇ 4 convolution kernel unit, wherein In1 to In4 are the optical signals of the first array, and Out1 to Out4 are the optical signals of the second array.
  • V T is a unitary matrix
  • is a diagonal matrix
  • U is a unitary matrix.
  • the optical interference unit 123 may be a 2 ⁇ 2 Mach-Zehnder interferometer provided with a wavelength-sensitive phase shifter array 124 for the input arm (or output arm) and the interference arm.
  • the 2 ⁇ 2 Mach-Zehnder interferometer may include two 2 ⁇ 2 beam splitters 125 , and the arm between the two 2 ⁇ 2 beam splitters 125 is an interference arm, located in the first 2 ⁇ 2 beam splitter The arm to the left of the second 2x2 beamsplitter 125 is the input arm, and the arm to the right of the second 2x2 beamsplitter 125 is the output arm.
  • the wavelength-sensitive phase shifter array 124 is exemplarily shown in the figure using a micro-ring resonator phase shifter as an example.
  • the wavelength-sensitive phase shifter array 124 may include a plurality of phase shifters (an example is a circle in the figure), and the plurality of phase shifters correspond to each wavelength of light in the input optical signal one-to-one. That is, the interference arm and the input arm of the optical interference unit 123 constituting the most basic unit of the optical signal processing module 12 are provided with an optically sensitive phase shifter array 124 composed of a plurality of phase shifters.
  • the number of phasers corresponds to the number of wavelengths of the input light, so as to realize multi-core parallel processing of the input light.
  • FIG. 6 exemplarily shows as an example that both the interference arm of the optical interference unit 123 and the upper arm of the input arm are provided with the wavelength-sensitive phase shifter array 124 .
  • the wavelength-sensitive phase shifter array 124 may also be provided in the interference arm and the output arm, or the wavelength-sensitive phase shifter array 124 may be provided in the interference arm, the input arm and the output arm.
  • the wavelength-sensitive phase shifter array 124 located on the interference arm can be arranged on the upper arm of the interference arm, and the wavelength-sensitive phase shifter array 124 located on the input arm can be arranged on the input arm
  • the wavelength-sensitive phase shifter array 124 located in the interference arm can be located in the lower arm of the interference arm, and the wavelength-sensitive phase shifter array 124 located in the input arm can be located in the input arm.
  • the wavelength-sensitive phase shifter array 124 located on the interference arm can be located on the upper arm of the interference arm, and the wavelength-sensitive phase shifter array 124 located on the input arm can be located on the upper arm of the interference arm.
  • the wavelength-sensitive phase shifter array 124 located on the interference arm may be disposed on the lower arm of the interference arm, and the wavelength-sensitive phase shifter array 124 located on the input arm may Installed on the upper arm of the input arm.
  • each phase shifter in the optically sensitive phase shifter array 124 performs a phase shifting operation for light of a corresponding wavelength, respectively.
  • the 2 ⁇ 2 Mach-Zehnder interferometer shown in FIG. 6 can be represented by a 2 ⁇ 2 transmission matrix, as shown in formula (2):
  • ⁇ m is the transmission matrix for light with wavelength ⁇ m
  • ⁇ ⁇ m are the phase shifter parameters for the wavelength ⁇ m in the 2 ⁇ 2 Mach-Zehnder interferometer.
  • the optical interference unit 123 provided with the optically sensitive phase shifter array 124 can realize independent matrix multiplication operations for light of different wavelengths.
  • the matrix multiplication operation of the optical signals of N wavelengths can be realized at the same time.
  • the optical signal processing module 12 may include a plurality of cascaded linear matrix multiplication units 121 , wherein the output of the linear matrix multiplication unit 121 of the previous stage is the linear matrix of the subsequent stage
  • the input of the multiplication unit 121, the input of the linear matrix multiplication unit 121 of the first stage is the optical signal of the first array, and the output of the linear matrix multiplication unit 121 of the last stage is the optical signal of the second array.
  • the optical signal processing module 12 may further include: an optical nonlinear unit 126, coupled to the linear matrix multiplying unit 122 to receive the optical signal of the first array by the linear matrix multiplying unit 122 The linear operation result of the signal is performed, and a nonlinear operation is performed on the linear operation result of the optical signal of the first array according to the optical signal of the reference array to obtain the optical signal of the second array.
  • an optical nonlinear unit 126 coupled to the linear matrix multiplying unit 122 to receive the optical signal of the first array by the linear matrix multiplying unit 122 The linear operation result of the signal is performed, and a nonlinear operation is performed on the linear operation result of the optical signal of the first array according to the optical signal of the reference array to obtain the optical signal of the second array.
  • the optical signal processing module 12 may be a cascaded structure of a linear matrix multiplication unit 122 and an optical nonlinear unit 126 .
  • the specific structure of the linear matrix multiplying unit 122 may refer to the minimum basic unit structure shown in FIG. 6 .
  • the linear operation result of the optical signals of the first array is denoted as the optical signals of the fourth array
  • the optical nonlinear unit 126 is responsible for the light of each wavelength in the optical signals of the fourth array.
  • Non-linear operations are performed independently. That is, the optical nonlinear unit 126 can perform independent nonlinear operations on light of a single wavelength.
  • the optical nonlinear unit 126 may include: a plurality of optical interference units 127 , wherein each optical interference unit 127 respectively receives the optical signal of the fourth array and the optical signal of the reference array, so The input arm and the interference arm of the optical interference unit 127 are provided with a wavelength-sensitive phase shifter array 124, so as to perform independent nonlinear nonlinearity on the light of each wavelength in the optical signal of the fourth array according to the optical signal of the reference array. Transform operation.
  • FIG. 9 exemplarily shows an example that the upper arm of the input arm receives the optical signal of the fourth array, and the lower arm of the input arm receives the optical signal of the reference array.
  • the lower arm of the input arm may also receive the optical signal of the fourth array
  • the upper arm of the input arm may receive the optical signal of the reference array.
  • the wavelength sensitive phase shifter array 124 disposed in the interference arm and the wavelength sensitive phase shifter array 124 disposed in the input arm may be on the same side, eg, both on the upper arm or both on the lower arm.
  • the wavelength-sensitive phase shifter array 124 provided on the interference arm and the wavelength-sensitive phase shifter array 124 provided on the input arm may be on opposite sides, for example, the upper arm of the input arm is provided with the wavelength-sensitive phase shifter array 124 , and the lower arm of the interference arm is provided with a wavelength-sensitive phase shifter array 124 .
  • a plurality of the optical interference units 127 are in one-to-one correspondence with the optical signals of the fourth array, wherein each optical interference unit 127 is used to perform an independent nonlinear transformation operation on each wavelength in a beam of light. Further, the nonlinear change operation of each optical interference unit 127 on the light of the corresponding wavelength is not affected by other optical interference units.
  • the optical interference unit 127 may be a 2 ⁇ 2 Mach-Zehnder interferometer provided with a wavelength-sensitive phase shifter array 124 on the upper arm.
  • the 2 ⁇ 2 Mach-Zehnder interferometer may include two 2 ⁇ 2 beam splitters 125 , and the input end of the first 2 ⁇ 2 beam splitter 125 in the two 2 ⁇ 2 beam splitters 125 is the The input arm of the optical interference unit 127, the upper arm of which is provided with an optically sensitive phase shifter array 124 and used to receive the optical signals of the fourth array.
  • the lower arm of the input arm is not provided with an optically sensitive phase shifter array 124 and is used to receive the optical signal of the reference array.
  • the wavelength-sensitive phase shifter array 124 is exemplarily shown in the figure using a micro-ring resonator phase shifter as an example.
  • the wavelength-sensitive phase shifter array 124 may include a plurality of phase shifters (an example is a circle in the figure), and the plurality of phase shifters correspond to each wavelength of light in the input optical signal one-to-one.
  • each phase shifter in the optically sensitive phase shifter array 124 performs a phase shifting operation for light of a corresponding wavelength, respectively.
  • the difference between the optical interference unit 127 shown in FIG. 9 and the optical interference unit 123 shown in FIG. 6 is that the lower arm of the input arm of the 2 ⁇ 2 Mach-Zehnder interferometer shown in FIG. 9 is adapted to receive the optical signal of the reference array. Therefore, among the two wavelength-sensitive phase shifter arrays 124 included in the optical interference unit 127 , the wavelength-sensitive phase shifter array 124 located in the input arm can be used to adjust the phase difference between the signal light and the reference light.
  • the optical signal E in ( ⁇ m ) of the fourth array and the optical signal E ref ( ⁇ m ) of the reference array are simultaneously input to the 2 ⁇ 2 Mach-Zehnder interferometer, and the output can be described as the formula (3) shows:
  • both E out1 ( ⁇ m ) and E out2 ( ⁇ m ) can be used as outputs of a 2 ⁇ 2 Mach-Zehnder interferometer.
  • the optical signal of the reference array and the optical signal of the fourth array come from the same laser, and are not intensity modulated by a modulator, and are continuous light.
  • the optical signal of the reference array may be the unmodulated optical signal of the third array output by the optical signal array generating unit 111 .
  • I in ( ⁇ m ) is the light intensity of the optical signal of the fourth array
  • I ref ( ⁇ m ) is the light intensity of the optical signal of the reference array
  • the all-optical nonlinear activation function structure formed by the optical interference unit 127 provided in this example can realize nonlinear transformation of light amplitude, and can also realize nonlinear transformation of light intensity.
  • the phase shifter parameters of the 2 ⁇ 2 Mach-Zehnder interferometer and ⁇ ⁇ m and the light intensity I ref ( ⁇ m ) of the optical signal of the reference array can be realized.
  • the phase shifter parameter ⁇ ⁇ m 1.294 ⁇
  • FIG. 11 shows different phase shifter parameters when the structure shown in Figure 9 is used and ⁇ ⁇ m and the nonlinear transformation curve of the light intensity I ref ( ⁇ m ) of the optical signal of the reference array to the light intensity.
  • I ref ( ⁇ m ) 53uW
  • the specific setting position of the optically sensitive phase shifter array 124 can be set at the position of the optical interference unit 127 for receiving the optical signal of the reference array, in addition to the embodiment shown in FIG. 9 .
  • input arm both the upper and lower arms of the input arm may be provided with an optically sensitive phase shifter array 124, with either of the upper and lower arms receiving the optical signal of the reference array and the other receiving the optical signal of the fourth array Signal.
  • an optically sensitive phase shifter array 124 may be provided only on the arm that receives the optical signal of the reference array.
  • the specific arrangement position of the optically sensitive phase shifter array 124 may be arranged on the lower arm of the interference arm, in addition to the embodiment shown in FIG. 9 . That is, both the upper and lower arms of the interference arm may be provided with an optically sensitive phase shifter array 124 .
  • the optically sensitive phase shifter array 124 may be provided only on the lower arm.
  • the coupled linear matrix multiplication unit 122 and the optical nonlinear unit 126 are denoted as a neural network unit 128
  • the optical signal processing module 12 may include multiple The neural network units 128 are cascaded, wherein the output of the neural network unit 128 of the previous stage is the input of the neural network unit 128 of the next stage, and the input of the neural network unit 128 of the first stage is the optical fiber of the first array. signal, the output of the last stage neural network unit 128 is the optical signal of the second array.
  • the optical signal processing module 12 may be formed by a combination of multiple linear matrix multiplying units 122 and optical nonlinear units 126 in cascade.
  • FIG. 12 takes L neural network units 128 as an example for exemplary illustration, wherein the input of the first-stage neural network unit 128 is the optical signal of the first array, and the output of the L-th neural network unit 128 is the optical signal of the second array. Signal.
  • the output numbers of the linear matrix multiplication units 122 of at least some of the neural network units 128 in the L neural network units 128 may be different from the output numbers of the linear matrix multiplication units 122 of other neural network units 128 .
  • the linear matrix multiplication unit 122 of the first-stage neural network unit 128 may include M 2 ⁇ M 1 convolution kernels
  • the linear matrix multiplication unit 122 of the second-stage neural network unit 128 may include M 3 ⁇ M 2 convolution kernels
  • the linear matrix multiplication unit 122 of the L-th level neural network unit 128 may include a ML+1 ⁇ ML convolution kernel.
  • M 1 , M 2 , M 3 , . . . , ML and ML+1 may be completely equal, partially equal or unequal to each other.
  • the photonic neural network 1 may further include: a light receiving module 13 coupled to the optical signal processing module 12 to receive the optical signals of the second array, the light The receiving module 13 may acquire the processed signal based on the optical signals of the second array.
  • the light receiving module 13 may include M 2 demultiplexers 131 and M 2 photodetector arrays 132 . Each optical signal in the second array of optical signals is input to the corresponding demultiplexer 131 . After being demultiplexed by the corresponding demultiplexer 131, light of N wavelengths ( ⁇ 1 , ⁇ 2 , . . . , ⁇ N ) can be obtained.
  • the M 2 photodetector arrays 132 are in one-to-one correspondence with the M 2 demultiplexers 131 .
  • the photodetector arrays 132 include N detectors to perform photoelectric conversion on the N wavelengths of light obtained by demultiplexing, respectively, to obtain electrical signals.
  • the electrical signal is the processed signal.
  • the processed signal is transmitted to the electrical control module 14 through a circuit.
  • the electrical control module 14 may receive and condition the processed signal. For example, an operation such as amplifying the processed signal is performed.
  • the electrical control module 14 can also control the parameters in the modulator array 112 and the optical signal processing module 12 .
  • the electrical control module 14 is further configured to perform a nonlinear transformation operation on the received processed signal in the electrical domain .
  • the electrical control module 14 may also be coupled with the light emitting module 11 to transmit the adjusted processed signal to the light emitting module 11 as a signal to be processed, so as to perform another One round of linear transformation.
  • iterative deep learning can be realized.
  • the electrical control module 14 may transmit the received processed signals to the input waveguides of other photonic computing structures to perform another round of linear transformation.
  • the specific structure of the optical interference unit 127 may be as shown in FIG. 14 .
  • the difference from the structure shown in FIG. 9 is that the optical interference unit 127 shown in FIG. 14 only includes one 2 ⁇ 2 beam splitter 125 , and the number of wavelength-sensitive phase shifter arrays 124 is also one and located at the input arm to adjust the phase difference between the signal light and the reference light.
  • the optical interference unit 127 shown in FIG. 14 can also implement an all-optical nonlinear activation function.
  • the optical signal E in ( ⁇ m ) of the fourth array and the optical signal E ref ( ⁇ m ) of the reference array are simultaneously input to the 2 ⁇ 2 beam splitter 125 , and the 2 ⁇ 2 beam splits
  • the device 125 may use a directional coupler (Directional Coupler, DC for short), a multi-mode interferometer (Multi-Mode Interferometer, MMI for short), and the like.
  • the output of the optical interference unit 127 can be described as shown in formula (5):
  • E out1 ( ⁇ m ) and E out2 ( ⁇ m ) can be used as the output of the 2 ⁇ 2 beam splitter 125 .
  • the optical signal of the reference array and the optical signal of the fourth array come from the same laser, and are not intensity modulated by a modulator, and are continuous light.
  • the optical signal of the reference array may be the unmodulated optical signal of the third array output by the optical signal array generating unit 111 .
  • I in ( ⁇ m ) is the light intensity of the optical signal of the fourth array
  • I ref ( ⁇ m ) is the light intensity of the optical signal of the reference array
  • * represents the complex conjugate
  • the all-optical nonlinear activation function structure formed by the optical interference unit 127 provided in this example can realize nonlinear transformation of light amplitude, and can also realize nonlinear transformation of light intensity.
  • the phase shifter parameters of the 2 ⁇ 2 beam splitter and the optical intensities I ref ( ⁇ m ) of the optical signal of the reference array can be realized.
  • FIG. 15 shows different phase shifter parameters and the nonlinear transformation curve of the optical signal of the reference array to the optical amplitude under the condition of I ref ( ⁇ m ).
  • the solid line in Figure 15 corresponds to the phase shifter parameters
  • the dotted line corresponds to the phase shifter parameters
  • the dot-dash line corresponds to the phase shifter parameters
  • the solid line and the circle mark correspond to the phase shifter parameters
  • the dotted line and the circle mark correspond to the phase shifter parameters
  • FIG. 16 shows different phase shifter parameters and the nonlinear transformation curve of the light intensity I ref ( ⁇ m ) of the optical signal of the reference array to the light intensity.
  • the specific setting position of the optically sensitive phase shifter array 124 can be set at the position of the optical interference unit 127 for receiving the optical signal of the reference array, in addition to the embodiment shown in FIG. 14 .
  • input arm both the upper and lower arms of the input arm may be provided with an optically sensitive phase shifter array 124, with either of the upper and lower arms receiving the optical signal of the reference array and the other receiving the optical signal of the fourth array Signal.
  • an optically sensitive phase shifter array 124 may be provided only on the arm that receives the optical signal of the reference array.
  • the structure of the optical interference unit 123 in the linear matrix multiplying unit 121 may be as shown in FIG. 17 .
  • the difference from the structure shown in FIG. 6 is that the optical interference unit 123 shown in FIG. 17
  • An N 1 x N 3 Mach-Zehnder interferometer with wavelength sensitive phase shifter array 124 may be provided for the input arm (or output arm) as well as the interference arm.
  • the N 1 ⁇ N 3 Mach-Zehnder interferometer may include two beam splitters 125 , wherein the beam splitter 125 (identified as beam splitter 1 in the figure) between the input arm and the interference arm is N 1 ⁇ N 2 beam splitters, the beam splitter 125 (identified as beam splitter 2 in the figure) located between the interference arm and the output arm is an N 2 ⁇ N 3 beam splitter.
  • N 1 , N 2 and N 3 are all integers greater than or equal to 2 , and the specific numerical values of N 1 , N 2 and N 3 may be completely the same, partially the same or completely different.
  • N 1 ⁇ 1 arms may be respectively provided with the wavelength-sensitive phase shifter array 124 .
  • N 2 ⁇ 1 arms may be respectively provided with the wavelength-sensitive phase shifter array 124 .
  • wavelength-sensitive phase shifter array 124 For the specific structure of the wavelength-sensitive phase shifter array 124, reference may be made to the relevant description in the embodiment shown in FIG. 6 .
  • the photonic neural network 1 in this embodiment can be used in application fields such as image processing, image recognition, speech recognition, gene sequencing, quantum communication or quantum computing.
  • the solution of this embodiment can greatly improve the computing power and flexibility of the photonic artificial intelligence chip.
  • the solution of this embodiment makes it possible to perform multi-core parallel processing on the input light by independently performing linear operations on the light of each wavelength in the same optical signal, which is beneficial to improve the computing power and flexibility of the photonic artificial intelligence chip. Further, it can also improve the computing power of photonic artificial intelligence chips per unit area.
  • the photonic neural network 1 in this embodiment can implement different matrix multiplication operations and nonlinear operations for the same modulation signal, and can also implement different matrix multiplication operations and nonlinear operations for different modulation signals.
  • a single optical structure can be used to realize the parallel operation of different matrix multiplication operations and nonlinear operations for the same modulation signal, which greatly improves the computing power of the photonic neural network chip and the computing power per unit area;
  • it can Using a single optical structure to realize the parallel operation of different matrix multiplication operations and nonlinear operations for different modulation signals can realize the parallel operation of a single task or the parallel operation of different tasks, which greatly improves the computing power and unit area of the photonic neural network chip. computing power, and flexibility.

Abstract

A photonic neural network, comprising: a light transmitting module which, on the basis of modulation of a signal to be processed, obtains optical signals of a first array; a light signal processing module which is coupled to the light transmitting module to receive the optical signals of the first array, the light signal processing module at least performing a linear operation on the optical signals of the first array to obtain optical signals of a second array, wherein for each beam of optical signal in the optical signals of the first array, the light signal processing module performs the linear operation on light of wavelengths in the optical signals independently; and a light receiving module which is coupled to the light signal processing module to receive the optical signals of the second array, the light receiving module obtaining the processed signals on the basis of the optical signals of the second array. The solution of the present invention can greatly improve the computing power and flexibility of a photonic artificial intelligence chip.

Description

一种光子神经网络A photonic neural network
本申请要求2020年07月20日提交中国专利局、申请号为2020107007562、发明名称为“一种光子神经网络”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed with the China Patent Office on July 20, 2020, with the application number of 2020107007562 and the invention titled "A Photonic Neural Network", the entire contents of which are incorporated into this application by reference.
技术领域technical field
本发明涉及光子人工智能芯片技术领域,具体地涉及一种光子神经网络。The invention relates to the technical field of photonic artificial intelligence chips, in particular to a photonic neural network.
背景技术Background technique
在当今人工智能领域最热门的深度学习中,其运算过程主要涉及两个部分:矩阵乘法和非线性激活函数。具体而言,人工智能算法具有处理内容为非结构化数据(如视频、图像或语音)、处理过程需要进行大量的线性代数运算以及处理过程参数量大的特点。以中央处理器为主的计算硬件无法满足人工智能的计算力需求,只能依赖人工智能(Artificial intelligence,简称AI)芯片实现。具体而言,AI芯片是专门面向AI应用的芯片,是AI技术的一种重要的物理基础载体。In the most popular deep learning in the field of artificial intelligence today, its operation process mainly involves two parts: matrix multiplication and nonlinear activation function. Specifically, artificial intelligence algorithms have the characteristics that the processing content is unstructured data (such as video, image or voice), the processing process requires a large number of linear algebra operations, and the processing process parameters are large. The computing hardware based on the central processing unit cannot meet the computing power requirements of artificial intelligence, and can only be realized by artificial intelligence (Artificial intelligence, referred to as AI) chips. Specifically, an AI chip is a chip specially oriented to AI applications, and is an important physical base carrier of AI technology.
当前,AI芯片主要基于互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,简称CMOS)技术实现。随着集成电路器件尺寸不断逼近物理极限,摩尔定律呈现放缓趋势,同时微电子处理器存在能效比下降、时钟频率受限(难以超过6GHz)、电子串扰、高功耗以及发热等问题,严重制约着现有的电子AI芯片性能的继续提升。Currently, AI chips are mainly implemented based on Complementary Metal Oxide Semiconductor (CMOS) technology. As the size of integrated circuit devices continues to approach the physical limit, Moore's Law shows a slowing trend. At the same time, microelectronic processors have problems such as decreased energy efficiency ratio, limited clock frequency (difficult to exceed 6GHz), electronic crosstalk, high power consumption, and heat generation. It restricts the continued improvement of the performance of existing electronic AI chips.
为突破电子芯片在AI领域所面临的问题,光子人工智能芯片应运而生。但是,当前光子人工智能芯片技术尚处于萌芽阶段,对光子人工智能芯片的架构设计仍有较多欠缺,无法充分发挥光子人工智能芯片的优势。In order to break through the problems faced by electronic chips in the field of AI, photonic artificial intelligence chips came into being. However, the current photonic artificial intelligence chip technology is still in its infancy, and there are still many deficiencies in the architecture design of photonic artificial intelligence chips, which cannot give full play to the advantages of photonic artificial intelligence chips.
发明内容SUMMARY OF THE INVENTION
本发明解决的技术问题是如何提高光子人工智能芯片的算力。The technical problem solved by the present invention is how to improve the computing power of the photonic artificial intelligence chip.
为解决上述技术问题,本发明实施例提供一种光子神经网络,包括:光发射模块,所述光发射模块根据待处理信号调制得到第一阵列的光学信号,其中,所述第一阵列的光学信号中每一束光学信号包括多个波长的光;光信号处理模块,与所述光发射模块耦接以接收所述第一阵列的光学信号,所述光信号处理模块至少对所述第一阵列的光学信号进行线性运算以得到第二阵列的光学信号,其中,对于所述第一阵列的光学信号中的每一束光学信号,所述光信号处理模块对所述光学信号中各波长的光的线性运算是独立进行的;光接收模块,与所述光信号处理模块耦接以接收所述第二阵列的光学信号,所述光接收模块基于所述第二阵列的光学信号获取处理后信号。To solve the above technical problem, an embodiment of the present invention provides a photonic neural network, including: an optical transmission module, the optical transmission module modulates the optical signal of the first array according to the signal to be processed, wherein the optical signal of the first array is Each beam of optical signal in the signal includes light of multiple wavelengths; an optical signal processing module is coupled to the light emission module to receive the optical signals of the first array, and the optical signal processing module at least Perform a linear operation on the optical signals of the array to obtain the optical signals of the second array, wherein, for each beam of optical signals in the optical signals of the first array, the optical signal processing module processes the optical signals of each wavelength in the optical signals. The linear operation of light is performed independently; the light receiving module is coupled to the optical signal processing module to receive the optical signals of the second array, and the light receiving module obtains and processes the optical signals based on the second array. Signal.
可选的,所述对于所述第一阵列的光学信号中的每一束光学信号,所述光信号处理模块对所述光学信号中各波长的光的线性运算是独立进行的,是指:所述光信号处理模块对所述光学信号中不同波长的光分别配置对应的卷积核,且各卷积核对各自对应波长的光的线性运算是相互独立的。Optionally, for each beam of optical signals in the optical signals of the first array, the optical signal processing module performs the linear operation on the light of each wavelength in the optical signal independently, which means: The optical signal processing module configures corresponding convolution kernels respectively for light of different wavelengths in the optical signal, and the linear operations of the respective convolution kernels for the light of respective corresponding wavelengths are independent of each other.
可选的,所述光信号处理模块包括:线性矩阵乘法单元,用于对所述第一阵列的光学信号中的每束光学信号多核并行地进行矩阵乘法操作,以得到所述第二阵列的光学信号。Optionally, the optical signal processing module includes: a linear matrix multiplication unit, configured to perform a multi-core parallel matrix multiplication operation on each optical signal in the optical signals of the first array, so as to obtain the second array of optical signals. optical signal.
可选的,所述线性矩阵乘法单元包括:多个相互串并联的光学干涉单元,其中每一光学干涉单元的干涉臂设置有波长敏感的移相器阵列,且每一光学干涉单元的输入臂和输出臂中的至少一个设置有所述波长敏感的移相器阵列,以对输入所述光学干涉单元的光学信号中各波长的光进行独立的移相操作。Optionally, the linear matrix multiplication unit includes: a plurality of optical interference units connected in series and parallel to each other, wherein the interference arm of each optical interference unit is provided with a wavelength-sensitive phase shifter array, and the input arm of each optical interference unit is provided with a wavelength-sensitive phase shifter array. and at least one of the output arms is provided with the wavelength-sensitive phase shifter array to perform independent phase shifting operations on the light of each wavelength in the optical signal input to the optical interference unit.
可选的,所述光信号处理模块包括多个级联的所述线性矩阵乘法单元,其中,前一级所述线性矩阵乘法单元的输出为后一级所述线性 矩阵乘法单元的输入,第一级所述线性矩阵乘法单元的输入为所述第一阵列的光学信号,最后一级所述线性矩阵乘法单元的输出为所述第二阵列的光学信号。Optionally, the optical signal processing module includes a plurality of cascaded linear matrix multiplication units, wherein the output of the linear matrix multiplication unit of the previous stage is the input of the linear matrix multiplication unit of the subsequent stage, and the first The input of the linear matrix multiplying unit of the first stage is the optical signal of the first array, and the output of the linear matrix multiplying unit of the last stage is the optical signal of the second array.
可选的,所述光信号处理模块还包括:光学非线性单元,与所述线性矩阵乘法单元耦接以接收所述线性矩阵乘法单元对所述第一阵列的光学信号的线性运算结果,并根据参考阵列的光学信号对所述第一阵列的光学信号的线性运算结果进行非线性运算,以得到所述第二阵列的光学信号。Optionally, the optical signal processing module further includes: an optical nonlinear unit, coupled to the linear matrix multiplication unit to receive a linear operation result of the linear matrix multiplication unit on the optical signals of the first array, and A nonlinear operation is performed on the linear operation result of the optical signal of the first array according to the optical signal of the reference array, so as to obtain the optical signal of the second array.
可选的,将相耦接的所述线性矩阵乘法单元以及所述光学非线性单元记作神经网络单元,所述光信号处理模块包括多个级联的所述神经网络单元,其中,前一级神经网络单元的输出为后一级神经网络单元的输入,第一级神经网络单元的输入为所述第一阵列的光学信号,最后一级神经网络单元的输出为所述第二阵列的光学信号。Optionally, the coupled linear matrix multiplication unit and the optical nonlinear unit are denoted as a neural network unit, and the optical signal processing module includes a plurality of cascaded neural network units, wherein the previous The output of the neural network unit of the first stage is the input of the neural network unit of the next stage, the input of the neural network unit of the first stage is the optical signal of the first array, and the output of the neural network unit of the last stage is the optical signal of the second array. Signal.
可选的,将所述第一阵列的光学信号的线性运算结果记作第四阵列的光学信号,所述光学非线性单元对所述第四阵列的光学信号中各波长的光的非线性运算是独立进行的。Optionally, the linear operation result of the optical signals of the first array is recorded as the optical signals of the fourth array, and the optical nonlinear unit performs nonlinear operations on the light of each wavelength in the optical signals of the fourth array. is carried out independently.
可选的,所述光学非线性单元包括:多个光学干涉单元,其中每一光学干涉单元分别接收所述第四阵列的光学信号以及参考阵列的光学信号,所述光学干涉单元的输入臂以及干涉臂设置有波长敏感的移相器阵列,以根据所述参考阵列的光学信号对所述第四阵列的光学信号中各波长的光进行独立的非线性变换操作。Optionally, the optical nonlinear unit includes: a plurality of optical interference units, wherein each optical interference unit receives the optical signal of the fourth array and the optical signal of the reference array respectively, the input arm of the optical interference unit and The interference arm is provided with a wavelength-sensitive phase shifter array to perform an independent nonlinear transformation operation on the light of each wavelength in the optical signal of the fourth array according to the optical signal of the reference array.
可选的,所述光学非线性单元包括:多个光学干涉单元,其中每一光学干涉单元分别接收所述第四阵列的光学信号以及参考阵列的光学信号,所述光学干涉单元的输入臂设置有波长敏感的移相器阵列,以根据所述参考阵列的光学信号对所述第四阵列的光学信号中各波长的光进行独立的非线性变换操作。Optionally, the optical nonlinear unit includes: a plurality of optical interference units, wherein each optical interference unit receives the optical signal of the fourth array and the optical signal of the reference array respectively, and the input arm of the optical interference unit is set A wavelength-sensitive phase shifter array is provided to perform an independent nonlinear transformation operation on the light of each wavelength in the optical signal of the fourth array according to the optical signal of the reference array.
可选的,所述波长敏感的移相器阵列包括多个移相器,所述多个 移相器与输入的光学信号中各波长的光一一对应。Optionally, the wavelength-sensitive phase shifter array includes a plurality of phase shifters, and the plurality of phase shifters correspond one-to-one with each wavelength of light in the input optical signal.
可选的,所述光发射模块包括:光学信号阵列产生单元,所述光学信号阵列产生单元用于产生光学信号阵列,且所述光学信号阵列中的每一束光学信号包括多个波长的连续光,将所述光学信号阵列产生单元产生的光学信号阵列记作第三阵列的光学信号;调制器阵列,与所述光学信号阵列产生单元耦接以接收所述第三阵列的光学信号,所述调制器阵列用于向所述第三阵列的光学信号施加调制信号,以得到所述第一阵列的光学信号,其中,所述调制信号与所述待处理信号相关联。Optionally, the light emitting module includes: an optical signal array generation unit, the optical signal array generation unit is used to generate an optical signal array, and each beam of optical signals in the optical signal array includes a continuous wavelength of multiple wavelengths. light, the optical signal array generated by the optical signal array generating unit is recorded as the optical signal of the third array; the modulator array is coupled with the optical signal array generating unit to receive the optical signal of the third array, so The modulator array is configured to apply a modulation signal to the optical signals of the third array to obtain the optical signals of the first array, wherein the modulation signal is associated with the signal to be processed.
可选的,所述调制器阵列对所述第三阵列的光学信号中同一束光学信号的各波长的光施加相同的调制信号,对所述第三阵列的光学信号中不同束光学信号施加不同的调制信号。Optionally, the modulator array applies the same modulation signal to the light of each wavelength of the same beam of optical signals in the optical signals of the third array, and applies different beams of optical signals to the optical signals of the third array. modulation signal.
可选的,所述调制器阵列对所述第三阵列的光学信号中同一束光学信号的不同波长的光施加不同的调制信号。Optionally, the modulator array applies different modulation signals to light of different wavelengths of the same optical signal in the optical signals of the third array.
可选的,所述调制器阵列包括多个多波长光调制器单元,其中每一所述多波长光调制器单元包括光学干涉单元,所述光学干涉单元的上臂和下臂分别设置有波长敏感的移相器阵列,以对输入的光学信号中各波长的光进行独立调制。Optionally, the modulator array includes a plurality of multi-wavelength light modulator units, wherein each of the multi-wavelength light modulator units includes an optical interference unit, and the upper arm and the lower arm of the optical interference unit are respectively provided with wavelength sensitive units. The phase shifter array can independently modulate the light of each wavelength in the input optical signal.
可选的,所述波长敏感的移相器阵列包括多个移相器,所述多个移相器与所述输入的光学信号中各波长的光一一对应。Optionally, the wavelength-sensitive phase shifter array includes a plurality of phase shifters, and the plurality of phase shifters correspond to each wavelength of light in the input optical signal one-to-one.
可选的,设置于所述上臂的波长敏感的移相器阵列和设置于所述下臂的波长敏感的移相器阵列中对应相同波长的移相器的移相参数之和为2π的整倍数。Optionally, the sum of the phase shift parameters of the phase shifters corresponding to the same wavelength in the wavelength-sensitive phase shifter array arranged on the upper arm and the wavelength-sensitive phase shifter array arranged on the lower arm is an integer of 2π. multiple.
可选的,所述光子神经网络还包括:电控制模块,与所述光接收模块耦接,所述电控制模块用于接收并调整所述处理后信号。Optionally, the photonic neural network further includes: an electrical control module coupled to the light receiving module, and the electrical control module is configured to receive and adjust the processed signal.
可选的,所述电控制模块还与所述光发射模块耦接,以将调整后的所述处理后信号作为待处理信号传输至所述光发射模块。Optionally, the electrical control module is further coupled to the light emission module, so as to transmit the adjusted processed signal to the light emission module as a signal to be processed.
可选的,所述光子神经网络用于图像处理、图像识别、语音识别、基因测序、量子通信或量子计算。Optionally, the photonic neural network is used for image processing, image recognition, speech recognition, gene sequencing, quantum communication or quantum computing.
与现有技术相比,本发明实施例的技术方案具有以下有益效果:Compared with the prior art, the technical solutions of the embodiments of the present invention have the following beneficial effects:
本发明实施例提供一种光子神经网络,包括:光发射模块,所述光发射模块根据待处理信号调制得到第一阵列的光学信号,其中,所述第一阵列的光学信号中每一束光学信号包括多个波长的光;光信号处理模块,与所述光发射模块耦接以接收所述第一阵列的光学信号,所述光信号处理模块至少对所述第一阵列的光学信号进行线性运算以得到第二阵列的光学信号,其中,对于所述第一阵列的光学信号中的每一束光学信号,所述光信号处理模块对所述光学信号中各波长的光的线性运算是独立进行的;光接收模块,与所述光信号处理模块耦接以接收所述第二阵列的光学信号,所述光接收模块基于所述第二阵列的光学信号获取处理后信号。An embodiment of the present invention provides a photonic neural network, including: an optical transmission module, the optical transmission module modulates the optical signals of the first array according to the signal to be processed, wherein each beam of optical signals in the optical signals of the first array is The signal includes light of a plurality of wavelengths; an optical signal processing module is coupled to the optical transmission module to receive the optical signals of the first array, and the optical signal processing module at least linearizes the optical signals of the first array operation to obtain the optical signals of the second array, wherein, for each optical signal in the optical signals of the first array, the linear operation of the optical signal processing module on the light of each wavelength in the optical signal is independent To carry out: an optical receiving module coupled to the optical signal processing module to receive the optical signals of the second array, the optical receiving module obtaining the processed signals based on the optical signals of the second array.
其中,运算是相互独立的,是指运算过程中使用的参数和/或运算算法是相互独立的,没有依赖关系的,彼此之间可以相同或不同,可以具有关联或者不具有关联。Among them, the operation is independent of each other, which means that the parameters and/or operation algorithms used in the operation process are independent of each other and have no dependency relationship, and may be the same or different from each other, and may be related or not.
本实施例方案能够极大地提高光子人工智能芯片的算力及灵活性。具体而言,现有光子人工智能芯片是对单一波长的光进行线性运算,或是对同一束光学信号中各个波长的光进行相同的线性运算,导致光子神经网络的算力和灵活性受到极大限制。本实施例方案通过对同一束光学信号中各波长的光独立地进行线性运算,使得对输入光的多核并行处理成为可能,利于提高光子人工智能芯片的算力和灵活性。进一步,还能够提高单位面积的光子人工智能芯片算力。The solution of this embodiment can greatly improve the computing power and flexibility of the photonic artificial intelligence chip. Specifically, the existing photonic artificial intelligence chips perform linear operations on a single wavelength of light, or perform the same linear operations on each wavelength of light in the same optical signal, which leads to extremely limited computing power and flexibility of photonic neural networks. big limit. The solution of this embodiment makes it possible to perform multi-core parallel processing of the input light by independently performing linear operations on the light of each wavelength in the same optical signal, which is beneficial to improve the computing power and flexibility of the photonic artificial intelligence chip. Further, it can also improve the computing power of photonic artificial intelligence chips per unit area.
进一步,所述对于所述第一阵列的光学信号中的每一束光学信号,所述光信号处理模块对所述光学信号中各波长的光的线性运算是独立进行的,是指:所述光信号处理模块对所述光学信号中不同波长的光分别配置对应的卷积核,且各卷积核对各自对应波长的光的线性运算是相互独立的。由此,通过针对每个波长独立设立卷积核,使得 各波长的计算结果彼此之间不会相互影响。进一步而言,本实施例方案提供一种多核并行运算的光子神经网络,通过多个卷积核并行地对光学信号中多个波长的光分别进行线性运算,极大地提高整体运算速度和算力。Further, for each beam of optical signals in the optical signals of the first array, the optical signal processing module performs the linear operation on the light of each wavelength in the optical signal independently, which means: the The optical signal processing module configures corresponding convolution kernels respectively for light of different wavelengths in the optical signal, and the linear operations of each convolution kernel for the light of respective corresponding wavelengths are independent of each other. Therefore, by independently setting up the convolution kernel for each wavelength, the calculation results of each wavelength will not affect each other. Further, the solution of this embodiment provides a multi-core parallel computing photonic neural network, which performs linear operations on the light of multiple wavelengths in the optical signal in parallel through multiple convolution cores, which greatly improves the overall computing speed and computing power. .
附图说明Description of drawings
图1是本发明实施例一种光子神经网络的原理示意图;1 is a schematic diagram of the principle of a photonic neural network according to an embodiment of the present invention;
图2是图1中光发射模块的第一种具体实施方式的结构示意图;FIG. 2 is a schematic structural diagram of a first specific embodiment of the light emission module in FIG. 1;
图3是图2所示调制器阵列中单个调制器的一种具体实施方式的结构示意图;3 is a schematic structural diagram of a specific implementation manner of a single modulator in the modulator array shown in FIG. 2;
图4是图1中光发射模块的第二种具体实施方式的结构示意图;4 is a schematic structural diagram of a second specific implementation manner of the light emission module in FIG. 1;
图5是图1中光信号处理模块的第一种具体实施方式的结构示意图;FIG. 5 is a schematic structural diagram of a first specific implementation manner of the optical signal processing module in FIG. 1;
图6是图1中光信号处理模块的最小基本单元的第一种具体实施方式的结构示意图;FIG. 6 is a schematic structural diagram of a first specific embodiment of the minimum basic unit of the optical signal processing module in FIG. 1;
图7是图5所示M 2×M 1卷积核单元的一种具体实施方式的结构示意图; FIG. 7 is a schematic structural diagram of a specific embodiment of the M 2 ×M 1 convolution kernel unit shown in FIG. 5 ;
图8是图1中光信号处理模块的第二种具体实施方式的结构示意图;FIG. 8 is a schematic structural diagram of a second specific implementation manner of the optical signal processing module in FIG. 1;
图9是图8中光学非线性单元的第一种具体实施方式的结构示意图;FIG. 9 is a schematic structural diagram of the first specific embodiment of the optical nonlinear unit in FIG. 8;
图10是采用图9所示光学非线性单元时在不同条件下对光振幅的非线性函数的仿真结果;Fig. 10 is the simulation result of the nonlinear function of light amplitude under different conditions when using the optical nonlinear unit shown in Fig. 9;
图11是采用图9所示光学非线性单元时在不同条件下对光强度的非线性函数的仿真结果;Fig. 11 is the simulation result of the nonlinear function of light intensity under different conditions when using the optical nonlinear unit shown in Fig. 9;
图12是图1中光信号处理模块的第三种具体实施方式的结构示 意图;Fig. 12 is the structural schematic diagram of the third specific embodiment of the optical signal processing module in Fig. 1;
图13是图1中光接收模块的一种具体实施方式的结构示意图;13 is a schematic structural diagram of a specific implementation manner of the light receiving module in FIG. 1;
图14是图8中光学非线性单元的第二种具体实施方式的结构示意图;FIG. 14 is a schematic structural diagram of the second specific embodiment of the optical nonlinear unit in FIG. 8;
图15是采用图14所示光学非线性单元时在不同条件下对光振幅的非线性函数的仿真结果;Fig. 15 is the simulation result of the nonlinear function of light amplitude under different conditions when the optical nonlinear unit shown in Fig. 14 is used;
图16是采用图14所示光学非线性单元时在不同条件下对光强度的非线性函数的仿真结果;Fig. 16 is the simulation result of the nonlinear function of light intensity under different conditions when using the optical nonlinear unit shown in Fig. 14;
图17是图1中光信号处理模块的最小基本单元的第二种具体实施方式的结构示意图。FIG. 17 is a schematic structural diagram of a second specific implementation manner of the minimum basic unit of the optical signal processing module in FIG. 1 .
具体实施方式detailed description
如背景技术所言,现有光子人工智能芯片的算力不尽如人意。As mentioned in the background art, the computing power of existing photonic artificial intelligence chips is not satisfactory.
本申请发明人经过分析发现,这是由于现有光子人工智能芯片是对单一波长的光进行线性运算,或是对同一束光学信号中各个波长的光进行相同的线性运算,导致光子神经网络的算力和灵活性受到极大限制。The inventors of the present application have found through analysis that this is because the existing photonic artificial intelligence chips perform linear operations on light of a single wavelength, or perform the same linear operations on lights of various wavelengths in the same optical signal, which leads to the failure of the photonic neural network. Computing power and flexibility are greatly limited.
为解决上述技术问题,本发明实施例提供一种光子神经网络,包括:光发射模块,所述光发射模块根据待处理信号调制得到第一阵列的光学信号,其中,所述第一阵列的光学信号中每一束光学信号包括多个波长的光;光信号处理模块,与所述光发射模块耦接以接收所述第一阵列的光学信号,所述光信号处理模块至少对所述第一阵列的光学信号进行线性运算以得到第二阵列的光学信号,其中,对于所述第一阵列的光学信号中的每一束光学信号,所述光信号处理模块对所述光学信号中各波长的光的线性运算是独立进行的;光接收模块,与所述光信号处理模块耦接以接收所述第二阵列的光学信号,所述光接收模块基于所述第二阵列的光学信号获取处理后信号。其中,运算是相 互独立的,是指运算过程中使用的参数和/或运算算法是相互独立的,没有依赖关系的,彼此之间可以相同或不同,可以具有关联或者不具有关联。To solve the above technical problem, an embodiment of the present invention provides a photonic neural network, including: an optical transmission module, the optical transmission module modulates the optical signal of the first array according to the signal to be processed, wherein the optical signal of the first array is Each beam of optical signal in the signal includes light of multiple wavelengths; an optical signal processing module is coupled to the light emission module to receive the optical signals of the first array, and the optical signal processing module at least Perform a linear operation on the optical signals of the array to obtain the optical signals of the second array, wherein, for each beam of optical signals in the optical signals of the first array, the optical signal processing module processes the optical signals of each wavelength in the optical signals. The linear operation of light is performed independently; the light receiving module is coupled to the optical signal processing module to receive the optical signals of the second array, and the light receiving module obtains and processes the optical signals based on the second array. Signal. Among them, the operation is independent of each other, which means that the parameters and/or operation algorithms used in the operation process are independent of each other and have no dependency relationship, and may be the same or different from each other, and may or may not be associated with each other.
本实施例方案能够极大地提高光子人工智能芯片的算力及灵活性。具体而言,本实施例方案通过对同一束光学信号中各波长的光独立地进行线性运算,使得对输入光的多核并行处理成为可能,利于提高光子人工智能芯片的算力和灵活性。The solution of this embodiment can greatly improve the computing power and flexibility of the photonic artificial intelligence chip. Specifically, the solution of this embodiment makes it possible to perform multi-core parallel processing of input light by independently performing linear operations on the light of each wavelength in the same optical signal, which is beneficial to improve the computing power and flexibility of the photonic artificial intelligence chip.
为使本发明的上述目的、特征和有益效果能够更为明显易懂,下面结合附图对本发明的具体实施例做详细的说明。In order to make the above objects, features and beneficial effects of the present invention more clearly understood, specific embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
图1是本发明实施例一种光子神经网络的原理示意图。FIG. 1 is a schematic diagram of the principle of a photonic neural network according to an embodiment of the present invention.
本实施例方案可以应用于图像识别、语音识别等应用场景,采用本实施所述光子神经网络1能够以较优算力实现对图像、语音等的识别。The solution of this embodiment can be applied to application scenarios such as image recognition and speech recognition, and the photonic neural network 1 described in this embodiment can realize the recognition of images, speech, etc. with better computing power.
具体地,参考图1,本实施例所述光子神经网络1可以包括:光发射模块11,所述光发射模块11根据待处理信号调制得到第一阵列的光学信号(图中以1,2,...,M 1标识),其中,所述第一阵列的光学信号中每一束光学信号包括多个波长的光。 Specifically, referring to FIG. 1 , the photonic neural network 1 in this embodiment may include: an optical transmission module 11, which modulates the optical signal of the first array according to the signal to be processed (in the figure, 1, 2, ..., M 1 mark), wherein each optical signal in the optical signals of the first array includes light of multiple wavelengths.
在一个具体实施中,所述待处理信号可以包括待处理的数字信号或模拟信号。例如,用于图像识别的图像信号、语音识别的语音信号。所述光发射模块11将所述待处理的数字信号或模拟信号编码成光学信号以供后续运算。In a specific implementation, the signal to be processed may include a digital signal or an analog signal to be processed. For example, image signals for image recognition, voice signals for speech recognition. The light emitting module 11 encodes the digital signal or analog signal to be processed into an optical signal for subsequent operation.
例如,所述光子神经网络1可以从扬声器接收例如语音信号,并处理所接收的语音信号,以识别语音信号的内容。由此,可以基于光子神经网络1实现语音识别。For example, the photonic neural network 1 may receive, for example, a speech signal from a speaker, and process the received speech signal to recognize the content of the speech signal. Thus, speech recognition can be realized based on the photonic neural network 1 .
又例如,所述光子神经网络1可以从图像采集设备接收例如图像信号,并处理所接收的图像信号,以识别图像信号的内容。由此,可以基于光子神经网络1实现图像识别。相应的,所述待处理信号可以 为图像的多个像素点的灰度。For another example, the photonic neural network 1 may receive, for example, an image signal from an image acquisition device, and process the received image signal to identify the content of the image signal. Thus, image recognition can be realized based on the photonic neural network 1 . Correspondingly, the to-be-processed signal may be the grayscale of multiple pixels of the image.
在一个具体实施中,光学信号在本实施例所述光子神经网络1内各模块之间的传输可以是基于波导承载的。具体而言,波导是指能够以任意方式引导光学信号的任何结构。如光纤、在衬底中制造的半导体波导、被配置成引导光学信号的光子晶体结构或任何其他适合的结构。In a specific implementation, the transmission of optical signals between modules in the photonic neural network 1 described in this embodiment may be carried by a waveguide. Specifically, a waveguide refers to any structure capable of guiding an optical signal in any manner. Such as optical fibers, semiconductor waveguides fabricated in substrates, photonic crystal structures configured to guide optical signals, or any other suitable structure.
在一个具体实施中,待处理信号可以由其他部件输入所述光发射模块11,所述其他部件可以集成于所述光子神经网络1内部,或者,也可以为其他与所述光子神经网络1耦接的外部器件。In a specific implementation, the signal to be processed may be input to the light emitting module 11 by other components, and the other components may be integrated within the photonic neural network 1 , or may be other components coupled to the photonic neural network 1 . connected external devices.
例如,所述光子神经网络1可以包括电控制模块14,所述电控制模块14与所述光发射模块11耦接以向所述光发射模块11传输所述待处理信号。For example, the photonic neural network 1 may include an electrical control module 14 coupled with the light emitting module 11 to transmit the signal to be processed to the light emitting module 11 .
具体而言,所述待处理信号可以表征为携带有相应信息的电信号,电控制模块14将电信号传输至光发射模块11,使得光发射模块11能够将电信号里的信息加载到光学信号上以形成所述第一阵列的光学信号。Specifically, the signal to be processed can be characterized as an electrical signal carrying corresponding information, and the electrical control module 14 transmits the electrical signal to the light emitting module 11 so that the light emitting module 11 can load the information in the electrical signal into the optical signal above to form the optical signals of the first array.
在一个具体实施中,参考图2,光发射模块11可以包括:光学信号阵列产生单元111,所述光学信号阵列产生单元111用于产生光学信号阵列,且所述光学信号阵列中的每一束光学信号包括多个波长的连续光,将所述光学信号阵列产生单元111产生的光学信号阵列记作第三阵列的光学信号;调制器阵列112,与所述光学信号阵列产生单元111耦接以接收所述第三阵列的光学信号,所述调制器阵列112用于向所述第三阵列的光学信号施加调制信号,以得到所述第一阵列的光学信号,其中,所述调制信号与所述待处理信号相关联。In a specific implementation, referring to FIG. 2 , the light emitting module 11 may include: an optical signal array generating unit 111, the optical signal array generating unit 111 is configured to generate an optical signal array, and each beam in the optical signal array The optical signal includes continuous light of multiple wavelengths, and the optical signal array generated by the optical signal array generating unit 111 is denoted as the optical signal of the third array; the modulator array 112 is coupled to the optical signal array generating unit 111 to Receiving the optical signals of the third array, the modulator array 112 is configured to apply a modulation signal to the optical signals of the third array to obtain the optical signals of the first array, wherein the modulation signal is the same as the optical signal of the third array. associated with the signal to be processed.
具体地,图中对第三阵列的光学信号和第一阵列的光学信号均以1,2,...,M 1标识。两者的区别在于,第三阵列的光学信号是光学信号阵列产生单元111输出的、没有经过调制的原始光,而第一阵列的光学 信号则是被调制器阵列112调制过的、携带有待处理信号相关信息的光。 Specifically, in the figure, the optical signals of the third array and the optical signals of the first array are marked with 1, 2, . . . , M 1 . The difference between the two is that the optical signal of the third array is the unmodulated original light output by the optical signal array generating unit 111 , while the optical signal of the first array is modulated by the modulator array 112 and carries the light to be processed. Light for signal related information.
进一步地,所述调制信号与所述待处理信号相关联可以指,根据所述待处理信号的具体信息确定调制信号的具体数值。Further, associating the modulated signal with the to-be-processed signal may refer to determining a specific value of the modulated signal according to specific information of the to-be-processed signal.
例如,所述第三阵列的光学信号经过调制器阵列112后,可以被调制器阵列进行强度调节,根据施加电压的不同,每束光学信号的强度调节量不同。输入光和输出光的强度有关联关系,通过这个关联关系就可以把待处理信号的信息加载在光上。For example, after the optical signals of the third array pass through the modulator array 112, the intensity of the optical signals can be adjusted by the modulator array. According to different applied voltages, the intensity adjustment amount of each optical signal is different. The intensities of the input light and the output light are related, and through this relationship, the information of the signal to be processed can be loaded on the light.
在一个具体实施中,所述第三阵列的光学信号可以由不同出射波长的激光器阵列经波长复用器复用后得到。In a specific implementation, the optical signals of the third array can be obtained by multiplexing laser arrays with different emission wavelengths through a wavelength multiplexer.
具体地,继续参考图2,所述光学信号阵列产生单元111可以包括激光器单元113,用于产生多个波长的光学信号(图中以λ 12,...,λ N标识)。 Specifically, continuing to refer to FIG. 2 , the optical signal array generating unit 111 may include a laser unit 113 for generating optical signals of multiple wavelengths (indicated by λ 1 , λ 2 , . . . , λ N in the figure).
例如,所述激光器单元113可以由具有不同出射波长的激光器阵列实现,激光器阵列中包含多个激光器,其中每一激光器分别输出特定波长的光。For example, the laser unit 113 may be implemented by a laser array with different emission wavelengths, and the laser array includes a plurality of lasers, wherein each laser outputs light of a specific wavelength respectively.
又例如,所述激光器单元113可以包括一个或多个多波长激光器,其中每一激光器产生特定的一个或多个波长的光学信号。For another example, the laser unit 113 may include one or more multi-wavelength lasers, wherein each laser generates an optical signal of a specific wavelength or wavelengths.
进一步,所述光学信号阵列产生单元111可以包括复用器114,与所述激光器单元113耦接,以将所述多个波长的光学信号波长复用为一束包含多个波长的连续光。Further, the optical signal array generating unit 111 may include a multiplexer 114, which is coupled to the laser unit 113 to wavelength-multiplex the optical signals of the multiple wavelengths into a continuous beam including multiple wavelengths.
例如,所述复用器114可以为阵列波导光栅(Arrayed Waveguide Grating,简称AWG)光复用器。For example, the multiplexer 114 may be an Arrayed Waveguide Grating (AWG for short) optical multiplexer.
进一步,所述光学信号阵列产生单元111可以包括分束器115,与所述复用器114耦接。所述分束器115可以为1×M 1分束器,用于将复用器114输出的包含多个波长的单束光学信号分束为M 1束光学 信号。分束得到的即为所述第三阵列的光学信号,其中每一束光学信号均包含λ 1至λ N共N个波长的光。 Further, the optical signal array generating unit 111 may include a beam splitter 115 coupled to the multiplexer 114 . The beam splitter 115 may be a 1×M 1 beam splitter, which is used to split the single beam optical signal including multiple wavelengths output by the multiplexer 114 into M 1 beam optical signals. The optical signals of the third array obtained by splitting the beams are the optical signals of the third array, wherein each optical signal includes light of N wavelengths from λ 1 to λ N in total.
例如,所述分束器115可以为单一分束器件。For example, the beam splitter 115 may be a single beam splitting device.
又例如,所述分束器115可以由多个分束器级联构成。For another example, the beam splitter 115 may be formed by cascaded multiple beam splitters.
在实际应用中,所述光学信号阵列产生单元111可以采用其他类似结构,以生成M1束光学信号组成的第三阵列的光学信号,其中每束光学信号均包含λ 1至λ N共N个波长的连续光。 In practical applications, the optical signal array generating unit 111 may adopt other similar structures to generate optical signals of a third array composed of M1 optical signals, wherein each optical signal includes a total of N wavelengths from λ 1 to λ N of continuous light.
例如,所述光学信号阵列产生单元111可以为多波长激光器,通过所述多波长激光器直接出射得到一束包含多个波长的连续光,然后由分束器分束得到所述第三阵列的光学信号。For example, the optical signal array generating unit 111 may be a multi-wavelength laser. The multi-wavelength laser directly emits a beam of continuous light containing multiple wavelengths, and then splits the beam by a beam splitter to obtain the optical signal of the third array. Signal.
在一个具体实施中,光发射模块11的输出光信号(即第一阵列的光学信号)可以是多种波长且调制信号相同的光信号。也即,所述调制器阵列112对所述第三阵列的光学信号中同一束光学信号的各波长的光施加相同的调制信号。In a specific implementation, the output optical signal of the light emitting module 11 (ie, the optical signal of the first array) may be an optical signal with multiple wavelengths and the same modulation signal. That is, the modulator array 112 applies the same modulation signal to the light of each wavelength of the same optical signal in the optical signals of the third array.
进一步,所述调制器阵列112对所述第三阵列的光学信号中不同束光学信号可以施加不同的调制信号。Further, the modulator array 112 may apply different modulation signals to different beams of optical signals in the optical signals of the third array.
例如,所述调制器阵列112可以包括M1个调制器,其中每一调制器用于对一路光学信号进行调制。具体地,每一调制器加载的光信号相同,但各调制器向光信号施加不同的电压,由此得到不同强度的调制结果。由此,调制器阵列112输出的第一阵列的光学信号中,同一束光学信号中各波长携带的待处理的信息是一样的,不同束光学信号中相同波长携带的信息可以是不一样的。For example, the modulator array 112 may include M1 modulators, where each modulator is used to modulate one optical signal. Specifically, each modulator loads the same optical signal, but each modulator applies different voltages to the optical signal, thereby obtaining modulation results of different intensities. Therefore, in the optical signals of the first array output by the modulator array 112, the information to be processed carried by each wavelength in the same optical signal is the same, and the information carried by the same wavelength in different optical signals may be different.
当然,调制器阵列112可以向部分束光学信号施加相同的调制信号,则这些不同束光学信号中相同波长携带的信息也可以是一样的。Of course, the modulator array 112 can apply the same modulation signal to some of the optical signals in the beams, and the information carried by the same wavelength in the optical signals in the different beams can also be the same.
在一个具体实施中,所述调制器阵列112对所述第三阵列的光学信号中同一束光学信号的不同波长的光可以施加不同的调制信号。由 此,所述光发射模块11的输出光信号可以是多种波长且调制信号不同的光信号。In a specific implementation, the modulator array 112 may apply different modulation signals to light of different wavelengths of the same optical signal in the optical signals of the third array. Therefore, the output optical signal of the light emitting module 11 may be an optical signal with various wavelengths and different modulation signals.
例如,对于同一束光学信号,对应的调制器针对该束光的不同波长加载不同的电压,以得到不同强度的调制结果。For example, for the same beam of optical signal, the corresponding modulator loads different voltages for different wavelengths of the beam of light, so as to obtain modulation results of different intensities.
在一个具体实施中,调制器阵列112可以采用电光、声光、热光等类型的调制器。In a specific implementation, the modulator array 112 may employ electro-optic, acousto-optic, thermo-optic and other types of modulators.
在一个具体实施中,图3示出调制器阵列112中单个调制器的一种具体实施方式的结构示意图。所述调制器阵列112可以包括M 1个图3示出的调制器。所述调制器可以称为多波长光调制器单元116,以实现对不同波长的光信号的调制。 In a specific implementation, FIG. 3 shows a schematic structural diagram of a specific implementation manner of a single modulator in the modulator array 112 . The modulator array 112 may include M 1 modulators shown in FIG. 3 . The modulator may be referred to as a multi-wavelength optical modulator unit 116 to realize modulation of optical signals of different wavelengths.
所述多个多波长光调制器单元116与所述第三阵列的光学信号一一对应,其中每一多波长光调制器单元116用于对第三阵列的光学信号中的某一束光学信号进行调制。The plurality of multi-wavelength light modulator units 116 are in one-to-one correspondence with the optical signals of the third array, wherein each multi-wavelength light modulator unit 116 is used for a certain beam of optical signals in the optical signals of the third array to modulate.
具体地,参考图3,所述多波长光调制器单元116可以包括输入波导、光学干涉单元117以及输出波导。Specifically, referring to FIG. 3 , the multi-wavelength optical modulator unit 116 may include an input waveguide, an optical interference unit 117 and an output waveguide.
输入波导接收到的输入光信号可以为多种波长的连续光(λ 12,...,λ N),即第三阵列的光学信号中的单束光学信号。 The received optical signal input waveguide may be a plurality of continuous light of a wavelength (λ 1, λ 2, ... , λ N), i.e., a single beam optical signal of the optical signal in the third array.
进一步,所述光学干涉单元117可以为1×1马赫曾德干涉仪。所述1×1马赫曾德干涉仪可以包括两个1×2分束器(图中分别以分束器1和分束器2标识)和两个波长敏感的移相器阵列118。其中,波长敏感的移相器阵列也可以称为波长相关的移相器阵列。Further, the optical interference unit 117 may be a 1×1 Mach-Zehnder interferometer. The 1×1 Mach-Zehnder interferometer may include two 1×2 beam splitters (identified as beam splitter 1 and beam splitter 2 in the figure, respectively) and two wavelength-sensitive phase shifter arrays 118 . Among them, the wavelength-sensitive phase shifter array may also be referred to as a wavelength-dependent phase shifter array.
例如,分束器可以采用定向耦合器(Directional Coupler,简称DC)、多模干涉器(Muti-Mode Interferometer,简称MMI)等。For example, the beam splitter may use a directional coupler (Directional Coupler, DC for short), a multi-mode interferometer (Multi-Mode Interferometer, MMI for short), and the like.
进一步,两个波长敏感的移相器阵列118可以分别设置于1×1马赫曾德干涉仪的上臂和下臂,以对输入的光学信号中各波长的光进行独立调制。Further, two wavelength-sensitive phase shifter arrays 118 can be disposed on the upper arm and the lower arm of the 1×1 Mach-Zehnder interferometer, respectively, to independently modulate the light of each wavelength in the input optical signal.
例如,波长敏感的移相器阵列118可以对单个波长的光信号进行独立的移相操作。For example, the wavelength sensitive phase shifter array 118 may perform independent phase shifting operations on optical signals of a single wavelength.
进一步,波长敏感的移相器阵列118可以由微环谐振腔、光栅等波长相关器件实现。移相可以通过热光、电光、相变、等离子体色散等方式实现,图3以微环谐振腔为例进行示例性展示。Further, the wavelength-sensitive phase shifter array 118 can be implemented by wavelength-dependent devices such as microring resonators, gratings, and the like. Phase shifting can be achieved by means of thermo-optic, electro-optic, phase transition, plasma dispersion, etc. Fig. 3 exemplifies the micro-ring resonator as an example.
进一步,所述波长敏感的移相器阵列118可以包括多个移相器(图中以圆环标识),所述多个移相器与所述输入的光学信号中各波长的光一一对应。也就是说,单个波长敏感的移相器阵列118包括的移相器的数量与输入光的波长数量相对应,以多核并行地对输入的包含多个波长的连续光进行移相操作。Further, the wavelength-sensitive phase shifter array 118 may include a plurality of phase shifters (marked by a circle in the figure), and the plurality of phase shifters correspond to the light of each wavelength in the input optical signal one-to-one . That is, a single wavelength-sensitive phase shifter array 118 includes the number of phase shifters corresponding to the number of wavelengths of the input light, and performs phase shifting operations on the input continuous light containing multiple wavelengths in parallel with multiple cores.
进一步,设置于所述上臂的波长敏感的移相器阵列118和设置于所述下臂的波长敏感的移相器阵列118中对应相同波长的移相器的移相参数之和为2π的整数倍。由此,可以避免引入相位偏差,实现纯粹的强度调节。Further, the sum of the phase shift parameters of the phase shifters corresponding to the same wavelength in the wavelength-sensitive phase shifter array 118 arranged on the upper arm and the wavelength-sensitive phase shifter array 118 arranged on the lower arm is an integer of 2π times. Thereby, the introduction of phase deviation can be avoided and pure intensity modulation can be achieved.
假设移相器上臂谐振波长为λ m的微环移相器,对应的移相参数为θ λm-U;移相器下臂谐振波长为λ m的微环移相器,对应的移相参数为θ λm-D。则所述光学干涉单元117在对输入的光学信号进行调制时,令θ λm-Uλm-D=2kπ,其中k为整数。 Assuming that the micro-ring phase shifter with the resonance wavelength of the upper arm of the phase shifter is λ m , the corresponding phase-shifting parameter is θ λm-U ; the micro-ring phase shifter whose lower arm resonant wavelength is λ m, the corresponding phase-shifting parameter is θ λm-D . Then, when the optical interference unit 117 modulates the input optical signal, let θ λm-U + θ λm-D =2kπ, where k is an integer.
相应的,对于波长为λ m的光学信号,所述光学干涉单元117的传输矩阵
Figure PCTCN2021082632-appb-000001
可以描述为如公式(1)所示:
Correspondingly, for an optical signal with a wavelength of λ m , the transmission matrix of the optical interference unit 117
Figure PCTCN2021082632-appb-000001
It can be described as formula (1):
Figure PCTCN2021082632-appb-000002
Figure PCTCN2021082632-appb-000002
其中,所述传输矩阵
Figure PCTCN2021082632-appb-000003
用于描述光学信号的复振幅的变化情况。
where the transfer matrix
Figure PCTCN2021082632-appb-000003
Used to describe the variation of the complex amplitude of an optical signal.
由此,基于波长敏感的移相器阵列118实现对同一束光学信号中 不同波长的光学信号进行独立的移相操作。Thus, independent phase shifting operations for optical signals of different wavelengths in the same beam of optical signals are realized based on the wavelength-sensitive phase shifter array 118.
在一个具体实施中,光发射模块11可以采用图4所示结构,每一波长的光分成M1束光学信号并分别调制输出到对应的复用器,由复用器将不同波长的光合并到同一波导中,最终形成第一阵列的光学信号。In a specific implementation, the optical transmitting module 11 can adopt the structure shown in FIG. 4 , the light of each wavelength is divided into M1 optical signals and modulated respectively and output to the corresponding multiplexer, and the multiplexer combines the lights of different wavelengths into M1 beams of optical signals. In the same waveguide, the optical signals of the first array are finally formed.
采用图4所示结构生成的第一阵列的光学信号中,同一束光学信号中每个波长携带的信息是不一样的。也即,采用图4所示结构生成的第一阵列的光学信号可以是多种波长且调制信号不同的光学信号。当然,采用图4所示结构生成的第一阵列的光学信号中,同一束光学信号中每个波长携带的信息也可以是相同的,只要调制器施加的待处理信号相同,则每个波长携带的信息就可以认为是相同的。In the optical signal of the first array generated by the structure shown in FIG. 4 , the information carried by each wavelength in the same optical signal is different. That is, the optical signals of the first array generated by the structure shown in FIG. 4 may be optical signals with various wavelengths and different modulation signals. Of course, in the optical signals of the first array generated by the structure shown in FIG. 4 , the information carried by each wavelength in the same optical signal can also be the same. As long as the signals to be processed applied by the modulator are the same, then each wavelength carries the same information. information can be considered to be the same.
具体地,参考图4,光发射模块11可以包括激光器单元113,用于产生N个波长的光。关于激光器单元113的具体结构可以参考图2所示实施例的相关描述,在此不与赘述。当所述激光器单元113包括一个或多个多波长激光器时,所述激光器单元113输出的光学信号需先经过波分解复用器将不同波长的光信号分离,然后再输出至后续模块。Specifically, referring to FIG. 4 , the light emitting module 11 may include a laser unit 113 for generating light of N wavelengths. For the specific structure of the laser unit 113 , reference may be made to the related description of the embodiment shown in FIG. 2 , which will not be repeated here. When the laser unit 113 includes one or more multi-wavelength lasers, the optical signals output by the laser unit 113 need to be separated by a wavelength demultiplexer to separate optical signals of different wavelengths, and then output to subsequent modules.
进一步,所述光发射模块11可以包括N个1×M 1分束器(图中以分束器1至分束器N标识),所述N个1×M 1分束器与所述N个波长一一对应,用于将接收到的单一波长的单束光学信号分束为M 1束单一波长的光学信号。 Further, the light emitting module 11 may include N 1×M 1 beam splitters (indicated by beam splitter 1 to beam splitter N in the figure), the N 1×M 1 beam splitters and the NM 1 beam splitters The wavelengths are in one-to-one correspondence, and are used to split the received single-wavelength optical signal into M 1 single-wavelength optical signals.
进一步,所述光发射模块11可以包括N个调制器阵列(图中以调制器阵列1至调制器阵列N标识),所述N个调制器阵列与所述N个分束器一一对应,用于对接收到的M 1束单一波长的光学信号进行调制。 Further, the light emitting module 11 may include N modulator arrays (indicated by modulator array 1 to modulator array N in the figure), and the N modulator arrays correspond to the N beam splitters one-to-one, It is used to modulate the optical signal of a single wavelength of the received M 1 beam.
对于所述N个调制器阵列中的任一调制器阵列,所述调制器阵列可以包含M 1个光调制器,可以是电光、声光、热光等调制器等。 关于所述调制器阵列的具体结构可以参考图2中的相关描述。 For any one of the N modulator arrays, the modulator array may include M 1 optical modulators, which may be electro-optic, acousto-optic, thermo-optic and other modulators. For the specific structure of the modulator array, reference may be made to the related description in FIG. 2 .
对于所述N个调制器阵列中的任一调制器阵列,所述调制器阵列可以对输入的M 1束单一波长的光学信号施加不同的调制信号。 For any one of the N modulator arrays, the modulator array can apply different modulation signals to the input M 1 beams of optical signals of a single wavelength.
进一步,所述光发射模块11可以包括M 1个波分复用器(图中以复用器1至复用器M 1标识),其中每一波分复用器用于将N个调制器阵列各自输出的一路调制后的光学信号波分复用成一路光学信号。M 1个波分复用器的输出即为所述第一阵列的光学信号。 Further, the optical transmission module 11 may include M 1 wavelength division multiplexers (identified by multiplexer 1 to multiplexer M 1 in the figure), wherein each wavelength division multiplexer is used to combine the N modulator arrays One channel of modulated optical signals outputted by each is wavelength-division multiplexed into one channel of optical signals. The outputs of the M 1 wavelength division multiplexers are the optical signals of the first array.
以激光器单元113输出的波长为λ m的光学信号为例,该路光学信号先经1×M 1分束器m等分为M 1束光。该M 1束光分别经调制器阵列m中的对应调制器调制后,再分别与M 1个波分复用器相连接。 Taking an optical signal with a wavelength of λ m output by the laser unit 113 as an example, the optical signal is first divided into M 1 beams equally by a 1×M 1 beam splitter m. The M 1 beams of light are respectively modulated by the corresponding modulators in the modulator array m, and then respectively connected to the M 1 wavelength division multiplexers.
相应的,对于每一波分复用器,所述波分复用器接收到的不同波长的光学信号是经由不同的调制器阵列调制得到的,由此,所述光发射模块11可以对多种波长的光实现不同的调制。Correspondingly, for each wavelength division multiplexer, the optical signals of different wavelengths received by the wavelength division multiplexer are modulated by different modulator arrays, and thus, the optical transmission module 11 can Different wavelengths of light can be modulated differently.
或者,所述M 1个波分复用器可以对各调制器阵列施加相同调制信号调制得到的不同波长的光进行波分复用,以复合得到所述第一阵列的光学信号中的单束光学信号。由此,采用图4所示结构的光发射模块11可以输出多个波长调制相同的光学信号。 Alternatively, the M 1 wavelength division multiplexers may perform wavelength division multiplexing on light of different wavelengths modulated by applying the same modulation signal to each modulator array, so as to obtain a single beam in the optical signal of the first array by compounding optical signal. Therefore, the light emitting module 11 using the structure shown in FIG. 4 can output a plurality of optical signals with the same wavelength modulation.
在图4所示光发射模块11中,光学信号阵列产生单元111可以等效为除调制器阵列1至N外的剩余模块,与图2所示光学信号阵列产生单元111的区别在于,本实施例所述光学信号阵列产生单元111是对每一波长的光单独进行调制的,并在最后才复合到一路光学信号中。In the light emitting module 11 shown in FIG. 4 , the optical signal array generating unit 111 can be equivalent to the remaining modules except the modulator arrays 1 to N. The difference from the optical signal array generating unit 111 shown in FIG. 2 is that this implementation For example, the optical signal array generating unit 111 modulates the light of each wavelength individually, and only combines them into an optical signal at the end.
由上,所述光发射模块11输出的所述第一阵列的光学信号可以是多种不同波长且调制信号相同的光学信号,也可以是多种不同波长但调制信号不同的光学信号。From the above, the optical signals of the first array output by the light emitting module 11 may be optical signals with different wavelengths and the same modulation signal, or may be optical signals with different wavelengths but different modulation signals.
在一个具体实施中,继续参考图1,所述光子神经网络1还可以包括光信号处理模块12,与所述光发射模块11耦接以接收所述第一 阵列的光学信号,所述光信号处理模块12至少对所述第一阵列的光学信号进行线性运算以得到第二阵列的光学信号(图中以1,2,...,M 2标识),其中,对于所述第一阵列的光学信号中的每一束光学信号,所述光信号处理模块12对所述光学信号中各波长的光的线性运算是独立进行的。 In a specific implementation, continuing to refer to FIG. 1 , the photonic neural network 1 may further include an optical signal processing module 12 coupled to the optical transmission module 11 to receive the optical signals of the first array, the optical signals The processing module 12 at least performs linear operations on the optical signals of the first array to obtain the optical signals of the second array (indicated by 1, 2, . . . , M 2 in the figure), wherein, for the first array of For each optical signal in the optical signal, the optical signal processing module 12 performs the linear operation on the light of each wavelength in the optical signal independently.
具体地,所述对于所述第一阵列的光学信号中的每一束光学信号,所述光信号处理模块12对所述光学信号中各波长的光的线性运算是独立进行的,可以是指:所述光信号处理模块12对所述光学信号中不同波长的光分别配置对应的卷积核,且各卷积核对各自对应波长的光的线性运算是相互独立的。Specifically, for each beam of optical signals in the first array of optical signals, the optical signal processing module 12 performs linear operations on the light of each wavelength in the optical signal independently, which may refer to : The optical signal processing module 12 respectively configures corresponding convolution kernels for light of different wavelengths in the optical signal, and the linear operations of each convolution kernel for the light of corresponding wavelengths are independent of each other.
由此,通过针对每个波长独立设立卷积核,使得各波长的计算结果彼此之间不会相互影响。进一步而言,本实施例方案提供一种多核并行运算的光子神经网络1,通过多个卷积核并行地对光学信号中多个波长的光分别进行线性运算,极大地提高整体运算速度和算力。Therefore, by independently setting up a convolution kernel for each wavelength, the calculation results of each wavelength do not affect each other. Further, the solution of this embodiment provides a multi-core parallel operation photonic neural network 1, which performs linear operations on the light of multiple wavelengths in the optical signal in parallel through multiple convolution cores, which greatly improves the overall operation speed and calculation speed. force.
在一个具体实施中,参考图5,所述光信号处理模块12可以包括线性矩阵乘法单元121,用于对所述第一阵列的光学信号中的每束光学信号多核并行地进行矩阵乘法操作,以得到所述第二阵列的光学信号。In a specific implementation, referring to FIG. 5 , the optical signal processing module 12 may include a linear matrix multiplication unit 121 for performing a multi-core parallel matrix multiplication operation on each optical signal in the optical signal of the first array, to obtain the optical signals of the second array.
在本实施例中,所述线性矩阵乘法单元121的数量可以为一个。In this embodiment, the number of the linear matrix multiplying units 121 may be one.
具体地,所述线性矩阵乘法单元121可以包括输入波导阵列、M 2×M 1卷积核单元122以及输出波导阵列。其中,所述输入波导阵列适于接收所述第一阵列的光学信号,所述输出波导阵列适于输出所述第二阵列的光学信号。 Specifically, the linear matrix multiplying unit 121 may include an input waveguide array, an M 2 ×M 1 convolution kernel unit 122 and an output waveguide array. Wherein, the input waveguide array is adapted to receive the optical signals of the first array, and the output waveguide array is adapted to output the optical signals of the second array.
在一个具体实施中,结合图6,所述线性矩阵乘法单元121中的M 2×M 1卷积核单元122可以包括:多个相互串并联的光学干涉单元123,其中每一光学干涉单元123的干涉臂设置有波长敏感的移相器阵列124,且每一光学干涉单元123的输入臂和输出臂中的至少一个 设置有所述波长敏感的移相器阵列124,以对输入所述光学干涉单元123的光学信号中各波长的光进行独立的移相操作。 In a specific implementation, referring to FIG. 6 , the M 2 ×M 1 convolution kernel unit 122 in the linear matrix multiplication unit 121 may include: a plurality of optical interference units 123 connected in series and parallel to each other, wherein each optical interference unit 123 The interference arms of the optical interference unit 123 are provided with a wavelength-sensitive phase shifter array 124, and at least one of the input arm and the output arm of each optical interference unit 123 is provided with the wavelength-sensitive phase shifter array 124, so as to adjust the input of the optical The light of each wavelength in the optical signal of the interference unit 123 performs an independent phase shift operation.
具体地,所述光学干涉单元123可以作为M 2×M 1卷积核单元122的最小基本单元。所述M 2×M 1卷积核单元122可以由图6所示的光学干涉单元123通过一定连接方式组成。 Specifically, the optical interference unit 123 can be used as the minimum basic unit of the M 2 ×M 1 convolution kernel unit 122 . The M 2 ×M 1 convolution kernel unit 122 may be composed of the optical interference unit 123 shown in FIG. 6 in a certain connection manner.
图7以4×4卷积核单元为例进行示例性展示,其中In1至In4为第一阵列的光学信号,Out1至Out4为第二阵列的光学信号。V T为酉矩阵,∑为对角矩阵,U为酉矩阵。需要指出的是,M 2×M 1卷积核单元122内各光学干涉单元123的具体连接方式可以根据实际需要进行调整,在此不作限制。 FIG. 7 exemplarily shows a 4×4 convolution kernel unit, wherein In1 to In4 are the optical signals of the first array, and Out1 to Out4 are the optical signals of the second array. V T is a unitary matrix, ∑ is a diagonal matrix, and U is a unitary matrix. It should be pointed out that the specific connection mode of each optical interference unit 123 in the M 2 ×M 1 convolution kernel unit 122 can be adjusted according to actual needs, which is not limited here.
结合图5至图7,所述光学干涉单元123可以为输入臂(或输出臂)以及干涉臂设置有波长敏感的移相器阵列124的2×2马赫曾德干涉仪。所述2×2马赫曾德干涉仪可以包括两个2×2分束器125,所述两个2×2分束器125之间的臂为干涉臂,位于第一个2×2分束器125左侧的臂为输入臂,位于第二个2×2分束器125右侧的臂为输出臂。波长敏感的移相器阵列124在图中以微环谐振腔移相器为例进行示例性展示。5 to 7 , the optical interference unit 123 may be a 2×2 Mach-Zehnder interferometer provided with a wavelength-sensitive phase shifter array 124 for the input arm (or output arm) and the interference arm. The 2×2 Mach-Zehnder interferometer may include two 2×2 beam splitters 125 , and the arm between the two 2×2 beam splitters 125 is an interference arm, located in the first 2×2 beam splitter The arm to the left of the second 2x2 beamsplitter 125 is the input arm, and the arm to the right of the second 2x2 beamsplitter 125 is the output arm. The wavelength-sensitive phase shifter array 124 is exemplarily shown in the figure using a micro-ring resonator phase shifter as an example.
进一步,所述波长敏感的移相器阵列124可以包括多个移相器(图中以圆环示例),所述多个移相器与输入的光学信号中各波长的光一一对应。也即,构成光信号处理模块12的最基本单元的光学干涉单元123的干涉臂以及输入臂设置有多个移相器组成的光学敏感的移相器阵列124,各移相器阵列包括的移相器的数量与输入光的波长数量相对应,以实现对输入光的多核并行处理。Further, the wavelength-sensitive phase shifter array 124 may include a plurality of phase shifters (an example is a circle in the figure), and the plurality of phase shifters correspond to each wavelength of light in the input optical signal one-to-one. That is, the interference arm and the input arm of the optical interference unit 123 constituting the most basic unit of the optical signal processing module 12 are provided with an optically sensitive phase shifter array 124 composed of a plurality of phase shifters. The number of phasers corresponds to the number of wavelengths of the input light, so as to realize multi-core parallel processing of the input light.
图6是以光学干涉单元123的干涉臂和输入臂的上臂均设置有所述波长敏感的移相器阵列124为例进行示例性展示的。在实际应用中,也可以是干涉臂和输出臂设置有所述波长敏感的移相器阵列124,或者,干涉臂、输入臂和输出臂均设置有所述波长敏感的移相器阵列124。在实际应用中,位于所述干涉臂的所述波长敏感的移相器阵列 124可以设置于干涉臂的上臂,位于所述输入臂的所述波长敏感的移相器阵列124可以设置于输入臂的上臂;或者,位于所述干涉臂的所述波长敏感的移相器阵列124可以设置于干涉臂的下臂,位于所述输入臂的所述波长敏感的移相器阵列124可以设置于输入臂的下臂;或者,位于所述干涉臂的所述波长敏感的移相器阵列124可以设置于干涉臂的上臂,位于所述输入臂的所述波长敏感的移相器阵列124可以设置于输入臂的下臂;或者,位于所述干涉臂的所述波长敏感的移相器阵列124可以设置于干涉臂的下臂,位于所述输入臂的所述波长敏感的移相器阵列124可以设置于输入臂的上臂。FIG. 6 exemplarily shows as an example that both the interference arm of the optical interference unit 123 and the upper arm of the input arm are provided with the wavelength-sensitive phase shifter array 124 . In practical applications, the wavelength-sensitive phase shifter array 124 may also be provided in the interference arm and the output arm, or the wavelength-sensitive phase shifter array 124 may be provided in the interference arm, the input arm and the output arm. In practical applications, the wavelength-sensitive phase shifter array 124 located on the interference arm can be arranged on the upper arm of the interference arm, and the wavelength-sensitive phase shifter array 124 located on the input arm can be arranged on the input arm Alternatively, the wavelength-sensitive phase shifter array 124 located in the interference arm can be located in the lower arm of the interference arm, and the wavelength-sensitive phase shifter array 124 located in the input arm can be located in the input arm. Alternatively, the wavelength-sensitive phase shifter array 124 located on the interference arm can be located on the upper arm of the interference arm, and the wavelength-sensitive phase shifter array 124 located on the input arm can be located on the upper arm of the interference arm. the lower arm of the input arm; alternatively, the wavelength-sensitive phase shifter array 124 located on the interference arm may be disposed on the lower arm of the interference arm, and the wavelength-sensitive phase shifter array 124 located on the input arm may Installed on the upper arm of the input arm.
例如,光学敏感的移相器阵列124中的每一移相器分别对对应波长的光进行移相操作。For example, each phase shifter in the optically sensitive phase shifter array 124 performs a phase shifting operation for light of a corresponding wavelength, respectively.
进一步,图6示出的2×2马赫曾德干涉仪可以由一个2×2传输矩阵表述,如公式(2)所示:Further, the 2×2 Mach-Zehnder interferometer shown in FIG. 6 can be represented by a 2×2 transmission matrix, as shown in formula (2):
Figure PCTCN2021082632-appb-000004
Figure PCTCN2021082632-appb-000004
其中,
Figure PCTCN2021082632-appb-000005
为对波长为λ m的光的传输矩阵,
Figure PCTCN2021082632-appb-000006
和θ λm为2×2马赫曾德干涉仪中对波长为λ m的移相器参数。
in,
Figure PCTCN2021082632-appb-000005
is the transmission matrix for light with wavelength λ m,
Figure PCTCN2021082632-appb-000006
and θ λm are the phase shifter parameters for the wavelength λ m in the 2×2 Mach-Zehnder interferometer.
由上,设置有光学敏感的移相器阵列124的光学干涉单元123可以对不同波长的光实现独立的矩阵乘法操作。以图6所示的卷积核基本单元为例,可以同时实现N种波长的光信号的矩阵乘法操作。From the above, the optical interference unit 123 provided with the optically sensitive phase shifter array 124 can realize independent matrix multiplication operations for light of different wavelengths. Taking the basic unit of the convolution kernel shown in FIG. 6 as an example, the matrix multiplication operation of the optical signals of N wavelengths can be realized at the same time.
在一个具体实施中,所述光信号处理模块12可以包括多个级联的所述线性矩阵乘法单元121,其中,前一级所述线性矩阵乘法单元121的输出为后一级所述线性矩阵乘法单元121的输入,第一级所述线性矩阵乘法单元121的输入为所述第一阵列的光学信号,最后一级 所述线性矩阵乘法单元121的输出为所述第二阵列的光学信号。In a specific implementation, the optical signal processing module 12 may include a plurality of cascaded linear matrix multiplication units 121 , wherein the output of the linear matrix multiplication unit 121 of the previous stage is the linear matrix of the subsequent stage The input of the multiplication unit 121, the input of the linear matrix multiplication unit 121 of the first stage is the optical signal of the first array, and the output of the linear matrix multiplication unit 121 of the last stage is the optical signal of the second array.
在一个具体实施中,所述光信号处理模块12还可以包括:光学非线性单元126,与所述线性矩阵乘法单元122耦接以接收所述线性矩阵乘法单元122对所述第一阵列的光学信号的线性运算结果,并根据参考阵列的光学信号对所述第一阵列的光学信号的线性运算结果进行非线性运算,以得到所述第二阵列的光学信号。In a specific implementation, the optical signal processing module 12 may further include: an optical nonlinear unit 126, coupled to the linear matrix multiplying unit 122 to receive the optical signal of the first array by the linear matrix multiplying unit 122 The linear operation result of the signal is performed, and a nonlinear operation is performed on the linear operation result of the optical signal of the first array according to the optical signal of the reference array to obtain the optical signal of the second array.
具体而言,参考图8,所述光信号处理模块12可以是线性矩阵乘法单元122与光非线性单元126的级联结构。Specifically, referring to FIG. 8 , the optical signal processing module 12 may be a cascaded structure of a linear matrix multiplication unit 122 and an optical nonlinear unit 126 .
其中,所述线性矩阵乘法单元122的具体结构可以参考图6所示的最小基本单元构成。The specific structure of the linear matrix multiplying unit 122 may refer to the minimum basic unit structure shown in FIG. 6 .
在一个具体实施中,将所述第一阵列的光学信号的线性运算结果记作第四阵列的光学信号,所述光学非线性单元126对所述第四阵列的光学信号中各波长的光的非线性运算是独立进行的。也即,所述光学非线性单元126可以对单一波长的光进行独立的非线性运算。In a specific implementation, the linear operation result of the optical signals of the first array is denoted as the optical signals of the fourth array, and the optical nonlinear unit 126 is responsible for the light of each wavelength in the optical signals of the fourth array. Non-linear operations are performed independently. That is, the optical nonlinear unit 126 can perform independent nonlinear operations on light of a single wavelength.
具体而言,参考图9,所述光学非线性单元126可以包括:多个光学干涉单元127,其中每一光学干涉单元127分别接收所述第四阵列的光学信号以及参考阵列的光学信号,所述光学干涉单元127的输入臂以及干涉臂设置有波长敏感的移相器阵列124,以根据所述参考阵列的光学信号对所述第四阵列的光学信号中各波长的光进行独立的非线性变换操作。Specifically, referring to FIG. 9 , the optical nonlinear unit 126 may include: a plurality of optical interference units 127 , wherein each optical interference unit 127 respectively receives the optical signal of the fourth array and the optical signal of the reference array, so The input arm and the interference arm of the optical interference unit 127 are provided with a wavelength-sensitive phase shifter array 124, so as to perform independent nonlinear nonlinearity on the light of each wavelength in the optical signal of the fourth array according to the optical signal of the reference array. Transform operation.
图9是以输入臂的上臂接收第四阵列的光学信号,输入臂的下臂接收参考阵列的光学信号为例进行示例性展示的。在实际应用中,也可以是输入臂的下臂接收第四阵列的光学信号,输入臂的上臂接收参考阵列的光学信号。进一步,设置于干涉臂的波长敏感的移相器阵列124与设置于输入臂的波长敏感的移相器阵列124可以是同侧的,如都在上臂或都在下臂。或者,设置于干涉臂的波长敏感的移相器阵列124与设置于输入臂的波长敏感的移相器阵列124可以是异侧的,如 输入臂的上臂设置有波长敏感的移相器阵列124,且干涉臂的下臂设置有波长敏感的移相器阵列124。FIG. 9 exemplarily shows an example that the upper arm of the input arm receives the optical signal of the fourth array, and the lower arm of the input arm receives the optical signal of the reference array. In practical applications, the lower arm of the input arm may also receive the optical signal of the fourth array, and the upper arm of the input arm may receive the optical signal of the reference array. Further, the wavelength sensitive phase shifter array 124 disposed in the interference arm and the wavelength sensitive phase shifter array 124 disposed in the input arm may be on the same side, eg, both on the upper arm or both on the lower arm. Alternatively, the wavelength-sensitive phase shifter array 124 provided on the interference arm and the wavelength-sensitive phase shifter array 124 provided on the input arm may be on opposite sides, for example, the upper arm of the input arm is provided with the wavelength-sensitive phase shifter array 124 , and the lower arm of the interference arm is provided with a wavelength-sensitive phase shifter array 124 .
多个所述光学干涉单元127与所述第四阵列的光学信号一一对应,其中每一光学干涉单元127用于对一束光中的各波长进行独立的非线性变换操作。进一步,各光学干涉单元127对对应波长的光的非线性变化操作不受其他光学干涉单元的影响。A plurality of the optical interference units 127 are in one-to-one correspondence with the optical signals of the fourth array, wherein each optical interference unit 127 is used to perform an independent nonlinear transformation operation on each wavelength in a beam of light. Further, the nonlinear change operation of each optical interference unit 127 on the light of the corresponding wavelength is not affected by other optical interference units.
进一步地,所述光学干涉单元127可以为上臂设置有波长敏感的移相器阵列124的2×2马赫曾德干涉仪。所述2×2马赫曾德干涉仪可以包括两个2×2分束器125,所述两个2×2分束器125中第一个2×2分束器125的输入端为所述光学干涉单元127的输入臂,所述输入臂的上臂设置有光学敏感的移相器阵列124并用于接收第四阵列的光学信号。所述输入臂的下臂未设置光学敏感的移相器阵列124并用于接收参考阵列的光学信号。波长敏感的移相器阵列124在图中以微环谐振腔移相器为例进行示例性展示。Further, the optical interference unit 127 may be a 2×2 Mach-Zehnder interferometer provided with a wavelength-sensitive phase shifter array 124 on the upper arm. The 2×2 Mach-Zehnder interferometer may include two 2×2 beam splitters 125 , and the input end of the first 2×2 beam splitter 125 in the two 2×2 beam splitters 125 is the The input arm of the optical interference unit 127, the upper arm of which is provided with an optically sensitive phase shifter array 124 and used to receive the optical signals of the fourth array. The lower arm of the input arm is not provided with an optically sensitive phase shifter array 124 and is used to receive the optical signal of the reference array. The wavelength-sensitive phase shifter array 124 is exemplarily shown in the figure using a micro-ring resonator phase shifter as an example.
进一步,所述波长敏感的移相器阵列124可以包括多个移相器(图中以圆环示例),所述多个移相器与输入的光学信号中各波长的光一一对应。例如,光学敏感的移相器阵列124中的每一移相器分别对对应波长的光进行移相操作。Further, the wavelength-sensitive phase shifter array 124 may include a plurality of phase shifters (an example is a circle in the figure), and the plurality of phase shifters correspond to each wavelength of light in the input optical signal one-to-one. For example, each phase shifter in the optically sensitive phase shifter array 124 performs a phase shifting operation for light of a corresponding wavelength, respectively.
图9所示光学干涉单元127与图6所示光学干涉单元123的区别在于,图9所示2×2马赫曾德干涉仪的输入臂的下臂适于接收参考阵列的光学信号。由此,光学干涉单元127包括的两个波长敏感的移相器阵列124中,位于输入臂的波长敏感的移相器阵列124可以用于调整信号光与参考光之间的相位差。The difference between the optical interference unit 127 shown in FIG. 9 and the optical interference unit 123 shown in FIG. 6 is that the lower arm of the input arm of the 2×2 Mach-Zehnder interferometer shown in FIG. 9 is adapted to receive the optical signal of the reference array. Therefore, among the two wavelength-sensitive phase shifter arrays 124 included in the optical interference unit 127 , the wavelength-sensitive phase shifter array 124 located in the input arm can be used to adjust the phase difference between the signal light and the reference light.
继续参考图9,所述第四阵列的光学信号E inm)和参考阵列的光学信号E refm)同时输入所述2×2马赫曾德干涉仪,其输出可描述为公式(3)所示: Continuing to refer to FIG. 9 , the optical signal E inm ) of the fourth array and the optical signal E refm ) of the reference array are simultaneously input to the 2×2 Mach-Zehnder interferometer, and the output can be described as the formula (3) shows:
Figure PCTCN2021082632-appb-000007
Figure PCTCN2021082632-appb-000007
其中,
Figure PCTCN2021082632-appb-000008
为第四阵列的光学信号与参考阵列的光学信号之间的相位差;E out1m)和E out2m)均可作为2×2马赫曾德干涉仪的输出。
in,
Figure PCTCN2021082632-appb-000008
is the phase difference between the optical signal of the fourth array and the optical signal of the reference array; both E out1m ) and E out2m ) can be used as outputs of a 2×2 Mach-Zehnder interferometer.
具体地,所述参考阵列的光学信号与所述第四阵列的光学信号来自同一激光器,且未经调制器进行强度调制,为一连续光。Specifically, the optical signal of the reference array and the optical signal of the fourth array come from the same laser, and are not intensity modulated by a modulator, and are continuous light.
例如,所述参考阵列的光学信号可以为光学信号阵列产生单元111输出的未经调制的第三阵列的光学信号。For example, the optical signal of the reference array may be the unmodulated optical signal of the third array output by the optical signal array generating unit 111 .
以E out1m)为例,其强度O 1m)可以描述为如公式(4)所示: Taking E out1m ) as an example, its intensity O 1m ) can be described as shown in formula (4):
Figure PCTCN2021082632-appb-000009
Figure PCTCN2021082632-appb-000009
其中I inm)为第四阵列的光学信号的光强度,I refm)为参考阵列的光学信号的光强度。 Wherein I inm ) is the light intensity of the optical signal of the fourth array, and I refm ) is the light intensity of the optical signal of the reference array.
本实例所提供的由所述光学干涉单元127构成的全光非线性激活函数结构可以实现对光振幅的非线性变换,也可以实现对光强度的非线性变换。通过调整2×2马赫曾德干涉仪的移相器参数
Figure PCTCN2021082632-appb-000010
和θ λm以及参考阵列的光学信号的光强度I refm),可实现不同的非线性激活函数。
The all-optical nonlinear activation function structure formed by the optical interference unit 127 provided in this example can realize nonlinear transformation of light amplitude, and can also realize nonlinear transformation of light intensity. By adjusting the phase shifter parameters of the 2×2 Mach-Zehnder interferometer
Figure PCTCN2021082632-appb-000010
and θ λm and the light intensity I refm ) of the optical signal of the reference array, different nonlinear activation functions can be realized.
在一个典型的应用场景中,参见图10,图10示出采用图9所示结构时不同移相器参数
Figure PCTCN2021082632-appb-000011
和θ λm以及参考阵列的光学信号的光强度 I refm)条件下对光振幅的非线性变换曲线。其中,
Figure PCTCN2021082632-appb-000012
I ref=53uW,
Figure PCTCN2021082632-appb-000013
图10中实线对应移相器参数θ λm=0.534π,虚线对应移相器参数θ λm=0.789π,点划线对应移相器参数θ λm=0.985π,实线加圆形标记对应移相器参数θ λm=1.294π;虚线加圆形标记对应移相器参数θ λm=1.454π。
In a typical application scenario, see Fig. 10, Fig. 10 shows different phase shifter parameters when the structure shown in Fig. 9 is adopted
Figure PCTCN2021082632-appb-000011
and θ λm and the nonlinear transformation curve of the light intensity I refm ) of the optical signal of the reference array to the optical amplitude. in,
Figure PCTCN2021082632-appb-000012
I ref = 53uW,
Figure PCTCN2021082632-appb-000013
In Fig. 10, the solid line corresponds to the phase shifter parameter θ λm =0.534π, the dotted line corresponds to the phase shifter parameter θ λm =0.789π, the dotted line corresponds to the phase shifter parameter θ λm =0.985π, the solid line and the circle mark correspond to the phase shifter parameter θ λm =0.985π The phase shifter parameter θ λm =1.294π; the dotted line and the circle mark correspond to the phase shifter parameter θ λm =1.454π.
在一个典型的应用场景中,参见图11,图11示出采用图9所示结构时不同移相器参数
Figure PCTCN2021082632-appb-000014
和θ λm以及参考阵列的光学信号的光强度I refm)条件下对光强度的非线性变换曲线。其中,I refm)=53uW,
Figure PCTCN2021082632-appb-000015
图11中实线对应θ λm=0.534π,
Figure PCTCN2021082632-appb-000016
虚线对应θ λm=0.789π,
Figure PCTCN2021082632-appb-000017
点划线对应θ λm=1.294π,
Figure PCTCN2021082632-appb-000018
In a typical application scenario, see Figure 11, which shows different phase shifter parameters when the structure shown in Figure 9 is used
Figure PCTCN2021082632-appb-000014
and θ λm and the nonlinear transformation curve of the light intensity I refm ) of the optical signal of the reference array to the light intensity. Wherein, I refm )=53uW,
Figure PCTCN2021082632-appb-000015
The solid line in Fig. 11 corresponds to θ λm =0.534π,
Figure PCTCN2021082632-appb-000016
The dotted line corresponds to θ λm = 0.789π,
Figure PCTCN2021082632-appb-000017
The dot-dash line corresponds to θ λm =1.294π,
Figure PCTCN2021082632-appb-000018
在一个变化例中,在输入臂侧,光学敏感的移相器阵列124的具体设置位置除图9示出的实施例外,还可以设置于光学干涉单元127的用于接收参考阵列的光学信号的输入臂。也就是说,输入臂的上臂和下臂均可以设置有光学敏感的移相器阵列124,且上臂和下臂中的任一臂接收参考阵列的光学信号而另一臂接收第四阵列的光学信号。In a variation example, on the input arm side, the specific setting position of the optically sensitive phase shifter array 124 can be set at the position of the optical interference unit 127 for receiving the optical signal of the reference array, in addition to the embodiment shown in FIG. 9 . input arm. That is, both the upper and lower arms of the input arm may be provided with an optically sensitive phase shifter array 124, with either of the upper and lower arms receiving the optical signal of the reference array and the other receiving the optical signal of the fourth array Signal.
或者,在输入臂侧,光学敏感的移相器阵列124可以仅设置于接收参考阵列的光学信号的臂。Alternatively, on the input arm side, an optically sensitive phase shifter array 124 may be provided only on the arm that receives the optical signal of the reference array.
在一个变化例中,在干涉臂侧,光学敏感的移相器阵列124的具体设置位置除图9示出的实施例外,还可以设置于干涉臂的下臂。也就是说,干涉臂的上臂和下臂均可以设置有光学敏感的移相器阵列124。In a modified example, on the side of the interference arm, the specific arrangement position of the optically sensitive phase shifter array 124 may be arranged on the lower arm of the interference arm, in addition to the embodiment shown in FIG. 9 . That is, both the upper and lower arms of the interference arm may be provided with an optically sensitive phase shifter array 124 .
或者,在干涉臂侧,光学敏感的移相器阵列124可以仅设置于下臂。Alternatively, on the side of the interference arm, the optically sensitive phase shifter array 124 may be provided only on the lower arm.
在一个具体实施中,参考图8和图12,将相耦接的所述线性矩阵乘法单元122以及所述光学非线性单元126记作神经网络单元128,所述光信号处理模块12可以包括多个级联的所述神经网络单元128,其中,前一级神经网络单元128的输出为后一级神经网络单元128的 输入,第一级神经网络单元128的输入为所述第一阵列的光学信号,最后一级神经网络单元128的输出为所述第二阵列的光学信号。In a specific implementation, referring to FIG. 8 and FIG. 12 , the coupled linear matrix multiplication unit 122 and the optical nonlinear unit 126 are denoted as a neural network unit 128 , and the optical signal processing module 12 may include multiple The neural network units 128 are cascaded, wherein the output of the neural network unit 128 of the previous stage is the input of the neural network unit 128 of the next stage, and the input of the neural network unit 128 of the first stage is the optical fiber of the first array. signal, the output of the last stage neural network unit 128 is the optical signal of the second array.
也就是说,所述光信号处理模块12可以是由多个线性矩阵乘法单元122与光学非线性单元126的组合级联形成的。That is, the optical signal processing module 12 may be formed by a combination of multiple linear matrix multiplying units 122 and optical nonlinear units 126 in cascade.
图12以L个神经网络单元128为例进行示例性展示,其中,第一级神经网络单元128的输入为第一阵列的光学信号,第L级神经网络单元128的输出为第二阵列的光学信号。FIG. 12 takes L neural network units 128 as an example for exemplary illustration, wherein the input of the first-stage neural network unit 128 is the optical signal of the first array, and the output of the L-th neural network unit 128 is the optical signal of the second array. Signal.
进一步,L个神经网络单元128中至少部分神经网络单元128的线性矩阵乘法单元122的输出数量,可以不同于其他神经网络单元128的线性矩阵乘法单元122的输出数量。Further, the output numbers of the linear matrix multiplication units 122 of at least some of the neural network units 128 in the L neural network units 128 may be different from the output numbers of the linear matrix multiplication units 122 of other neural network units 128 .
例如,第一级神经网络单元128的线性矩阵乘法单元122可以包括M 2×M 1卷积核,第二级神经网络单元128的线性矩阵乘法单元122可以包括M 3×M 2卷积核,...,第L级神经网络单元128的线性矩阵乘法单元122可以包括M L+1×M L卷积核。其中,M 1、M 2、M 3、...、M L和M L+1可以完全相等、部分相等或互不相等。 For example, the linear matrix multiplication unit 122 of the first-stage neural network unit 128 may include M 2 ×M 1 convolution kernels, and the linear matrix multiplication unit 122 of the second-stage neural network unit 128 may include M 3 ×M 2 convolution kernels, ..., the linear matrix multiplication unit 122 of the L-th level neural network unit 128 may include a ML+1 × ML convolution kernel. Wherein, M 1 , M 2 , M 3 , . . . , ML and ML+1 may be completely equal, partially equal or unequal to each other.
在一个具体实施中,继续参考图1,所述光子神经网络1还可以包括:光接收模块13,与所述光信号处理模块12耦接以接收所述第二阵列的光学信号,所述光接收模块13可以基于所述第二阵列的光学信号获取处理后信号。In a specific implementation, continuing to refer to FIG. 1 , the photonic neural network 1 may further include: a light receiving module 13 coupled to the optical signal processing module 12 to receive the optical signals of the second array, the light The receiving module 13 may acquire the processed signal based on the optical signals of the second array.
具体地,参考图13,所述光接收模块13可以包括M 2个解复用器131和M 2个光探测器阵列132。所述第二阵列的光学信号中的每一束光学信号输入对应的解复用器131。在经所述对应的解复用器131解复用后,可以得到N种波长的光(λ 12,...,λ N)。 Specifically, referring to FIG. 13 , the light receiving module 13 may include M 2 demultiplexers 131 and M 2 photodetector arrays 132 . Each optical signal in the second array of optical signals is input to the corresponding demultiplexer 131 . After being demultiplexed by the corresponding demultiplexer 131, light of N wavelengths (λ 1 , λ 2 , . . . , λ N ) can be obtained.
所述M 2个光探测器阵列132与所述M 2个解复用器131一一对应。对于每一所述光探测器阵列132,所述光探测器阵列132包括N个探测器,以分别对解复用得到的N个波长的光进行光电转换,从而得到电信号。所述电信号即为处理后信号。 The M 2 photodetector arrays 132 are in one-to-one correspondence with the M 2 demultiplexers 131 . For each of the photodetector arrays 132 , the photodetector arrays 132 include N detectors to perform photoelectric conversion on the N wavelengths of light obtained by demultiplexing, respectively, to obtain electrical signals. The electrical signal is the processed signal.
在一个具体实施中,所述处理后信号通过电路传输到所述电控制模块14。In a specific implementation, the processed signal is transmitted to the electrical control module 14 through a circuit.
所述电控制模块14可以接收并调整所述处理后信号。例如,对所述处理后信号进行放大等操作。The electrical control module 14 may receive and condition the processed signal. For example, an operation such as amplifying the processed signal is performed.
在一个具体实施中,所述电控制模块14还可以对调制器阵列112、光信号处理模块12中的参数进行调控。In a specific implementation, the electrical control module 14 can also control the parameters in the modulator array 112 and the optical signal processing module 12 .
在一个具体实施中,当所述光信号处理模块12仅包括线性矩阵乘法单元122时,所述电控制模块14还用于在电域中对接收到的所述处理后信号进行非线性变换运算。In a specific implementation, when the optical signal processing module 12 only includes the linear matrix multiplication unit 122, the electrical control module 14 is further configured to perform a nonlinear transformation operation on the received processed signal in the electrical domain .
在一个具体实施中,所述电控制模块14还可以与所述光发射模块11耦接,以将调整后的所述处理后信号作为待处理信号传输至所述光发射模块11,从而执行另一轮线性变换。由此,可以实现循环迭代的深度学习。In a specific implementation, the electrical control module 14 may also be coupled with the light emitting module 11 to transmit the adjusted processed signal to the light emitting module 11 as a signal to be processed, so as to perform another One round of linear transformation. Thus, iterative deep learning can be realized.
在一个具体实施中,所述电控制模块14可以将接收到的处理后信号传输至其他光子计算结构的输入波导,以执行另一轮线性变换。In a specific implementation, the electrical control module 14 may transmit the received processed signals to the input waveguides of other photonic computing structures to perform another round of linear transformation.
在本实施例的一个变化例中,所述光学干涉单元127的具体结构可以如图14所示。具体而言,与图9所示结构的区别在于,图14所示光学干涉单元127仅包括一个2×2分束器125,且波长敏感的移相器阵列124的数量也为一个并位于输入臂,以调整信号光与参考光之间的相位差。图14所示光学干涉单元127同样可以实现全光非线性激活函数。In a variation of this embodiment, the specific structure of the optical interference unit 127 may be as shown in FIG. 14 . Specifically, the difference from the structure shown in FIG. 9 is that the optical interference unit 127 shown in FIG. 14 only includes one 2×2 beam splitter 125 , and the number of wavelength-sensitive phase shifter arrays 124 is also one and located at the input arm to adjust the phase difference between the signal light and the reference light. The optical interference unit 127 shown in FIG. 14 can also implement an all-optical nonlinear activation function.
继续参考图14,所述第四阵列的光学信号E inm)和参考阵列的光学信号E refm)同时输入所述2×2分束器125,所述2×2分束器125可以采用定向耦合器(Directional Coupler,简称DC)、多模干涉器(Muti-Mode Interferometer,简称MMI)等。所述光学干涉单元127的输出可描述为公式(5)所示: Continuing to refer to FIG. 14 , the optical signal E inm ) of the fourth array and the optical signal E refm ) of the reference array are simultaneously input to the 2×2 beam splitter 125 , and the 2×2 beam splits The device 125 may use a directional coupler (Directional Coupler, DC for short), a multi-mode interferometer (Multi-Mode Interferometer, MMI for short), and the like. The output of the optical interference unit 127 can be described as shown in formula (5):
Figure PCTCN2021082632-appb-000019
Figure PCTCN2021082632-appb-000019
其中,
Figure PCTCN2021082632-appb-000020
为第四阵列的光学信号与参考阵列的光学信号之间的相位差;E out1m)和E out2m)均可作为2×2分束器125的输出。
in,
Figure PCTCN2021082632-appb-000020
is the phase difference between the optical signal of the fourth array and the optical signal of the reference array; both E out1m ) and E out2m ) can be used as the output of the 2×2 beam splitter 125 .
具体地,所述参考阵列的光学信号与所述第四阵列的光学信号来自同一激光器,且未经调制器进行强度调制,为一连续光。Specifically, the optical signal of the reference array and the optical signal of the fourth array come from the same laser, and are not intensity modulated by a modulator, and are continuous light.
例如,所述参考阵列的光学信号可以为光学信号阵列产生单元111输出的未经调制的第三阵列的光学信号。For example, the optical signal of the reference array may be the unmodulated optical signal of the third array output by the optical signal array generating unit 111 .
以E out1m)为例,其强度O 1m)可以描述为如公式(6)所示: Taking E out1m ) as an example, its intensity O 1m ) can be described as shown in formula (6):
Figure PCTCN2021082632-appb-000021
Figure PCTCN2021082632-appb-000021
其中,I inm)为第四阵列的光学信号的光强度;I refm)为参考阵列的光学信号的光强度;*表示复共轭;
Figure PCTCN2021082632-appb-000022
Wherein, I inm ) is the light intensity of the optical signal of the fourth array; I refm ) is the light intensity of the optical signal of the reference array; * represents the complex conjugate;
Figure PCTCN2021082632-appb-000022
本实例所提供的由所述光学干涉单元127构成的全光非线性激活函数结构可以实现对光振幅的非线性变换,也可以实现对光强度的非线性变换。通过调整2×2分束器的移相器参数
Figure PCTCN2021082632-appb-000023
和参考阵列的光学信号的光强度I refm),可实现不同的非线性激活函数。
The all-optical nonlinear activation function structure formed by the optical interference unit 127 provided in this example can realize nonlinear transformation of light amplitude, and can also realize nonlinear transformation of light intensity. By adjusting the phase shifter parameters of the 2×2 beam splitter
Figure PCTCN2021082632-appb-000023
and the optical intensities I refm ) of the optical signal of the reference array, different nonlinear activation functions can be realized.
在采用图14所示光学干涉单元127构成光学非线性单元126的应用场景中,参见图15,图15示出不同移相器参数
Figure PCTCN2021082632-appb-000024
和参考阵列的光学信号的光强度I refm)条件下对光振幅的非线性变换曲线。其中,
Figure PCTCN2021082632-appb-000025
图15中实线对应移相器参数
Figure PCTCN2021082632-appb-000026
虚线对应移相器参数
Figure PCTCN2021082632-appb-000027
点划线对应移相器参数
Figure PCTCN2021082632-appb-000028
实线加圆形标记对应移相器参数
Figure PCTCN2021082632-appb-000029
虚线加圆形标记对应移相器参数
Figure PCTCN2021082632-appb-000030
In the application scenario where the optical interference unit 127 shown in FIG. 14 is used to form the optical nonlinear unit 126, see FIG. 15, which shows different phase shifter parameters
Figure PCTCN2021082632-appb-000024
and the nonlinear transformation curve of the optical signal of the reference array to the optical amplitude under the condition of I refm ). in,
Figure PCTCN2021082632-appb-000025
The solid line in Figure 15 corresponds to the phase shifter parameters
Figure PCTCN2021082632-appb-000026
The dotted line corresponds to the phase shifter parameters
Figure PCTCN2021082632-appb-000027
The dot-dash line corresponds to the phase shifter parameters
Figure PCTCN2021082632-appb-000028
The solid line and the circle mark correspond to the phase shifter parameters
Figure PCTCN2021082632-appb-000029
The dotted line and the circle mark correspond to the phase shifter parameters
Figure PCTCN2021082632-appb-000030
在采用图14所示光学干涉单元127构成光学非线性单元126的应用场景中,参见图16,图6示出不同移相器参数
Figure PCTCN2021082632-appb-000031
和参考阵列的光学信号的光强度I refm)条件下对光强度的非线性变换曲线。其中,
Figure PCTCN2021082632-appb-000032
图16中实线对应
Figure PCTCN2021082632-appb-000033
I refm)=53uW;虚线对应
Figure PCTCN2021082632-appb-000034
I refm)=10uW;点虚线对应
Figure PCTCN2021082632-appb-000035
I refm)=5uW。
In the application scenario where the optical interference unit 127 shown in FIG. 14 is used to form the optical nonlinear unit 126, see FIG. 16, which shows different phase shifter parameters
Figure PCTCN2021082632-appb-000031
and the nonlinear transformation curve of the light intensity I refm ) of the optical signal of the reference array to the light intensity. in,
Figure PCTCN2021082632-appb-000032
The solid line in Figure 16 corresponds to
Figure PCTCN2021082632-appb-000033
I refm )=53uW; the dotted line corresponds to
Figure PCTCN2021082632-appb-000034
I refm )=10uW; dotted line corresponds to
Figure PCTCN2021082632-appb-000035
I refm )=5uW.
在一个变化例中,在输入臂侧,光学敏感的移相器阵列124的具体设置位置除图14示出的实施例外,还可以设置于光学干涉单元127的用于接收参考阵列的光学信号的输入臂。也就是说,输入臂的上臂和下臂均可以设置有光学敏感的移相器阵列124,且上臂和下臂中的任一臂接收参考阵列的光学信号而另一臂接收第四阵列的光学信号。In a variation example, on the input arm side, the specific setting position of the optically sensitive phase shifter array 124 can be set at the position of the optical interference unit 127 for receiving the optical signal of the reference array, in addition to the embodiment shown in FIG. 14 . input arm. That is, both the upper and lower arms of the input arm may be provided with an optically sensitive phase shifter array 124, with either of the upper and lower arms receiving the optical signal of the reference array and the other receiving the optical signal of the fourth array Signal.
或者,在输入臂侧,光学敏感的移相器阵列124可以仅设置于接收参考阵列的光学信号的臂。Alternatively, on the input arm side, an optically sensitive phase shifter array 124 may be provided only on the arm that receives the optical signal of the reference array.
在本实施例的一个变化例中,所述线性矩阵乘法单元121中的光学干涉单元123的结构可以如图17所示,与图6所示结构的区别在于,图17所示光学干涉单元123可以为输入臂(或输出臂)以及干涉臂设置有波长敏感的移相器阵列124的N 1×N 3马赫曾德干涉仪。 In a variation of this embodiment, the structure of the optical interference unit 123 in the linear matrix multiplying unit 121 may be as shown in FIG. 17 . The difference from the structure shown in FIG. 6 is that the optical interference unit 123 shown in FIG. 17 An N 1 x N 3 Mach-Zehnder interferometer with wavelength sensitive phase shifter array 124 may be provided for the input arm (or output arm) as well as the interference arm.
所述N 1×N 3马赫曾德干涉仪可以包括两个分束器125,其中位于输入臂和干涉臂之间的分束器125(图中以分束器1标识)为N 1×N 2分束器,位于干涉臂和输出臂之间的分束器125(图中以分束器2标识)为N 2×N 3分束器。其中,N 1、N 2和N 3均为大于等于2的整数,N 1、N 2和N 3的具体数值可以完全相同、部分相同或完全不同。 The N 1 ×N 3 Mach-Zehnder interferometer may include two beam splitters 125 , wherein the beam splitter 125 (identified as beam splitter 1 in the figure) between the input arm and the interference arm is N 1 ×N 2 beam splitters, the beam splitter 125 (identified as beam splitter 2 in the figure) located between the interference arm and the output arm is an N 2 ×N 3 beam splitter. Wherein, N 1 , N 2 and N 3 are all integers greater than or equal to 2 , and the specific numerical values of N 1 , N 2 and N 3 may be completely the same, partially the same or completely different.
对于输入臂包括的N 1个臂中,N 1-1个臂可以分别设置有所述波长敏感的移相器阵列124。 For the N 1 arms included in the input arm, N 1 −1 arms may be respectively provided with the wavelength-sensitive phase shifter array 124 .
对于干涉臂包括的N 2个臂中,N 2-1个臂可以分别设置有所述波长敏感的移相器阵列124。 For the N 2 arms included in the interference arm, N 2 −1 arms may be respectively provided with the wavelength-sensitive phase shifter array 124 .
关于所述波长敏感的移相器阵列124的具体结构可以参考图6所示实施例中的相关描述。For the specific structure of the wavelength-sensitive phase shifter array 124, reference may be made to the relevant description in the embodiment shown in FIG. 6 .
本实施例所述光子神经网络1可以用于图像处理、图像识别、语音识别、基因测序、量子通信或量子计算等应用领域。The photonic neural network 1 in this embodiment can be used in application fields such as image processing, image recognition, speech recognition, gene sequencing, quantum communication or quantum computing.
由上,本实施例方案能够极大地提高光子人工智能芯片的算力及灵活性。具体而言,本实施例方案通过对同一束光学信号中各波长的光独立地进行线性运算,使得对输入光的多核并行处理成为可能,利于提高光子人工智能芯片的算力和灵活性。进一步,还能够提高单位面积的光子人工智能芯片算力。From the above, the solution of this embodiment can greatly improve the computing power and flexibility of the photonic artificial intelligence chip. Specifically, the solution of this embodiment makes it possible to perform multi-core parallel processing on the input light by independently performing linear operations on the light of each wavelength in the same optical signal, which is beneficial to improve the computing power and flexibility of the photonic artificial intelligence chip. Further, it can also improve the computing power of photonic artificial intelligence chips per unit area.
进一步,本实施例所述光子神经网络1可以实现对相同调制信号的不同矩阵乘法运算以及非线性运算,还可以实现对不同调制信号的不同矩阵乘法运算以及非线性运算。Further, the photonic neural network 1 in this embodiment can implement different matrix multiplication operations and nonlinear operations for the same modulation signal, and can also implement different matrix multiplication operations and nonlinear operations for different modulation signals.
本发明的益处在于:首先,可以使用单一光学结构实现对相同调制信号的不同矩阵乘法运算以及非线性运算的并行运算,大大提高了光子神经网络芯片的算力以及单位面积算力;其次,可以使用单一光学结构实现对不同调制信号的不同矩阵乘法运算以及非线性运算的并行运算,可以实现对单一任务的并行运算或不同任务的并行运算,大大提高了光子神经网络芯片的算力、单位面积算力,以及灵活性。The advantages of the present invention are: firstly, a single optical structure can be used to realize the parallel operation of different matrix multiplication operations and nonlinear operations for the same modulation signal, which greatly improves the computing power of the photonic neural network chip and the computing power per unit area; secondly, it can Using a single optical structure to realize the parallel operation of different matrix multiplication operations and nonlinear operations for different modulation signals can realize the parallel operation of a single task or the parallel operation of different tasks, which greatly improves the computing power and unit area of the photonic neural network chip. computing power, and flexibility.
虽然本发明披露如上,但本发明并非限定于此。任何本领域技术人员,在不脱离本发明的精神和范围内,均可作各种更动与修改,因此本发明的保护范围应当以权利要求所限定的范围为准。Although the present invention is disclosed above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be based on the scope defined by the claims.

Claims (20)

  1. 一种光子神经网络,其特征在于,包括:A photonic neural network, comprising:
    光发射模块,所述光发射模块根据待处理信号调制得到第一阵列的光学信号,其中,所述第一阵列的光学信号中每一束光学信号包括多个波长的光;an optical emission module, which modulates the optical signals of the first array according to the signal to be processed, wherein each optical signal in the optical signals of the first array includes light of multiple wavelengths;
    光信号处理模块,与所述光发射模块耦接以接收所述第一阵列的光学信号,所述光信号处理模块对所述第一阵列的光学信号至少进行线性运算以得到第二阵列的光学信号,其中,对于所述第一阵列的光学信号中的每一束光学信号,所述光信号处理模块对所述光学信号中各波长的光的线性运算是独立进行的;an optical signal processing module, coupled to the optical transmission module to receive the optical signals of the first array, the optical signal processing module at least performs linear operations on the optical signals of the first array to obtain the optical signals of the second array signal, wherein, for each optical signal in the optical signals of the first array, the optical signal processing module performs the linear operation on the light of each wavelength in the optical signal independently;
    光接收模块,与所述光信号处理模块耦接以接收所述第二阵列的光学信号,所述光接收模块基于所述第二阵列的光学信号获取处理后信号。an optical receiving module coupled to the optical signal processing module to receive the optical signals of the second array, and the optical receiving module obtains the processed signals based on the optical signals of the second array.
  2. 根据权利要求1所述的光子神经网络,其特征在于,所述对于所述第一阵列的光学信号中的每一束光学信号,所述光信号处理模块对所述光学信号中各波长的光的线性运算是独立进行的,是指:The photonic neural network according to claim 1, wherein, for each optical signal in the optical signals of the first array, the optical signal processing module processes the light of each wavelength in the optical signal. The linear operations of are performed independently, meaning:
    所述光信号处理模块对所述光学信号中不同波长的光分别配置对应的卷积核,且各卷积核对各自对应波长的光的线性运算是相互独立的。The optical signal processing module configures corresponding convolution kernels respectively for light of different wavelengths in the optical signal, and the linear operations of the respective convolution kernels for the light of respective corresponding wavelengths are independent of each other.
  3. 根据权利要求1所述的光子神经网络,其特征在于,所述光信号处理模块包括:The photonic neural network according to claim 1, wherein the optical signal processing module comprises:
    线性矩阵乘法单元,用于对所述第一阵列的光学信号中的每束光学信号多核并行地进行矩阵乘法操作,以得到所述第二阵列的光学信号。A linear matrix multiplication unit, configured to perform a multi-core parallel matrix multiplication operation on each optical signal in the optical signals of the first array to obtain the optical signals of the second array.
  4. 根据权利要求3所述的光子神经网络,其特征在于,所述线性矩阵乘法单元包括:The photonic neural network according to claim 3, wherein the linear matrix multiplication unit comprises:
    多个相互串并联的光学干涉单元,其中每一光学干涉单元的干涉臂设置有波长敏感的移相器阵列,且每一光学干涉单元的输入臂和输出臂中的至少一个设置有所述波长敏感的移相器阵列,以对输入所述光学干涉单元的光学信号中各波长的光进行独立的移相操作。A plurality of optical interference units connected in series and parallel to each other, wherein the interference arm of each optical interference unit is provided with a wavelength-sensitive phase shifter array, and at least one of the input arm and the output arm of each optical interference unit is provided with the wavelength A sensitive phase shifter array is used to perform independent phase shifting operations on the light of each wavelength in the optical signal input to the optical interference unit.
  5. 根据权利要求3所述的光子神经网络,其特征在于,所述光信号处理模块包括多个级联的所述线性矩阵乘法单元,其中,前一级所述线性矩阵乘法单元的输出为后一级所述线性矩阵乘法单元的输入,第一级所述线性矩阵乘法单元的输入为所述第一阵列的光学信号,最后一级所述线性矩阵乘法单元的输出为所述第二阵列的光学信号。The photonic neural network according to claim 3, wherein the optical signal processing module comprises a plurality of cascaded linear matrix multiplication units, wherein the output of the linear matrix multiplication unit of the previous stage is the output of the linear matrix multiplication unit of the previous stage. The input of the linear matrix multiplying unit of the first stage is the optical signal of the first array, and the output of the linear matrix multiplying unit of the last stage is the optical signal of the second array. Signal.
  6. 根据权利要求3所述的光子神经网络,其特征在于,所述光信号处理模块还包括:The photonic neural network according to claim 3, wherein the optical signal processing module further comprises:
    光学非线性单元,与所述线性矩阵乘法单元耦接以接收所述线性矩阵乘法单元对所述第一阵列的光学信号的线性运算结果,并根据参考阵列的光学信号对所述第一阵列的光学信号的线性运算结果进行非线性运算,以得到所述第二阵列的光学信号。an optical nonlinear unit, coupled to the linear matrix multiplying unit to receive a linear operation result of the linear matrix multiplying unit on the optical signals of the first array, and to perform linear operations on the optical signals of the first array according to the optical signals of the reference array A nonlinear operation is performed on the linear operation result of the optical signal to obtain the optical signal of the second array.
  7. 根据权利要求6所述的光子神经网络,其特征在于,将相耦接的所述线性矩阵乘法单元以及所述光学非线性单元记作神经网络单元,所述光信号处理模块包括多个级联的所述神经网络单元,其中,前一级神经网络单元的输出为后一级神经网络单元的输入,第一级神经网络单元的输入为所述第一阵列的光学信号,最后一级神经网络单元的输出为所述第二阵列的光学信号。The photonic neural network according to claim 6, wherein the coupled linear matrix multiplication unit and the optical nonlinear unit are denoted as a neural network unit, and the optical signal processing module comprises a plurality of cascaded The neural network unit, wherein the output of the previous neural network unit is the input of the subsequent neural network unit, the input of the first neural network unit is the optical signal of the first array, and the final neural network The output of the cell is the optical signal of the second array.
  8. 根据权利要求6所述的光子神经网络,其特征在于,将所述第一阵列的光学信号的线性运算结果记作第四阵列的光学信号,所述光学非线性单元对所述第四阵列的光学信号中各波长的光的非线性运算是独立进行的。The photonic neural network according to claim 6, wherein the linear operation result of the optical signals of the first array is denoted as the optical signals of the fourth array, and the optical nonlinear unit has no effect on the optical signals of the fourth array. The nonlinear operation of each wavelength of light in the optical signal is performed independently.
  9. 根据权利要求8所述的光子神经网络,其特征在于,所述光学非线性单元包括:The photonic neural network according to claim 8, wherein the optical nonlinear unit comprises:
    多个光学干涉单元,其中每一光学干涉单元分别接收所述第四阵列的光学信号以及参考阵列的光学信号,所述光学干涉单元的输入臂以及干涉臂设置有波长敏感的移相器阵列,以根据所述参考阵列的光学信号对所述第四阵列的光学信号中各波长的光进行独立的非线性变换操作。a plurality of optical interference units, wherein each optical interference unit receives the optical signal of the fourth array and the optical signal of the reference array respectively, the input arm and the interference arm of the optical interference unit are provided with a wavelength-sensitive phase shifter array, An independent nonlinear transformation operation is performed on the light of each wavelength in the optical signal of the fourth array according to the optical signal of the reference array.
  10. 根据权利要求8所述的光子神经网络,其特征在于,所述光学非线性单元包括:The photonic neural network according to claim 8, wherein the optical nonlinear unit comprises:
    多个光学干涉单元,其中每一光学干涉单元分别接收所述第四阵列的光学信号以及参考阵列的光学信号,所述光学干涉单元的输入臂设置有波长敏感的移相器阵列,以根据所述参考阵列的光学信号对所述第四阵列的光学信号中各波长的光进行独立的非线性变换操作。a plurality of optical interference units, wherein each optical interference unit receives the optical signal of the fourth array and the optical signal of the reference array respectively, the input arm of the optical interference unit is provided with a wavelength-sensitive phase shifter array to The optical signal of the reference array performs an independent nonlinear transformation operation on the light of each wavelength in the optical signal of the fourth array.
  11. 根据权利要求4、9或10所述的光子神经网络,其特征在于,所述波长敏感的移相器阵列包括多个移相器,所述多个移相器与输入的光学信号中各波长的光一一对应。The photonic neural network according to claim 4, 9 or 10, wherein the wavelength-sensitive phase shifter array comprises a plurality of phase shifters, and the plurality of phase shifters are associated with each wavelength in the input optical signal. light one-to-one correspondence.
  12. 根据权利要求1至10中任一项所述的光子神经网络,其特征在于,所述光发射模块包括:The photonic neural network according to any one of claims 1 to 10, wherein the light emission module comprises:
    光学信号阵列产生单元,所述光学信号阵列产生单元用于产生光学信号阵列,且所述光学信号阵列中的每一束光学信号包括多个波长的连续光,将所述光学信号阵列产生单元产生的光学信号阵列记作第三阵列的光学信号;an optical signal array generating unit, the optical signal array generating unit is used to generate an optical signal array, and each optical signal in the optical signal array includes continuous light of multiple wavelengths, and the optical signal array generating unit generates The optical signal array of is recorded as the optical signal of the third array;
    调制器阵列,与所述光学信号阵列产生单元耦接以接收所述第三阵列的光学信号,所述调制器阵列用于向所述第三阵列的光学信号施加调制信号,以得到所述第一阵列的光学信号,其中,所述调制信号与所述待处理信号相关联。a modulator array, coupled with the optical signal array generating unit to receive the optical signals of the third array, the modulator array is used for applying modulation signals to the optical signals of the third array to obtain the third array An array of optical signals, wherein the modulated signal is associated with the signal to be processed.
  13. 根据权利要求12所述的光子神经网络,其特征在于,所述调制器阵列对所述第三阵列的光学信号中同一束光学信号的各波长的光施加相同的调制信号,对所述第三阵列的光学信号中不同束光学信号施加不同的调制信号。The photonic neural network according to claim 12, wherein the modulator array applies the same modulation signal to the light of each wavelength of the same optical signal in the optical signals of the third array, and applies the same modulation signal to the third array of optical signals. Different beams of optical signals in the array of optical signals apply different modulation signals.
  14. 根据权利要求12所述的光子神经网络,其特征在于,所述调制器阵列对所述第三阵列的光学信号中同一束光学信号的不同波长的光施加不同的调制信号。The photonic neural network according to claim 12, wherein the modulator array applies different modulation signals to light of different wavelengths of the same optical signal in the optical signals of the third array.
  15. 根据权利要求12所述的光子神经网络,其特征在于,所述调制器阵列包括多个多波长光调制器单元,其中每一所述多波长光调制器单元包括光学干涉单元,所述光学干涉单元的上臂和下臂分别设置有波长敏感的移相器阵列,以对输入的光学信号中各波长的光进行独立调制。The photonic neural network of claim 12, wherein the modulator array comprises a plurality of multi-wavelength light modulator units, wherein each of the multi-wavelength light modulator units comprises an optical interference unit, the optical interference The upper arm and the lower arm of the unit are respectively provided with a wavelength-sensitive phase shifter array to independently modulate the light of each wavelength in the input optical signal.
  16. 根据权利要求15所述的光子神经网络,其特征在于,所述波长敏感的移相器阵列包括多个移相器,所述多个移相器与所述输入的光学信号中各波长的光一一对应。The photonic neural network according to claim 15, wherein the wavelength-sensitive phase shifter array comprises a plurality of phase shifters, and the plurality of phase shifters are associated with the light of each wavelength in the input optical signal. One-to-one correspondence.
  17. 根据权利要求16所述的光子神经网络,其特征在于,设置于所述上臂的波长敏感的移相器阵列和设置于所述下臂的波长敏感的移相器阵列中对应相同波长的移相器的移相参数之和为2π的整倍数。The photonic neural network according to claim 16, wherein the wavelength-sensitive phase shifter array arranged on the upper arm and the wavelength-sensitive phase shifter array arranged on the lower arm are phase shifters corresponding to the same wavelength The sum of the phase-shifting parameters of the device is an integer multiple of 2π.
  18. 根据权利要求1至10中任一项所述的光子神经网络,其特征在于,还包括:The photonic neural network according to any one of claims 1 to 10, further comprising:
    电控制模块,与所述光接收模块耦接,所述电控制模块用于接收并调整所述处理后信号。An electrical control module is coupled to the light receiving module, and the electrical control module is used for receiving and adjusting the processed signal.
  19. 根据权利要求18所述的光子神经网络,其特征在于,所述电控制模块还与所述光发射模块耦接,以将调整后的所述处理后信号作为待处理信号传输至所述光发射模块。The photonic neural network according to claim 18, wherein the electrical control module is further coupled to the light emission module to transmit the adjusted processed signal to the light emission as a signal to be processed module.
  20. 根据权利要求1所述的光子神经网络,其特征在于,所述光子神 经网络用于图像处理、图像识别、语音识别、基因测序、量子通信或量子计算。The photonic neural network according to claim 1, wherein the photonic neural network is used for image processing, image recognition, speech recognition, gene sequencing, quantum communication or quantum computing.
PCT/CN2021/082632 2020-07-20 2021-03-24 Photonic neural network WO2022016894A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010700756.2 2020-07-20
CN202010700756.2A CN112001487A (en) 2020-07-20 2020-07-20 Photon neural network

Publications (1)

Publication Number Publication Date
WO2022016894A1 true WO2022016894A1 (en) 2022-01-27

Family

ID=73466615

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/082632 WO2022016894A1 (en) 2020-07-20 2021-03-24 Photonic neural network

Country Status (2)

Country Link
CN (1) CN112001487A (en)
WO (1) WO2022016894A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115167610A (en) * 2022-09-08 2022-10-11 之江实验室 Two-dimensional photon convolution acceleration chip and application system and method
CN116484931A (en) * 2023-06-14 2023-07-25 之江实验室 Photon matrix multiplication operation device and operation method for neural network
CN116681117A (en) * 2023-05-24 2023-09-01 浙江大学 Photoelectric computer based on optical neuron wavelength multiplexing module
CN116957031A (en) * 2023-07-24 2023-10-27 浙江大学 Photoelectric computer based on optical multi-neuron activation function module

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112001487A (en) * 2020-07-20 2020-11-27 联合微电子中心有限责任公司 Photon neural network
CN112988113B (en) * 2021-04-29 2021-09-14 中国科学院西安光学精密机械研究所 Photon matrix vector multiplier
CN113595649B (en) * 2021-07-19 2022-09-30 联合微电子中心有限责任公司 Optical nonlinear activation unit, method and photonic neural network
CN113595647B (en) * 2021-07-21 2022-08-05 联合微电子中心有限责任公司 Photon beam forming unit, transmitting system and receiving system
CN113805641B (en) * 2021-09-23 2023-08-01 联合微电子中心有限责任公司 Photonic neural network
CN113792870A (en) * 2021-10-29 2021-12-14 广西大学 All-optical control optical neural network system based on acousto-optic technology
CN113822425B (en) * 2021-11-02 2023-07-18 广西大学 Transmission loss interference resistant integrated optical neural network system
CN115222035B (en) * 2022-09-20 2022-12-30 之江实验室 Photon neural network convolution acceleration chip

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109477938A (en) * 2016-06-02 2019-03-15 麻省理工学院 Device and method for optical neural network
CN109639359A (en) * 2019-01-07 2019-04-16 上海交通大学 Photon neural network convolutional layer chip based on micro-ring resonator
CN109981172A (en) * 2019-03-01 2019-07-05 上海交通大学 The multiply-add implementation method of full light matrix based on multi-wavelength modulation and dispersion time delay
US20200019851A1 (en) * 2018-07-10 2020-01-16 The George Washington University Optical convolutional neural network accelerator
US20200110992A1 (en) * 2018-06-05 2020-04-09 Lightelligence, Inc. Optoelectronic Computing Systems
CN112001487A (en) * 2020-07-20 2020-11-27 联合微电子中心有限责任公司 Photon neural network

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104166910B (en) * 2014-04-30 2016-07-06 深圳光启智能光子技术有限公司 Photon method of payment and system based on photon wallet
CN105634603A (en) * 2016-03-21 2016-06-01 文成县刀锋科技有限公司 Household LIFI photon communication energy-saving system
CN113159305A (en) * 2018-06-05 2021-07-23 光子智能股份有限公司 Photoelectric computing system
CN110197277A (en) * 2019-05-13 2019-09-03 浙江大学 Realize the optical neural network method of number identification
CN110503196A (en) * 2019-08-26 2019-11-26 光子算数(北京)科技有限责任公司 A kind of photon neural network chip and data processing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109477938A (en) * 2016-06-02 2019-03-15 麻省理工学院 Device and method for optical neural network
US20200110992A1 (en) * 2018-06-05 2020-04-09 Lightelligence, Inc. Optoelectronic Computing Systems
US20200019851A1 (en) * 2018-07-10 2020-01-16 The George Washington University Optical convolutional neural network accelerator
CN109639359A (en) * 2019-01-07 2019-04-16 上海交通大学 Photon neural network convolutional layer chip based on micro-ring resonator
CN109981172A (en) * 2019-03-01 2019-07-05 上海交通大学 The multiply-add implementation method of full light matrix based on multi-wavelength modulation and dispersion time delay
CN112001487A (en) * 2020-07-20 2020-11-27 联合微电子中心有限责任公司 Photon neural network

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115167610A (en) * 2022-09-08 2022-10-11 之江实验室 Two-dimensional photon convolution acceleration chip and application system and method
CN115167610B (en) * 2022-09-08 2023-01-03 之江实验室 Two-dimensional photon convolution acceleration chip and application system and method
CN116681117A (en) * 2023-05-24 2023-09-01 浙江大学 Photoelectric computer based on optical neuron wavelength multiplexing module
CN116484931A (en) * 2023-06-14 2023-07-25 之江实验室 Photon matrix multiplication operation device and operation method for neural network
CN116484931B (en) * 2023-06-14 2023-09-01 之江实验室 Photon matrix multiplication operation device and operation method for neural network
CN116957031A (en) * 2023-07-24 2023-10-27 浙江大学 Photoelectric computer based on optical multi-neuron activation function module

Also Published As

Publication number Publication date
CN112001487A (en) 2020-11-27

Similar Documents

Publication Publication Date Title
WO2022016894A1 (en) Photonic neural network
CN111860822B (en) Method and device for realizing all-optical nonlinear activation function of optical neural network
Shi et al. InP photonic integrated multi-layer neural networks: Architecture and performance analysis
CN113805641B (en) Photonic neural network
US20220012582A1 (en) Neuromorphic photonics with coherent linear neurons
CN115222035B (en) Photon neural network convolution acceleration chip
JP2024503991A (en) Balanced photonic architecture for matrix computation
US20240063936A1 (en) Systems and methods for utilizing photonic degrees of freedom in a photonic processor
Tanomura et al. Monolithic InP optical unitary converter based on multi-plane light conversion
US7525461B1 (en) Optical digital to analog conversion
Tsakyridis et al. Universal linear optics for ultra-fast neuromorphic silicon photonics towards Fj/MAC and TMAC/sec/mm 2 engines
CN114565091A (en) Optical neural network device, chip and optical implementation method for neural network calculation
Ling et al. On-chip optical matrix-vector multiplier based on mode division multiplexing
Guo et al. Multi-level encoding and decoding in a scalable photonic tensor processor with a photonic general matrix multiply (GeMM) compiler
Xu et al. Scalable networks of neuromorphic photonic integrated circuits
US20240086698A1 (en) Two-dimensional photonic neural network convolutional acceleration chip based on series connection structure
CN117031630A (en) Unitary optical path mode converter and conversion method
Shi et al. Parallel photonic convolutional processing on-chip with cross-connect architecture and cyclic AWGs
De Marinis et al. A silicon nitride reconfigurable linear optical processor
Mourgias-Alexandris et al. Neuromorphic computing through photonic integrated circuits
CN113630207A (en) Photon neural network chip
Prucnal et al. Neuromorphic photonics: current status and challenges
Jonuzi et al. Integrated optical output layer for a reservoir computer based on frequency multiplexing
WO2023162857A1 (en) Optical integrated circuit, information processing device, and computation method
Tanomura et al. Monolithic InP 4× 4 optical unitary converter for all-optical MIMO demultiplexing

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21845737

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21845737

Country of ref document: EP

Kind code of ref document: A1