Optical deep neural network chip

By designing an optical deep neural network chip based on the time domain in optical computing technology, and using multiple modulators and nonlinear unit areas to cascade to build a multi-layer neural network, we solve the problem of the small number of deep neural network layers and the computational scale in the existing technology. It solves the problem of poor scalability, achieves high-throughput computing and real-time training, and is suitable for complex neural network applications.

CN118551818AActive Publication Date: 2024-08-27HUAZHONG UNIV OF SCI & TECH

Patent Information

Application Number
CN202410859848.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-08-27
Estimated Expiration
2044-06-28

AI Technical Summary

Technical Problem

Existing optical computing technology is difficult to realize the complete architecture of deep multi-layer neural networks and large-scale optical neural networks, and the circuits that control weights are too complex, making it difficult to expand the number of network layers.

Method used

Design an optical deep neural network chip based on time domain, by sequentially connecting the optical signal input area, input data modulator area, convolution weight modulator area, nonlinear unit area, pooling modulator area, and fully connected weight modulator area, nonlinear unit area, high-speed photodetector area and time domain integrator area to realize the calculation of multi-layer deep optical neural network, using multiple modulators and optical nonlinear unit areas to cascade to build a convolution layer, pooling layer and fully connected layer network.

Benefits of technology

It realizes more complete neural network functions, can realize large-scale high-throughput calculations in the time dimension, adapts to complex neural network application scenarios, solves the problem that traditional optical computing can only cope with a single simple calculation, and realizes it through real-time weight replacement Online training reduces calculation errors caused by process errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118551818A
    Figure CN118551818A
Patent Text Reader

Abstract

The invention discloses an optical deep neural network chip based on a time domain, and belongs to the technical field of optical computing. The invention discloses an optical deep neural network chip based on a time domain. The optical deep neural network chip comprises an optical signal input region, an input data modulator region, a convolution weight modulator region, a first optical nonlinear unit region, a pooling modulator region, a full-connection weight modulator region, a second optical nonlinear unit region, a high-speed photoelectric detector region and a time domain integrator region which are connected in sequence. The optical deep neural network chip comprises three functions of convolution, pooling and full connection in a classic convolutional neural network, and covers an input layer, a hidden layer and an output layer in a deep network; a plurality of optical nonlinear unit areas are cascaded to realize a multilayer deep optical neural network, and large-scale high-throughput optical calculation is realized through a time dimension. The method is suitable for the optical calculation fields of artificial intelligence large model training, semantic segmentation, image recognition, medical instrument modeling and imaging and the like.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of optical computing technology, and more specifically, relates to an optical deep neural network chip. Background Art

[0002] Optical computing has attracted much attention as a frontier field of interdisciplinary optics and computational science, using the multidimensional characteristics of light to realize complex information processing. With the development of artificial intelligence, AI large models, medical imaging and other technologies, there is an urgent need for high-speed and high-dimensional computing. The parallel processing capability of optical computing accelerates large-scale neural network training and improves the processing speed of AI large models, neural networks, etc. The field of optical computing not only promotes the advancement of computer technology, but also provides huge potential for scientific research and application innovation, and promotes social progress.

[0003] Most of the current mainstream optical computing only realizes the functions of simple single-layer neural networks. Although optical computing based on free-space diffraction has achieved a large scale, the development trend of high-speed computing is integration, miniaturization and high energy efficiency. In addition, optical computing based on free-space diffraction is difficult to achieve engineering alignment between layers, and it is difficult to realize a complete neural network architecture with deep multi-layer networks.

[0004] The current chip-integrated optical neural network is difficult to realize a large-scale optical neural network with deep network because the circuits controlling the weights are too complex. The optical neural network based on the time domain expands the dimension of input information and the dimension of the computing network in the time dimension, realizing large-scale high-throughput computing; but the deep neural network with multi-layer network has not yet been realized. Therefore, how to increase the number of network layers of optical deep neural network is of great research significance. Summary of the invention

[0005] In view of the defects of the related art, the purpose of the present invention is to provide an optical deep neural network chip, aiming to solve the problems of poor scalability of optical neural networks and small depth of multiple network layers.

[0006] To achieve the above object, the present invention provides an optical deep neural network chip based on time domain, comprising:

[0007] An optical signal input area, used for generating an optical signal;

[0008] The input data modulator area, as the input layer of the optical neural network, is used to modulate the source data calculation information and load it onto the optical signal input by the optical signal input area;

[0009] A convolution weight modulator area, as a convolution layer of the optical neural network, is used to weight and multiply the optical signal output by the input data modulator area to obtain convolution data;

[0010] A first optical nonlinear unit area is used to perform nonlinear processing on the convolved data and nonlinearly activate the optical neural network;

[0011] A pooling modulator region, as a pooling layer of the optical neural network, for pooling the optical signal loaded with convolution weights output by the first optical nonlinear unit region;

[0012] A fully connected weight modulator area, as a fully connected layer of the optical neural network, is used to weight and multiply the pooled optical signal;

[0013] The second optical nonlinear unit area is used to perform nonlinear processing on the fully connected optical signal and nonlinearly activate the optical neural network;

[0014] A high-speed photoelectric detector region, used for converting the optical signal output by the optical nonlinear unit region into an electrical signal;

[0015] The time domain integrator area is used to accumulate and sum the electrical signals output by the high-speed photodetector area at different times in the time domain and output them.

[0016] Optionally, the optical signal input area includes a laser or a laser array.

[0017] Optionally, the input data modulator region comprises a first modulator, the first modulator being used to modulate optical information by interference, resonance or absorption;

[0018] The convolution weight modulator section includes a second modulator for assigning and multiplying weights by interference, resonance, or absorption;

[0019] The pooling modulator area includes a third modulator, and the third modulator is used for pooling by interference, resonance or absorption; the pooling method includes setting a preset weight to screen fixed elements or average pooling, wherein the preset weight is 0, 1 or 1 / N, and N represents N elements to be pooled;

[0020] The fully connected weight modulator section includes a fourth modulator for distributing and multiplying weights by interference, resonance or absorption.

[0021] Optionally, the first modulator, the second modulator, the third modulator and the fourth modulator are all the same.

[0022] Optionally, the first optical nonlinear unit region and the second optical nonlinear unit region both use saturation absorption or anti-saturation absorption to nonlinearly activate the optical neural network.

[0023] Optionally, the high-speed photodetector region uses a germanium-silicon photodetector with epitaxial germanium on silicon.

[0024] Optionally, the time domain integrator area is a time domain integrator based on an analog amplifier, the integration circuit of the analog amplifier is used to sample the current output by the high-speed photodetector area, the capacitor of the analog amplifier is used to accumulate charge for charging, and the completion of the capacitor charging to the completion of the release is an integration process.

[0025] Optionally, RC parameters of the integration circuit of the analog amplifier are used to adjust the integration time.

[0026] Compared with the prior art, the above technical solution conceived by the present invention can achieve the following beneficial effects:

[0027] 1. The embodiment of the present invention provides an optical deep neural network chip based on the time domain, which constructs an optical neural network with a multi-layer network through the cascade of modulators, and realizes large-scale high-throughput optical computing through the time dimension; multiple modulators and optical nonlinear unit areas are cascaded to realize a multi-layer deep optical neural network with a convolution layer, a pooling layer and a fully connected layer, and each convolution layer and fully connected layer is activated through the optical nonlinear unit area. Compared with the existing optical computing chips, the optical deep neural network chip realizes a more complete neural network function and realizes multi-layer optical deep neural network computing.

[0028] 2. The embodiment of the present invention provides an optical deep neural network chip based on the time domain. Compared with the traditional optical computing framework that can only perform brief information input and a very small weight matrix, the chip can realize ultra-large-scale data input through optical computing in the time domain. Traditional optical computing uses wavelength domain or space domain to achieve accumulation. The wavelength and space are limited, while the present application uses time domain accumulation. The time dimension is infinite, which can achieve ultra-large-scale data input; the chip has up to millions of hidden layer neurons and can better adapt to a variety of complex neural network application scenarios. In addition, since the data of the modulator can be updated in real time, the chip solves the core problem that traditional optical computing can only cope with a single simple calculation. The chip can also realize online training, and completes weight iteration through real-time weight data writing, which solves the bottleneck that traditional optical computing is difficult to reconstruct and can only implement reasoning functions. At the same time, real-time weight iteration solves the problem of calculation errors introduced by process errors in traditional optical computing. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 A schematic diagram of the architecture of a time-domain based optical deep neural network chip provided by an embodiment of the present invention;

[0030] Figure 2 A schematic diagram of a deep neural network architecture provided by an embodiment of the present invention;

[0031] Figure 3A schematic diagram of the multiplication principle of an optical deep neural network chip based on time domain provided by an embodiment of the present invention;

[0032] Figure 4 A schematic diagram of the calculation principle of the time-domain-based optical deep neural network chip accumulation provided by an embodiment of the present invention;

[0033] Figure 5 Schematic diagram of the computing principle of the time-domain based optical deep neural network chip provided in an embodiment of the present invention.

[0034] Throughout the drawings, the same reference numerals are used to denote the same elements or structures, wherein:

[0035] 1 is the optical signal input area, 2 is the input data modulator area, 3 is the convolution weight modulator area, 4 is the optical nonlinear unit area, 5 is the pooling modulator area, 6 is the fully connected weight modulator area, 7 is the optical nonlinear unit area, 8 is the high-speed photodetector area, and 9 is the time domain integrator area. DETAILED DESCRIPTION

[0036] In order to make the purpose, technical solutions and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.

[0037] The contents involved in the above embodiment are described below in conjunction with a preferred embodiment.

[0038] An optical deep neural network chip based on time domain, comprising:

[0039] An optical signal input area 1, used for generating an optical signal;

[0040] The input data modulator area 2, as the input layer of the optical neural network, is used to modulate the source data calculation information and load it onto the optical signal input from the optical signal input area 1;

[0041] The convolution weight modulator area 3, as a convolution layer of the optical neural network, is used to weight the optical signal output by the input data modulator area 2 and multiply it to obtain the convolution data;

[0042] A first optical nonlinear unit area 4 is used to perform nonlinear processing on the convolved data and nonlinearly activate the optical neural network;

[0043] A pooling modulator region 5, as a pooling layer of the optical neural network, is used to pool the optical signal loaded with convolution weights output by the first optical nonlinear unit region 4;

[0044] A fully connected weight modulator region 6, as a fully connected layer of the optical neural network, is used to weight and multiply the pooled optical signal;

[0045] The second optical nonlinear unit area 7 is used to perform nonlinear processing on the fully connected optical signal and nonlinearly activate the optical neural network;

[0046] A high-speed photodetector region 8, used for converting the optical signal output by the optical nonlinear unit region 7 into an electrical signal;

[0047] The time domain integrator area 9 is used to accumulate and sum the electrical signals output by the high-speed photodetector area 8 at different times in the time domain and output them.

[0048] Optionally, the optical signal input area 1 includes a laser or a laser array.

[0049] Optionally, the input data modulator area 2 comprises a first modulator, the first modulator being used to modulate optical information by interference, resonance or absorption;

[0050] The convolution weight modulator area 3 includes a second modulator for allocating and multiplying weights by interference, resonance or absorption;

[0051] The pooling modulator area 5 includes a third modulator, and the third modulator is used for pooling by interference, resonance or absorption; the pooling method includes setting a preset weight to screen fixed elements or average pooling, wherein the preset weight is 0, 1 or 1 / N, and N represents N elements to be pooled;

[0052] The fully connected weight modulator section 6 includes a fourth modulator for distributing weights and multiplying them by interference, resonance or absorption.

[0053] The first modulator, the second modulator, the third modulator and the fourth modulator are all the same and are used to achieve interference, resonance or absorption through carrier effect, Pockels effect or Kerr effect.

[0054] Optionally, the first optical nonlinear unit area 4 and the second optical nonlinear unit area 7 both use saturation absorption or anti-saturation absorption to nonlinearly activate the optical neural network.

[0055] Optionally, the high-speed photodetector area 8 uses a germanium-silicon photodetector with epitaxial germanium on silicon to convert the optical signal output by the second optical nonlinear unit area 7 into an electrical signal.

[0056] Optionally, the time domain integrator area 9 is a time domain integrator based on an analog amplifier, the integration circuit of the analog amplifier is used to sample the current output by the high-speed photodetector area, the capacitor of the analog amplifier is used to accumulate charge for charging, and the completion of the capacitor charging to the completion of the release is an integration process.

[0057] Furthermore, the RC parameters of the integration circuit of the analog amplifier are used to adjust the integration time.

[0058] like Figure 1 As shown, it is a schematic diagram of the architecture of the time-domain optical deep neural network chip provided by an embodiment of the present invention, and the schematic diagram of the architecture of the multi-layer deep optical neural network is as follows Figure 2 As shown, the time-domain-based optical deep neural network chip specifically includes a laser, four modulators, two nonlinear units, a photodetector, and a time-domain integrator. The laser outputs laser light, and the optical signal is transmitted to the information loading modulator. External image, voice and other information are loaded onto the optical signal through intensity modulation. The optical signal loaded with input information enters the convolution weight modulator. The modulator further performs intensity modulation on the optical signal, and completes the multiplication operation on the light intensity. The optical signal continues to propagate forward into the pooling modulator, and the pooling function is also implemented by intensity modulation. If the modulation intensity is 0, it means that the data is discarded, and if the modulation intensity is 1, it means that the data is retained. If the number of pooled elements is N, the pooling weight is set to 1 / N to achieve average pooling. The pooled optical signal continues to propagate forward into the fully connected weight modulator, and the weight of the fully connected layer is also loaded by intensity modulation. The modulated light signal enters the photodetector and is converted into an electrical signal. The electrical signal enters the time domain integrator, which charges the capacitor. As time goes by, the electrical signal strength at different times is integrated and accumulated. When it meets the RC parameter setting, it is released to complete an accumulation behavior. Finally, the image label is determined based on the size of the integrated pulse intensity.

[0059] The multiplication calculation principle and process of the optical deep neural network chip based on time domain are as follows Figure 3 As shown, the intensity modulation of the electro-optical modulator, that is, the intensity of the optical signal is adjusted, different voltages correspond to different light intensities, when the optical signal transmitted from the laser is 1, the optical signal intensity is modulated to 0.2 through the first modulator, and the second modulator modulates the modulated optical signal intensity 0.2 to the current 0.5, that is, completing the multiplication of 0.2×0.5=0.1; similarly, when the optical signal transmitted from the laser is 1, the optical signal intensity is modulated to 0.7 through the first modulator, and the second modulator modulates the modulated optical signal intensity 0.7 to the current 0.4, that is, completing the multiplication of 0.7×0.4=0.28.

[0060] The principle and process of addition calculation of optical deep neural network chip based on time domain Figure 4 As shown, the photodetector completes the photoelectric signal conversion. In the time domain integration circuit, the electrical signal enters the time domain integrator, and the time domain integrator charges the capacitor. As time goes by, the electrical signal strength at different times is integrated and accumulated together. When it meets the RC parameter setting, it is released to complete an accumulation behavior, so that accumulation in the time domain can be achieved. For example, the intensity at t0-t3 is [0.1, 0.1, 0.18, 0.28] respectively. After time domain integration, the intensity at t0-t3 gradually increases, and the accumulated signal is released at the end of t3.

[0061] The calculation principle and process of the optical deep neural network chip based on time domain are as follows Figure 5As shown, the laser outputs laser, and the optical signal is transmitted to the information loading modulator. The external image grayscale information is loaded onto the optical signal through intensity modulation. The optical signal intensity of t0-t3 becomes [0.2, 0.5, 0.3, 0.7], etc. The optical signal loaded with input information enters the convolution weight modulator, and the modulator further performs intensity modulation on the optical signal. The weight value of t0-t3 is [0.5, 0.2, 0.6, 0.4]. The multiplication operation is completed on the light intensity, and the light intensity becomes [0.1, 0.1, 0.18, 0.28]. The optical signal continues to propagate forward and enters the pooling modulator. In order to realize the pooling function, the time is continued to be extended, and the elements of multiple times [0.1, 0.1, 0.18, 0.28], [0. The data are input into the pooling modulator, and the pooling function is also implemented by intensity modulation. The pooling weights are [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1], and the modulation intensity is 0, which means that the data is discarded. The modulation intensity is 1, which means that the data is retained. If the number of pooled elements is N, the pooling weight is set to 1 / N, that is, [1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9, 1 / 9] to realize average pooling. The pooled optical signal continues to propagate forward into the fully connected weight modulator, and the weights of the fully connected layer are loaded by intensity modulation. The optical signal becomes [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0.1, 0.1, 0.18, 0.28]. The modulated optical signal enters the photodetector and is converted into an electrical signal. The electrical signal enters the time domain integrator, and the time domain integrator charges the capacitor. As time goes by, the electrical signal strength at different times is integrated and accumulated together. When it meets the RC parameter setting, it is released to complete an accumulation behavior and output 0.76. Finally, the image label is judged according to the size of the integrated pulse intensity.

[0062] In the embodiment of the present invention, multiple modulators (optical nonlinear unit areas) are cascaded to realize a multi-layer deep optical neural network including a convolution layer, a pooling layer and a fully connected layer, and each convolution layer and fully connected layer are activated through the optical nonlinear unit area. Large-scale high-throughput optical computing is achieved through the time dimension. In the time domain integration circuit, the charge transmitted by the current of the photodetector will accumulate on the capacitor plate as time increases, and will be released to a certain extent, which can achieve accumulation in the time domain. Solve the problems of poor scalability of optical neural networks and small depth of multiple network layers. The optical deep neural network chip provided in the embodiment of the present application realizes a more complete neural network function, realizes multi-layer optical deep neural network calculation, and can be applied to optical computing fields such as artificial intelligence large model training, semantic segmentation, image recognition and medical instrument modeling and imaging.

[0063] Compared with the traditional optical computing framework that can only perform brief information input and a very small weight matrix, the optical deep neural network chip provided in the embodiment of the present application can realize ultra-large-scale data input and up to millions of hidden layer neurons, and is more adaptable to a variety of complex neural network application scenarios. In addition, since the data of the modulator can be updated in real time, the chip solves the core problem that traditional optical computing can only cope with a single simple calculation. The chip can also realize online training, and completes weight iteration through real-time weight data writing, which solves the bottleneck that traditional optical computing is difficult to reconstruct and can only implement reasoning functions. At the same time, real-time weight iteration solves the problem of calculation errors introduced by process errors in traditional optical computing.

[0064] It will be easily understood by those skilled in the art that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An optical deep neural network chip based on time domain, characterized in that: Includes the following connected in sequence: An optical signal input area, used for generating an optical signal; The input data modulator area, as the input layer of the optical neural network, is used to modulate the source data calculation information and load it onto the optical signal input by the optical signal input area; A convolution weight modulator area, as a convolution layer of the optical neural network, is used to weight and multiply the optical signal output by the input data modulator area to obtain convolution data; A first optical nonlinear unit area is used to perform nonlinear processing on the convolved data and nonlinearly activate the optical neural network; A pooling modulator region, as a pooling layer of the optical neural network, for pooling the optical signal loaded with convolution weights output by the first optical nonlinear unit region; A fully connected weight modulator area, as a fully connected layer of the optical neural network, is used to weight and multiply the pooled optical signal; The second optical nonlinear unit area is used to perform nonlinear processing on the fully connected optical signal and nonlinearly activate the optical neural network; A high-speed photoelectric detector region, used for converting the optical signal output by the optical nonlinear unit region into an electrical signal; The time domain integrator area is used to accumulate and sum the electrical signals output by the high-speed photodetector area at different times in the time domain and output them.

2. The optical deep neural network chip according to claim 1, characterized in that: The optical signal input area includes a laser or a laser array.

3. The optical deep neural network chip according to claim 1, characterized in that: The input data modulator region includes a first modulator for modulating optical information by interference, resonance or absorption; The convolution weight modulator section includes a second modulator for assigning and multiplying weights by interference, resonance, or absorption; The pooling modulator area includes a third modulator, and the third modulator is used for pooling by interference, resonance or absorption; the pooling method includes setting a preset weight to screen fixed elements or average pooling, wherein the preset weight is 0, 1 or 1 / N, and N represents N elements to be pooled; The fully connected weight modulator section includes a fourth modulator for distributing and multiplying weights by interference, resonance or absorption.

4. The optical deep neural network chip according to claim 3, characterized in that: The first modulator, the second modulator, the third modulator and the fourth modulator are all identical.

5. The optical deep neural network chip according to claim 1, characterized in that: The first optical nonlinear unit region and the second optical nonlinear unit region both nonlinearly activate the optical neural network by means of saturation absorption or anti-saturation absorption.

6. The optical deep neural network chip according to claim 1, characterized in that: The high-speed photoelectric detector area adopts a germanium-silicon photoelectric detector with epitaxial germanium on silicon.

7. The optical deep neural network chip according to claim 1, characterized in that: The time domain integrator area is a time domain integrator based on an analog amplifier. The integration circuit of the analog amplifier is used to sample the current output by the high-speed photodetector area. The capacitor of the analog amplifier is used to accumulate charge for charging. The completion of the capacitor charging to the completion of the release is an integration process.

8. The optical deep neural network chip according to claim 7, characterized in that: The RC parameters of the integration circuit of the analog amplifier are used to adjust the integration time.

Citation Information

Patent Citations

  • An optical neural network processor and a calculation method thereof

    CN109784485A

  • Monolithic photonic integrated chip for realizing convolutional neural network

    CN115472603A

  • Coherent photonic computing architectures

    US20220045757A1

Cited By

  • Data processing method and device, storage medium and computer equipment

    CN120276868A

  • Multilayer nonlinear optical neural network computing system based on linear signal recoding

    CN122154797A

  • A multi-layer nonlinear optical neural network computing system based on linear signal recoding

    CN122154797B