2024 Volume 33 Issue 5
Article Contents

Zhuo Kang, Wei-Qi Liu, Jin Qi, Chen He. General multi-attack detection for continuous-variable quantum key distribution with local local oscillator[J]. Chinese Physics B, 2024, 33(5): 050308. doi: 10.1088/1674-1056/ad2bf2
Citation: Zhuo Kang, Wei-Qi Liu, Jin Qi, Chen He. General multi-attack detection for continuous-variable quantum key distribution with local local oscillator[J]. Chinese Physics B, 2024, 33(5): 050308. doi: 10.1088/1674-1056/ad2bf2

General multi-attack detection for continuous-variable quantum key distribution with local local oscillator

  • Corresponding author: E-mail: vickylwq1991@nwu.edu.cn; 
  • Received Date: 13/12/2023
    Accepted Date: 01/02/2024
    Available Online: 01/05/2024
通讯作者: 陈斌, bchen63@163.com
  • 1. 

    沈阳化工大学材料科学与工程学院 沈阳 110142

  1. 本站搜索
  2. 百度学术搜索
  3. 万方数据库搜索
  4. CNKI搜索

Figures(7)

Article Metrics

Article views(329) PDF downloads(2) Cited by(0)

Access History

General multi-attack detection for continuous-variable quantum key distribution with local local oscillator

Abstract: Continuous-variable quantum key distribution with a local local oscillator (LLO CVQKD) has been extensively researched due to its simplicity and security. For practical security of an LLO CVQKD system, there are two main attack modes referred to as reference pulse attack and polarization attack presently. However, there is currently no general defense strategy against such attacks, and the security of the system needs further investigation. Here, we employ a deep learning framework called generative adversarial networks (GANs) to detect both attacks. We first analyze the data in different cases, derive a feature vector as input to a GAN model, and then show the training and testing process of the GAN model for attack classification. The proposed model has two parts, a discriminator and a generator, both of which employ a convolutional neural network (CNN) to improve accuracy. Simulation results show that the proposed scheme can detect and classify attacks without reducing the secret key rate and the maximum transmission distance. It only establishes a detection model by monitoring features of the pulse without adding additional devices.

1.   Introduction
  • Continuous-variable quantum key distribution (CVQKD) uses standardized optical communication devices, enabling the sender Alice and the receiver Bob to exchange key information in an insecure quantum channel.[1] Its theoretical security is guaranteed by the Heisenberg uncertainty principle[2] and quantum non-cloning principle.[3] The Gaussian modulated coherent state (GMCS) protocol is a popular CVQKD scheme, which has been proven to be safe against collective attack in theory[4–6] and can be easily implemented in practical experiment.[7–9] In the system, Alice needs to transmit a beam of local oscillator (LO) following the quantum signal, mainly acting as the reference pulse for homodyne detection, so LO will be much brighter than the quantum signal and inevitably induce the more photon-leakage noise.[10] Meanwhile, Eavesdropper (Eve) might use LO to launch attacks on the practical system, such as the LO fluctuation attack[11] and the calibration attack.[12]

    Focused on the practical security problem caused by LO, CVQKD with a local local oscillator (LLO CVQKD) scheme was proposed.[13–16] In this scheme, the LO is generated locally by Bob and does not need to be transmitted in the channel, which can prevent all security problems caused by the loophole of the LO. This scheme can be achieved by using two independent narrow linewidth lasers with the same central wavelength, one generates the signal at Alice’s side and the other generates LO at Bob’s side. To achieve the phase reference between the two free-running lasers, Alice and Bob need to share the low-intensity phase reference pulses. Moreover, there has been extensive research on improving the performance of the LLO scheme.[17–19] In particular, when part of the phase estimation error noise is treated as trusted noise and the phase drift noise as untrusted noise, the scheme will achieve more excellent performance.[20–22]

    Though Alice generates a relatively weak reference pulse as a phase reference between the signal and the LO, it still becomes a vulnerability for Eve to launch an attack. At present, there are several attack schemes,[22–26] two typical ones are reference pulse attack[22] and polarization attack.[23] The solution to these attacks is to add a suitable real-time monitoring module to the system, but due to the inevitable fluctuations in the reference pulse and electronic devices, the accuracy of the monitoring module cannot be well guaranteed. Moreover, additional optical devices and monitoring systems will inevitably affect the performance of the system. Therefore, we need a low-system-impact and general-purpose identification scheme to detect attacks.

    In this paper, to improve the practical security of LLO CVQKD, we propose a general defense strategy via deep learning that can be monitored in real-time without adding additional optics considering the development of machine learning opens a door for QKD.[27–35] We investigate the typical characteristics of pulses affected by attacks and the deviations in the changes in these characteristics after being subjected to different attacks. After analysis, several features are selected to construct feature vectors for training generative adversarial networks (GANs). We add an automatic preprocessing module, and the collected features can be automatically turned into appropriate data. Bob can use this module to detect abnormal data in real time automatically. The experimental results show that the model can classify and identify attacks well, and achieve an accuracy rate of 99.8% over a transmission distance of 20 kilometers.

    This paper is organized as follows: In Section 2, we briefly introduce the LLO CVQKD scheme and two typical attack schemes. In Section 3, we discuss the data processing, feature extraction and the training process of the GAN model. In Section 4, we analyze the performance of our proposed model. Finally, the conclusion is given in Section 5.

2.   Description of the LLO CVQKD system and two attack models
  • The schematic diagram of the LLO CVQKD system in our experiment is shown in Fig. 1. The advantage of this scheme is that LO is generated locally, which eliminates the possibility of attacks caused by the LO pulse during transmission. At Alice’s side, the CW laser is split into signal and reference pulses by a beam splitter (BS). The signal is continuously modulated with a Gaussian distribution centered at 0 and VAN0 as the variance. Here N0 is the shot noise variance. After Gaussian modulation, the signal is transmitted to Bob through a quantum channel, which leads to an arbitrary phase rotation of the state in space. In order to compensate for the phase shift of the signal, the signal is sent out together with a delayed reference pulse. At Bob’s side, a locally generated LO pulse is used to perform heterodyne detection of the signal and reference pulse. Due to the fact that the signal and reference pulse are generated using the same laser and transmitted on the same channel, Bob can estimate the phase rotation of the quantum signal between Alice and Bob by measuring the two quadratures of the reference pulse. Finally, the data received by Bob is input into the preprocessing module of the attack detection model after measured by the heterodyne detector. Then we extract a set of feature vectors from the processed data and put the processed data into GAN for attack detection and classification. It is worth noting that the preprocessing module comes into play after Bob received the data, and there is no need to add additional devices to the system to do the parameter prediction.

  • In the LLO CVQKD system, the total noise[17,23] of the system is expressed as

    Here, ξ0 is the system excess noise from unidentified or unprotected sources, ξAM=(ESmaxA)210−ddB/10 is the noise induced by the finite dynamics of the realistic amplitude modulator, ESmaxA≈10VA represents the maximum amplitude of the quantum signal, ddB represents the dynamics of the amplitude modulator, ξADC is the analog-to-digital quantization noise referring to the channel input with the expression ≥(ESmaxA)2/(12×2n) with n representing the quantization bits, ξLE=2|ESmaxA|2/Re is the noise induced by the leakage from the reference pulse to the signal with Re being the finite extinction ratio, ξphase is induced by the inability of the reference pulse to fully correct the phase rotation of the quantum signal, which can be compartmentalized into two parts, the trusted phase noise and untrusted phase noise. Part of the phase reference measurement noise associated with the detector efficiency η and the electronic noise vel as well as the phase reference intensity on the receiver side that can be locally calibrated by Bob is considered to be trusted. The trusted phase noise[17,21,23] can be expressed as

    where VA is the modulation variance, T is the transmittance of the channel, η is the efficiency of the heterodyne detector, vel is the electrical noise of the detector. ER is the amplitude of the phase reference on Bob’s side.

    When Eve performs the reference pulse attack,[21] the excess noise induced by Eve will be eliminated by inducing the trusted phase noise. The specific implementation scheme is shown in Fig. 2 (attack 1). The reference pulse attack occurs in the process of signal transmission. When both the signal and the reference pulse are transmitted via the standard single-mode fiber with an attenuation coefficient of αStd = 0.2 dB/km, Eve can separate the signal and reference pulses into two separate channels to transmit, the signal pulse is transmitted in the standard channel with αStd and the reference pulse will be transmitted in the low-loss channel with αLow < αStd. Then, Eve reassembles the signal and the reference pulse at Bob’s side. Because the reference pulse is transmitted through the low-loss channel, the attenuation factor of the channel is smaller and the reference pulse intensity ER2 will be increased. Then, the trusted noise is reduced, Eve can obtain information that is not detected.

    When Eve performs polarization attacks,[23] the excess noise induced by Eve can be hidden by overestimating the trusted phase noise. In the actual LLO CVQKD system, the phase references intensity ER2 is usually measured before the QKD runs, and the trusted noise is calibrated meanwhile. Therefore, if Eve manipulates the intensity of the phase reference during quantum key distribution process, while Bob still uses the previously measured intensity to estimate the trusted phase noise, Alice and Bob will get the insecure key. In the practical system, due to the random disturbance of the channel, the signal will have the polarization drift and needs the polarization compensation. However, the polarization compensation cycle contains N phase reference pulses, of which only M pulses are used to measure the angle of polarization drift, as shown in Fig. 2 (attack 2). Therefore, in order to implement a polarization attack, Eve can intercept all quantum signals and reference pulse sent by Alice at the channel input and then separates them into her own two perfect quantum channel, then deviates the polarization direction of N – M reference pulses, thus the intensity projection of N – M pulses becomes ER2cos2θ, where θ represents the misalignment angle when the polarization direction deviates. At this time, if Bob still uses the previously measured intensity of the phase reference to estimate the trusted phase noise, Bob will overestimate the trusted phase noise of the system and then Eve can hide her attack.

3.   Data preparation and model training
  • In our system, a standard Gaussian modulation protocol is used, Alice prepares a set of coherent states |XA + iPA〉, where the two quadrature values XA and PA obey the central Gaussian distribution with variance VAN0. Here, N0 is the vacuum shot noise unit. Alice transmits the prepared data to Bob through the channel and then Bob performs heterodyne detection with the help of an LO pulse generated locally. In this way, Alice and Bob will obtain two sets of data x = {x1,x2, …,xN} and y = {y1,y2, …,yN}, where x is the quadrature value (XA and PA) modulated by Alice, and y is the quadrature value (XB and PB) measured by Bob. At this point, the variance of Alice’s and Bob’s data is given by

    In order to prepare the datasets for the training model, we analyze the impact of the two attacks on the parameters of the practical LLO CVQKD system in detail (please see Appendix A). We find that the reference pulse attacks affect the intensity ER2 and variance Vr of the reference pulse. The polarization attacks affect the intensity ER2, variance VR of the reference pulses, variance Vy and the total noise of system ξt. Based on the above analysis, in the following we will discuss the features that can be extracted and used for deep learning.

  • Although the above-mentioned system parameters will have different results in different attacks, considering that if these parameters are measured directly as characteristics, additional optical devices or parameter evaluation modules must be added to the system, which may pose a threat to the performance and practical security of the system. However, the data received by Bob is easy to obtain and closely related to the above-mentioned system parameters, so the data measured by Bob can be selected and we can add a preprocessing module to automatically convert the measured data into the required feature vectors. We can preprocess the data received by Bob and obtain the variance, maximum value, minimum value, mean value, median value and skewness of the signal pulse and the reference pulse respectively. A total of 12 features form the final feature vector. The feature vector can be expressed as u = {Vy, Vr, Ymax, Rmax, Ymin, Rmin, Ymean, Rmean, Ymedian, Rmedian, Yskew, Rskew} and M feature vectors {u1,u2, …,uN} form the input of the GAN model. To avoid data imbalance, 10000 feature vectors are generated for each attack type. The feature vectors are input in time series and are grouped into groups of every 100.

  • In order to strengthen the practical security level of the LLO CVQKD system, we introduce a neural network model named GAN[36] originated from game theory. Based on three practical scenarios of reference pulse attack, polarized attack and unattacked state, our proposed model aims to identify and classify attacks. The advantage of our proposed model is to detect and classify attacks without reducing the maximum transmission distance and security key rate of the current system, without adding additional optical devices and with minimal impact on system running. Moreover, it is very easy to use, one only needs to pass the data received by Bob into the model and no additional operations are required.

    Our proposed model consists of generator and discriminator. Both the generator and discriminator backbone uses a convolutional neural network (CNN details refer to Appendix B). As shown in Fig. 3, in the discriminator, the input layer is normalized and connected to a two-layer CNN and then passes through a fully connected layer to the output layer. The output layer has two parts, a binary classifier and a multi-classifier for adversarial training. In addition to the CNN layer and the output layer, the input of the linear layer is a linear combination between the output weight w and the bias b of the previous layer. The calculation formula of the linear layer is

    where wi,jh is the weight between the jth element of the current layer and the ith element of the previous layer, and bjh is the bias of the jth element in the current layer. The activation function σRe lu can be expressed as

    In the output layer, the two outputs can be expressed by

    The structure of the generator is similar to the discriminator. The input layer is connected to a two-layer CNN after normalization and then passes through a fully connected layer to output fake data. The fake data is distributed data of various attacks learned from the training epoch and is used as the input of the discriminator for adversarial training. The generator is used as an auxiliary module for training the discriminator, which continuously learns and imitates the distribution of various attack features in the latent space.

    A discriminator can be equivalent to a regular deep-learning model, the only difference is that it has two inputs. The input of the discriminator is divided into real data and fake data generated by the generator. The output of the discriminator is the judgment of whether the input data is true or false. Both the generator and the discriminator can be fully trained and continuously improved in performance by the above-mentioned confrontation.

    Our model borrows from auxiliary classifier GAN(acGAN),[37] which is different from regular GAN. The input of the generator in GAN is random noise. The input of the generator in acGAN adds a categorical variable to generate more realistic fake data. The output of the discriminator in acGAN adds a multi-classification to classify the security problems existing in the system. After introducing acGAN, our proposed model has better adversarial resistance, classifies the attacks existing in the current system, and accurately identifies abnormal potential threats.[38]

  • We implemented the training and testing of the GAN model on the Jupyter Notebook. We trained for 10–15 min on a laptop with 16 GB of memory, an Intel Core 4.0 GHz processor, and a Windows 11 Professional operating system. In the experiments, the learning rate of the GAN model is set to 0.01 and the number of iterations is 200. The dataset size of each attack type is 5 × 107, and the number of pulses in each block is Q = 5 × 103, therefore, the dataset of each attack type can be divided into 10000 feature vectors. Three types of data including unattack, reference pulse attack, and polarization attack constitute a training set of 30000 feature vectors. Then in order to reduce memory usage and improve training speed, each batch size of 100 feature vectors is used as an input to the model.

    In the specific training process, we firstly use the Pandas library to subtract the unqualified part of the obtained feature vector and convert the dataset to a standardized format. Then we shuffle and normalize the data without changing the accuracy, so that the fluctuations in the training process are smaller and the convergence speed of the model can be improved. Finally, a matrix of 100 × 12 pixels is used as the input of the model, which is formed by a batch of 100 feature vectors. As shown in Fig. 3, a random noise and a classification variable are input in the generator, where the classification variable is the real classification result. The generator generates a set of fake data based on the real classification results. The discriminator performs discrimination twice. For fake data, the discriminator judges whether the input data is fake data, and gives the classification result. For real data, the discriminator performs gradient descent with the sum of two loss functions for judging fake data and attack classification. After adversarial training, the discriminator can effectively classify attacks.

4.   Performance analysis of the detection model
  • In order to comprehensively evaluate the performance of our attack detection model, we use the accuracy rate, principal component analysis (PCA),[39] confusion matrix, and receiver operating characteristic (ROC)[40] curve to evaluate the model. PCA is a common data analysis method, mainly used for dimensionality reduction of high-dimensional data. We use PCA to reduce the data dimension of reference pulse attack, polarization attack, and no attack to two dimensions, and make a PCA graph. From this, we can see the degree of discrimination of the data before and after GAN classification. The confusion matrix is mainly used to compare the classification results and the actual measured values. In the confusion matrix, each column represents the predicted category, and the total number of each column indicates the number of data predicted as that category. Each row represents the true category of data, and the total number of data in each row represents the number of data instances of this category. Moreover, the four concepts TP, TN, FP, and FN are all used in the calculation formulas of accuracy rate and ROC curve, so these four concepts are introduced firstly. TP, TN, FP, and FN are mainly used to count binary classification problems and divide samples into positive samples and negative samples. TP indicates that the data is attacked by Eve and recognized as an attack by GAN. TN indicates that the data is not attacked by Eve and is not recognized as an attack by GAN. FP means that the data is not attacked by Eve but be recognized as an attack by GAN. FN indicates that the data is attacked by Eve but not be recognized as attack by GAN. Then we can obtain

    As shown in Eq. (9), the accuracy rate predicts the proportion of correctly recognized samples to all samples, and the correct prediction may have positive samples or negative samples. As shown in Eq. (10), the true positive rate (TPR) indicates the proportion of the attacked and predicted correctly accounts for the total correct prediction. As shown in Eq. (11), false positive rate (FPR) indicates the proportion of the attacked and wrong predictions to the total prediction errors. The ROC curve describes the true positive rate of a certain classifier as a function of its FPR.[41] In binary classification problems, the threshold is an artificially set decimal between 0 and 1. When the probability value of the model prediction result is greater than the threshold, it is a positive sample. By constantly changing the threshold, a set of correspondences between FPR and TPR can be obtained. We use FPR and TPR as the x and y axes, respectively, and then connect the coordinate points under different thresholds. The resulting curve is the ROC curve.

  • In order to judge the performance of our proposed model, we firstly use accuracy rate and loss functions as indicators to evaluate model performance during the training phase. Figure 4(a) shows the accuracy rate of our model during the training process. The accuracy rate of the model increases steadily in the first 50 rounds of training and stabilized at about 99.8% after 50 rounds. The loss function gradually decreases in the first 50 training epochs and then stabilizes. This shows that our model converges fast and has a high accuracy rate. Figure 4(b) shows a confusion matrix. The diagonal of the confusion matrix represents the amount of agreement between the predicted values and the true values. As is shown, when the system is not under attack, the data are all concentrated on the diagonal line, which means that our model can well distinguish whether the system is under attack or not. When there is a reference pulse attack on the system, most of the data is concentrated on the diagonal line of the second column, which means that our model can also easily determine whether the system is attacked by a reference pulse. In the third column, when there is a polarization attack on the system, the data is more scattered than when there is a reference pulse attack, which means that polarization attacks are relatively difficult to distinguish.

    To further judge the performance of our proposed model, we tested the model on independent experimental data, which can be considered as the test set. The test set adopts three different sequence groups, including unattack, reference pulse attack, and polarization attack, a total of 3000 feature vectors. We firstly test our model using PCA. As can be seen from Fig. 5(a), there is a significant gap between the situation with and without attacks, while the reference pulse attack and the polarization attack are difficult to distinguish through statistical analysis. After the classification by our GAN model, we can see the result shown in Fig. 5(b), which illustrates that reference pulse attack and polarization attack can be easily distinguished, and our model plays a great role in data differentiation.

    The ROC curve can furthermore clearly represent the performance of the model for each type of attack. The closer the ROC curve is to the point (0, 1), the better performance of the model. In Fig. 6(a), the gray dotted line in the figure is the result of random guessing, indicating that there is no change in performance without applying any model. The three solid lines correspond to the three binary classification problems converted from the multiclass classification problem of the model. The blue solid line is to classify unattack into one category while grouping reference pulse attack and polarization attack into another category. The red solid line is to classify reference pulse attack into one category while grouping unattack and polarization attacks into another category. The green solid line is to classify polarization attack into one category while grouping unattack and reference pulse attack into another category. To express the model performance more intuitively, we calculated the area under the curve (AUC) of each label. The closer the AUC value is to 1, the better performance of the model. From Fig. 6(a), we can see that the blue solid line indicates that the AUC value is 1, which means that our proposed model can perfectly predict whether there is an attack on the current system. The AUC values of the red solid line and the green solid line are both greater than 0.99, indicating that the model can distinguish reference pulse attack and polarization attack with a high accuracy rate.

    The above performance analysis is based on a fixed transmission distance. However, Eve launches the reference pulse attack and the polarization attack by manipulating the reference pulse in channel. Eve may obtain more security keys when the transmission distance becomes longer. Therefore, we analyze the performance of our model at different distances in Fig. 6(b). The horizontal axis is the transmission distance and the vertical axis is the model accuracy rate. The accuracy rate is 84.5% at 5 km, then steadily increases to 99.8% at 20 km, and finally stabilized at 1. Although Eve can obtain more security keys during long-distance transmission, the accuracy rate of our model will also be greatly improved. Therefore, our model can classify and identify attacks well when the transmission distance is long.

5.   Conclusion
  • To detect different attack types in LLO CVQKD systems, this paper proposes a GAN-based deep learning model for attack classification in the system. We firstly investigate the characteristics of pulses with and without attacks, then a set of feature vectors are established and be automatically turned into appropriate data as the input for training the GAN model with an automatic preprocessing module. To improve the accuracy of the proposed model, a convolutional neural network is employed in two parts of the model. The results show that the trained GAN model can identify and classify attacks with an accuracy of 99.8% over a transmission distance of 20 km. Moreover, by comparing the accuracy of the model under different transmission distances, we find that our model has a better ability to distinguish attacks with the increase of communication distance.

Appendix A: The impact of two attacks on parameters of system
  • In order to prepare the dataset, we need realistic assumptions based on Alice and Bob’s implementation settings and Eve’s capabilities. In our experiments, based on the realistic LLO CVQKD standard assumption,[16–20] the system parameters are set as VA = 4, η = 0.5, ξt = 0.043, T = 10−αL/10, where L is the transmission distance of 20 km and α is the loss coefficient of the optical fiber. Then we introduce the attack parameters and experimental methods of reference pulse attack and polarization attack.

    In the reference pulse attack, Eve separates the signal and reference pulse into two separate channels to transmit, the signal pulse is transmitted in the standard channel and the reference pulse will be transmitted in the low-loss channel, which means that the reference pulse intensity will be increased and then the trusted phase noise will be decreased. The impact of reference pulse attack on the system can be expressed as

    where Tlow is the channel transmittance of the reference path increased by Eve, Tstd is the transmittance of fiber with attenuation coefficient αStd = 0.2 dB/km. In the reference pulse attack,[21] the increase of the channel transmittance of the reference path affects the reference pulse intensity ER2 and the variance of the reference pulse received by Bob.

    In the polarization attack, Eve intercepts all quantum signals and reference pulse sent by Alice at the channel input and then separates them into her own two perfect quantum channel, then deviates the polarization direction of N – M reference pulses. Thus the intensity of the reference pulse decrease will be reduced to ER2cos2θ and the trusted phase noise in the system will be increased as follows:[23]

    where k = M/N is the ratio of the measured pulses to the compensation cycle pulses, which is named as polarization measurement rate (PMR). Then, the total excess noise of the system will be given by

    Hence the variance of the signal and reference pulse can be written as[23]

    From the above, the impact of the two attacks on the parameters can be obtained. The two attack modes will cause different numerical changes to the following parameters, Vy, Vr, ER2 and the total excess noise of system ξt, which can all be used as feature vectors of the GAN model. Considering the data received by Bob is easy to obtain and closely related to the above-mentioned system parameters, the data measured by Bob can be selected in order to avoid the security threat of additional devices required for direct measurement of system parameters. Moreover, we add a preprocessing module and when only data distribution is obtained, Bob will input distribution data to the GAN model after preprocessing to determine whether the current system is safe or not. It establishes a detection model by monitoring features of the pulse without adding additional devices.

Appendix B: Supplementary information of CNN
  • Convolutional neural networks (CNNs) are currently one of the most widely used neural network architectures. The CNN in this article is part of our GAN model, so we mainly focus on its convolutional layer[42] and pooling layer.

    The role of the convolutional layer is to extract information in the input data, which is called features. The specific operation process of the convolutional layer is to multiply and sums the elements corresponding to each position on the input matrix x and the convolution kernel k (weight matrix), and saves the result to the corresponding position of the output. As shown in Fig. B1(a), the convolution kernel slides from the upper left corner of the matrix, and slides through each area of the matrix in turn according to the specified pixel pitch. Take the yellow box in the input image as an example. The data in the yellow box is multiplied with the kernel matrix, and the obtained data is stored in the corresponding position of the feature map. The convolution operation formula is

    Here, xi is the i-th input, ki,j is the convolution kernel between the i-th input mapping and the j-th output matrix, and bj,0 is the bias of the j-th output matrix.

    The role of the pooling layer is to select the features extracted by the convolutional layer, to reduce the number of parameters, and to prevent the model from overfitting. Pooling layers usually follow convolutional layers, and each convolutional layer is teamed with a pooling layer. The pooling function used in this paper is the most popular max-pooling function. As shown in Fig. B1(b), blocks of the same color correspond to each other. The function of max pooling is to select the largest number in the block and store it in the corresponding block, which can reduce the number of parameters. The pooling operation formula is

    After several convolutions and pooling, the fully connected layer converts all feature matrices into one-dimensional feature vectors. Finally, the neural network can output classification results.

Figure (7)  Reference (42)

Catalog

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return