An optical computing device and system

By introducing multimode interference structures or arrayed waveguide gratings into optical computing devices, flexible modulation and feedback iterative modulation of optical signal weights are realized, solving the problems of slow computing speed and high power consumption in existing optical reservoir computing networks, and realizing flexible adjustment of topology and efficient computing.

CN115481711BActive Publication Date: 2026-06-02HUAWEI TECH CO LTD

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
HUAWEI TECH CO LTD
Filing Date
2021-05-31
Publication Date
2026-06-02

AI Technical Summary

Technical Problem

Existing optical reservoir computing networks have high memory requirements, slow computing speed and high power consumption when handling complex tasks, and it is difficult to achieve flexible adjustment of the topology.

Method used

An optical computing device was designed, comprising an input module, a feedback module, a reservoir module, and a detection module. By using a multimode interference structure or an arrayed waveguide grating in the input and reservoir modules, weighted modulation and feedback iterative modulation of the optical signal are achieved, thereby enhancing the adjustability of the topology and the computational efficiency.

Benefits of technology

It enables a wide range of adjustments to the topology of optical computing devices, improving computing speed and reducing power consumption, while also meeting the needs for optimized solutions to various datasets.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115481711B_ABST
    Figure CN115481711B_ABST
Patent Text Reader

Abstract

An optical computing device and system, the optical computing device comprising an input module, a feedback module, a reservoir module and a detection module. The input module is configured to compute a first set of optical signals based on a first weight to obtain a second set of optical signals, the first set of optical signals carrying first data to be computed. The feedback module is configured to load the first computation result on feedback light to obtain a first set of feedback optical signals, the first computation result being a computation result of second data by the optical computing device, the second data being data processed before the first data. The reservoir module is configured to compute the first set of feedback optical signals and the second set of optical signals based on a second weight to obtain a third set of optical signals. The detection module is configured to detect optical intensity of the third set of optical signals to obtain a second computation result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence, and more particularly to an optical computing device and system. Background Technology

[0002] In recent years, artificial neural networks have made significant progress, and they are increasingly serving the real world. Neural network structures are generally divided into feedforward networks and recurrent networks. Feedforward neural networks are mainly used for static (non-temporal) data processing because individual input data, even when given sequentially, are processed independently. Recurrent neural networks are suitable for dynamic (temporal) data processing because they can embed the temporal dependencies of the input into their dynamic behavior. Many real-world scenarios are temporal, such as prediction, adaptive filtering, computing device control or recognition, noise reduction, vision, and speech. With the advent of the big data era, dynamic signal processing will greatly reduce the overhead of storing and transmitting large datasets and the need for post-processing. Reservoir computing (RC) networks in recurrent neural networks are suitable for a wide variety of classification and prediction tasks.

[0003] The main characteristic of RC networks is that the input weights and reservoir weights are fixed; only the output weights need to be trained, which greatly shortens the training time and reduces the training difficulty, and allows for the simultaneous execution of multiple tasks. For complex tasks, optical RC neural networks require storing large matrices of weight coefficients, resulting in high memory requirements, slow computation speed, and high power consumption. In contrast, in optical neural networks, the weight coefficients are an inherent part of the photonic computing device, and information is transmitted at the speed of light, resulting in high speed, large bandwidth, and low power consumption.

[0004] In order to better realize optical reservoir calculation, there is an urgent need for an optical computing device with a simple computing device structure, a large number of nodes, a wide range of adjustable topology, and a small number of active devices. Summary of the Invention

[0005] This application provides an optical computing device and system, which enables the topology of the optical computing device to be adjusted over a wide range while maintaining a simple computing device structure and a large manufacturing tolerance.

[0006] In a first aspect, embodiments of this application provide an optical computing device applied to an optical RC network for tasks such as classification and prediction. It mainly includes: an input module, a feedback module, at least one reservoir module, and a detection module. After receiving a first set of optical signals, the input module can calculate a second set of optical signals based on a first weight, wherein the first set of optical signals is generated based on first data to be calculated. The feedback module is used to obtain a first set of feedback optical signals based on a first calculation result, where the first calculation result is the calculation result of second data, and the second data is data processed before processing the first data. The reservoir module is used to receive the second set of optical signals and the first set of feedback optical signals, and then calculate a third set of optical signals based on the first set of feedback optical signals and the second set of optical signals based on a second weight; wherein the number of reservoir modules can be at least one. The detection module is used to detect the light intensity of the third set of optical signals to obtain a second calculation result.

[0007] In this application, the reservoir modules can be cascaded, meaning there can be multiple reservoir modules. In one exemplary embodiment, assuming the optical computing device includes reservoir module 1 and reservoir module 2, their connection relationship can be as follows: Reservoir module 1 includes at least one input port, at least one free propagation region, at least one phase modulator, and at least one output port. The at least one input port is used to receive the second set of optical signals and the first set of feedback optical signals. Then, the at least one phase modulator and the at least one free propagation region modulate the second set of optical signals and the first set of feedback optical signals to output an intermediate optical signal. Reservoir module 2 includes at least one input port, at least one free propagation region, at least one phase modulator, and at least one output port. The at least one input port is used to receive the intermediate optical signal output by reservoir module 1. Then, the at least one phase modulator and the at least one free propagation region modulate the intermediate optical signal output by reservoir module 1 to output the third set of optical signals.

[0008] In this embodiment, the input module modulates the first set of optical signals based on a first weight, thereby adjusting the weights of the first set of data-carrying optical signals at the input module to obtain the second set of optical signals. The reservoir module then modulates the second set of optical signals and the first set of feedback light based on a second weight, resulting in the third set of optical signals. Thus, during optical computing, the weights of the data-carrying optical signals are modulated in two segments, and these two weights do not affect each other, increasing the flexibility of optical signal weight adjustment and enabling a wide range of topological adjustments to the optical computing device. Simultaneously, the feedback module can also modulate the feedback light based on the calculation results of the previous process, allowing for iterative modulation of the feedback light and accelerating the convergence speed of the output weights in the optical computing device.

[0009] In one possible implementation, the optical computing device further includes an electrical processing module that feeds back the second calculation result to the feedback module, thereby enabling the optical computing device to modulate the feedback light at the next moment based on the second calculation result, thus achieving iterative modulation of the feedback light.

[0010] In this embodiment, the optical computing device can utilize different structures to achieve the above functions, specifically including the following possible implementation methods:

[0011] In one possible implementation, the optical computing device utilizes a multimode interference structure to achieve the aforementioned function. The reservoir module includes at least one phase modulator and a first multimode interference structure, wherein the at least one phase modulator is connected to at least one input waveguide of the first multimode interference structure; that is, one phase modulator is connected to one input waveguide, but it is not limited to each input waveguide being connected to a phase modulator. The at least one phase modulator is used to adjust the phase of the first set of feedback optical signals and the second set of optical signals based on the second weight to obtain multiple first intermediate optical signals. Then, the first multimode interference structure is used to receive the multiple first intermediate optical signals and transmit the multiple first intermediate optical signals based on a planar waveguide to output the third set of optical signals.

[0012] The input module includes a second multimode interference structure and multiple first modulators, wherein the multiple first modulators are connected to multiple output waveguides of the second multimode interference structure, that is, one first modulator is connected to one output waveguide of the second multimode interference structure, but it is not limited to each output waveguide being connected to a modulator; then the second multimode interference structure receives the first set of optical signals, wherein the first set of optical signals includes multiple optical signals of different wavelengths, and splits the first set of optical signals into multiple sets of second intermediate optical signals, wherein each set of second intermediate optical signals includes the multiple optical signals of different wavelengths; the multiple first modulators are used to modulate the multiple sets of second intermediate optical signals based on the first weight to obtain the second set of optical signals.

[0013] The feedback module includes multiple second modulators, which are used to load the first calculation result onto the feedback light to obtain the first set of feedback light signals. The input port of the feedback module is connected to the output waveguide of the input module, and one modulator of the feedback module is connected to one input port of the feedback module.

[0014] Based on the above scheme, the second multimode interference structure includes a 1*N multimode interference structure or an N*N multimode interference structure, while the first multimode interference structure is an N*N multimode interference structure.

[0015] In this technical solution, the modulators in the input module and the reservoir module can adjust their modulation states to obtain different weight values ​​as needed, thereby satisfying the optimization solution for various datasets. Furthermore, to obtain more random weight values, the multimode interference structure serving as the input module and the reservoir module can have non-uniform beam splitting, thus allowing for greater tolerance during the fabrication of this optical computing device.

[0016] In another possible implementation, the optical computing device utilizes an arrayed waveguide grating to achieve the aforementioned function. The input module includes multiple third modulators and a first arrayed waveguide grating, wherein the multiple third modulators are connected to multiple input waveguides of the first arrayed waveguide grating, i.e., one third modulator is connected to one input waveguide of the first arrayed waveguide grating; then the multiple third modulators receive the first set of optical signals and modulate the first set of optical signals based on the first weight to obtain multiple third intermediate optical signals; then the first arrayed waveguide grating receives the multiple third intermediate optical signals and outputs the third intermediate optical signals as the second set of optical signals via a planar waveguide transmission.

[0017] The reservoir module includes at least one phase modulator and a second arrayed waveguide grating. The at least one phase modulator is located on the arrayed waveguide of the second arrayed waveguide grating, i.e., one phase modulator is located on one arrayed waveguide of the second arrayed waveguide grating, but it is not limited to having one phase modulator on each arrayed waveguide of the second arrayed waveguide grating. The second arrayed waveguide grating is used to receive the first set of feedback optical signals and the second set of optical signals, and outputs the first set of feedback optical signals and the second set of optical signals as multiple fourth intermediate optical signals based on the planar waveguide transmission. The at least one phase modulator is used to modulate the phase of the multiple fourth intermediate optical signals based on the second right to obtain multiple fifth intermediate optical signals. The second arrayed waveguide grating is also used to receive the fifth intermediate optical signals and output the fifth intermediate optical signals as the third set of optical signals based on the planar waveguide transmission.

[0018] The feedback module includes multiple fourth modulators and a third arrayed waveguide grating. The multiple fourth modulators are connected to multiple input waveguides of the third arrayed waveguide grating; that is, one fourth modulator is connected to one input waveguide of the third arrayed waveguide grating, and one fourth modulator is connected to each input waveguide of the third arrayed waveguide grating. The multiple fourth modulators receive the first set of modulated signals and output the first set of modulated signals as the first set of feedback optical signals via planar waveguide transmission.

[0019] In this technical solution, the modulators in the input module and the reservoir module can adjust their modulation states to obtain different weight values ​​as needed, thereby satisfying the optimization solution for various datasets. Simultaneously, to obtain more random weight values, the arrayed waveguide gratings in the input module and the reservoir module can tolerate large insertion loss inhomogeneities at different wavelengths and large optical crosstalk between channels, thus allowing for greater tolerance during the fabrication of this optical computing device.

[0020] In one possible implementation, the detection module includes a semiconductor optical amplifier and a semiconductor photodetector, which are used to detect the light intensity of the third set of optical signals and obtain the second calculation result.

[0021] Alternatively, the detection module may include a semiconductor photodetector used to detect the light intensity of the third set of optical signals and obtain the second calculation result.

[0022] In one possible implementation, the optical computing device further includes a light source array, wherein a first portion of the light source array is used to receive the first data and generate the first set of optical signals based on the first data; and a second portion of the light source array is used to emit feedback light.

[0023] It is understandable that the light source arrays that transmit the first set of optical signals and the feedback light can also be independent, that is, one light source array is used to receive the first data and generate the first set of optical signals based on the first data, while the other light source array is used to emit the feedback light.

[0024] In one possible implementation, the optical computing device further includes a chip that controls the optical computing device to implement the above-described scheme.

[0025] Secondly, this application provides an optical signal processing method, specifically including: the optical computing device acquiring the first set of optical signals and calculating the first set of optical signals based on a first weight to obtain a second set of optical signals; simultaneously, the optical computing device also receiving feedback light, and then loading the first calculation result of the second data preprocessed by the first data onto the feedback light to obtain a first set of feedback optical signals; then the optical computing device calculating the first set of feedback optical signals and the second set of optical signals based on a second weight to obtain a third set of optical signals; finally, the optical computing device detecting the light intensity of the third set of optical signals to obtain a second calculation result of the first data.

[0026] In one possible implementation, if the functional modules of the optical computing device are composed of multimode interference structures, then the optical signal processing method is as follows:

[0027] The input waveguide in the input module of the optical computing device receives a first set of optical signals and feedback light. Then, the modulator in the input module modulates the first set of optical signals based on the first weight to generate the second set of optical signals. The second set of optical signals and the feedback light then enter the feedback module of the optical computing device. The feedback module modulates the feedback light according to the first calculation result to obtain the first set of feedback optical signals. The feedback module inputs the first set of feedback optical signals and the second set of optical signals to the reservoir module of the optical computing device. The reservoir module modulates the first set of feedback optical signals and the second set of optical signals based on the second weight to obtain the third set of optical signals. Simultaneously, the reservoir module transmits the third set of optical signals to the detection module of the optical computing device. The detection module then detects the third set of optical signals to obtain the second calculation result of the first data.

[0028] In one possible implementation, if the functional modules of the optical computing device are composed of arrayed waveguide gratings, then the optical signal processing method is as follows:

[0029] A portion of the input waveguide in the input module of the optical computing device receives a first set of optical signals. The modulator in the input module modulates the first set of optical signals based on the first weight to generate the second set of optical signals. Simultaneously, another portion of the input waveguide in the input module receives the feedback light and inputs it into the feedback module of the optical computing device. The feedback module modulates the feedback light according to the first calculation result to obtain a first set of feedback optical signals. Then, the feedback module outputs the first set of feedback optical signals, and the input module outputs the second set of optical signals. The first set of feedback optical signals and the second set of optical signals are combined by a beam combiner and input to the reservoir module of the optical computing device. The reservoir module modulates the first set of feedback optical signals and the second set of optical signals based on the second weight to obtain a third set of optical signals. Simultaneously, the reservoir module transmits the third set of optical signals to the detection module of the optical computing device, and the detection module detects the third set of optical signals to obtain the second calculation result of the first data.

[0030] Thirdly, this application provides an optical computing system, which includes a processor and the optical computing device described in the first aspect above. The processor is used to input the first data into the optical computing device.

[0031] It is understandable that the processor could also be an electrical processing module in the optical computing device.

[0032] The processor mentioned above can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or one or more integrated circuits used to control the execution of programs for the data transmission methods described above. Attached Figure Description

[0033] Figure 1a This is an exemplary architecture diagram of an optical computing device in the embodiments of this application;

[0034] Figure 1b This is another exemplary architectural diagram of the optical computing device in the embodiments of this application;

[0035] Figure 1c Based on Figure 1a A schematic diagram of an optical signal processing flow of the optical computing device shown;

[0036] Figure 2 This is a schematic diagram of one embodiment of the optical computing device described in this application;

[0037] Figure 3 Based on Figure 2 A schematic diagram showing the modulation comparison of the input module and feedback module for the first set of optical signals and the feedback optical signal in the optical computing device shown;

[0038] Figure 4 This is a schematic diagram of another embodiment of the optical computing device described in this application;

[0039] Figure 5 This is a schematic diagram of another embodiment of the optical computing device described in this application;

[0040] Figure 6 This is a schematic diagram of one embodiment of the optical computing system described in this application. Detailed Implementation

[0041] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application are described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of this application, and not all of them. Those skilled in the art will understand that with the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0042] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments described herein can be implemented in a sequence other than that illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, computing device, product, or apparatus that includes a series of steps or modules is not necessarily limited to those explicitly listed, but may include other steps or modules not explicitly listed or inherent to such processes, methods, products, or apparatus. The naming or numbering of steps appearing in this application does not imply that the steps in the method flow must be performed in the chronological / logical order indicated by the naming or numbering. The execution order of named or numbered process steps can be changed according to the desired technical purpose, as long as the same or similar technical effect is achieved. The division of units in this application is a logical division. In practical applications, there may be other division methods. For example, multiple units may be combined or integrated into another computing device, or some features may be ignored or not executed. In addition, the shown or discussed mutual coupling, direct coupling, or communication connection may be through some interface, and the indirect coupling or communication connection between units may be electrical or other similar forms, none of which are limited in this application. Furthermore, the units or sub-units described as separate components may or may not be physically separated, may or may not be physical units, or may be distributed among multiple circuit units. Some or all of the units can be selected to achieve the purpose of the solution in this application according to actual needs.

[0043] This application provides, as follows: Figure 1a The optical computing device 100 shown includes an input module 101, a feedback module 102, a reservoir module 103, a detection module 104, and an electrical processing module 105.

[0044] The input module 101 includes, but is not limited to, at least one input port, at least one output port, at least one modulator, and at least one free propagation region. The at least one input port of the input module 101 is used to receive a first set of optical signals, wherein the first set of optical signals is used to carry first data; then, the at least one modulator in the input module 101 is used to intensity modulate the first set of optical signals, and the at least one free propagation region in the input module 101 is used to transmit the first set of optical signals based on a planar waveguide. After passing through the at least one modulator and the at least one free propagation region, the first set of optical signals received by the input module 101 is output as a second set of optical signals.

[0045] The feedback module 102 includes, but is not limited to, at least one input port, at least one output port, and at least one modulator. The at least one input port of the feedback module 102 receives feedback light and a first calculation result of the second data; then, the at least one modulator of the feedback module 102 modulates the feedback light according to the first calculation result to obtain a first set of feedback light signals; finally, the first set of feedback light signals is output through the output port. Figure 1a In the optical computing device 100 shown, the feedback light received by the feedback module 102 is input via the input module 101.

[0046] The reservoir module 103 includes, but is not limited to, at least one input port, at least one free propagation region, at least one phase modulator, and at least one output port. The at least one input port is used to receive the second set of optical signals and the first set of feedback optical signals. Then, the at least one phase modulator and the at least one free propagation region modulate the second set of optical signals and the first set of feedback optical signals to output a third set of optical signals.

[0047] The detection module 104 includes, but is not limited to, at least one input port, at least one detector, and at least one output port. The at least one input port is used to receive the third set of optical signals, and the at least one detector is used to detect the light intensity of the third set of optical signals, perform nonlinear calculations to obtain a third calculation result, and convert the third calculation result from an optical signal into an electrical signal.

[0048] The electrical processing module 105 can be a CPU, microprocessor, ASIC, FPGA, or one or more integrated circuits used to control the execution of programs for the data transmission methods described above. The electrical processing module 105 is mainly used to provide the second calculation result detected by the detection module 104 to the feedback module 102, and to calculate the output weights, output classification, or prediction results.

[0049] Understandably, Figure 1a The optical computing device 100 shown also includes a light source array for receiving the first data and then generating the first set of optical signals based on the first data. The light source array can also be used to emit feedback light.

[0050] Understandably, this application also provides, for example Figure 1b The optical computing device 100 shown includes an input module 101, a feedback module 102, a reservoir module 103, a detection module 104, and an electrical processing module 105.

[0051] The input module 101 includes, but is not limited to, at least one input port, at least one output port, at least one modulator, and at least one free propagation region. The at least one input port of the input module 101 is used to receive a first set of optical signals, wherein the first set of optical signals is used to carry first data; then, the at least one modulator in the input module 101 is used to intensity modulate the first set of optical signals, and the at least one free propagation region in the input module 101 is used to transmit the first set of optical signals based on a planar waveguide. After passing through the at least one modulator and the at least one free propagation region, the first set of optical signals received by the input module 101 is output as a second set of optical signals.

[0052] The feedback module 102 includes, but is not limited to, at least one input port, at least one output port, and at least one modulator. The at least one input port of the feedback module 102 receives feedback light and a first calculation result of second data; then, the at least one modulator of the feedback module 102 modulates the feedback light according to the first calculation result to obtain a first set of feedback light signals; finally, the first set of feedback light signals is output through the output port. Figure 1b In the optical computing device 100 shown, the feedback light received by the feedback module 102 is not input through the input module 101.

[0053] The reservoir module 103 includes, but is not limited to, at least one input port, at least one free propagation region, at least one phase modulator, and at least one output port. The at least one input port is used to receive the second set of optical signals and the first set of feedback optical signals. Then, the at least one phase modulator and the at least one free propagation region modulate the second set of optical signals and the first set of feedback optical signals to output a third set of optical signals. In this application, the reservoir module 103 can be cascaded, meaning there can be multiple reservoir modules 103. For example, if the reservoir module 103 includes reservoir module 1 and reservoir module 2, their connection relationship can be as follows: Reservoir module 1 includes at least one input port, at least one free propagation region, at least one phase modulator, and at least one output port. The at least one input port is used to receive the second set of optical signals and the first set of feedback optical signals. Then, the at least one phase modulator and the at least one free propagation region modulate the second set of optical signals and the first set of feedback optical signals to output an intermediate set of optical signals. Reservoir module 2 includes at least one input port, at least one free propagation region, at least one phase modulator, and at least one output port. The at least one input port is used to receive the intermediate optical signal output by the reservoir module 1, and then the at least one phase modulator and the at least one free propagation region modulate the intermediate optical signal output by the reservoir module 1 to output the third set of optical signals.

[0054] The detection module 104 includes, but is not limited to, at least one input port, at least one detector, and at least one output port. The at least one input port is used to receive the third set of optical signals, and the at least one detector is used to detect the light intensity of the third set of optical signals, perform nonlinear calculations to obtain a third calculation result, and convert the third calculation result from an optical signal into an electrical signal.

[0055] The electrical processing module 105 can be a CPU, microprocessor, ASIC, FPGA, or one or more integrated circuits used to control the execution of programs for the data transmission methods described above. The electrical processing module 105 is mainly used to provide the second calculation result detected by the detection module 104 to the feedback module 102, and to calculate the output weights, output classification, or prediction results.

[0056] Understandably, Figure 1b The optical computing device 100 shown also includes a light source array for receiving the first data and then generating the first set of optical signals based on the first data. The light source array can also be used to emit feedback light. According to this… Figure 1a and Figure 1b The system functional modules shown, and an exemplary processing flow of the optical signal by the optical computing device 100, can be as follows: Figure 1c As shown:

[0057] by Figure 1a The structure shown is illustrated below: During the current calculation process, first data is input; a first set of optical signals is generated based on the first data; the first set of optical signals is input to the input module 101, and the input module 101 also receives feedback light; the input module 101 modulates the first set of optical signals into a second set of optical signals based on a first weight, and outputs the feedback light to the feedback module 102; the feedback module 102 receives the first calculation result fed back by the electrical processing module 105, and modulates the feedback light to generate a first set of feedback optical signals based on the first calculation result. The result is the calculation result obtained in the previous calculation process; the first feedback optical signal and the second set of optical signals are combined and then input into the reservoir module 103; the reservoir module 103 modulates the second set of optical signals and the first set of feedback optical signals into a third set of optical signals based on the second weight; the third set of optical signals is input to the detection module 104; the detection module 104 detects the light intensity of the third set of optical signals to obtain the second calculation result; then the electrical processing module 105 feeds back the second calculation result to the feedback module 102, and the second calculation result will be used in the next calculation process.

[0058] The above describes a system functional module of the optical computing device 100. Depending on the implementation process, the optical computing device 100 can be implemented in several possible ways:

[0059] One possible implementation is as follows Figure 2 As shown, the input module 101 and the reservoir module 103 in the optical computing device 100 are composed of a multimode interference (MMI) structure.

[0060] The MMI, serving as the input module 101, includes at least one input waveguide (i.e., equivalent to...). Figure 1a or Figure 1b At least one input port of the input module 101 described herein), planar waveguide (i.e., equivalent to Figure 1a or Figure 1b The free propagation region described in the text) and at least one output waveguide (i.e., equivalent to...) Figure 1a or Figure 1b The input module 101 described herein has at least one output port; at least one modulator of the input module 101 is connected to at least one output waveguide (i.e., one modulator is connected to one output waveguide, but there are also cases where the output waveguide is not connected to a modulator); at least one input port of the feedback module 102 is connected to at least one output waveguide of the MMI (one input port of the feedback module 102 is connected to one output waveguide of the MMI, which can be a one-to-one correspondence); at least one modulator of the feedback module 102 is respectively connected to at least one input port of the feedback module 102 (i.e., one modulator is connected to one input port); at least one output port of the feedback module 102 is connected to at least one input waveguide of the MMI, which serves as the reservoir module 103 (i.e., equivalent to...). Figure 1a or Figure 1b At least one input port of the reservoir module 103 described herein is connected; at least one phase modulator of the reservoir module 103 is connected to at least one input waveguide of the MMI; the at least one input waveguide is connected to a planar waveguide (i.e., equivalent to...). Figure 1a or Figure 1b The MMI is connected to the free propagation region described in the text; at least one output waveguide of the MMI (i.e., equivalent to...) Figure 1a or Figure 1b At least one output port of the reservoir module 103 described herein is connected to at least one input port of the detection module 104; at least one detector of the detection module 104 is connected to the at least one input port (i.e., a detector is connected to the optical path corresponding to an input port); at least one output port of the detection module 104 is connected to the electrical processing module 105.

[0061] In this scheme, the MMI serving as the input module 101 can be a 1*N MMI or an N*N MMI, and the MMI serving as the reservoir module 103 is an N*N MMI. The number of modulators in the input module 101, the number of modulators in the feedback module 102, and the number of phase modulators in the reservoir module 103 does not exceed the number of output waveguides of the MMIs. Furthermore, the number of modulators in the feedback module 102 is the same as the number of input ports corresponding to the detector 104. The modulators in the input module 101 and the feedback module 102 can be MZI modulators or micro-ring modulators.

[0062] exist Figure 2 Under the illustrated structure, a specific application scenario is described: Assume the input module 101 uses a 1*100 MMI and 100 micro-ring modulators, meaning each output waveguide is connected to a micro-ring modulator; the feedback module 102 uses 100 micro-ring modulators; the reservoir module 103 uses a 100*100 MMI and 100 phase modulators, meaning each input waveguide is connected to a phase modulator; the detection module 104 uses a semiconductor optical amplifier and a detector, with the input port, semiconductor optical amplifier, detector, and output port of the detection module 104 connected sequentially; and the electrical processing module 105 uses an FPGA board. In this application scenario, assuming the first data is 4D data, the 4D data at the first moment is loaded onto four different wavelengths of signal light as the first set of optical signals. If the 1*100 MMI is optimized for 1550 nanometers (nm), then the four different wavelengths of the first set of optical signals should be selected near 1550nm, and randomly selected near the modulation wavelength of the micro-ring modulators. For example, if the micro-ring modulator has modulation wavelengths of 1534nm, 1542nm, 1550nm, and 1558nm around 1550nm, then the first wavelength in the first group of optical signals can be randomly selected around 1534nm, the second wavelength around 1542nm, the third wavelength around 1550nm, and the fourth wavelength around 1558nm. This ensures that the light intensity of these four wavelengths is random when the micro-ring modulator has no bias voltage, and its effect is as follows: Figure 3 λ1, λ2, λ3, and λ4 are shown in the figure.

[0063] At the first moment, a first set of optical signals comprising four different wavelengths and a feedback light comprising one wavelength are simultaneously input into the input waveguide of the 1*100 MMI. The five different wavelengths of light are each split into 100 paths in the output waveguide of the 1*100 MMI and enter the micro-ring modulator of each path. On the same path, the light intensity of the first set of optical signals comprising four different wavelengths is random; the bias voltage of the 100 micro-ring modulators is random, thus making the light intensity of the signal light of the same wavelength on the 100 paths random, thereby completing the modulation of the first set of optical signals to obtain the second set of optical signals. During this process, the wavelength of the feedback light is outside the modulation wavelength range of the micro-ring modulator of the input module 101, therefore the micro-ring modulator of the input module 101 does not modulate the feedback light, such as... Figure 3 As shown.

[0064] At the first moment, the input module 101 outputs 100 channels of the second set of optical signals, and then inputs the second set of optical signals and the feedback light into the input port of the feedback module 102. The feedback module 102 also receives 100 channels of electrical signals (also called the second calculation result) provided by the electrical processing module 105, wherein the second calculation result is the result calculated from the data prior to the first moment; the 100 channels of electrical signals act on the micro-ring modulator of the feedback module 102, and then the micro-ring modulator modulates the feedback light to obtain the first set of feedback optical signals (i.e., the 100 channels of modulated feedback light). The micro-ring modulator of the feedback module 102 does not modulate the second set of optical signals, such as... Figure 3 As shown.

[0065] In this structure, the feedback module 102 simultaneously inputs the first set of feedback optical signals and the second set of optical signals to the reservoir module 103. The 100 phase modulators in the reservoir module 103 modulate each optical signal and the feedback optical signal according to the modulation state, outputting multiple intermediate optical signals. These intermediate optical signals are then input into the planar waveguide (i.e., the free propagation region) of the MMI for transmission. Finally, the output waveguide of the MMI outputs a third set of optical signals (including 100 optical signals, which here include the feedback optical signal and the data-carrying optical signal).

[0066] The detection module 104 acquires the third set of optical signals, and uses the semiconductor optical amplifier and the detector to detect the light intensity of the third set of optical signals and perform nonlinear calculations to obtain the calculation result of the four-dimensional data at the first moment. At the same time, the calculation result is converted from an optical signal into an electrical signal and output to the electrical processing module 105.

[0067] In this embodiment, assuming that the 4-dimensional data is data to be classified, the electrical processing module 105 calculates the output weight using the real results of the training set and the electrical signal output by the detection module 104, and then the electrical processing module 105 calculates the classification result of the 4-dimensional data based on the output weight.

[0068] In this technical solution, the modulators in the input module and the reservoir module can adjust their modulation states to obtain different weight values ​​as needed, thereby satisfying the optimization solution for various datasets. Furthermore, to obtain more random weight values, the MMI (Mechanical Management Interface) in the input module and the reservoir module can have non-uniform beam splitting, thus allowing for greater tolerance during the fabrication of this optical computing device.

[0069] One possible implementation is as follows Figure 4 As shown, the input module 101 and the reservoir module 103 in the optical computing device 100 are composed of an arrayed waveguide grating (AWG).

[0070] The AWG, serving as the input module 101, includes at least one input waveguide (i.e., equivalent to...). Figure 1a or Figure 1b At least one input port of the input module 101 described herein), input planar waveguide region (i.e., equivalent to Figure 1a or Figure 1b The free propagation region described in the text), arrayed waveguide, and output planar waveguide region (i.e., equivalent to...) Figure 1a or Figure 1b The free propagation region described in the text) and at least one output waveguide (i.e., equivalent to...) Figure 1a or Figure 1b The input module 101 described herein has at least one output port, and at least one modulator of the input module 101 is connected to the at least one input waveguide (i.e., one modulator is connected to one input waveguide, but there are also cases where the input waveguide is not connected to the modulator); the AWG as the feedback module 102 includes at least one input waveguide (i.e., equivalent to Figure 1a or Figure 1b The feedback module 102 described herein has at least one input port, an input planar waveguide region, an arrayed waveguide, and an output planar waveguide region and at least one output waveguide (i.e., equivalent to...). Figure 1a or Figure 1b The feedback module 102 described herein has at least one output port, and at least one modulator of the feedback module 102 is connected to the at least one input waveguide (i.e., one modulator is connected to one input waveguide); the output waveguide of the input module 101 and the output waveguide of the feedback module 102 are connected to the input waveguide of the reservoir module 103; the AWG serving as the reservoir module 103 includes at least one input waveguide (i.e., equivalent to...). Figure 1a or Figure 1b At least one input port of the reservoir module 103 described herein), input planar waveguide region (i.e., equivalent to Figure 1a or Figure 1b The free propagation region described in the text), arrayed waveguide, and output planar waveguide region (i.e., equivalent to...) Figure 1a or Figure 1b The free propagation region described in the text) and at least one output waveguide (i.e., equivalent to...) Figure 1a or Figure 1b The reservoir module 103 described herein has at least one output port. At least one phase modulator of the reservoir module 103 is located on the array waveguide, although there is also a case where the array waveguide is not connected to the phase modulator. The output waveguide of the reservoir module 103 is connected to the input port of the detection module 104. At least one detector of the detection module 104 is connected to at least one input port of the detection module 104 (i.e., one detector is connected to the optical path corresponding to one input port). At least one output port of the detection module 104 is connected to the electrical processing module 105. Figure 4 In the structure shown, the input waveguide of the input module 101 is directly connected to the input waveguide of the feedback module 102. That is, the input module 101 includes 2R input waveguides, of which R input waveguides are used to receive the first set of optical signals and then input the first set of optical signals into the input planar waveguide region of the AWG, while the other R input waveguides receive feedback light and directly input the feedback light into the feedback module 102.

[0071] In this scheme, the AWG serving as the input module 101 can be an N*1 AWG structure, and the AWG structure serving as the reservoir module 103 can be a 1*N AWG structure. The number of modulators included in the input module 101 is no greater than the number of input waveguides in the AWG structure; the number of modulators included in the feedback module 102 is equal to the number of output waveguides in the reservoir module 103; and the number of phase modulators in the reservoir module 103 is no greater than the number of array waveguides in the AWG structure. The modulators in the input module 101 and the feedback module 102 can be MZI modulators, micro-ring modulators, or electro-absorption modulators.

[0072] exist Figure 4Under the illustrated structure, a specific application scenario is described: Assume the input module 101 uses a 64*1 AWG and 64 micro-ring modulators, meaning each input waveguide is connected to a micro-ring modulator; the feedback module 102 uses a 64*1 AWG and 64 micro-ring modulators; the reservoir module 103 uses a 1*64 AWG and 64 phase modulators, meaning each array waveguide is connected to a phase modulator; the detection module 104 uses a semiconductor optical amplifier and a detector, with the input port, semiconductor optical amplifier, detector, and output port of the detection module 104 connected sequentially; and the electrical processing module 105 uses an FPGA board. In this application scenario, the first data is one-dimensional data, and the first data at the first moment is simultaneously loaded onto 64 signal lights of different wavelengths as the first set of optical signals. The 64 input waveguides of the 64*1 AWG respectively input the 64 first set of optical signals of different wavelengths, meaning the 64 optical signals at the first moment are identical. It is understandable that these 64 wavelengths satisfy the wavelength design of the 64*1 AWG structure. The 64 micro-ring modulators in the input module 101 perform random intensity modulation on the first group of optical signals of 64 different wavelengths, outputting 64 channels of the second group of optical signals.

[0073] At the first moment, feedback light with the same wavelength as the first group of optical signals is transmitted to the other 64 input waveguides of the input module 101 and transmitted to the 64 input waveguides of the feedback module 102. That is, the wavelengths of the first group of optical signals input to one input waveguide of the input module 101 are λ1, λ2, λ3, and λ4, and the wavelengths of the feedback light input to one input waveguide of the feedback module 102 are λ1, λ2, λ3, and λ4. The 64 input waveguides of the feedback module 102 receive 64 channels of feedback light, and the feedback module 102 also receives 64 channels of electrical signals (also called the second calculation result) provided by the electrical processing module 105. The second calculation result is the calculation result obtained from the data before the first moment. The 64 channels of electrical signals act on the micro-ring modulator of the feedback module 102, and then the micro-ring modulator modulates the 64 channels of feedback light to obtain the first group of feedback optical signals (i.e., the 64 channels of modulated feedback optical signals).

[0074] In this structure, the output waveguide of the input module 101 outputs only the second set of optical signals, and the output waveguide of the feedback module 102 outputs only the first set of feedback optical signals. When the second set of optical signals and the first set of feedback optical signals are input to the reservoir module 103, a beam combiner is used to combine them before inputting them into the input waveguide of the reservoir module 103. The second set of optical signals and the first set of feedback optical signals pass through the input planar waveguide region to obtain a set of intermediate optical signals. The 64 phase modulators in the reservoir module 103 modulate the intermediate optical signals on each path according to the modulation state, outputting multiple intermediate optical signals. These multiple intermediate optical signals are then input into the output planar waveguide region for transmission, and finally, the output waveguide of the AWG outputs the third set of optical signals.

[0075] The detection module 104 acquires the third set of optical signals, and uses the semiconductor optical amplifier and the detector to detect the light intensity of the third set of optical signals and perform nonlinear calculations to obtain the calculation result of the four-dimensional data at the first moment. At the same time, the calculation result is converted from an optical signal into an electrical signal and output to the electrical processing module 105.

[0076] In this embodiment, assuming that the one-dimensional data is the data to be predicted, the electrical processing module 105 calculates the output weight using the real results of the training set and the electrical signal output by the detection module 104, and then the electrical processing module 105 calculates the prediction result of the one-dimensional data based on the output weight.

[0077] In this technical solution, the modulators in the input module and the reservoir module can adjust their modulation states to obtain different weight values ​​as needed, thereby satisfying the optimization solution for various datasets. Furthermore, to obtain more random weight values, the AWG used in the input module and the reservoir module can tolerate large insertion loss inhomogeneities at different wavelengths and large optical crosstalk between channels, thus allowing for greater tolerance during the fabrication of this optical computing device.

[0078] One possible implementation is as follows Figure 5 As shown, the input module 101 and the reservoir module 103 in the optical computing device 100 are composed of an arrayed waveguide grating (AWG).

[0079] The AWG, serving as the input module 101, includes at least one input waveguide (i.e., equivalent to...). Figure 1a or Figure 1b At least one input port of the input module 101 described herein), input planar waveguide region (i.e., equivalent to Figure 1a or Figure 1b The free propagation region described in the text), arrayed waveguide, and output planar waveguide region (i.e., equivalent to...) Figure 1a or Figure 1b The free propagation region described in the text) and at least one output waveguide (i.e., equivalent to...) Figure 1a or Figure 1b The input module 101 described herein has at least one output port, and at least one modulator of the input module 101 is connected to the at least one input waveguide (i.e., one modulator is connected to one input waveguide, but there are also cases where the input waveguide is not connected to the modulator); the AWG as the feedback module 102 includes at least one input waveguide (i.e., equivalent to Figure 1a or Figure 1b The feedback module 102 described herein has at least one input port, an input planar waveguide region, an arrayed waveguide, and an output planar waveguide region and at least one output waveguide (i.e., equivalent to...). Figure 1a or Figure 1b The feedback module 102 described herein has at least one output port, and at least one modulator of the feedback module 102 is connected to the at least one input waveguide (i.e., one modulator is connected to one input waveguide); the output waveguide of the input module 101 and the output waveguide of the feedback module 102 are connected to the input waveguide of the reservoir module 103; the AWG serving as the reservoir module 103 includes at least one input waveguide (i.e., equivalent to...). Figure 1a or Figure 1b At least one input port of the reservoir module 103 described herein), input planar waveguide region (i.e., equivalent to Figure 1a or Figure 1b The free propagation region described in the text), arrayed waveguide, and output planar waveguide region (i.e., equivalent to...) Figure 1a or Figure 1b The free propagation region described in the text) and at least one output waveguide (i.e., equivalent to...) Figure 1a or Figure 1b The reservoir module 103 described herein has at least one output port. At least one phase modulator of the reservoir module 103 is located on the array waveguide, although there is also a case where the array waveguide is not connected to the phase modulator. The output waveguide of the reservoir module 103 is connected to the input port of the detection module 104. At least one detector of the detection module 104 is connected to at least one input port of the detection module 104 (i.e., one detector is connected to the optical path corresponding to one input port). At least one output port of the detection module 104 is connected to the electrical processing module 105. Figure 5 In the structure shown, the input module 101 and the feedback module 102 are independent. That is, the input module 101 includes R input waveguides for receiving the first set of optical signals and then inputting the first set of optical signals into the input planar waveguide region of the AWG; the feedback module 102 includes R input waveguides for receiving feedback light.

[0080] In this scheme, the AWG serving as the input module 101 can be an N*1 AWG structure, and the AWG structure serving as the reservoir module 103 can be a 1*N AWG structure. The number of modulators included in the input module 101 is no greater than the number of input waveguides in the AWG structure; the number of modulators included in the feedback module 102 is equal to the number of output waveguides in the reservoir module 103; and the number of phase modulators in the reservoir module 103 is no greater than the number of array waveguides in the AWG structure. The modulators in the input module 101 and the feedback module 102 can be MZI modulators, micro-ring modulators, or electro-absorption modulators.

[0081] exist Figure 5 Under the illustrated structure, a specific application scenario is described: Assume the input module 101 uses a 64*1 AWG and 64 micro-ring modulators, meaning each input waveguide is connected to a micro-ring modulator; the feedback module 102 uses a 64*1 AWG and 64 micro-ring modulators; the reservoir module 103 uses a 1*64 AWG and 64 phase modulators, meaning each array waveguide is connected to a phase modulator; the detection module 104 uses a semiconductor optical amplifier and a detector, with the input port, semiconductor optical amplifier, detector, and output port of the detection module 104 connected sequentially; and the electrical processing module 105 uses an FPGA board. In this application scenario, the first data is one-dimensional data, and the first data at the first moment is simultaneously loaded onto 64 signal lights of different wavelengths as the first set of optical signals. The 64 input waveguides of the 64*1 AWG respectively input the 64 first set of optical signals of different wavelengths, meaning the 64 optical signals at the first moment are identical. It is understandable that these 64 wavelengths satisfy the wavelength design of the 64*1 AWG structure. The 64 micro-ring modulators in the input module 101 perform random intensity modulation on the first group of optical signals of 64 different wavelengths, outputting 64 channels of the second group of optical signals.

[0082] At the first moment, feedback light with the same wavelength as the first set of optical signals is input to the 64 input waveguides of the feedback module 102 (i.e., the wavelengths of the first set of optical signals input to one input waveguide of the input module 101 are λ1, λ2, λ3, and λ4, then the wavelengths of the feedback light input to one input waveguide of the feedback module 102 are λ1, λ2, λ3, and λ4). The 64 input waveguides of the feedback module 102 receive 64 channels of feedback light, and the feedback module 102 also receives 64 channels of electrical signals (also called the second calculation result) provided by the electrical processing module 105. The second calculation result is the result calculated from the data before the first moment. The 64 channels of electrical signals act on the micro-ring modulator of the feedback module 102, and then the micro-ring modulator modulates the 64 channels of feedback light to obtain the first set of feedback optical signals (i.e., the 64 channels of modulated feedback optical signals).

[0083] In this structure, the input module 101 outputs only the second set of optical signals, and the feedback module 102 outputs only the first set of feedback optical signals. When the second set of optical signals and the first set of feedback optical signals are input to the reservoir module 103, a beam combiner is used to combine them before inputting them into the input waveguide of the reservoir module 103. The second set of optical signals and the first set of feedback optical signals pass through the input planar waveguide region to obtain a set of intermediate optical signals. The 64 phase modulators in the reservoir module 103 modulate the intermediate optical signals on each path according to the modulation state, outputting multiple intermediate optical signals. These multiple intermediate optical signals are then input into the output planar waveguide region for transmission, and finally, the output waveguide of the AWG outputs the third set of optical signals.

[0084] The detection module 104 acquires the third set of optical signals, and uses the semiconductor optical amplifier and the detector to detect the light intensity of the third set of optical signals and perform nonlinear calculations to obtain the calculation result of the four-dimensional data at the first moment. At the same time, the calculation result is converted from an optical signal into an electrical signal and output to the electrical processing module 105.

[0085] In this embodiment, assuming that the one-dimensional data is the data to be predicted, the electrical processing module 105 calculates the output weight using the real results of the training set and the electrical signal output by the detection module 104, and then the electrical processing module 105 calculates the prediction result of the one-dimensional data based on the output weight.

[0086] In this technical solution, the modulators in the input module and the reservoir module can adjust their modulation states to obtain different weight values ​​as needed, thereby satisfying the optimization solution for various datasets. Furthermore, to obtain more random weight values, the AWG used in the input module and the reservoir module can tolerate large insertion loss inhomogeneities at different wavelengths and large optical crosstalk between channels, thus allowing for greater tolerance during the fabrication of this optical computing device.

[0087] Based on the above schemes, it can be seen that, regardless of whether it is the MMI structure or the AWG structure, the number of active devices is linearly related to the number of output waveguides of the reservoir module, so the number of active devices is relatively small.

[0088] This application embodiment also provides an optical computing system 600, which includes a processor 601 and the aforementioned FIG1a or... Figures 1b to 5The optical computing device 100 is shown. The processor 601 is used to input the first data into the optical computing device 100. The processor 601 can be an electrical processing module within the optical computing device 100; that is, the electrical processing module can also be used to input the first data into the optical computing device. In this embodiment, the processor can be a CPU, a microprocessor, an ASIC, or one or more integrated circuits used to control the execution of programs for the aforementioned data transmission methods.

[0089] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working process of the optical computing device, apparatus and unit described above can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0090] In the several embodiments provided in this application, it should be understood that the disclosed optical computing devices, apparatuses, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another computing device, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, indirect coupling or communication connection between devices or units, and may be electrical, mechanical, or other forms.

[0091] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0092] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0093] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

Claims

1. An optical computing device, characterized in that, include: The input module is used to calculate the second set of optical signals based on the first set of input optical signals with a first weight, wherein the first set of optical signals is used to carry the first data to be calculated. The feedback module is used to modulate the feedback light based on the first calculation result to obtain a first set of feedback light signals. The first calculation result is the calculation result of the second data, and the second data is the data processed before processing the first data. A reservoir module includes at least one free propagation region and at least one phase modulator. The reservoir module is used to perform optical field coupling between the first set of feedback optical signals and the second set of optical signals through the at least one free propagation region, and to perform phase modulation between the first set of feedback optical signals and the second set of optical signals based on a second weight through the at least one phase modulator to obtain a third set of optical signals. The detection module is used to detect the light intensity of the third set of optical signals and obtain the second calculation result.

2. The optical computing device according to claim 1, characterized in that, Also includes: An electrical processing module is used to send the second calculation result to the feedback module.

3. The optical computing device according to claim 1 or 2, characterized in that, The reservoir module includes: At least one phase modulator and a first multimode interference structure, wherein the at least one phase modulator is connected to at least one input waveguide of the first multimode interference structure; The at least one phase modulator is used to adjust the phase of the first group of feedback optical signals and the second group of optical signals based on the second weight to obtain a plurality of first intermediate optical signals; The first multimode interference structure is used to receive the plurality of first intermediate optical signals and output the plurality of first intermediate optical signals as the third set of optical signals based on the planar waveguide.

4. The optical computing device according to claim 3, characterized in that, The input module includes: A second multimode interference structure and a plurality of first modulators, wherein the plurality of first modulators are connected to a plurality of output waveguides of the second multimode interference structure; The second multimode interference structure is used to receive the first group of optical signals, which includes multiple optical signals of different wavelengths, and to split the first group of optical signals into multiple groups of second intermediate optical signals, each group of second intermediate optical signals including the multiple optical signals of different wavelengths. The plurality of first modulators are used to modulate the plurality of second intermediate optical signals based on the first weight to obtain the second set of optical signals.

5. The optical computing device according to claim 4, characterized in that, The second multimode interference structure includes a 1*N multimode interference structure or an N*N multimode interference structure.

6. The optical computing device according to claim 3, characterized in that, The feedback module includes: Multiple second modulators are used to load the first calculation results onto the feedback light to obtain the first set of feedback light signals.

7. The optical computing device according to claim 1 or 2, characterized in that, The input module includes: A plurality of third modulators and a first arrayed waveguide grating, wherein the plurality of third modulators are connected to a plurality of input waveguides of the first arrayed waveguide grating; The plurality of third modulators are used to receive the first group of optical signals and modulate the first group of optical signals based on the first weight to obtain a plurality of third intermediate optical signals. The first arrayed waveguide grating receives the plurality of third intermediate optical signals and outputs the third intermediate optical signals as the second set of optical signals based on the planar waveguide transmission.

8. The optical computing device according to claim 7, characterized in that, The reservoir module includes: At least one phase modulator and a second arrayed waveguide grating, wherein the at least one phase modulator is located on the arrayed waveguide of the second arrayed waveguide grating; The second arrayed waveguide grating is used to receive the first set of feedback optical signals and the second set of optical signals, and to output the first set of feedback optical signals and the second set of optical signals as multiple fourth intermediate optical signals based on the planar waveguide transmission. The at least one phase modulator is used to modulate the phase of the plurality of fourth intermediate optical signals based on the second weight to obtain a plurality of fifth intermediate optical signals; The second arrayed waveguide grating is also used to transmit and output the plurality of fifth intermediate optical signals as the third set of optical signals based on the planar waveguide.

9. The optical computing device according to claim 7, characterized in that, The feedback module includes: Multiple fourth modulators and a third arrayed waveguide grating, wherein the multiple fourth modulators are connected to multiple input waveguides of the third arrayed waveguide grating; The plurality of fourth modulators are used to load the first calculation result onto the feedback light to obtain a first set of modulated signals; The third arrayed waveguide grating is used to receive the first set of modulation signals and output the first set of modulation signals as the first set of feedback optical signals based on the planar waveguide transmission.

10. The optical computing device according to claim 1, characterized in that, The detection module includes: a semiconductor optical amplifier and a semiconductor photodetector; The semiconductor optical amplifier and the semiconductor photodetector are used to detect the light intensity of the third set of optical signals and obtain the second calculation result; or, The detection module includes a semiconductor photodetector; The semiconductor photodetector is used to detect the light intensity of the third set of optical signals and obtain the second calculation result.

11. The optical computing device according to claim 1, characterized in that, Also includes: A light source array, wherein a first light source device in the light source array is used to receive the first data and generate the first set of optical signals based on the first data; The second light source device in the light source array is used to emit the feedback light.

12. The optical computing device according to claim 1, characterized in that, The computing device includes a chip.

13. An optical computing system, characterized in that, The processor and the optical computing device as described in any one of claims 1-12, wherein the processor is configured to input the first data into the optical computing device.