Parallel depth reserve pool structure and method for improving calculation performance of optical reserve pool
Through the parallel depth reserve pool structure and optical reserve pool calculation method, it solves the problems of low training efficiency of traditional depth reserve pool and difficulty in hyperparameter adjustment, achieves efficient computing performance and stability, and is suitable for large-scale data processing and complex tasks.
Patent Information
- Application Number
- CN202410625030.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-20
- Publication Date
- 2024-08-23
AI Technical Summary
Traditional deep reserve pool model training is inefficient and requires a lot of computing resources and time, especially when processing large-scale data sets. Hyperparameter adjustment is difficult, resulting in complex model design and training.
It adopts a parallel deep reserve pool structure, consisting of 7 reserve pools based on semiconductor lasers, connected through circulators, attenuators, couplers and beam splitters to realize multiple independent reserve pool computing units, dispersing the computing load and improving computing efficiency. , and optimize the training process through MZM modulator and ridge regression.
It breaks through the limitation of the number of layers of the traditional deep reserve pool, improves computing efficiency and resource utilization, reduces energy consumption and system design complexity, significantly improves the computing performance and stability of the model, and can handle larger data sets and More complex tasks.
Smart Images

Figure CN118535841A
Abstract
Description
Technical Field
[0001] The present invention belongs to an all-optical reserve pool computing system, and in particular relates to a parallel deep reserve pool structure and a method for improving optical reserve pool computing performance. Background Art
[0002] Deep learning technology has made great progress in recent years and has demonstrated powerful capabilities in various application fields. In traditional deep learning models, due to the complexity of the network structure and the huge number of parameters, the training and tuning process usually requires a lot of computing resources and time. The introduction of reservoir computing (RC) provides a new idea to solve this problem. Reservoir computing simplifies the network structure by introducing a fixed reservoir layer, greatly reducing the number of parameters and computational complexity.
[0003] Deep Reservoir Computing (DRC) is a machine learning model that combines deep learning and reservoir computing. It uses multiple layers of reservoir layers to further improve the model's expressiveness and learning capabilities. The deep reservoir can not only process a large amount of data information, but also perform effective pattern recognition while maintaining high computational efficiency. In the deep optical reservoir composed of four cascaded semiconductor lasers (structured as Figure 2 (as shown in the calculation, each laser has self-feedback, but only the first laser receives information injection from the light source, and the three subsequent lasers receive light injection from the previous laser. Finally, all the instantaneous response states of the four lasers are sampled and combined together as the virtual node states of the reserve pool for training and prediction. Experimental results show that in the channel equalization test task, the deep reserve pool can achieve a bit error rate of 0.001. And the performance of the structure reaches saturation when the number of layers reaches 3, and the performance of the four layers is slightly worse than that of the three layers. However, with the continuous improvement of application requirements, traditional deep reserve pools also face some challenges. The traditional deep reserve pool model has low training efficiency and usually requires a lot of training time and computing resources, especially when processing large-scale data sets. And the adjustment of hyperparameters (such as reserve pool size, connection weights, etc.) usually requires a lot of experiments and tuning, which increases the difficulty of model design and training. Summary of the invention
[0004] In view of the above problems, the present invention provides a parallel deep reservoir structure and a method for improving the computing performance of the optical reservoir.
[0005] A parallel deep reservoir structure of the present invention is composed of 7 reservoirs based on semiconductor lasers, with three layers in total; the first layer: laser 1 receives information injection from a light source; the second layer: the output of laser 1 is injected into laser 2 and laser 3 through a circulator, an attenuator, a coupler and a beam splitter; the third layer: the output of laser 2 is injected into laser 4 and laser 5 through a circulator, an attenuator, a coupler and a beam splitter, and the output of laser 3 is injected into laser 6 and laser 7 through a circulator, an attenuator, a coupler and a beam splitter.
[0006] The method for improving the computing performance of the optical reservoir based on the parallel deep reservoir structure of the present invention is as follows: in the first layer of the reservoir, the input information u(t) is first multiplied with the mask information for preprocessing, and then loaded into the amplitude of the light source through the MZM (Mach-Zehnder Modulator) modulator, and injected into the laser 1 as the root node; in the second layer of the reservoir, the output of the laser 1 is injected into the laser 2 and the laser 3 through the beam splitter; in the third layer of the reservoir, the output of the laser 2 is injected into the laser 4 and the laser 5 through the beam splitter, and the output of the laser 3 is injected into the laser 6 and the laser 7 through the beam splitter; then, in the output layer, the outputs of all the lasers are sampled at a set time interval θ to obtain the virtual node state sequence X1, X2, X3, X4, X5, X6, and X7 of each reservoir, and the seven state sequences are combined to obtain the state matrix X m ; Finally, X m Perform ridge regression with the target data u(t+1) to obtain the training weight ω out .
[0007] Furthermore, the time interval θ is 10 ps.
[0008] Furthermore, the rate equation of the laser is derived from Maxwell's equations. By deriving the rate equation through additional external light injection and self-feedback terms, the following differential equation consisting of the field amplitude E and the charge carrier density N in the complex cavity is obtained:
[0009]
[0010]
[0011]
[0012]
[0013] The first term in formula (1) represents the dynamic characteristics of an isolated semiconductor laser during free operation, where E 1-7 and N 1-7represent the complex electric field amplitude and carrier density of lasers 1 to 7, respectively; g represents the gain coefficient, α represents the linewidth enhancement factor, ε is the saturation gain coefficient, N0 is the transparent carrier density, τ is the delay, and τ p is the photon lifetime in the active region; the second term is the self-light feedback of laser 1, k f1-f7 Represent the feedback strength of lasers 1 to 7, υ 1-7 represents the frequency of lasers 1 to 7; the third term is the intensity modulation information of the input layer, k inj1 represents the injection intensity of the light source, Δυ1 represents the detuning frequency of laser 1; the fourth term is the noise term, β sp represents the spontaneous emission rate, ξ 1-7 represents Gaussian white noise; the first term in formula (2) represents the dynamic characteristics of the isolated semiconductor laser when it is running freely, the second term is the self-optical feedback of lasers 2 to 7, and the third term represents the coupling term, k c(m-1) represents the injection intensity of the upper layer laser to the lower layer laser; in formula (3), τ s is the carrier lifetime in the active region; formula (4) is the intensity modulation of the input layer on the information, |ε0| is the injection field amplitude, Φ0 is the bias voltage of MZM, and S(t) is the external task information after mask processing.
[0014] The beneficial technical effects of the present invention are:
[0015] 1. The present invention proposes a parallel deep optical reservoir computing solution, which breaks through the limitation of the number of traditional deep reservoir layers. By realizing multiple independent reservoir computing units at the hardware level, the computing load can be effectively dispersed, reducing the burden of a single laser, thereby improving the overall computing efficiency.
[0016] 2. The present invention improves the stability, robustness and data processing capability of the system through parallelization technology, while reducing energy consumption and simplifying system design.
[0017] 3. Through the parallel computing framework, the present invention can be easily expanded to larger data sets and more complex tasks, significantly improving the computing efficiency and resource utilization of the model and reducing training costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a schematic diagram of the parallel depth reserve tank structure of the present invention.
[0019] Figure 2 Schematic diagram of the traditional deep storage tank structure.
[0020] Figure 3 This is an error diagram for the Santa-Fe test task in the example.
[0021] Figure 4Normalized mean square error diagram for different numbers of laser states for deep reserve pool and parallel deep reserve pool.
[0022] Figure 5 This is a graph showing the normalized mean square error of the parallel deep reserve pool and the deep reserve pool as the number of virtual nodes changes. DETAILED DESCRIPTION
[0023] The present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0024] A parallel depth storage tank structure of the present invention is as follows Figure 1 As shown in FIG. 1 , it is composed of 7 semiconductor laser-based reservoirs, with a total of three layers. The connection between the reservoirs in each layer is all-optical without any photoelectric conversion or analog-to-digital conversion. The first layer: Laser 1 receives information injection from the light source; the second layer: the output of laser 1 is injected into laser 2 and laser 3 through a circulator, attenuator, coupler and beam splitter; the third layer: the output of laser 2 is injected into laser 4 and laser 5 through a circulator, attenuator, coupler and beam splitter, and the output of laser 3 is injected into laser 6 and laser 7 through a circulator, attenuator, coupler and beam splitter. In the output layer, the output of each laser is sampled at the node interval θ as the node state of its reservoir, θ is 10ps. The virtual node state vectors of the 7 reservoirs are merged to form a new reservoir state vector X m Finally, ridge regression is performed with the target data to obtain the training weight ω out .
[0025] The traditional deep reservoir is an all-optical reservoir composed of four laser cascades, such as Figure 2 As shown. Only the first reservoir laser receives information injection from the light source, and the remaining lasers only receive light injection from the reservoir lasers in the upper layer. In the output layer, the outputs of all lasers are sampled at set time intervals as the node states of the reservoir, and the virtual node states of all reservoirs are merged together and ridge regression is performed with the target data to obtain the training weight ω out However, the computing performance of the traditional deep pool reaches saturation when the number of layers reaches three. If the number of cascaded lasers continues to increase, the number of layers of the pool will increase, the performance of the pool will gradually deteriorate, and the load of a single pool laser will increase. The parallel deep pool we proposed can break through the limitation of the number of layers of the traditional deep pool, greatly reduce the load of a single laser, and thus improve the data processing efficiency of the system.
[0026] The method for improving the computing performance of the optical reservoir based on the parallel deep reservoir structure of the present invention is as follows: in the first layer of the reservoir, the input information u(t) is first multiplied with the mask information for preprocessing, and then loaded into the amplitude of the light source through the MZM modulator, and injected into the laser 1 as the root node; in the second layer of the reservoir, the output of the laser 1 is injected into the laser 2 and the laser 3 through the beam splitter; in the third layer of the reservoir, the output of the laser 2 is injected into the laser 4 and the laser 5 through the beam splitter, and the output of the laser 3 is injected into the laser 6 and the laser 7 through the beam splitter; then, in the output layer, the outputs of all the lasers are sampled at a set time interval θ to obtain a virtual node state sequence X1, X2, X3, X4, X5, X6, and X7 of each reservoir, and these 7 state sequences are combined to obtain a state matrix X m ; Finally, X m Perform ridge regression with the target data u(t+1) to obtain the training weight ω out .
[0027] The rate equation of a free-running semiconductor laser is derived from Maxwell's equations. By deriving the rate equation with additional external light injection and self-feedback terms, the following differential equation consisting of the field amplitude E and the charge carrier density N in the complex cavity is obtained:
[0028]
[0029]
[0030]
[0031]
[0032] The first term in formula (1) represents the dynamic characteristics of an isolated semiconductor laser during free operation, where E 1-7 and N 1-7 represent the complex electric field amplitude and carrier density of lasers 1 to 7, respectively; g represents the gain coefficient, α represents the linewidth enhancement factor, ε is the saturation gain coefficient, N0 is the transparent carrier density, τ is the delay, and τ p is the photon lifetime in the active region; the second term is the self-light feedback of laser 1, k f1-f7 Represent the feedback strength of lasers 1 to 7, υ 1-7 represents the frequency of lasers 1 to 7; the third term is the intensity modulation information of the input layer, k inj1 represents the injection intensity of the light source, Δυ1 represents the detuning frequency of laser 1; the fourth term is the noise term, β sp represents the spontaneous emission rate, ξ 1-7represents Gaussian white noise; the first term in formula (2) represents the dynamic characteristics of the isolated semiconductor laser when it is running freely, the second term is the self-optical feedback of lasers 2 to 7, and the third term represents the coupling term, k c(m-1) represents the injection intensity of the upper layer laser to the lower layer laser; in formula (3), τ s is the carrier lifetime in the active region; formula (4) is the intensity modulation of the input layer on the information, |ε0| is the injection field amplitude, Φ0 is the bias voltage of MZM, and S(t) is the external task information after mask processing.
[0033] This example uses the Santa-Fe chaotic sequence prediction task to Figure 1 The performance of the parallel deep pool calculation scheme in is tested. Figure 3 As shown in the figure, the target data is basically consistent with the predicted data, and the prediction error NMSE is 0.00128, which proves that this scheme can achieve accurate chaotic sequence prediction. Figure 4 It shows the change of normalized mean square error in deep pool and parallel deep pool calculation with the increase of the number of lasers. In the chaotic sequence prediction task, the number of virtual nodes of a single pool laser in both architectures is 50. Figure 4 It can be seen from the figure that when the number of reservoirs in the two structures is only 1 or 2, the normalized mean square error is the same. When the number of reservoirs increases to 3, the two curves begin to show different trends. According to the test, if Figure 4 As shown, the normalized mean square error of the deep reserve pool reaches saturation at the third layer, which can reach 0.003, and as the number of layers increases, its value will gradually increase and the performance will gradually deteriorate. However, our solution has 3 layers when the number of lasers reaches 7, and can reach a normalized mean square error of 0.00128 in the third layer, which is half the normalized mean square error of the traditional deep reserve pool. It can be concluded that on the basis of having the same number of layers and the same total number of virtual nodes in the two systems, the solution of the present invention performs better than the traditional deep reserve pool. In addition, the number of virtual nodes in a single reserve pool is much smaller than that of the deep reserve pool, the load of a single laser is greatly reduced, and the data processing efficiency of the system is improved.
[0034] Finally, the normalized mean square error of the deep pool and the parallel deep pool as the total number of virtual nodes changes is also compared, as shown in Figure 5 As shown in Figure 2, the traditional deep reservoir reaches saturation at 3 layers. Figure 5In the test, the traditional deep reserve pool adopts a 3-layer structure. The total number of virtual nodes of the two systems increases from 280 to 700. With the increase of the total number of virtual nodes, the normalized mean square error of the two systems will generally decrease, but the normalized mean square error of the solution of the present invention is always lower than that of the traditional deep reserve pool.
Claims
1. A parallel depth reserve pool structure, characterized in that: It consists of seven semiconductor laser-based reservoirs with three layers; First layer: Laser 1 receives information injection from the light source; Second layer: The output of laser 1 is injected into laser 2 and laser 3 through a circulator, attenuator, coupler and beam splitter; The third layer: the output of laser 2 is injected into laser 4 and laser 5 through a circulator, an attenuator, a coupler and a beam splitter, and the output of laser 3 is injected into laser 6 and laser 7 through a circulator, an attenuator, a coupler and a beam splitter.
2. A method for improving the computing performance of an optical reservoir based on the parallel deep reservoir structure of claim 1, characterized in that: In the first layer of the reservoir, the input information u(t) is first multiplied by the mask information for preprocessing, then loaded into the amplitude of the light source through the MZM modulator and injected into Laser 1 as the root node; in the second layer of the reservoir, the output of Laser 1 is injected into Laser 2 and Laser 3 through the beam splitter; In the third-layer reserve pool, the output of laser 2 is injected into laser 4 and laser 5 through a beam splitter, and the output of laser 3 is injected into laser 6 and laser 7 through a beam splitter; then, at the output layer, the outputs of all lasers are sampled at a set time interval θ to obtain the virtual node state sequence X1, X2, X3, X4, X5, X6, and X7 of each reserve pool, and these 7 state sequences are combined to obtain the state matrix X m ; Finally, X m Perform ridge regression with the target data u(t+1) to obtain the training weight ω out .
3. The method for improving the computing performance of the optical reserve pool according to claim 2, characterized in that: The time interval θ is 10 ps.
4. The method for improving the computing performance of the optical reserve pool according to claim 2, characterized in that: The rate equation of the laser is derived from Maxwell's equations. By deriving the rate equation through additional external light injection and self-feedback terms, the following differential equation consisting of the field amplitude E and the charge carrier density N in the complex cavity is obtained: The first term in formula (1) represents the dynamic characteristics of an isolated semiconductor laser during free operation, where E 1-7 and N 1-7 represent the complex electric field amplitude and carrier density of lasers 1 to 7, respectively; g represents the gain coefficient, α represents the linewidth enhancement factor, ε is the saturation gain coefficient, N0 is the transparent carrier density, τ is the delay, and τ p is the photon lifetime in the active region; the second term is the self-light feedback of laser 1, k f1-f7 Represent the feedback strength of lasers 1 to 7, υ 1-7 represents the frequency of lasers 1 to 7; the third term is the intensity modulation information of the input layer, k inj1 represents the injection intensity of the light source, Δυ1 represents the detuning frequency of laser 1; the fourth term is the noise term, β sp represents the spontaneous emission rate, ξ 1-7 represents Gaussian white noise; the first term in formula (2) represents the dynamic characteristics of the isolated semiconductor laser when it is running freely, the second term is the self-optical feedback of lasers 2 to 7, and the third term represents the coupling term, k c(m-1) represents the injection intensity of the upper layer laser to the lower layer laser; in formula (3), τ s is the carrier lifetime in the active region; formula (4) is the intensity modulation of the input layer on the information, |ε0| is the injection field amplitude, Φ0 is the bias voltage of MZM, and S(t) is the external task information after mask processing.
