Characteristic pyramid-based Parkinson speech digital biomarker extraction and classification method and device

By constructing a feature pyramid and introducing noise intervention, the problem of insufficient feature extraction and poor model generalization ability in speech diagnosis of Parkinson's disease is solved, and a more accurate and reliable diagnosis of Parkinson's disease is achieved.

CN118629398AInactive Publication Date: 2024-09-10SICHUAN UNIV +1

Patent Information

Application Number
CN202410706490.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-03
Publication Date
2024-09-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing technology's feature extraction in speech diagnosis of Parkinson's disease is not comprehensive enough, and the model generalization ability is poor, resulting in inaccurate and low reliability of diagnostic results.

Method used

A method based on feature pyramid is used to collect speech signals from healthy people and Parkinson's patients, construct spectrograms, extract multi-scale features, and introduce noise intervention in the feature extraction process, using the ResNet-50 network of bottleneck residual blocks to build Feature pyramid improves the generalization ability of the model.

Benefits of technology

It improves the accuracy of feature extraction and diagnosis of speech signals, enhances the generalization ability of the model, and significantly improves the accuracy of Parkinson's disease judgment and the reliability of diagnosis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118629398A
    Figure CN118629398A
Patent Text Reader

Abstract

The invention discloses a Parkinson's speech digital biomarker extraction and classification method and device based on a feature pyramid, and belongs to the technical field of intelligent medical treatment, and the method comprises the steps: converting a speech signal into a spectrogram, obtaining feature maps of different scales of the spectrogram through a ResNet-50 convolutional network, carrying out the intervention of the feature maps, so as to learn the importance of the feature maps, and carrying out the classification of the Parkinson's speech digital biomarkers. And performing weighted fusion on the features based on importance, and taking the features after weighted fusion as the Parkinson's speech digital biomarker. According to the invention, the accuracy and efficiency of early diagnosis of PD can be obviously improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of intelligent medical technology, and specifically relates to a method and device for extracting and classifying Parkinson's speech digital biomarkers based on a feature pyramid. Background Art

[0002] Parkinson's disease is a chronic neurological disease that primarily affects the motor control area, leading to symptoms such as muscle rigidity, resting tremor, bradykinesia, etc. In Parkinson's patients, speech function is also often affected, manifested as slower speech speed and changes in pitch, which provides a unique opportunity to use speech as a biomarker.

[0003] Biomarkers are indicators that measure the physiological or pathological state of an organism, and are crucial for the early diagnosis and course monitoring of Parkinson's disease. In the field of speech, some studies have shown that Parkinson's patients have unique characteristics in speech, such as changes in frequency, pitch, and sound intensity, making them potential biomarkers.

[0004] However, using sound as a biomarker for diagnosing and monitoring Parkinson's disease still has the following shortcomings:

[0005] (1) It is difficult to extract features accurately and comprehensively: The speech signals of Parkinson's patients have specific characteristics, such as abnormal vowel pronunciation and changes in pitch. How to accurately and comprehensively extract these features from the speech signals and perform standardized processing has a great impact on the final diagnosis results. However, most current studies have extracted partial features.

[0006] (2) The generalization ability of the model is difficult to guarantee: At present, the Parkinson's diagnosis model based on sound signals can only perform well in specific data sets or conditions, and the generalization ability of the model is generally poor. The main reason may be that the feature extraction is relatively one-sided, resulting in the inability to obtain a model with high generalization ability by using one-sided data training.

[0007] In response to the above problems, a patent document with publication number CN112820279A discloses a Parkinson's disease detection method based on dynamic features of speech context, including: speech sample collection: collecting the voice of Parkinson's patients in a quiet environment to obtain speech samples; speech signal preprocessing: resampling the frequency of the collected speech samples; speech feature extraction: extracting features of the collected speech samples, including extraction of pronunciation features and tuning features; establishing a speech detection model: based on a bidirectional long short-term memory recurrent neural network, a Parkinson's speech detection model is established in combination with speech features; and the Parkinson's disease is quickly detected using the Parkinson's speech detection model.

[0008] This invention collects voice signals from Parkinson's patients for feature analysis. Due to the complexity and diversity of speech features and the lack of voice signals from healthy volunteers for comparison, it is difficult to ensure the integrity of speech feature extraction. In addition, although the bidirectional long short-term memory recurrent neural network is suitable for processing sequence data, it may encounter problems such as overfitting or underfitting in the process of establishing the Parkinson's speech monitoring model, resulting in poor generalization and stability of the model.

[0009] Patent document with publication number CN114400026A discloses a Parkinson's disease identification method based on the Euler image magnification algorithm, including: selecting Parkinson's disease remote monitoring data set data from the UCI database; selecting a preset proportion of first speech features from the speech features to be analyzed according to the calculated maximum information coefficient MIC value between the speech features to be analyzed and the UPDRS score; clustering the first speech features to obtain speech feature sets of several clusters; processing the speech feature set of each cluster: summarizing the speech features in the selected feature set obtained by processing the speech feature set of each cluster as speech features for predicting the UPDRS score.

[0010] This invention obtains speech features by calculating the maximum information coefficient. However, the preset ratio of the maximum speech coefficient is somewhat subjective, resulting in poor stability in the quality of speech features, which affects the predictive performance of the model. Moreover, this invention is based on analysis and prediction of a specific data set, so there may be a risk of overfitting, which affects the generalization ability of the model. Summary of the invention

[0011] The purpose of the present invention is to provide a method and device for extracting and classifying digital biomarkers of Parkinson's disease speech based on feature pyramid, by collecting a large number of speech signals of healthy people and Parkinson's disease patients to construct a spectrogram, extracting multi-scale features based on frequency domain information from the spectrogram to construct a feature pyramid, and introducing noise to intervene in the multi-scale features to improve the generalization ability of the model. By extracting multi-scale speech features, the present invention can effectively distinguish whether a person has Parkinson's disease, showing excellent performance and broad application prospects in the field of speech recognition.

[0012] In order to achieve the above-mentioned invention object, the technical solution provided by the present invention is as follows:

[0013] In a first aspect, an embodiment of the present invention provides a method for extracting and classifying Parkinson's speech digital biomarkers based on a feature pyramid, comprising the following steps:

[0014] Step 1: Collect speech signals from healthy volunteers and Parkinson's patients and perform data preprocessing, including filtering, A / D conversion, pre-emphasis and endpoint detection, to obtain a speech signal library. The speech signals in the speech signal library are converted into spectrograms through short-time Fourier transform and divided into training set, validation set and test set.

[0015] Step 2: Using a ResNet-50 network based on a bottleneck residual block as a feature classification network, inputting a training set into the feature classification network for model training, adding random noise to the feature map output by the bottleneck residual block of the feature classification network during the training process, constructing a feature pyramid based on the feature map under noise interference, extracting the weight of the bottleneck residual block using the first fully connected layer in the feature classification network, and weighted fusion of the feature pyramid through the weights to obtain Parkinson's speech digital biomarkers;

[0016] Step 3: The Parkinson's speech digital biomarker is subjected to a binary classification task through the second fully connected layer in the feature classification network. According to the minimization of the loss function between the actual label and the classification result, the model parameters of the feature classification network are updated in reverse iteration to obtain a trained feature classification network.

[0017] Step 4: Input the validation set into the trained feature classification network for prediction verification, set evaluation indicators to comprehensively evaluate the verification results, and input the test set into the evaluated feature classification network for actual testing and classification.

[0018] Furthermore, in step 1,

[0019] The pre-emphasis refers to weighting the speech signal to emphasize the high frequency part;

[0020] The endpoint detection refers to detecting the starting point and the end point of the speech signal, and using an energy threshold-based method to determine the endpoint of the speech signal.

[0021] Preferably, the weighting coefficient used is 0.95, which helps to increase the energy of the high-frequency part of the speech signal relative to the low-frequency part.

[0022] Furthermore, in step 1, the energy threshold-based method is specifically:

[0023] The speech signal is divided into multiple short-time frames and the energy is calculated respectively. The calculation method is: calculate the square of the samples in each frame and sum them;

[0024] When the energy of the short-time frame exceeds the preset energy threshold, the short-time frame is judged as the starting point of the speech signal, otherwise it is the end point;

[0025] The detected start and end points are post-processed to remove short non-speech signals and merge adjacent speech signal segments to obtain the final endpoint detection result.

[0026] Preferably, the frame length of the short time frame is set to 20 ms, and the energy threshold is set to 20% of the maximum energy.

[0027] Furthermore, in step 2, the ResNet-50 network based on the bottleneck residual block has a specific structure including:

[0028] Convolution group, used for feature extraction, including convolutional layers and bottleneck residual blocks;

[0029] The first fully connected layer is used to extract the importance of each level of the feature classification network;

[0030] The second fully connected layer is used for the classification task of Parkinson's speech digit biomarkers.

[0031] Furthermore, in step 2, the feature pyramid is constructed according to the feature map under noise interference, specifically: along the input-output direction of the feature classification network, the feature pyramid is constructed from bottom to top according to the features output by the bottleneck residual block. By constructing a multi-level feature pyramid, it is intended to comprehensively obtain information at multiple scales, thereby significantly enhancing the perception of different frequency ranges, while capturing abstract features at different levels in the speech signal, and ensuring that these feature maps have appropriate resolution and semantic information in space. This multi-level information perception greatly improves the system's ability to understand speech signals.

[0032] Furthermore, in step 2, the weight of the bottleneck residual block is extracted by using the first fully connected layer in the feature classification network, specifically:

[0033] Use the first fully connected layer to output the importance Ii of each bottleneck residual block;

[0034] The weight of each bottleneck residual block is defined as the ratio of its own importance to the sum of the importance of all bottleneck residual blocks, and is normalized using the softmax operation. By introducing noise and evaluating the weights corresponding to the feature maps under noise intervention, the generalization ability of the feature classification network can be significantly enhanced.

[0035] Furthermore, in step 3, the minimization of the loss function between the actual label and the predicted result is expressed as:

[0036]

[0037] Among them, l represents the loss function, N represents the number of samples, and y i represents the actual label of the i-th sample, p i represents the probability that the i-th sample is predicted to be Parkinson's disease, and λ represents the hyperparameter that controls the weight of the regularization term.

[0038] In the second aspect, to achieve the above-mentioned invention purpose, the embodiment of the present invention also provides a device for extracting and classifying Parkinson's speech digital biomarkers based on feature pyramid, including a data acquisition and processing module, a feature extraction module, a network optimization module, and an actual classification module;

[0039] The data acquisition and processing module is used to collect speech signals of healthy volunteers and Parkinson's patients, and perform data preprocessing, including filtering, A / D conversion, pre-emphasis and endpoint detection, to obtain a speech signal library, and convert the speech signals in the speech signal library into spectrograms through short-time Fourier transform, which are divided into training set, verification set and test set;

[0040] The feature extraction module is used to use a ResNet-50 network based on a bottleneck residual block as a feature classification network, input a training set into the feature classification network for model training, add random noise to a feature map output by a bottleneck residual block of the feature classification network during the training process, construct a feature pyramid based on the feature map under noise interference, extract the weight of the bottleneck residual block using the first fully connected layer in the feature classification network, and weightedly fuse the feature pyramid through the weights to obtain a Parkinson's speech digital biomarker;

[0041] The network optimization module is used to perform a binary classification task on the Parkinson's speech digital biomarker through the second fully connected layer in the feature classification network, and to reversely iterate and update the model parameters of the feature classification network according to the minimization of the loss function between the actual label and the classification result, so as to obtain a trained feature classification network;

[0042] The actual classification module is used to input the verification set into the trained feature classification network for prediction verification, set evaluation indicators to conduct a comprehensive evaluation of the verification results, and input the test set into the evaluated feature classification network for actual testing and classification.

[0043] In the third aspect, in order to achieve the above-mentioned purpose of the invention, an embodiment of the present invention also provides a Parkinson's speech digital biomarker extraction and classification device based on feature pyramid, including a memory and a processor, the memory is used to store a computer program, and the processor is used to implement the Parkinson's speech digital biomarker extraction and classification method based on feature pyramid provided by the embodiment of the present invention in the first aspect when executing the computer program.

[0044] In a fourth aspect, in order to achieve the above-mentioned purpose of the invention, an embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program uses a computer, the Parkinson's speech digital biomarker extraction and classification method based on feature pyramid provided in the embodiment of the present invention in the first aspect is implemented.

[0045] The beneficial effects of the present invention are as follows:

[0046] (1) The present invention filters, A / D converts, pre-emphasizes, detects endpoints, and performs short-time Fourier transform on the collected speech signal to obtain the corresponding spectrogram. The spectrogram can intuitively display the changes in the frequency and amplitude of the sound over time, thereby helping doctors or researchers to identify abnormal patterns in the pronunciation of Parkinson's patients. Secondly, the spectrogram can provide rich frequency domain information, including features such as the resonance peaks of vowel pronunciation, which are important for distinguishing normal pronunciation from the pronunciation of Parkinson's patients. In addition, the spectrogram can also be used for quantitative analysis, by extracting specific parameters to objectively evaluate the pronunciation of the patient, thereby improving the accuracy and objectivity of the diagnosis;

[0047] (2) The present invention performs noise intervention on the extracted feature graph during feature extraction, and sets the weight information of each level in the final fully connected layer to identify the weight information, and uses the weight information to perform weighted fusion on the multi-scale feature graph under noise intervention. On the one hand, the generalization ability of the model feature extraction can be improved by adding noise, and on the other hand, the multi-scale feature graph can make the Parkinson's speech digital biomarker obtained by the present invention have more speech features, which can significantly improve the accuracy of judging whether Parkinson's disease occurs or not. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 It is a flow chart of a method for extracting and classifying Parkinson's speech digital biomarkers based on feature pyramid provided in an embodiment of the present invention.

[0049] Figure 2 It is a schematic diagram of the structure of five convolution groups of the feature classification network provided by an embodiment of the present invention.

[0050] Figure 3 It is a schematic diagram of the residual connection structure provided by an embodiment of the present invention when the input and output channels are the same and different. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution 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 implementation methods described herein are only used to explain the present invention and do not limit the scope of protection of the present invention.

[0052] Feature pyramid, a successful method in the field of image processing and computer vision, has been introduced into the field of speech to solve the problem of multi-scale feature extraction. In the scenario of using sound signals as biomarkers for the diagnosis of Parkinson's disease, feature pyramids are constructed by extracting multi-scale features from sound signals, which can include abstract features at different levels in speech signals, while ensuring that these feature maps have appropriate spatial resolution and semantic information, thereby reflecting the characteristics of speech signals at different scales. This multi-level information perception greatly improves the system's ability to understand speech signals.

[0053] like Figure 1 As shown, the embodiment provides a method for extracting and classifying Parkinson's speech digital biomarkers based on feature pyramid, comprising the following steps:

[0054] S110 collects speech signals from healthy volunteers and Parkinson's patients and performs data preprocessing, including filtering, A / D conversion, pre-emphasis and endpoint detection, to obtain a speech signal library. The speech signals in the speech signal library are converted into spectrograms through short-time Fourier transform and divided into training set, validation set and test set.

[0055] (1) Data Collection

[0056] This embodiment recruited several healthy volunteers and several Parkinson's patients to collect voice signals. Before the start of the entire study, all participants were required to provide informed consent, and they were recruited by professional staff of relevant institutions.

[0057] In order to collect voice signals, this embodiment uses a lavalier microphone as a collection device. This microphone is clipped to the participant's collar and connected to the mobile phone through an adapter. The design of the entire device enables the speaking information of the volunteer during the experiment to be accurately captured. The microphone is connected to the mobile phone via Bluetooth technology to transmit the recording information in real time. All collected voice signals are saved on the mobile phone for subsequent processing and analysis. This real-time acquisition and storage method helps to ensure that high-quality voice information can be obtained and provides a reliable data basis for research.

[0058] The purpose of the present invention is to gain a deeper understanding of the possible characteristics or changes in speech of Parkinson's patients through analysis of voice data of volunteers and Parkinson's patients, thereby providing more clues and support for the early diagnosis and treatment of Parkinson's disease.

[0059] (2) Data preprocessing

[0060] After the voice signal is collected, it needs to be preprocessed by filtering, A / D conversion, pre-emphasis and endpoint detection. The voice signal library is built based on the pre-processed voice signal. By using appropriate filtering and A / D conversion in the Bluetooth connection between the lavalier microphone and the mobile phone, the quality of the voice information can be retained to the maximum extent. At the same time, pre-emphasis and endpoint detection can be performed after the data is saved to further improve the analysis effect of the voice signal. The details are as follows:

[0061] 1) Filtering

[0062] The main purpose of filtering is to eliminate or reduce noise in speech signals, which involves suppressing aliasing interference and power supply frequency interference. According to the sampling theorem, in order to avoid aliasing interference, the cutoff frequency of the filter should be set below half of the sampling frequency, that is, a low-pass filter. If the signal contains frequency components higher than half of the sampling frequency, these frequency components will be aliased to a frequency band lower than half of the sampling frequency, resulting in aliasing interference. Low-pass filters help remove these aliasing components.

[0063] In addition, in many cases, the voice signal acquisition equipment may be interfered by the power frequency, such as 50Hz or 60Hz. This interference will be introduced into the voice signal and affect the signal quality. In order to suppress the power frequency interference, a bandpass filter can be used to pass the useful frequency range in the signal, but reduce the gain in the frequency band near the power frequency, thereby reducing the sensitivity to interference.

[0064] 2)A / D conversion (Analog-to-Digital Conversion)

[0065] A / D conversion is the process of converting a continuous analog signal into a discrete digital signal. In speech signal processing, A / D conversion is the starting point of digital speech signal processing, because computers can usually only process digital data. A / D conversion includes three main steps: sampling, quantization, and encoding. First, by sampling, the continuous analog signal is sampled at a sampling rate of 8kHz (that is, at a fixed time interval of 125 microseconds (sampling period)) to discretize the continuous signal. Subsequently, quantization is performed to map each sampled value to the closest discrete value, and the signal is digitized through the set quantization level. Finally, the encoding step is adopted to represent the quantized sampled value with binary digits. The present invention uses pulse code modulation (PCM) encoding method.

[0066] 3) Preemphasis

[0067] Pre-emphasis emphasizes the high frequency part by weighting the speech signal. Specifically, the present invention adopts an emphasis coefficient of 0.95, which helps to increase the energy of the high frequency part of the speech signal relative to the low frequency.

[0068] 4) Endpoint Detection

[0069] The purpose of endpoint detection is to determine the start and end points of speech from a signal containing speech. Effective endpoint detection can not only reduce processing time, but also eliminate noise interference in silent segments.

[0070] Specifically, the speech signal is divided into short-time frames, and the frame length is selected to be 20 milliseconds. For each 20-millisecond frame, its energy is calculated. The energy can be calculated by squaring the samples in each frame and summing them, that is, calculating the energy of the frame. The present invention selects 20% as the percentage relative to the maximum energy value of the signal frame. Multiply this percentage by the maximum energy value of the signal to obtain the energy threshold. For each frame, compare the energy of the frame with the set energy threshold. When the energy of the frame exceeds the threshold, it is considered to be the starting point of the speech activity; when the energy of the frame drops below the threshold, it is considered to be the end point of the speech activity. Finally, the detected endpoints are post-processed to remove short-term non-speech activities and merge adjacent speech activity segments to obtain the final endpoint detection results.

[0071] After the above data preprocessing process, a refined speech signal is obtained and constructed into a speech signal library for subsequent processing.

[0072] (3) Spectrogram Generation

[0073] One of the innovations of the present invention is that the collected speech signal is converted into a spectrogram, which can provide a large amount of frequency domain information for subsequent feature extraction, including frequency, intensity, and resonance peaks, and can also easily adapt to quantization scenarios.

[0074] Convert the preprocessed speech signal in the speech signal library into a spectrogram for feature extraction and analysis: A spectrogram is a graph that represents the energy distribution of a sound signal in time and frequency, which provides insights into the spectral characteristics and time-frequency relationship of the signal. The spectrogram uses time as the horizontal axis and frequency as the vertical axis, and the color or brightness represents the signal energy at different times and frequencies.

[0075] This embodiment specifically uses short-time Fourier transform (STFT) to convert the speech signal into a spectrogram, which represents the distribution of the signal in time and frequency. STFT is a method for decomposing a signal into different frequency components, while considering the time domain and frequency domain information of the signal. It divides the signal into short time periods and then applies Fourier transform to each time period to obtain a signal representation in time and frequency, which can capture the frequency domain characteristics of the speech signal.

[0076] 1) Short-time Fourier transform (STFT): Each audio sample is divided into a small time window, and the window length is set to L milliseconds. In the present invention, the window length is set to 10 milliseconds.

[0077]

[0078] Wherein f(t) represents the original signal, ω(t) represents the window function, and in the present invention, a Hamming window function is applied to each time window to reduce spectrum leakage. The Hamming window function is expressed by the formula:

[0079]

[0080] The square of the absolute value of the short-time Fourier transform is the power spectrum |F ω (ω,τ)∣ 2 :

[0081]

[0082] 2) Based on the power spectrum (also called spectrogram) obtained above, it is represented on a two-dimensional plane, with the horizontal axis representing time and the vertical axis representing frequency, to obtain a spectrogram for feature extraction. The spectrogram is divided into a training set, a validation set, and a test set.

[0083] S120, using a ResNet-50 network based on a bottleneck residual block as a feature classification network, inputting a training set into the feature classification network for model training, adding random noise to a feature map output by the bottleneck residual block of the feature classification network during the training process, constructing a feature pyramid according to the feature map under noise interference, extracting the weight of the bottleneck residual block using the first fully connected layer in the feature classification network, weightedly fusing the feature pyramid through the weights, and obtaining a Parkinson's speech digital biomarker.

[0084] The present invention uses the ResNet-50 network as the backbone network of the feature classification network. The core innovation of ResNet-50 is the use of a residual learning framework, which introduces residual blocks to solve the gradient vanishing and gradient exploding problems in the deep neural network training process.

[0085] In traditional deep neural networks, as the number of network layers increases, the gradient information tends to decay to near zero (gradient vanishing) or increase sharply (gradient explosion) during the back propagation process, which makes the network difficult to train and optimize.

[0086] ResNet-50 introduces skip connections through the design of residual blocks, allowing the network to directly transfer information between layers, thereby effectively alleviating the problems of gradient disappearance and gradient explosion.

[0087] The structure of the residual block allows the network to learn residual mappings instead of directly learning the mapping from the bottom layer to the top layer. This design makes it easier for the network to learn the identity mapping, thereby reducing the training complexity. In addition, the residual learning framework also helps maintain the stability of the gradient, allowing effective training to be maintained in deeper networks.

[0088] The feature classification network proposed in the present invention includes a total of 5 convolution groups, such as Figure 2 As shown, each convolution group contains one or more basic convolution calculation processes, and the structure of the feature classification network is as follows:

[0089] (1) Input layer: Usually a 3×224×224 (C, H, W) RGB image, 3 refers to the number of channels, and 224 corresponds to the height and width of the image. If the input height and width are the same, they can be represented by (C, W, W).

[0090] (2) Convolution and pooling stage (convolution group 1)

[0091] In the convolution and pooling stage, the network structure includes the following: convolution layer, BN layer, activation function and maximum pooling layer, specifically:

[0092] 1) Convolution: 7x7 convolution layer, stride 2, 64 convolution kernels (i.e. the number of channels output by this convolution layer). Used for feature extraction and spatial dimensionality reduction of input.

[0093] 2) BN layer: refers to the Batch Normalization layer. Batch Normalization is a technique used to accelerate the neural network training process. By normalizing each small batch input, it helps reduce internal covariate shift during the training process.

[0094] 3) Activation function: ReLU is used to introduce nonlinear characteristics.

[0095] The mathematical representation of the ReLU function is:

[0096] f(x)=max(0,x)

[0097] Where x is the input value and f(x) is the output value. The characteristic of the ReLU function is that when the input is greater than zero, the output is equal to the input; when the input is less than or equal to zero, the output is zero. ReLU introduces nonlinearity, allowing neural networks to learn more complex patterns and features. During the backpropagation process, ReLU can better alleviate the gradient vanishing problem and help train deep neural networks.

[0098] 4) Max pooling layer: 3x3 window with a stride of 2. Used to reduce the size of the feature map. 64×56×56 is the number of channels, height, and width of the output of this stage, where 64 is equal to the number of convolution kernels in the first convolution layer of this stage, and 56 is equal to 224 / 2 / 2 (a stride of 2 will halve the input size).

[0099] (3) Residual stage (convolution group 2-convolution group 5):

[0100] Each residual stage contains several residual blocks. Each residual block has several convolutional layers, which helps reduce the spatial dimensions of the feature map, including 1x1, 3x3 and 1x1 convolutional layers, using a bottleneck structure.

[0101] The bottleneck block is a variant of the residual block used in ResNet-50, which is mainly used to reduce computational complexity. It introduces a 1x1 convolution layer to reduce the number of channels, then extracts features through a 3x3 convolution layer, and finally increases the number of channels through a 1x1 convolution layer. This design can retain fewer feature channels and extract more features at a lower computational cost.

[0102] The usual Bottleneck Block structure is as follows:

[0103] ① The first 1x1 convolution layer (for dimensionality reduction): The convolution kernel size is 1×1; the number of output channels is usually one quarter of the number of input channels, that is, 1 / 4 of the original number of channels.

[0104] First BatchNormalization and ReLU activation function: After the first convolutional layer, BatchNormalization is usually applied to normalize the data and ReLU activation function is used to introduce non-linearity.

[0105] ②The second 3x3 convolutional layer (for feature extraction): The convolution kernel size is 3×3; the number of output channels is the same as the number of output channels of BatchNormalization after the first convolutional layer.

[0106] Second BatchNormalization and ReLU activation function: After the second convolutional layer, BatchNormalization and ReLU activation functions are applied again.

[0107] ③The third 1x1 convolution layer (for dimensionality recovery): the convolution kernel size is 1×1; the number of output channels is restored to a higher dimension, the same as the number of input channels.

[0108] Third Batch Normalization: After the third convolutional layer, BatchNormalization is applied again.

[0109] Residual Connection:

[0110] The input is connected to the output after the third BatchNormalization through an identity mapping. Such a residual connection helps the smooth propagation of the gradient. BottleneckBlock can be divided into two types depending on whether the number of channels of the input and output is the same:

[0111] The first type: the number of input and output channels is the same.

[0112] like Figure 3 As shown in Bottleneck Block 1 in , if the number of input and output channels is the same, the residual connection directly adds the input to the output of the third convolutional layer (1x1 convolution). This ensures the consistency of the number of channels and makes the residual connection feasible. Specifically, Bottleneck Block 1 has two variable parameters C and W, namely c and W in the input shape (C, W, W). Let the input of shape (C, W, W) be x, and let the three convolution blocks on the left side of BottleneckBlock 1 (as well as related BN and RELU) be the function F(x). After adding the two (F(x)+x) (residual connection) and then passing through a ReLU activation function, we get the output of BottleneckBlock 1, which is still in the shape of (C, W, W).

[0113] The second type: the number of input and output channels is different.

[0114] like Figure 3As shown in Bottleneck Block 2 in , if the number of input and output channels is different, in order to ensure the consistency of the residual connection, an additional 1x1 convolution layer needs to be introduced to adjust the number of input channels to make it consistent with the number of output channels of the third convolution layer. Then the adjusted input is added to the output of the third convolution layer to form a residual connection. Specifically, Bottleneck Block 2 has 4 variable parameters C, W, C1 and S. S refers to the step size. When C is equal to C1, the 1×1 convolution layer on the left does not reduce the number of channels, otherwise it does. Compared with BottleneckBlock1, BottleneckBlock 2 has one more convolution layer on the right, let it be the function G(x), and it is this added convolution layer that changes x to G(x). The number of channels of G(x) and F(x) is the same, and then the sum F(x)+G(x) can be performed.

[0115] The first residual block in each stage has a stride of 1, and the subsequent stride is 2 for downsampling. The number of residual blocks and channels in different stages varies. ResNet-50 usually has [3, 4, 6, 3] residual blocks.

[0116] (4) Global average pooling: Global average pooling is performed after the last residual block to reduce the size of the feature map to 1x1.

[0117] (5) The first fully connected layer: used to extract the importance of each level in the special diagnosis extraction network.

[0118] (6) Second fully connected layer: A fully connected layer containing 1000 nodes is added after the first fully connected layer to perform binary classification of Parkinson's speech digital biomarkers and output the final classification results.

[0119] Construct a bottom-up feature pyramid based on the multi-scale feature graph extracted by the feature classification network above. Specifically:

[0120] The forward propagation mechanism of the ResNet-50 convolutional neural network is adopted. By obtaining the output of the last residual block at different stages of the network, feature maps of different sizes are obtained. The size relationship between these feature maps is 2 times, which ensures the hierarchical structure of the pyramid. Usually, in the process of extracting feature maps from the network, the layers that produce feature maps of the same size are assigned to one stage. Therefore, the feature map output by the last layer of each stage will be used to construct the feature pyramid.

[0121] For the ResNe-50 network, the output of the last convolutional layer in each stage after residual connection and RELU is used, that is, the feature map output by the last residual block of conv2, conv3, conv4, and conv5, and they are defined as {X2, X3, X4, X5}

[0122] The innovation of the present invention is that during the training process, the levels of the feature pyramid are intervened. The intervention is performed by adding Gaussian noise to the feature map. In each training iteration, a level (conv2, conv3, conv4, conv5) is randomly selected, and then Gaussian noise is added to the feature map of the level. For the i-th level, the feature map X i The process of adding Gaussian noise can be expressed as:

[0123]

[0124] in, Represents the feature map after noise intervention, N i Represents Gaussian noise with mean 0 and variance 1.

[0125] The weights of the intermediate layers after noise intervention are extracted, that is, the importance of learning the layers is learned. A fully connected layer is connected after the feature pyramid, and the output represents the importance of each layer. Let θ be the parameter of the fully connected layer, W i represents the weight of the i-th level, I i represents the importance of the i-th level, then the weight can be expressed as:

[0126]

[0127] Among them, I j Indicates the importance of convolution group j, using a softmax operation to ensure that the sum of the weights is 1.

[0128] Use the weights of the intermediate layers to perform weighted fusion on the feature pyramid to obtain the fused features. The formula is:

[0129]

[0130] The weighted fused features are used as Parkinson's speech digital biomarkers to predict Parkinson's disease.

[0131] S130, the Parkinson's speech digital biomarker is subjected to a binary classification task through the second fully connected layer in the feature classification network, and the model parameters of the feature classification network are updated in reverse iteration according to the minimization of the loss function between the actual label and the classification result to obtain a trained feature classification network.

[0132] The Parkinson's speech digital biomarkers obtained by S120 are input into the last fully connected layer of the feature classification network for classification, i.e., a binary classification task, to predict whether a patient has Parkinson's disease or not.

[0133] According to the minimization of the loss function between the predicted results and the actual labels of the training set input data, the gradient descent method is used to reversely iterate and update the model parameters of the feature classification network, including updating the model parameters such as θ and λ, thereby updating the importance of the level I i , thereby improving the feature extraction performance of the feature classification network. The loss function is expressed as:

[0134]

[0135] Where N is the number of samples, y i is the actual label of the i-th sample, p i is the probability that the i-th sample is predicted to be Parkinson's disease, and λ is a hyperparameter that controls the weight of the regularization term.

[0136] S140, input the validation set into the trained feature classification network for prediction verification, set evaluation indicators to comprehensively evaluate the verification results, and input the test set into the evaluated feature classification network for actual testing and classification.

[0137] The validation set and the test set are respectively input into the feature classification network for feature extraction. According to the loss between the validation result of the validation set and the actual label, the F1 value, precision and recall rate of the feature classification network are set as evaluation indicators. The F1 value comprehensively considers precision and recall rate, and is more robust to unbalanced data sets. Precision measures how many of the model's predictions are correct, while recall rate measures how many true positive examples the model correctly detects. Through the comprehensive evaluation of these three indicators, the present invention can fully understand the performance of the model in the speech recognition task of Parkinson's patients.

[0138] The test set is input into the evaluated feature classification network for feature extraction and classification. The system interacts with the user based on the classification results to inform the patient whether he or she has Parkinson's disease.

[0139] Based on the same inventive concept, an embodiment of the present invention also provides a Parkinson's speech digital biomarker extraction and classification device based on feature pyramid, including a data acquisition and processing module, a feature extraction module, a network optimization module, and an actual classification module;

[0140] The data acquisition and processing module is used to collect speech signals from healthy volunteers and Parkinson's patients, and perform data preprocessing, including filtering, A / D conversion, pre-emphasis and endpoint detection, to obtain a speech signal library. The speech signals in the speech signal library are converted into spectrograms through short-time Fourier transform, which are divided into training set, validation set and test set.

[0141] The feature extraction module is used to use the ResNet-50 network based on the bottleneck residual block as the feature classification network, input the training set into the feature classification network for model training, add random noise to the feature map output by the bottleneck residual block of the feature classification network during the training process, construct a feature pyramid according to the feature map under noise interference, use the first fully connected layer in the feature classification network to extract the weight of the bottleneck residual block, and weightedly fuse the feature pyramid through the weight to obtain the Parkinson's speech digital biomarker;

[0142] The network optimization module is used to perform a binary classification task on the Parkinson's speech digital biomarkers through the second fully connected layer in the feature classification network, and to iteratively update the model parameters of the feature classification network in reverse order according to the minimization of the loss function between the actual label and the classification result, so as to obtain a trained feature classification network;

[0143] The actual classification module is used to input the validation set into the trained feature classification network for prediction verification, set evaluation indicators to conduct a comprehensive evaluation of the verification results, and input the test set into the evaluated feature classification network for actual testing and classification.

[0144] For the Parkinson's speech digital biomarker extraction and classification device based on feature pyramid provided in the embodiment of the present invention, since it basically corresponds to the method embodiment, the relevant parts can refer to the partial description of the method embodiment. The device embodiment described above is only schematic, wherein the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed on multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the present invention. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0145] Based on the same inventive concept, an embodiment also provides a Parkinson's speech digital biomarker extraction and classification device based on a feature pyramid, including a memory and a processor, wherein the memory is used to store a computer program, and the processor is used to implement the above-mentioned Parkinson's speech digital biomarker extraction and classification method based on a feature pyramid when executing the computer program.

[0146] The device for extracting Parkinson's speech digital biomarkers based on feature pyramid proposed in the embodiment of the present invention can be a device such as a computer, etc. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware.

[0147] Based on the same inventive concept, an embodiment further provides a computer-readable storage medium, on which a computer program is stored. When the computer program uses a computer, the above-mentioned Parkinson's speech digital biomarker extraction and classification method based on feature pyramid is implemented.

[0148] The computer-readable storage medium may be an internal storage unit of any device with data processing capability described in any of the aforementioned embodiments, such as a hard disk or a memory. The computer-readable storage medium may also be an external storage device of a speaker, a recorder, etc., such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), an SD card, a flash card, etc. equipped on the device. Furthermore, the computer-readable storage medium may also include both an internal storage unit of any device with data processing capability and an external storage device. The computer-readable storage medium is used to store the computer program and other programs and data required by any device with data processing capability, and may also be used to temporarily store data that has been output or is to be output.

[0149] It should be noted that the Parkinson's voice digital biomarker extraction and classification device based on feature pyramid, the Parkinson's voice digital biomarker extraction and classification equipment based on feature pyramid and the computer-readable storage medium provided in the above embodiments all belong to the same concept as the Parkinson's voice digital biomarker extraction and classification method embodiment based on feature pyramid. The specific implementation process is detailed in the Parkinson's voice digital biomarker extraction and classification method embodiment based on feature pyramid, which will not be repeated here.

[0150] The above is only a preferred implementation case of the present invention and does not limit the present invention in any form. Although the implementation process of the present invention is described in detail above, for those familiar with the art, they can still modify the technical solutions recorded in the above examples, or replace some of the technical features therein with equivalents. All modifications, equivalent replacements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for extracting and classifying Parkinson's speech digital biomarkers based on feature pyramid, characterized in that: The following steps are involved: Step 1: Collect speech signals from healthy volunteers and Parkinson's patients and perform data preprocessing, including filtering, A / D conversion, pre-emphasis and endpoint detection, to obtain a speech signal library. The speech signals in the speech signal library are converted into spectrograms through short-time Fourier transform and divided into training set, validation set and test set. Step 2: Using a ResNet-50 network based on a bottleneck residual block as a feature classification network, inputting a training set into the feature classification network for model training, adding random noise to the feature map output by the bottleneck residual block of the feature classification network during the training process, constructing a feature pyramid based on the feature map under noise interference, extracting the weight of the bottleneck residual block using the first fully connected layer in the feature classification network, and weighted fusion of the feature pyramid through the weights to obtain Parkinson's speech digital biomarkers; Step 3: The Parkinson's speech digital biomarker is subjected to a binary classification task through the second fully connected layer in the feature classification network. According to the minimization of the loss function between the actual label and the classification result, the model parameters of the feature classification network are updated in reverse iteration to obtain a trained feature classification network. Step 4: Input the validation set into the trained feature classification network for prediction verification, set evaluation indicators to comprehensively evaluate the verification results, and input the test set into the evaluated feature classification network for actual testing and classification.

2. The method for extracting and classifying Parkinson's speech digital biomarkers based on feature pyramid according to claim 1, characterized in that: In step 1, The pre-emphasis refers to weighting the speech signal to emphasize the high frequency part; The endpoint detection refers to detecting the starting point and the end point of the speech signal, and using an energy threshold-based method to determine the endpoint of the speech signal.

3. The method for extracting and classifying Parkinson's speech digital biomarkers based on feature pyramid according to claim 2, characterized in that: In step 1, the energy threshold-based method is specifically: The speech signal is divided into multiple short-time frames and the energy is calculated respectively. The calculation method is: calculate the square of the samples in each frame and sum them; When the energy of the short-time frame exceeds the preset energy threshold, the short-time frame is judged as the starting point of the speech signal, otherwise it is the end point; The detected start and end points are post-processed to remove short non-speech signals and merge adjacent speech signal segments to obtain the final endpoint detection result.

4. The method for extracting and classifying Parkinson's speech digital biomarkers based on feature pyramid according to claim 1, characterized in that: In step 2, the ResNet-50 network based on the bottleneck residual block has a specific structure including: Convolution group, used for feature extraction, including convolutional layers and bottleneck residual blocks; The first fully connected layer is used to extract the importance of each level of the feature classification network; The second fully connected layer is used for the classification task of Parkinson's speech digit biomarkers.

5. The method for extracting and classifying Parkinson's speech digital biomarkers based on feature pyramid according to claim 1, characterized in that: In step 2, the feature pyramid is constructed according to the feature map under noise interference, specifically: along the input-output direction of the feature classification network, the feature pyramid is constructed from bottom to top according to the features output by the bottleneck residual block.

6. The method for extracting and classifying Parkinson's speech digital biomarkers based on feature pyramid according to claim 4, characterized in that: In step 2, the weight of the bottleneck residual block is extracted by using the first fully connected layer in the feature classification network, specifically: Use the first fully connected layer to output the importance Ii of each bottleneck residual block; The weight of each bottleneck residual block is defined as the ratio of its own importance to the sum of the importance of all bottleneck residual blocks, and is normalized using the softmax operation.

7. The method for extracting and classifying Parkinson's speech digital biomarkers based on feature pyramid according to claim 1, characterized in that: In step 3, the minimization of the loss function between the actual label and the predicted result is expressed as: Among them, l represents the loss function, N represents the number of samples, and y i represents the actual label of the i-th sample, p i represents the probability that the i-th sample is predicted to be Parkinson's, λ represents the hyperparameter that controls the weight of the regularization term, and I j Indicates the importance of convolution group j.

8. A Parkinson's speech digital biomarker extraction and classification device based on feature pyramid, characterized in that: It includes data collection and processing module, feature extraction module, network optimization module and actual classification module; The data acquisition and processing module is used to collect speech signals of healthy volunteers and Parkinson's patients, and perform data preprocessing, including filtering, A / D conversion, pre-emphasis and endpoint detection, to obtain a speech signal library, and convert the speech signals in the speech signal library into spectrograms through short-time Fourier transform, which are divided into training set, verification set and test set; The feature extraction module is used to use a ResNet-50 network based on a bottleneck residual block as a feature classification network, input a training set into the feature classification network for model training, add random noise to a feature map output by a bottleneck residual block of the feature classification network during the training process, construct a feature pyramid based on the feature map under noise interference, extract the weight of the bottleneck residual block using the first fully connected layer in the feature classification network, and weightedly fuse the feature pyramid through the weights to obtain a Parkinson's speech digital biomarker; The network optimization module is used to perform a binary classification task on the Parkinson's speech digital biomarker through the second fully connected layer in the feature classification network, and to reversely iterate and update the model parameters of the feature classification network according to the minimization of the loss function between the actual label and the classification result to obtain a trained feature classification network; The actual classification module is used to input the verification set into the trained feature classification network for prediction verification, set evaluation indicators to conduct a comprehensive evaluation of the verification results, and input the test set into the evaluated feature classification network for actual testing and classification.

9. A device for extracting and classifying Parkinson's speech digital biomarkers based on feature pyramid, comprising a memory and a processor, wherein the memory is used to store a computer program, characterized in that: The processor is used to implement the Parkinson's speech digital biomarker extraction and classification method based on feature pyramid as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is used on a computer, the method for extracting and classifying Parkinson's speech digital biomarkers based on a feature pyramid as described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Cascaded residual error neural network-based image denoising method

    CN106204467A

  • A multi-task based iris detection and perspective classification method

    CN109389105A

  • Automatic breast density grading method and device

    CN109636780A

  • Rapid iris detection method based on convolutional neural network

    CN110321844A

  • Parkinson's disease screening method, device and equipment, and storage medium

    CN112750468A

Cited By

  • Phonetic feature-based early warning system for progressive dysarthria of Parkinson patients

    CN122842629A