Optical neural network chip and photoelectric computing system
Through the combination of optical interference unit and photodetector, the problems of signal transmission uncertainty and high power consumption of traditional silicon-based integrated circuits are solved, and an efficient optical neural network chip is realized, which improves the calculation speed and integration level and is suitable for complex algorithms. and model computational requirements.
Patent Information
- Application Number
- CN202410728851.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-30
AI Technical Summary
Traditional silicon-based integrated circuits have uncertainties in signal transmission and processing due to electron tunneling effects and quantum effects, which limit the computing performance of artificial neural networks. They also have power consumption walls, storage walls, and cost walls, and cannot satisfy complex algorithms and model requirements.
An optical neural network chip is designed, which uses the first and second optical interference units to perform linear and nonlinear calculations through optical signals, adjusts the splitting ratio and phase difference of the optical signals, and achieves high signal-to-noise ratio and accuracy of neuron input signals. degree, combined with photoelectric detectors for photoelectric conversion, to improve the accuracy of calculation results.
An efficient optical neural network chip has been realized, which improves computing speed and integration, avoids signal loss, and has high stability, small size, low power consumption and large-scale parallel processing capabilities.
Smart Images

Figure CN118569335A
Abstract
Description
Technical Field
[0001] The present disclosure relates to but is not limited to an optical neural network chip and an optoelectronic computing system. Background Art
[0002] An important component of artificial intelligence is artificial neural network (ANN). ANN is a computing model implemented by simulating biological neural networks, and plays an important role in image and speech recognition, natural language processing, intelligent control and other fields. A large number of computing operations are required to realize artificial neural networks, which are currently usually implemented using electronic chip integrated circuits such as graphics processing units (GPUs) and dedicated neural network accelerators. However, as the size of traditional silicon-based integrated circuits approaches the atomic size, the tunneling effect and quantum effect of electrons will lead to uncertainty in signal transmission and processing, limiting the performance of traditional chips. In addition, devices based on traditional computing architectures are also limited by problems such as "power consumption wall", "storage wall" and "cost wall". The development of artificial intelligence requires higher computing power to support complex algorithms and models, but traditional electronic computing methods can no longer meet this demand. Summary of the invention
[0003] In view of this, the embodiments of the present disclosure provide an optical neural network chip and an optoelectronic computing system to improve the integration of the optical neural network chip.
[0004] The technical solution of the embodiment of the present disclosure is implemented as follows:
[0005] An embodiment of the present disclosure provides an optical neural network chip, comprising: a first optical interference unit and a second optical interference unit; wherein the first optical interference unit is configured to receive an input optical signal and adjust the splitting ratio of the input optical signal to generate a first intermediate optical signal; the second optical interference unit is communicatively connected to the first optical interference unit, and is configured to receive the first intermediate optical signal and a neuron input signal, modulate the neuron input signal into the first intermediate optical signal to generate a second intermediate optical signal, and combine the first intermediate optical signal and the second intermediate optical signal to generate an output optical signal.
[0006] In the above solution, the second optical interference unit is further configured to adjust the phase of the first intermediate optical signal to generate a third intermediate optical signal, and combine the second intermediate optical signal and the third intermediate optical signal to generate an output optical signal.
[0007] In the above scheme, the second optical interference unit includes: an optical modulator; the optical modulator is configured to modulate the neuron input signal into the first intermediate optical signal, and adjust the phase of the first intermediate optical signal.
[0008] In the above scheme, the first optical interference unit includes: a first upper branch waveguide and a first lower branch waveguide; the first upper branch waveguide and / or the first lower branch waveguide are provided with a first optical phase shifter; the first optical phase shifter is configured to receive a first control signal and adjust the phase difference of the optical signal in the first upper branch waveguide and the first lower branch waveguide based on the first control signal.
[0009] In the above scheme, the second optical interference unit includes: a second upper branch waveguide and a second lower branch waveguide; the second upper branch waveguide or the second lower branch waveguide is provided with a second optical phase shifter; the second optical phase shifter is configured to receive a second control signal and adjust the phase difference of the optical signal in the second upper branch waveguide and the second lower branch waveguide based on the second control signal.
[0010] In the above scheme, the optical neural network chip also includes: a first optical coupler; the first upper branch waveguide and the first lower branch waveguide are respectively connected to the two input ends of the first optical coupler; the second upper branch waveguide and the second lower branch waveguide are respectively connected to the two output ends of the first optical coupler.
[0011] In the above scheme, the optical neural network chip also includes: a photoelectric detector; the photoelectric detector is communicatively connected to the second optical interference unit, and is configured to receive the output light signal and perform photoelectric conversion on the output light signal.
[0012] In the above scheme, the second optical interference unit also includes: a second optical coupler; the input end of the second optical coupler is communicatively connected to the second upper branch waveguide and the second lower branch waveguide respectively; the output end of the second optical coupler is communicatively connected to the photodetector.
[0013] In the above scheme, the optical neural network chip also includes: a grating coupler; the first optical interference unit also includes: an optical splitter; the grating coupler is communicatively connected to an external light source and the optical splitter, respectively, and is configured to input an input light signal provided by the external light source into the optical splitter; the optical splitter is communicatively connected to the first upper branch waveguide and the first lower branch waveguide, respectively, and is configured to split the input light signal into two input photon signals, and input the two input photon signals into the first upper branch waveguide and the first lower branch waveguide, respectively.
[0014] The present disclosure also provides an optoelectronic computing system, comprising: a central processing unit and the optical neural network chip described in the above scheme; the central processing unit is communicatively connected to the optical neural network chip and is configured to input a first control signal, a second control signal and a neuron input signal to the optical neural network chip; the optical neural network chip is configured to perform linear calculations on the neuron input signal based on the linear weighting coefficient corresponding to the first control signal; the optical neural network chip is also configured to perform nonlinear calculations on the neuron input signal based on the nonlinear activation functions corresponding to the first control signal and the second control signal.
[0015] In the above scheme, the optoelectronic computing system also includes: a control signal drive and a neuron input signal drive; the control signal drive is respectively connected to the central processing unit and the optical neural network chip, and is configured to receive and amplify the first control signal and the second control signal; the neuron input signal drive is respectively connected to the central processing unit and the optical neural network chip, and is configured to receive and amplify the neuron input signal.
[0016] In the above scheme, the optoelectronic computing system also includes: a laser and a polarization controller; the laser is configured to generate an input optical signal; the polarization controller is connected to the laser, configured to receive and modulate the input optical signal, and input the modulated input optical signal into the optical neural network chip.
[0017] In view of this, an embodiment of the present disclosure provides an optical neural network chip, comprising: a first optical interference unit and a second optical interference unit; wherein the first optical interference unit is configured to receive an input optical signal, and adjust the splitting ratio of the input optical signal to generate a first intermediate optical signal; the second optical interference unit is communicatively connected to the first optical interference unit, and is configured to receive the first intermediate optical signal and a neuron input signal, modulate the neuron input signal into the first intermediate optical signal to generate a second intermediate optical signal, and combine the first intermediate optical signal and the second intermediate optical signal to generate an output optical signal.
[0018] An embodiment of the present disclosure provides an optical neural network chip, comprising: a first optical interference unit and a second optical interference unit. The first optical interference unit is configured to receive an input optical signal, and adjust the splitting ratio of the input optical signal to generate a first intermediate optical signal. The second optical interference unit is communicatively connected to the first optical interference unit, and is configured to receive the first intermediate optical signal and the neuron input signal, modulate the neuron input signal into the first intermediate optical signal to generate a second intermediate optical signal, and combine the first intermediate optical signal and the second intermediate optical signal to generate an output optical signal. In this way, the present disclosure modulates the input neuron input signal after adjusting the splitting ratio of the input optical signal. Therefore, the neuron input signal will not generate signal loss in the process of adjusting the splitting ratio of the input optical signal, and can further improve the signal-to-noise ratio of the second intermediate optical signal loaded with the neuron input signal, thereby improving the accuracy of the calculation result. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] Figure 1 Schematic diagram of the structure of the optical neural network chip provided in the embodiment of the present disclosure Figure 1 ;
[0020] Figure 2 Schematic diagram of a nonlinear activation function provided in an embodiment of the present disclosure Figure 1 ;
[0021] Figure 3 Schematic diagram of a nonlinear activation function provided in an embodiment of the present disclosure Figure 2 ;
[0022] Figure 4 Schematic diagram of a nonlinear activation function provided in an embodiment of the present disclosure Figure 3 ;
[0023] Figure 5 A schematic diagram of the structure of a second optical interference unit provided in an embodiment of the present disclosure;
[0024] Figure 6 A schematic structural diagram of a first optical interference unit provided in an embodiment of the present disclosure;
[0025] Figure 7 Schematic diagram of the structure of the optical neural network chip provided in the embodiment of the present disclosure Figure 2 ;
[0026] Figure 8 A schematic diagram of the structure of an optoelectronic computing system provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] In order to make the purpose, technical solutions and advantages of the present disclosure clearer, the technical solutions of the present disclosure are further elaborated in detail below in conjunction with the drawings and embodiments. The described embodiments should not be regarded as limiting the present disclosure. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.
[0028] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.
[0029] If similar descriptions of "first / second" appear in the application documents, the following description is added. In the following description, the terms "first / second / third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first / second / third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present disclosure described herein can be implemented in an order other than that illustrated or described herein.
[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which the present disclosure belongs. The terms used herein are only for the purpose of describing the embodiments of the present disclosure and are not intended to limit the present disclosure.
[0031] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0032] Figure 1 is a schematic diagram of the structure of an optional optical neural network chip 100 provided in an embodiment of the present disclosure, with reference to Figure 1 The optical neural network chip 100 includes a first optical interference unit 10 and a second optical interference unit 20.
[0033] It should be noted that the optical neural network chip 100 is a new type of neural network chip that uses optical principles for calculation and information processing. In the optical neural network chip 100, optical signals are used as carriers of information, and are processed and operated through optical devices and optical elements to realize linear and nonlinear calculations in the neural network. The linear calculation of the optical neural network chip 100 refers to the use of optical elements to realize weighted and summation operations between neurons. Optical elements can use principles such as interference and diffraction to realize such linear calculations. Optical elements may include Mach-Zehnder Interferometer (MZI) and Micro-Ring Resonator (MRR), etc. The nonlinear calculation of the optical neural network chip 100 refers to the introduction of nonlinear activation functions in the output of neurons to increase the nonlinear representation capability of the neural network.
[0034] In the disclosed embodiment, the first optical interference unit 10 is configured to receive an input optical signal and adjust the splitting ratio of the input optical signal to generate a first intermediate optical signal. For example, the first optical interference unit 10 may include a Mach-Zehnder interferometer or a plurality of cascaded Mach-Zehnder interferometers. The first optical interference unit 10 may also be a microring resonator. In the case where the optical neural network chip 100 performs linear calculations, the first optical interference unit 10 may load the weighted coefficients of the linear calculations into the input optical signal in the form of a splitting ratio to generate a first intermediate optical signal.
[0035] In the embodiments of the present disclosure, reference Figure 1 , the second optical interference unit 20 is communicatively connected to the first optical interference unit 10. The second optical interference unit 20 is configured to receive the first intermediate optical signal and the neuron input signal, and modulate the neuron input signal into the first intermediate optical signal to generate a second intermediate optical signal. For example, the second optical interference unit 20 may include a Mach-Zehnder interferometer or a microring resonator. The second optical interference unit 20 may encode the neuron input signal into the first intermediate optical signal by controlling any one of the parameters of the first intermediate optical signal, such as the light intensity, wavelength or phase, to generate a second intermediate optical signal.
[0036] In the embodiments of the present disclosure, reference Figure 1, the second optical interference unit 20 is also configured to combine the first intermediate optical signal and the second intermediate optical signal to generate an output optical signal. For example, in the process of linear calculation of the optical neural network chip 100, the role of the weight coefficient is to perform weighted summation on the neuron input signal. The weight coefficient is loaded into the first intermediate optical signal in the form of a splitting ratio. The second intermediate optical signal loaded with the neuron input signal can be regarded as an input vector, and the output optical signal generated by combining the first intermediate optical signal and the second intermediate optical signal is the result of weighted summation of the input vector. It can be understood that the embodiment of the present disclosure modulates the input neuron input signal after adjusting the splitting ratio of the input optical signal. In this way, the neuron input signal will not generate signal loss in the process of adjusting the splitting ratio of the input optical signal, and the signal-to-noise ratio of the second intermediate optical signal loaded with the neuron input signal can be further improved, thereby improving the accuracy of the calculation result.
[0037] In some embodiments of the present disclosure, reference Figure 1 The second optical interference unit 20 is further configured to adjust the phase of the first intermediate optical signal to generate a third intermediate optical signal, and combine the second intermediate optical signal and the third intermediate optical signal to generate an output optical signal.
[0038] Figure 2 , Figure 3 and Figure 4 It is shown in the schematic diagram of different nonlinear activation functions. It should be noted that: Figure 2 The splitting ratio of the second intermediate optical signal and the third intermediate optical signal corresponding to the nonlinear activation function L1 is 5:4, and the phase difference between the second intermediate optical signal and the third intermediate optical signal is π; Figure 3 The splitting ratio of the second intermediate optical signal and the third intermediate optical signal corresponding to the nonlinear activation function L2 is 1:1, and the phase difference between the second intermediate optical signal and the third intermediate optical signal is π; Figure 4 The splitting ratio of the second intermediate optical signal and the third intermediate optical signal corresponding to the nonlinear activation function L3 is 5:4, and the phase difference between the second intermediate optical signal and the third intermediate optical signal is 3π / 4. The normalized input power can be the power of the second intermediate signal, and the normalized output power can be the power of the output optical signal.
[0039] In the embodiments of the present disclosure, reference Figure 1 The second optical interference unit 20 is further configured to adjust the phase of the first intermediate optical signal to generate a third intermediate optical signal. Thus, the optical neural network chip 100 can adjust the phase difference between the second intermediate optical signal and the third intermediate optical signal through the second optical interference unit 20. The second optical interference unit 20 can combine the second intermediate optical signal and the third intermediate optical signal with different splitting ratios and different phase differences to generate an output optical signal.
[0040] For example, when the optical neural network chip 100 performs nonlinear calculation on the neuron input signal, the second intermediate optical signal and the third intermediate optical signal have different beam combining effects when the phase difference is at different values. Thus, the relationship between the second intermediate optical signal loaded with the neuron input signal and the output optical signal can be constructed as follows: Figure 2 , 3 Or different nonlinear activation functions shown in 4. That is, the embodiment of the present disclosure can realize different nonlinear activation functions by controlling the second intermediate optical signal and the third intermediate optical signal to be at different splitting ratios and phase differences, and perform corresponding nonlinear calculations on the neuron input signal. In addition, the splitting ratio and phase difference of the second intermediate optical signal and the third intermediate optical signal are both adjusted by a device for realizing linear calculation.
[0041] In the embodiments of the present disclosure, reference Figure 1 , when the weight coefficient of the linear calculation is loaded into the input optical signal in the form of a splitting ratio, the second optical interference unit 20 combines the second intermediate optical signal and the third intermediate optical signal to generate an output optical signal and detects it with the photodetector, and also completes the nonlinear calculation of the neuron input signal. In other words, the embodiment of the present disclosure can perform linear calculation and nonlinear calculation on the neuron input signal at the same time.
[0042] It can be understood that, on the first aspect, the embodiments of the present disclosure can realize linear calculation and nonlinear calculation at the same time, thereby improving the calculation speed of the optical neural network chip. On the second aspect, the linear calculation and nonlinear calculation in the embodiments of the present disclosure are both realized by optical signals. Therefore, the embodiments of the present disclosure do not need to perform photoelectric conversion on the intermediate optical signal, thereby further improving the calculation speed of the optical neural network chip. On the third aspect, the embodiments of the present disclosure realize the nonlinear activation function by adjusting the phase difference and splitting ratio of the optical signal, and the phase difference and splitting ratio of the optical signal are adjusted by the device used to realize linear calculation. In this way, the embodiments of the present disclosure can reuse the device for linear calculation to realize nonlinear calculation, and there is no need to set up additional devices for nonlinear calculation, thereby further improving the integration of the optical neural network chip, so that the optical neural network chip can obtain the advantages of high stability, small size, low power consumption and large-scale parallel processing capability.
[0043] Figure 5 2 is a schematic diagram of the structure of an optional second optical interference unit 20 provided in an embodiment of the present disclosure. It should be noted that the optical modulator 203 may be an electro-optic intensity modulator or other types of intensity modulators.
[0044] In some embodiments of the present disclosure, reference Figure 5The second optical interference unit 20 may include an optical modulator 203. The optical modulator 203 is configured to modulate the neuron input signal into the first intermediate optical signal, and adjust the light intensity of the second intermediate optical signal.
[0045] In the embodiments of the present disclosure, reference Figure 5 , the optical modulator 203 is configured to modulate the neuron input signal into the first intermediate optical signal. For example, the optical modulator 203 may be an intensity modulator, and the optical modulator 203 may encode the neuron input signal into the first intermediate photon signal by controlling the light intensity of the first intermediate optical signal. In this way, the optical modulator 203 not only modulates the neuron input signal into the first intermediate optical signal to generate a second intermediate optical signal, but also can change the light intensity of the second intermediate optical signal by setting the bias point of the modulator. Thus, in the process of modulating the input neuron input signal, the optical modulator 203 can also control the intensity ratio of the second intermediate optical signal and the third intermediate optical signal, and then adjust the nonlinear activation function corresponding to the nonlinear calculation. At the same time, the embodiment of the present disclosure integrates the optical modulator 203 in the second optical interference unit 20, so as to improve the integration of the optical neural network chip 100.
[0046] Figure 6 1 is a schematic diagram of the structure of an optional first optical interference unit 10 provided in an embodiment of the present disclosure. It should be noted that the optical splitter 101 can be a Y-branch coupler or a multimode interference coupler (MultimodeInterference, MMI). The first optical coupler 104 can be a multimode interference coupler or a directional coupler (DirectCoupler, DC). The first optical phase shifter 105 can be any one of a piezoelectric optical phase shifter, an electro-optical phase shifter or a thermo-optical phase shifter. In addition, Figure 6 In the first optical interference unit 10 shown, the first lower branch waveguide 103 and the first upper branch waveguide 102 are both provided with the first optical phase shifter 105. The first optical interference unit 10 may also be provided with the first optical phase shifter 105 only on one of the first lower branch waveguide 103 and the first upper branch waveguide 102, which is not limited here.
[0047] In some embodiments of the present disclosure, reference Figure 6 The first optical interference unit 10 includes a first upper branch waveguide 102 and a first lower branch waveguide 103. The first upper branch waveguide 102 and / or the first lower branch waveguide 103 are provided with a first optical phase shifter 105. The first optical phase shifter 105 is configured to receive a first control signal and adjust the phase difference of the optical signal in the first upper branch waveguide 102 and the first lower branch waveguide 103 based on the first control signal.
[0048] In the embodiments of the present disclosure, reference Figure 6, the first optical phase shifter 105 is configured to receive the first control signal and adjust the phase difference of the optical signal in the first upper branch waveguide 102 and the first lower branch waveguide 103 based on the first control signal. For example, the first optical phase shifter 105 can be a piezoelectric optical phase shifter. The first control signal can be a voltage applied to the first optical phase shifter 105. The voltage value of the first control signal has a corresponding linearly calculated weighting coefficient. The first optical phase shifter 105 changes the refractive index of the waveguide by changing the voltage applied to the first upper branch waveguide 102 (or the first lower branch waveguide 103), and then converts the applied voltage into a change in the phase of the optical signal in the first upper branch waveguide 102 (or the first lower branch waveguide 103).
[0049] In the embodiments of the present disclosure, reference Figure 6 , the optical splitter 101 can receive an input optical signal and divide the input optical signal into two input photon signals with equal light intensity. The two input photon signals are respectively transmitted to the first upper branch waveguide 102 and the first lower branch waveguide 103. The first optical phase shifter 105 can adjust the phase of the two input photon signals or any one of the two input photon signals based on the first control signal received externally, so that the two input photon signals have a phase difference. The first intermediate optical signal may include two first intermediate photon signals. The first optical coupler 104 can combine the two input photon signals with a phase difference, and then separate them into two first intermediate photon signals. Since there is a phase difference between the two input photon signals, after the two input photon signals complete interference at the first optical coupler 104, the light intensity of the two output first intermediate photon signals will change, and then, the splitting ratio of the first intermediate photon signal will change. For example, when the phase difference between the two input photon signals of the first upper branch waveguide 102 and the first lower branch waveguide 103 is in the range of [0,π], the range of the splitting ratio of the two first intermediate photon signals is [0,+∞). That is, the weighting coefficient of the linear calculation of the embodiment of the present disclosure can be controlled by the first optical phase shifter 105.
[0050] In some embodiments of the present disclosure, reference Figure 5 The second optical interference unit 20 includes a second upper branch waveguide 201 and a second lower branch waveguide 202. The second upper branch waveguide 201 or the second lower branch waveguide 202 is provided with a second optical phase shifter 204. The second optical phase shifter 204 is configured to receive a second control signal and adjust the phase difference of the optical signal in the second upper branch waveguide 201 and the second lower branch waveguide 202 based on the second control signal.
[0051] It should be noted that Figure 5The second optical phase shifter 205 is shown to be disposed on the second lower branch waveguide 202, and the optical modulator 203 is disposed on the second upper branch waveguide 202. The second optical phase shifter 205 may also be disposed on the second upper branch waveguide 202, and the optical modulator 204 may also be disposed on the second lower branch waveguide 202, which is not limited here.
[0052] In the embodiments of the present disclosure, reference Figure 5 The second optical phase shifter 204 is configured to receive the second control signal and adjust the phase difference of the optical signal in the second upper branch waveguide 201 and the second lower branch waveguide 202 based on the second control signal. For example, the second optical phase shifter 204 may be a piezoelectric optical phase shifter. The second optical phase shifter 204 may change the refractive index of the waveguide by changing the voltage applied to the second upper branch waveguide 201 (or the second lower branch waveguide 202), and then convert the applied voltage into a change in the phase of the optical signal in the second upper branch waveguide 201 (or the second lower branch waveguide 202).
[0053] In the embodiments of the present disclosure, reference Figure 6 , the second optical interference unit 20 may include a second upper branch waveguide 201, a second lower branch waveguide 202, an optical modulator 203, a second optical coupler 204 and an optical splitter 206. The optical splitter 206 can separate the first intermediate optical signal into two first intermediate photon signals. The second upper branch waveguide 201 and the second lower branch waveguide 202 can each receive a first intermediate photon signal. An optical modulator 203 is provided on the second upper branch waveguide 201. The optical modulator 203 can modulate the neuron input signal into the first intermediate photon signal to generate a second intermediate optical signal. The second optical phase shifter 204 adjusts the phase of another first intermediate photon signal to generate a third intermediate optical signal.
[0054] In the embodiments of the present disclosure, reference Figure 5 and Figure 6 , the second intermediate optical signal and the second intermediate optical signal are respectively formed by two first intermediate photon signals, and the first optical phase shifter 105 can adjust the splitting ratio of the two first intermediate photon signals based on the first control signal received externally, thereby also adjusting the splitting ratio of the second intermediate optical signal and the second intermediate optical signal. The second optical phase shifter 204 can adjust the phase difference between the second intermediate optical signal and the third intermediate optical signal based on the second control signal received externally. In this way, the activation function of the nonlinear calculation of the embodiment of the present disclosure can be controlled by the first optical phase shifter 105 and the second optical phase shifter 204, thereby making it easier to adjust the nonlinear activation function so that the nonlinear activation function can be easily reconstructed.
[0055] Figure 7It is a schematic diagram of the structure of another optional optical neural network chip 100 provided in an embodiment of the present disclosure. It should be noted that the control signal may include the first control signal and the second control signal in the above-mentioned embodiment.
[0056] In some embodiments of the present disclosure, reference Figure 7 The optical neural network chip 100 further includes a first optical coupler 104. The first upper branch waveguide 102 and the first lower branch waveguide 103 are respectively connected to two input ends of the first optical coupler 104. The second upper branch waveguide 201 and the second lower branch waveguide 202 are respectively connected to two output ends of the first optical coupler 104.
[0057] In the embodiments of the present disclosure, reference Figure 7 , Figure 7 The optical splitter 101, the first upper branch waveguide 102, the first lower branch waveguide 103, the first optical coupler 104 and the first optical phase shifter 105 in the optical splitter 101 can constitute Figure 1 The first optical interference unit 10 in. Figure 7 The first optical coupler 104, the second upper branch waveguide 201, the second lower branch waveguide 202, the optical modulator 203, the second optical phase shifter 204 and the second optical coupler 205 can constitute Figure 2 The second optical interference unit 20 in the optical network chip 100. The first optical coupler 104 can combine the input sub-optical signals of the first upper branch waveguide 102 and the first lower branch waveguide 103 to generate a first intermediate optical signal. Moreover, the first optical coupler 104 can separate the first intermediate optical signal into two first intermediate photon signals, and input the two first intermediate photon signals into the second upper branch waveguide 201 and the second lower branch waveguide 202 respectively. In other words, the first optical interference unit and the second optical interference unit can share the first optical coupler 104, thereby further improving the integration of the optical neural network chip 100.
[0058] In some embodiments of the present disclosure, reference Figure 7 The optical neural network chip 100 further includes a photodetector 40. The photodetector 40 is communicatively connected to the second optical interference unit 20 and is configured to receive the output optical signal and convert the output optical signal into an electrical signal.
[0059] In the embodiments of the present disclosure, reference Figure 7 The photodetector 40 may be a device such as a photodiode, a photomultiplier tube or a photoconductor. The photodetector 40 may utilize the photoelectric effect of semiconductor materials to convert the output light signal into an electrical signal for output. In other words, the photodetector 40 converts the linear calculation or nonlinear calculation result of the neuron input signal into an electrical signal for output.
[0060] In some embodiments of the present disclosure, reference Figure 7 The second optical interference unit 20 further includes a second optical coupler 205. The input end of the second optical coupler 205 is communicatively connected to the second upper branch waveguide 201 and the second lower branch waveguide 202 respectively. The output end of the second optical coupler 205 is communicatively connected to the photodetector 40.
[0061] In the embodiments of the present disclosure, reference Figure 7 , the input end of the second optical coupler 205 is communicatively connected to the second upper branch waveguide 201 and the second lower branch waveguide 202 respectively. In this way, when the optical neural network chip 100 performs linear calculations, the second optical coupler 205 can combine the second intermediate optical signal in the second upper branch waveguide 201 and the first intermediate photon signal in the second lower branch waveguide 202 into an output optical signal. When the optical neural network chip 100 performs nonlinear calculations, the second optical coupler 205 can combine the second intermediate optical signal in the second upper branch waveguide 201 and the third intermediate photon signal in the second lower branch waveguide 202 into an output optical signal. The output end of the second optical coupler 205 is communicatively connected to the photodetector 40, so that the output optical signal is transmitted to the photodetector 40 for photoelectric conversion.
[0062] In some embodiments of the present disclosure, reference Figure 7 , the optical neural network chip 100 also includes a grating coupler 30. The first optical interference unit 10 also includes an optical splitter 101. The grating coupler 30 is communicatively connected to the external light source and the optical splitter 101, respectively. The grating coupler 30 is configured to input the input optical signal provided by the external light source to the optical splitter 101. The optical splitter 101 is communicatively connected to the first upper branch waveguide 102 and the first lower branch waveguide 103, respectively. The optical splitter 101 is configured to split the input optical signal into two input photon signals, and input the two input photon signals into the first upper branch waveguide 102 and the first lower branch waveguide 103, respectively.
[0063] In the embodiments of the present disclosure, reference Figure 7 The grating coupler 30 is used to input the continuous light provided by the external light source to the optical neural network chip 100. The optical splitter 101 can receive the input light signal from the grating coupler 30 and separate the input light signal into two input photon signals with equal light intensity. The two input photon signals are respectively input into the first upper branch waveguide 102 and the first lower branch waveguide 103.
[0064] Figure 8 is a schematic diagram of an optional optoelectronic computing system 200 provided in an embodiment of the present disclosure, with reference to Figure 8 The optoelectronic computing system 200 includes a central processing unit 210 and the optical neural network chip 100 described in the above embodiment. It should be noted that: Figure 8The control signal in includes a first control signal and a second control signal.
[0065] In the embodiments of the present disclosure, reference Figure 8 , the central processor 210 is communicatively connected to the optical neural network chip 100. The central processor 210 is configured to input a first control signal, a second control signal and a neuron input signal to the optical neural network chip.
[0066] In the embodiments of the present disclosure, reference Figure 8 , the optical neural network chip 100 is configured to perform linear calculation on the neuron input signal based on the linear weighting coefficient corresponding to the first control signal. For example, the first control signal can control Figure 2 The splitting ratio of the input photon optical signal in the second lower branch waveguide 201 and the second lower branch waveguide 202 is calculated, and the weighted coefficient of the linear calculation is loaded into the generated first intermediate optical signal in the form of the splitting ratio. Thus, the optical neural network chip 100 can perform linear calculation on the neuron input signal by combining the second intermediate optical signal loaded with the neuron input signal with the first intermediate optical signal.
[0067] In the embodiments of the present disclosure, reference Figure 8 The optical neural network chip 100 is further configured to perform nonlinear calculations on the neuron input signal based on the nonlinear activation functions corresponding to the first control signal and the second control signal. For example, the first control signal can control Figure 2 The second control signal can control the splitting ratio of the optical signal in the second lower branch waveguide 201 and the second lower branch waveguide 202, and the second control signal can control the phase difference of the optical signal in the second lower branch waveguide 201 and the second lower branch waveguide 202. Thus, the optical neural network chip 100 loads different nonlinear activation functions and performs nonlinear calculations on the optical signal loaded with the neuron input signal.
[0068] It can be understood that the embodiments of the present disclosure can simultaneously realize linear calculation and nonlinear calculation, thereby improving the calculation speed of the optical neural network chip. At the same time, both linear calculation and nonlinear calculation are realized by optical signals. Therefore, the embodiments of the present disclosure do not need to perform photoelectric conversion on the intermediate optical signal, thereby further improving the calculation speed of the optical neural network chip.
[0069] In some embodiments of the present disclosure, reference Figure 8 The optoelectronic computing system 200 further includes a control signal driver 220 and a neuron input signal driver 230. The control signal driver 220 is connected to the central processor 210 and the optical neural network chip 100, respectively, and is configured to receive and amplify the first control signal and the second control signal. The neuron input signal driver 230 is connected to the central processor 210 and the optical neural network chip 100, respectively, and is configured to receive and amplify the neuron input signal.
[0070] In the embodiments of the present disclosure, reference Figure 8 , the control signal can be provided by the central processor 210. The control signal is amplified by the control signal driver 220 and output to the optical neural network chip 100 to control the optical neural network chip 100 to perform linear calculations and nonlinear calculations. The central processor 210 can receive the calculation results of the completed linear calculations or nonlinear calculations. Then, the calculation results are sampled and processed, and a new control signal is output based on the processing results, so that the calculation process of the input signal of a new layer of neurons is controlled based on the new control signal.
[0071] In the embodiments of the present disclosure, reference Figure 8 The neuron input signal can be provided by the central processor 210 or by an external input. The neuron input signal is amplified by the neuron input signal driver 230 and then output to the optical neural network chip 100. Thus, the neuron input signal is prevented from attenuating during the modulation process, which affects the accuracy of the calculation result.
[0072] In some embodiments of the present disclosure, reference Figure 8 The optoelectronic computing system 100 further includes: a laser 240 and a polarization controller 250. The laser 240 is connected to the polarization controller 250 and is configured to generate an input optical signal. The polarization controller 250 is configured to receive and modulate the input optical signal and input the modulated input optical signal to the optical neural network chip.
[0073] In the embodiments of the present disclosure, reference Figure 8 , the output light of the laser can enter the polarization controller 250 as an optical carrier. The polarization controller 250 can adjust the polarization of the optical carrier so that the optical carrier can match the optical neural network chip 100. For example, the polarization controller 250 can include a half-wave plate and an electro-optical crystal. The polarization controller 250 can control the polarization of light in different directions so that its polarization direction is consistent with the coupling grating. Thereby, the transmission loss of the input optical signal can be reduced and the transmission efficiency can be improved.
[0074] The serial numbers of the embodiments of the present disclosure are for description only and do not represent the advantages and disadvantages of the embodiments. The methods disclosed in the several method embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments. The features disclosed in the several product embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new product embodiments. The features disclosed in the several method or device embodiments provided by the present disclosure can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.
[0075] The above description is only a specific implementation mode of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure.
Claims
1. An optical neural network chip, characterized in that: include: A first optical interference unit and a second optical interference unit; wherein, The first optical interference unit is configured to receive an input optical signal and adjust a splitting ratio of the input optical signal to generate a first intermediate optical signal; The second optical interference unit is communicatively connected to the first optical interference unit, and is configured to receive the first intermediate optical signal and the neuron input signal, modulate the neuron input signal into the first intermediate optical signal to generate a second intermediate optical signal, and combine the first intermediate optical signal and the second intermediate optical signal to generate an output optical signal.
2. The optical neural network chip according to claim 1, characterized in that: The second optical interference unit is further configured to adjust the phase of the first intermediate optical signal to generate a third intermediate optical signal, and combine the second intermediate optical signal and the third intermediate optical signal to generate an output optical signal.
3. The optical neural network chip according to claim 2, characterized in that: The second optical interference unit includes: a light modulator; The optical modulator is configured to modulate the neuron input signal into the first intermediate optical signal, and adjust the optical intensity of the second intermediate optical signal.
4. The optical neural network chip according to claim 2, characterized in that: The first optical interference unit includes: a first upper branch waveguide and a first lower branch waveguide; The first upper branch waveguide and / or the first lower branch waveguide are provided with a first optical phase shifter; The first optical phase shifter is configured to receive a first control signal and adjust a phase difference between optical signals in the first upper branch waveguide and the first lower branch waveguide based on the first control signal.
5. The optical neural network chip according to claim 4, characterized in that: The second optical interference unit includes: a second upper branch waveguide and a second lower branch waveguide; The second upper branch waveguide or the second lower branch waveguide is provided with a second optical phase shifter; The second optical phase shifter is configured to receive a second control signal and adjust a phase difference between optical signals in the second upper branch waveguide and the second lower branch waveguide based on the second control signal.
6. The optical neural network chip according to claim 5, characterized in that: The optical neural network chip further includes: a first optical coupler; The first upper branch waveguide and the first lower branch waveguide are respectively connected to two input ends of the first optical coupler; the second upper branch waveguide and the second lower branch waveguide are respectively connected to two output ends of the first optical coupler.
7. The optical neural network chip according to claim 5, characterized in that: The optical neural network chip also includes: a photodetector; The photodetector is communicatively connected to the second optical interference unit, and is configured to receive the output light signal and perform photoelectric conversion on the output light signal.
8. The optical neural network chip according to claim 7, characterized in that: The second optical interference unit further includes: a second optical coupler; The input end of the second optical coupler is communicatively connected to the second upper branch waveguide and the second lower branch waveguide respectively; the output end of the second optical coupler is communicatively connected to the photodetector.
9. The optical neural network chip according to claim 5, characterized in that: The optical neural network chip further includes: a grating coupler; the first optical interference unit further includes: an optical beam splitter; The grating coupler is communicatively connected to the external light source and the optical splitter, respectively, and is configured to input an input light signal provided by the external light source to the optical splitter; The optical splitter is communicatively connected to the first upper branch waveguide and the first lower branch waveguide, respectively, and is configured to split the input optical signal into two input photon signals, and input the two input photon signals into the first upper branch waveguide and the first lower branch waveguide, respectively.
10. An optoelectronic computing system, characterized in that: include: A central processing unit and an optical neural network chip as claimed in any one of claims 1 to 9; The central processor is communicatively connected to the optical neural network chip and is configured to input a first control signal, a second control signal and a neuron input signal to the optical neural network chip; The optical neural network chip is configured to perform linear calculation on the neuron input signal based on a linear weighting coefficient corresponding to the first control signal; The optical neural network chip is further configured to perform nonlinear calculation on the neuron input signal based on the nonlinear activation function corresponding to the first control signal and the second control signal.
11. The optoelectronic computing system according to claim 10, characterized in that: The photoelectric computing system further comprises: a control signal drive and a neuron input signal drive; The control signal driver is connected to the central processing unit and the optical neural network chip respectively, and is configured to receive and amplify the first control signal and the second control signal; The neuron input signal driver is respectively connected to the central processing unit and the optical neural network chip, and is configured to receive and amplify the neuron input signal.
12. The optoelectronic computing system according to claim 10, characterized in that: The optoelectronic computing system further includes: a laser and a polarization controller; The laser is configured to generate an input optical signal; The polarization controller, connected to the laser, is configured to receive and modulate the input optical signal, and input the modulated input optical signal into the optical neural network chip.
Citation Information
Patent Citations
Photonic neural network
CN112232504A
Optical neural network all-optical nonlinear activation layer and implementation method thereof
CN112882307A
Transmission line monitoring device and transmission line monitoring method
JP2021145171A
