Optical matrix multiplication chip and optical matrix multiplication method
Through the optical matrix multiplication operation chip, the matrix multiplication operation is performed using the data input, multimode interference and amplitude phase regulation module of the optical matrix multiplication operation chip, which solves the bandwidth, delay and energy consumption bottlenecks of traditional computers when processing big data, and realizes efficient and low-latency optical matrix operation.
Patent Information
- Application Number
- CN202311367942.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-20
- Publication Date
- 2025-04-22
AI Technical Summary
Traditional power-based computers face bottlenecks such as bandwidth, delay and energy consumption when processing big data, and cannot meet the needs of efficiently processing big data.
The optical matrix multiplication operation chip is adopted to load the matrix to be calculated onto the amplitude or phase of light through the data input module, and the matrix multiplication operation is performed using the multimode interference module and the amplitude phase regulation module. Finally, wave decomposition and photoelectric conversion are performed through the data output module to obtain the calculation results.
It realizes high-efficiency and low-latency optical matrix computing, and takes advantage of the advantages of large bandwidth and high speed, reducing the difficulty and cost of chip production.
Smart Images

Figure CN119862356A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of optical computing, and in particular to an optical matrix multiplication operation chip and an optical matrix multiplication operation method. Background Art
[0002] Matrix operations are important and meaningful in many fields, especially in data processing, numerical computing, and machine learning. With the rapid development of today's society, the amount of data that needs to be processed has grown explosively, but traditional electrical computers are facing bottlenecks such as bandwidth, latency, and energy consumption. Therefore, the fact that traditional computers are gradually unable to meet the requirements of efficient processing of big data has become an urgent problem to be solved. Summary of the invention
[0003] In view of the above problems, the present disclosure provides an optical matrix multiplication operation chip and an optical matrix multiplication operation method.
[0004] One aspect of the present disclosure provides an optical matrix multiplication operation chip, including: a data input module, used to load the matrix to be operated onto the amplitude or phase of light, and output a first optical signal; a multi-mode interference module, used to distribute the power and phase of the first optical signal, and output a second optical signal; an amplitude and phase control module, used to control the amplitude and phase of the second optical signal, and output a third optical signal; a data output module, used to perform wavelength division multiplexing and optoelectronic conversion on the third optical signal, and obtain the operation result of the matrix to be operated.
[0005] According to an embodiment of the present disclosure, the data input module includes: a laser array, used to output a first laser with multiple wavelengths; a modulator array, used to load the matrix to be operated onto the amplitude and phase of the first laser, and output a second laser; wherein one data information in the matrix to be operated corresponds to a second laser with one wavelength; and a beam combiner array, used to combine the second laser with multiple wavelengths into one beam, and output a first optical signal.
[0006] According to an embodiment of the present disclosure, the amplitude and phase control module includes: a phase modulator array, including multiple phase modulators, used to control the phase of the second optical signal to obtain a third optical signal; or, an intensity modulator array, including multiple intensity modulators; used to control the amplitude of the second optical signal to obtain a third optical signal; or, multiple phase modulators and multiple intensity modulators, used to control the amplitude and phase of the second optical signal to obtain a third optical signal.
[0007] According to an embodiment of the present disclosure, the data output module includes: a wavelength division multiplexing device for performing division multiplexing on the third optical signal; and a photoelectric detector for performing photoelectric conversion on the third optical signal after division multiplexing to obtain the operation result of the matrix to be operated.
[0008] According to an embodiment of the present disclosure, each WDM device includes a plurality of output ports.
[0009] According to an embodiment of the present disclosure, the optical matrix multiplication chip further includes: a photoelectric amplifier for compensating the power of the first optical signal, the second optical signal, and the third optical signal.
[0010] Another aspect of the present disclosure provides an optical matrix multiplication method, including: loading the matrix to be operated onto the amplitude or phase of light, and outputting a first optical signal; respectively distributing the power and phase of the first optical signal, and outputting a second optical signal; respectively regulating the amplitude and phase of the second optical signal, and outputting a third optical signal; and respectively performing wavelength division multiplexing and optoelectronic conversion on the third optical signal, and obtaining the operation result of the matrix to be operated.
[0011] According to an embodiment of the present disclosure, the matrix to be operated includes a first operation matrix and a second operation matrix, and the first operation matrix is loaded onto the amplitude or phase of light.
[0012] According to an embodiment of the present disclosure, the process of redistributing the power and phase of the first optical signal is represented as a first transmission matrix, and the process of adjusting the amplitude and phase of the second optical signal is represented as a second transmission matrix. The second operation matrix is obtained by multiplying the first transmission matrix and the second transmission matrix.
[0013] According to an embodiment of the present disclosure, the operation result of the matrix to be operated is the result of multiplying the first operation matrix by the second operation matrix.
[0014] At least one of the above-mentioned technical solutions adopted in the embodiments of the present disclosure includes at least the following beneficial effects: in the present disclosure, the transmission-and-processing characteristics of the optical computing architecture are adopted, and the advantages of the bandwidth, high speed and low latency of the optical large-scale data center are utilized to realize efficient and low-latency optical matrix operations; in the present disclosure, a modulator array and a multi-mode interference module are used to load the matrix, which reduces the difficulty and cost of chip manufacturing. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] For a more complete understanding of the present disclosure and its advantages, reference will now be made to the following description taken in conjunction with the accompanying drawings, in which:
[0016] Figure 1 The overall structure diagram of the optical matrix multiplication chip provided by the embodiment of the present disclosure is schematically shown;
[0017] Figure 2 The structure diagram of the data input module of the optical matrix multiplication chip provided by the embodiment of the present disclosure is schematically shown;
[0018] Figure 3The schematic diagram shows the structure of a single wavelength division multiplexing device of a data output module provided by an embodiment of the present disclosure;
[0019] Figure 4 The overall structure diagram of an optical matrix multiplication chip provided by another embodiment of the present disclosure is schematically shown;
[0020] Figure 5 The flowchart of the optical matrix multiplication method provided by the embodiment of the present disclosure is schematically shown.
[0021] [Description of Reference Numerals]
[0022] 1. Data input module; 2. Multimode interference module; 3. Amplitude and phase control module; 4. Data output module; 11. Laser array; 12. Modulator array; 13. Combiner array; 41. Wavelength division multiplexing device; 2a. First multimode interference module; 2b. Second multimode interference module. DETAILED DESCRIPTION
[0023] In order to make the purpose, technical solutions and advantages of the present disclosure more clearly understood, the present disclosure is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, rather than all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without creative work are within the scope of protection of the present disclosure.
[0024] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0025] In the present disclosure, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.
[0026] In the description of the present disclosure, it is necessary to understand that the terms "longitudinal", "length", "circumferential", "front", "rear", "left", "right", "top", "bottom", "inside", "outside", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the accompanying drawings, and are only for the convenience of describing the present disclosure and simplifying the description, and do not indicate or imply that the subsystem or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present disclosure.
[0027] Throughout the drawings, the same elements are represented by the same or similar reference numerals. Conventional structures or configurations will be omitted when they may cause confusion in the understanding of the present disclosure. The shapes, sizes, and positional relationships of the components in the drawings do not reflect the actual size, proportion, and actual positional relationship. In addition, in the claims, any reference symbol between brackets shall not be construed as a limitation to the claims.
[0028] Similarly, in order to simplify the present disclosure and help understand one or more of the various disclosed aspects, in the above description of the exemplary embodiments of the present disclosure, the various features of the present disclosure are sometimes grouped together into a single embodiment, figure, or description thereof. The description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" and the like means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0029] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the feature. In the description of the present disclosure, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0030] Matrix operations are important and meaningful in many fields, especially in data processing, numerical computing, and machine learning. With the rapid development of today's society, the amount of data that needs to be processed has grown explosively, but traditional electrical computers are facing bottlenecks such as bandwidth, latency, and energy consumption. Therefore, the fact that traditional computers are gradually unable to meet the requirements of efficient processing of big data has become an urgent problem to be solved.
[0031] In order to solve the above problems, the present disclosure provides an optical matrix multiplication chip. Figure 1The overall structural diagram of the optical matrix multiplication chip provided by an embodiment of the present disclosure is schematically shown.
[0032] like Figure 1 As shown, the optical matrix multiplication operation chip may include, for example: a data input module 1, used to load the matrix to be operated onto the amplitude or phase of light, and output a first optical signal; a multimode interference module 2, used to distribute the power and phase of the first optical signal, and output a second optical signal; an amplitude and phase control module 3, used to adjust the amplitude and phase of the second optical signal, and output a third optical signal; a data output module 4, used to perform wavelength division multiplexing and optoelectronic conversion on the third optical signal, and obtain the operation result of the matrix to be operated.
[0033] In an embodiment of the present disclosure, a first optical signal includes N channels, power and phase of the first optical signals of the N channels are respectively distributed, and a second optical signal including N channels is output; the amplitude and phase of the second optical signals of the N channels are respectively adjusted, and a third optical signal including N channels is output; wavelength division multiplexing and optoelectronic conversion are performed on the third optical signals of the N channels to obtain a calculation result of a matrix to be calculated; wherein N is a positive integer.
[0034] In the embodiment of the present disclosure, the first optical signal, the second optical signal and the third optical signal all include optical signals of N wavelengths in each channel. Specifically, one wavelength corresponds to one data information in the matrix to be operated, and the N wavelengths included in one channel correspond to one row / column of data information in the matrix to be operated.
[0035] The present invention adopts the transmission-and-processing characteristics of the optical computing architecture and utilizes the advantages of Guangda's bandwidth, high speed and low latency to achieve efficient and low-latency optical matrix operations.
[0036] Figure 2 The structure diagram of the data input module of the optical matrix multiplication chip provided by the embodiment of the present disclosure is schematically shown. Figure 2 The data input module 1 includes: a laser array 11, which is used to output a first laser with N×N wavelengths; a modulator array 12, which is used to load the first operation matrix onto the amplitude and phase of the first laser and output a second laser; a beam combiner array 13, which is used to combine the second laser with N wavelengths into one beam and output a first optical signal containing N channels and N wavelengths for each channel; wherein the N wavelengths combined into one beam represent a column in the first operation matrix.
[0037] In the disclosed embodiment, the modulator array 12 includes N×N modulators, and modulates the first lasers of N×N wavelengths respectively according to the N×N values in the first operation matrix, so as to load the first operation matrix onto the amplitude or phase of the light and output the second laser. The beam combiner array 13 includes N optical beam combiners, which are used to combine the second lasers of N wavelengths in the same column of data in the first operation matrix into one beam, and output a first optical signal containing N channels, and the first optical signal in each channel contains N wavelengths. Among them, the first operation matrix loaded onto the amplitude or phase of the light can be expressed as:
[0038]
[0039] One column of the first operation matrix A is represented by one channel of the first optical signal.
[0040] The multimode interference module 2 is used to redistribute the power and phase of the first optical signal to obtain a second optical signal containing N channels. The process of redistributing the power and phase of the first optical signal is represented by the first transmission matrix M as follows:
[0041]
[0042] Among them, m ab Represents the response of the multimode interference module from input channel b to output channel a
[0043] In the embodiment of the present disclosure, the multi-mode interference module 2 may be a multi-mode interference coupler. In some other embodiments of the present disclosure, a multi-mode interference device of a control unit may also be added to the interference region.
[0044] The amplitude and phase control module 3 includes: a phase modulator array, including N phase modulators, used to control the phase of the second optical signal containing N channels to obtain a third optical signal containing N channels; or, an intensity modulator array, including N intensity modulators; used to control the amplitude of the second optical signal containing N channels to obtain a third optical signal containing N channels; or, N phase modulators and N intensity modulators, used to control the amplitude and phase of the second optical signal containing N channels to obtain a third optical signal containing N channels.
[0045] Specifically, the process of adjusting the amplitude and phase of the second optical signal is expressed by the second transmission matrix Φ as follows:
[0046]
[0047] in, Represents the response of the Nth channel in the amplitude and phase control module 3.
[0048] In the embodiment of the present disclosure, the multi-mode interference module 2 and the amplitude-phase control module 3 jointly realize the loading of the second operation matrix. The realized second operation matrix depends on the cascade order of the multi-mode interference module 2 and the amplitude-phase control module 3. The second operation matrix B is expressed as B=Φ⊙M, where ⊙ represents the multiplication of the elements in the corresponding positions in the two matrices.
[0049] The data output module 4 includes: N wavelength division multiplexing devices 41, which are used to perform wavelength division multiplexing on the third optical signal containing N channels into N×N sub-channels; N×N photoelectric detectors, which are used to perform photoelectric conversion on the third optical signal of the N×N sub-channels, and sum the N incoherent wavelengths in each sub-channel to obtain the operation result of the matrix to be operated. Specifically, the result of the matrix to be operated is B×A.
[0050] Figure 3 The schematic diagram shows the structure of a single wavelength division multiplexing device of a data output module provided by an embodiment of the present disclosure. Figure 3 As shown, each wavelength division multiplexing device 41 includes N output ports. At the same time, each channel of the third optical signal includes optical signals of N×N wavelengths.
[0051] Specifically, the amplitude and phase of each wavelength in each subchannel of the wavelength division multiplexing device 41 are the results of multiplying an element in the first operation matrix A by the second operation matrix B, and the output results of the N×N subchannels of the wavelength division multiplexing device 41 jointly obtain the operation results of the matrix to be operated.
[0052] The embodiment of the present disclosure further includes: an optical amplifier, which is used to compensate the power of the first optical signal, the second optical signal and the third optical signal. The optical amplifier can be cascaded at any position of the optical matrix multiplication chip.
[0053] In some other embodiments of the present disclosure, multiple multi-mode interference modules 2 and multiple amplitude and phase control modules 3 can be cascaded between the data input module 1 and the data output module 4, as long as the calculation result of the matrix to be calculated can be obtained, and no limitation is made here.
[0054] The present disclosure adopts the modulator array 12 and the multi-mode interference module 2 to load the matrix, which reduces the difficulty and cost of chip production.
[0055] Figure 4 The overall structure diagram of an optical matrix multiplication chip provided by another embodiment of the present disclosure is schematically shown. Figure 4 As shown, this embodiment includes two multimode interference modules 2, namely a first multimode interference module 2a and a second multimode interference module 2b, and also includes an amplitude and phase control module 3, which is cascaded between the first multimode interference module 2a and the second multimode interference module 2b.
[0056] Another aspect of the present disclosure provides an optical matrix multiplication method. Figure 5 The flowchart of the optical matrix multiplication method provided by the embodiment of the present disclosure is schematically shown.
[0057] like Figure 5 As shown, the optical matrix multiplication method includes:
[0058] In operation S101, a first operation matrix is loaded onto the amplitude or phase of light, and a first optical signal is output.
[0059] In operation S102, power and phase are respectively allocated to the first optical signal, and a second optical signal is output.
[0060] In operation S103, the amplitude and phase of the second optical signal are adjusted respectively to complete loading of the second operation matrix and output a third optical signal.
[0061] In operation S104, wavelength division multiplexing and photoelectric conversion are performed on the third optical signal to obtain a calculation result of the matrix to be calculated.
[0062] Specifically, the matrix to be operated includes a first operation matrix and a second operation matrix, and the first operation matrix is loaded on the amplitude or phase of light. The process of redistributing the power and phase of the first optical signal to obtain the second optical signal is represented as the first transmission matrix M, the process of adjusting the amplitude and phase of the second optical signal to obtain the third optical signal is represented as the second transmission matrix Φ, and the second operation matrix is represented as Φ⊙ M. The operation result of the matrix to be operated is the result of multiplying the first operation matrix by the second operation matrix.
[0063] It should be noted that the embodiment of the optical matrix multiplication operation method corresponds to the embodiment of the optical matrix multiplication operation chip. Its specific implementation details and the technical effects brought about are similar to or the same as those of the embodiment of the optical matrix multiplication operation chip, and will not be repeated here.
[0064] The specific embodiments described above further illustrate the technical solutions of the present disclosure in detail. It should be understood that the above description is only a specific embodiment of the present disclosure and is not intended to limit the present disclosure. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present disclosure should be included in the protection scope of the present disclosure.
Claims
1. An optical matrix multiplication chip, characterized in that: include: A data input module (1) is used to load the matrix to be operated onto the amplitude or phase of light and output a first optical signal; A multimode interference module (2), used for distributing the power and phase of the first optical signal and outputting a second optical signal; an amplitude and phase control module (3), used for controlling the amplitude and / or phase of the second optical signal and outputting a third optical signal; The data output module (4) is used to perform wavelength division multiplexing and photoelectric conversion on the third optical signal to obtain the operation result of the matrix to be operated.
2. The optical matrix multiplication chip according to claim 1, characterized in that: The data input module comprises: A laser array (11) for outputting a first laser with multiple wavelengths; A modulator array (12) is used to load the matrix to be operated onto the amplitude and / or phase of the first laser and output a second laser; wherein one piece of data information in the matrix to be operated corresponds to one wavelength of the second laser; The beam combiner array (13) is used to combine the second lasers having multiple wavelengths into one beam and output the first optical signal.
3. The optical matrix multiplication chip according to claim 1, characterized in that: The amplitude and phase control module comprises: a phase modulator array, comprising a plurality of phase modulators, for adjusting the phase of the second optical signal to obtain the third optical signal; Or, an intensity modulator array, comprising a plurality of intensity modulators; used to adjust the amplitude of the second optical signal to obtain the third optical signal; Or, a plurality of phase modulators and a plurality of intensity modulators are used to adjust the amplitude and phase of the second optical signal to obtain the third optical signal.
4. The optical matrix multiplication chip according to claim 1, characterized in that: The data output module comprises: A wavelength division multiplexing device (41), used for performing division multiplexing on the third optical signal; The photoelectric detector is used to perform photoelectric conversion on the third optical signal after demultiplexing to obtain the operation result of the matrix to be operated.
5. The optical matrix multiplication chip according to claim 4, characterized in that: Each of the wavelength division multiplexing devices comprises a plurality of output ports.
6. The optical matrix multiplication chip according to claim 1, characterized in that: The optical matrix multiplication chip also includes: An optical amplifier is used to compensate the power of the first optical signal, the second optical signal and the third optical signal.
7. An optical matrix multiplication operation method, applicable to the optical matrix multiplication operation chip according to any one of claims 1 to 6, characterized in that: include: Loading the first operation matrix onto the amplitude or phase of light, and outputting a first optical signal; Distributing power and phase of the first optical signal and outputting a second optical signal; regulating the amplitude and phase of the second optical signal, completing the loading of the second operation matrix, and outputting a third optical signal; The third optical signal is subjected to wavelength division multiplexing and photoelectric conversion to obtain a calculation result of the matrix to be calculated.
8. The optical matrix multiplication method according to claim 7, characterized in that: The process of redistributing the power and phase of the first optical signal to obtain the second optical signal is represented as a first transmission matrix, the process of adjusting the amplitude and phase of the second optical signal to obtain the third optical signal is represented as a second transmission matrix, and the second operation matrix is obtained by multiplying the first transmission matrix and the second transmission matrix.
9. The optical matrix multiplication method according to claim 8, characterized in that: The operation result of the matrix to be operated is the result of multiplying the first operation matrix by the second operation matrix.