Fca-ProRes2Net speaker recognition method based on fusion feature dimension reduction

By using 2DPCA dimensionality reduction and frequency domain channel attention network in speaker recognition technology, the problem of insufficient feature extraction and model expression capabilities in the existing technology is solved, and the performance and robustness of speaker recognition are improved.

CN118588087APending Publication Date: 2024-09-03CHONGQING UNIV OF POSTS & TELECOMM

Patent Information

Application Number
CN202410734797.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-07
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Existing speaker recognition technology has deficiencies in feature extraction and model expression capabilities, resulting in low recognition performance, and excessive complexity of deep learning networks will lead to fitting phenomena and performance degradation.

Method used

The feature dimensionality reduction method based on 2DPCA is used to fuse the MFCC and GFCC features into mixed Mel Gamma pass-frequency cepstrum coefficients (MMGFCC), and the frequency domain channel attention network (FcaNet) is introduced into the Res2Net network to improve the experience of the model. wildness and generalization ability.

Benefits of technology

Effectively extract mid- to high-frequency and dynamic and static information, improve the feature representation ability of speaker recognition and the robustness of the model, and improve the recognition performance and generalization ability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118588087A
    Figure CN118588087A
Patent Text Reader

Abstract

The invention requests to protect an Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction, and the method comprises the steps: S1, carrying out the preprocessing of a voice signal, obtaining a voice signal suitable for the extraction of the features of a speaker, enabling MFCC, GFCC and the dynamic feature parameters of the MFCC and GFCC to form a new mixed parameter, and enabling the feature parameters to comprise medium-high frequency and dynamic and static features; s2, performing dimension reduction and integration on the feature matrix by using 2DPCA to obtain MMGFCC; s3, acquiring a receptive field in a larger range by adopting a multi-scale full-connection Res2Net network; s4, a frequency domain channel attention network FcaNet is added to the backbone network ProRes2Net, and more frequency component information is introduced; and S5, carrying out classification processing on an output result by using a Softmax function, then searching an optimal weight parameter by using a cross entropy loss function, and finally obtaining an optimized speaker recognition model. According to the method, the characteristic parameters with high characterization capability can be effectively extracted and can be efficiently identified, and the identification capability and the generalization capability are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the field of speech signal processing and pattern recognition, and in particular to an Fca-ProRes2Net speaker recognition method based on fusion feature dimension reduction. Background Art

[0002] Speaker recognition, also known as voiceprint recognition, is the same as fingerprint recognition, face recognition and other identity authentication technologies. It represents the individual differences between different people. It can extract the speaker's personality information from the voice signal to identify his identity. The production of human language requires the cooperation between specific parts of the body and the voice organs. The short-time spectrum, sound source, rhythm and other linguistic features of each person's speech are different from individual to individual. Therefore, voiceprint recognition can effectively distinguish the voices of different people through these feature differences, and then identify the speaker's identity. Compared with other biometric recognition technologies, due to the advantages of speaker recognition technology such as simple collection, no fear of occlusion and no need for contact, in identity recognition scenarios where it is inconvenient to collect other biometric features such as face and fingerprints, such as remote telephone identity authentication and anti-telecom fraud, speaker recognition technology also shows broad application prospects. With the increasing richness of society and the application scenarios of voice interaction, the requirements for the privacy sensitivity of speaker recognition and the degree of perfection of the development of recognition systems have also increased to a certain extent. Therefore, with the increasing demand for speaker identity authentication technology and the continuous improvement and improvement of related technologies, improving the recognition performance of the system has become a research hotspot in recent years.

[0003] According to the different tasks it ultimately completes, speaker recognition can be divided into two categories: speaker verification (SV) and speaker identification (SI). The former determines whether a certain speech segment is spoken by a specified person; the latter determines which of several people a certain speech segment is spoken by. According to the different recognition contents, speaker recognition can also be divided into three categories: text-related, text-independent, and text-prompted. The present invention studies text-independent speaker verification.

[0004] The basic framework of speaker recognition can be divided into two parts: feature extraction and establishment of recognition model. Feature extraction can extract parameters that characterize speaker characteristics and can fully reflect the differences between different speakers. Feature parameters are divided into time domain features and frequency domain features. However, although time domain features can assist frequency domain feature parameters in distinguishing between unvoiced and voiced sounds, voiced and unvoiced segments, the perceptual characteristics of different speakers are mainly reflected in the frequency domain, and the ability to express speaker characteristics is poor, so they are not used much. In recent years, commonly used frequency domain features include Linear Prediction Coefficient (LPC), F-bank features based on filter banks (Filter Bank, F-bank), Mel frequency cepstral coefficients MFCC, gamma frequency cepstral coefficients GFCC, etc. Among them, MFCC features use a group of Mel frequency filter banks to describe the human ear's perceptual characteristics of frequency, so they have better discrimination effects, so MFCC features are used more frequently in feature extraction, but their anti-interference ability is not strong, but GFCC features perfectly overcome this shortcoming.

[0005] Traditional speaker recognition models include Gaussian Mixture Model-Universal Background Model (GMM-UBM), Gaussian Mixture Model-Support Vector Machine (GMM-SVM), Joint Factor Analysis (JFA), i-vector, etc. Most of these models are shallow structures, which only perform a few levels of linear or nonlinear processing on the original input signal to achieve the purpose of signal and information processing. Therefore, for complex speech signals, their model expression ability is limited and they cannot fully learn the structured information and high-level information in the signal. With the development of deep learning, deep neural networks (DNN) have demonstrated strong recognition capabilities in various types of feature recognition scenarios. Deep learning has achieved many results in data mining, natural language processing, image processing and other fields. In the field of speaker recognition, D-Vector is one of the earliest neural network models that applied DNN to speech recognition. It has multiple fully connected hidden layers. In order to obtain deeper network parameters, convolutional neural networks (CNNs) are widely used as the backbone neural network of speaker recognition systems. Among them, the ResNet network is one of the CNN networks, which solves the problems of gradient disappearance and gradient explosion. Through residual connections, ResNet can build a very deep network and reduce the number of parameters and calculations, but lightweight convolutional neural networks are not very stable. Therefore, Gao et al. proposed Res2Net based on ResNet, which can represent multi-scale features at a finer level and can better characterize the deep and shallow feature information of the speaker. However, blindly increasing the depth and width of the network structure will lead to the occurrence of fitting phenomena, so how to establish a network structure with good performance is the key issue to improve speaker recognition.

[0006] In order to improve the overall performance of the speaker recognition system, the present invention proposes a speaker recognition model based on an improved Res2Net with 2DPCA fusion feature dimensionality reduction. In the feature extraction part, the MFCC, GFCC and their first-order differences without discrete cosine transform (DCT) operation are used to form mixed feature parameters, and then 2DPCA dimensionality reduction is used for integration to extract effective dynamic and static combined features. In the speaker recognition model part, a fully connected multi-scale Res2Net network is used. The receptive field of this network structure is larger than that of the Res2Net network, and Fca-Net is added to it to re-weight the information of different channels to improve the generalization ability of the model.

[0007] The inventor's prior application CN116469395A, a speaker recognition method based on Fca-Res2Net fused with self-attention, includes the following steps: S1, pre-processing the speech signal and passing it through different filters, and performing differential operations on each of them to obtain a set of two-dimensional logarithmic Mel spectrograms, making full use of the dynamic and static information of the high and low frequency bands of the speech; S2, pre-training Fca-Res2Net using the logarithmic Mel spectrograms; S3, introducing a frequency domain channel attention network: FcaNet on the baseline model Res2Net, using a residual module to fuse shallow and deep speaker feature information, and obtaining weight information of different feature channels; S4, proposing an Fca-Res2Net model combined with a self-attention mechanism to combine the speaker's spatial features with temporal features to capture speech features over a long time span; S5, during the model training process, the loss is minimized by updating the parameters, and the algorithm is optimized at the same time, and finally the softmax layer is used to classify the speaker.

[0008] The feature parameters extracted by the recognition method of the above patent cannot fully characterize the characteristics of the speaker's voice, and will cause the problem of information loss. At the same time, with the introduction of convolutional neural networks, a deeper and wider network structure is adopted to improve the recognition effect, but it will lead to a decrease in network performance. In order to improve the overall performance of the speaker recognition system, the present invention proposes an improved Res2Net speaker recognition model based on 2DPCA fusion feature dimensionality reduction. First, an improved feature extraction method is proposed, MFCC, GFCC and their first-order differences are mixed and reduced by two-dimensional principal component analysis 2DPCA to obtain mixed Mel-Gamma frequency-converted cepstral coefficients MMGFCC, and obtain features with strong characterization ability; then a new speaker recognition network is designed, a fully connected Res2Net network is introduced to increase the receptive field, and the frequency domain channel attention network FcaNet is combined to suppress unimportant information, thereby improving the performance of speaker recognition. Summary of the invention

[0009] The present invention aims to solve the above problems of the prior art. A Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction is proposed. The technical solution of the present invention is as follows:

[0010] A speaker recognition method based on Fca-ProRes2Net dimensionality reduction of fusion features, comprising the following steps:

[0011] S1. The original speech signal is preprocessed including pre-emphasis, endpoint detection, framing, and windowing to obtain a speech signal suitable for extracting speaker features, and the traditional Mel frequency cepstral coefficient MFCC, gamma frequency cepstral coefficient GFCC and their dynamic feature parameters are used to form a new hybrid parameter, which includes mid-high frequency and dynamic and static features;

[0012] S2, using two-dimensional principal component analysis 2DPCA to reduce the dimension of the feature matrix and integrate it to obtain the mixed Mel-Gamma frequency-gap cepstral coefficients MMGFCC;

[0013] S3, using a multi-scale fully connected Res2Net network to obtain a larger receptive field;

[0014] S4. A frequency domain channel attention network FcaNet is added to the backbone fully connected residual network ProRes2Net. FcaNet is used to introduce more frequency component information and capture the complex relationship between input feature parameters.

[0015] S5. Use the Softmax function to classify the output results, then use the cross entropy loss function to find the optimal weight parameters, and finally obtain the optimized speaker recognition model, and use the optimized speaker recognition model for speaker recognition.

[0016] Furthermore, the step S1 performs preprocessing including pre-emphasis, endpoint detection, framing, and windowing on the original speech signal, and the specific steps are as follows:

[0017] (1) The speech signal is passed through a high-pass filter to enhance the high-frequency part and make the spectrum of the signal flat. The transfer function is shown as follows:

[0018] H(Z)=1-μz -1 (1)

[0019] Among them, μ is the pre-emphasis coefficient;

[0020] (2) The speech signal is divided into many short segments on the time axis, which are called frames. In order to solve the Gibbs phenomenon in the signal and the spectrum leakage after Fourier transform, the Hamming window is used. The specific formula is as follows:

[0021] s(n)=x(n)*w(n) (2)

[0022] Where, s(n) is the windowed speech signal, w(n) is the window function, and x(n) is the speech signal;

[0023] After preprocessing, the speech feature map MMGFCC is obtained through fast Fourier transform FFT, taking absolute value or square value, filter bank, taking logarithm, discrete cosine transform DCT, difference operation and splicing.

[0024] Furthermore, the step S2 uses 2DPCA to reduce the dimension of the feature matrix and integrate it to obtain MMGFCC, which specifically includes:

[0025] Use {A1,A2,...,A N} represents N two-dimensional feature image matrices A∈R m×n Projection to space X∈R n×d On the projected feature vector Y∈R m×d , as shown in formula (3):

[0026] Y=AX (3)

[0027] The best projection axis X is determined according to the discrete distribution of the feature vector Y. Assume that a sample set contains N speech feature maps of different utterances. The feature map size is m×n, so the covariance matrix of the overall feature map is:

[0028]

[0029] in, is the average value of all training samples. First, calculate G t The corresponding eigenvectors, and then select d eigenvectors X1,X2,...,X d As the matrix G t The maximum eigenvector of A is used to form the projection matrix X, and the optimal projection axis is obtained. i Projecting onto space X, we can get a set of projection feature vectors Y1, Y2, ..., Y d , these projected eigenvectors are combined into an m×d matrix M i ={Y1,Y2,...,Y d}.

[0030] Furthermore, the step S3 uses a multi-scale fully connected Res2Net network to obtain a larger receptive field, specifically including:

[0031] Each feature subset in the parallel branch will fuse all previous outputs, perform a 3×3 convolution operation, and pass it to the next feature subset to repeat the above steps; then, the outputs of all groups are spliced ​​together according to the scale control parameter s to perform a 1×1 convolution operation and connect it with the original input features to obtain the final feature map as the input of the next convolution layer. The result y after convolution is i for:

[0032]

[0033] Among them, x i For each set of features divided into s groups, K i (.) represents a 3×3 convolution.

[0034] Furthermore, the step S4 adds a frequency domain channel attention network FcaNet to the backbone fully connected residual network ProRes2Net, specifically including:

[0035] The Fca-Net module is added to the backbone network ProRes2Net. The Fca-Net module is used to introduce more frequency component information, capture the complex relationship network between the input feature parameters, obtain the fusion of shallow and deep speaker feature information, and better obtain the weight information of different feature channels; Assume that the input is X = F(H×W×C), divide X into n parts along the channel dimension: [X 0 ,X 1 ,...,X n-1 ], where i = 0, 1, ..., n-1, X i ∈R H×W×C, , C'=C / n, C is the number of input channels. For each part, the corresponding 2D-DCT frequency component is assigned, and the output is the compression result of channel attention, which is:

[0036]

[0037] Among them, H and W are X i The height and width (u i ,v i ) is X i The corresponding 2D-DCT frequency components, is the basis function of 2D DCT, For input X i channel.

[0038] After splicing n parts, it becomes:

[0039] Freq=compress(X)=cat([Freq 0 ,Freq 1 ,...,Freq n-1]) (7)

[0040] The entire Fca-Net framework is expressed as:

[0041] ms_att=sigmoid(fc(Freq)) (8).

[0042] Furthermore, the step S5 uses the Softmax function to classify the output results, and then uses the cross entropy loss function to find the optimal weight parameter, and finally obtains the optimized speaker recognition model, which specifically includes:

[0043] The formula of the Softmax function is as follows:

[0044]

[0045] Among them, z i is the output value of the ith node, C is the number of output nodes, that is, the number of categories. The Softmax function is used to convert the output values ​​of multiple categories into a probability distribution ranging from [0, 1] and 1. The cross entropy loss function measures the difference between the true distribution and the model prediction distribution. The activation function is sigmoid:

[0046]

[0047] Among them, z = wx + b, then the cross entropy loss function is defined as follows:

[0048]

[0049] Where N represents the number of samples, y i Represents the true value of the i-th sample.

[0050] An electronic device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction as described in any one of the above is implemented.

[0051] A non-transitory computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction as described in any one of the above is implemented.

[0052] The advantages and beneficial effects of the present invention are as follows:

[0053] The present invention proposes a speaker recognition network model based on Fca-ProRes2Net with fusion feature dimensionality reduction. First, the input of the network is a speech feature matrix of a speech segment after feature fusion and 2DPCA dimensionality reduction. Compared with a single speech feature parameter, the original information of the feature of the present invention is retained, and the medium and high frequency, dynamic and static information is effectively extracted, and the representation ability is relatively strong. Secondly, Res2Net is introduced into the speaker recognition task, and a fully connected Res2Net, namely ProRes2Net, is adopted. The network can represent multi-scale features in a finer granularity and obtain more diverse receptive field combinations. The hierarchical connection structure can greatly increase the receptive field of the model and fuse information of different layers across channels, thereby improving the generalization ability of the model. Finally, on this basis, the frequency domain channel attention network Fca-Net is added. This mechanism redistributes weights for the voiceprint feature channel, improves the recognition ability of the model in text-independent speech scenarios, and can effectively improve the accuracy and robustness of the model.

[0054] The present invention provides a speaker recognition network model based on Fca-ProRes2Net with fused feature dimensionality reduction. Under the same experimental conditions, a speaker recognition network model based on Fca-ProRes2Net with fused feature dimensionality reduction is proposed, which can improve the problems of poor representation ability of speaker recognition features and decreased recognition rate of speaker recognition model. Specific steps: first, the traditional Mel frequency cepstral coefficients MFCC, gamma general frequency cepstral coefficients GFCC and their dynamic feature parameters are used to form a new mixed parameter, and the feature matrix is ​​reduced in dimension by two-dimensional principal component analysis 2DPCA to obtain mixed Mel gamma general frequency cepstral coefficients MMGFCC. Compared with a single speech feature parameter, the original information of the feature extracted by the present invention is retained, and the medium and high frequency, dynamic and static information are effectively extracted, and the representation ability is relatively strong; secondly, Res2Net is introduced into the speaker recognition task, and a fully connected Res2Net, namely ProRes2Net, is adopted. The network can represent multi-scale features in a finer granularity and obtain more diverse receptive field combinations, and the hierarchical connection structure can greatly increase the receptive field of the model and fuse information of different layers across channels, thereby improving the generalization ability of the model; finally, the present invention adds a frequency domain channel attention network: FcaNet to the backbone fully connected residual network ProRes2Net, introduces more frequency component information, and finally recognizes the classification output results to improve the robustness of the model. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] Figure 1 It is an overall block diagram of the Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction according to a preferred embodiment of the present invention;

[0056] Figure 2 It is a network structure diagram of the improved feature extraction method;

[0057] Figure 3 This is the network structure diagram of the fully connected ProRes2Net model;

[0058] Figure 4 This is the network structure diagram of the Fca-ProRes2Net model. DETAILED DESCRIPTION

[0059] The following will describe the technical solutions in the embodiments of the present invention in detail in conjunction with the accompanying drawings in the embodiments of the present invention. The described embodiments are only part of the embodiments of the present invention.

[0060] The technical solution of the present invention to solve the above technical problems is:

[0061] like Figure 1 As shown, the present invention provides an Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction, characterized in that it includes the following steps:

[0062] S1: The specific steps of preprocessing the original speech signal include pre-emphasis, endpoint detection, framing, windowing and other preprocessing. The specific steps are as follows:

[0063] (1) The speech signal is passed through a high-pass filter to enhance the high-frequency part and make the signal spectrum flat. At the same time, it also reduces the influence of the speech signal being suppressed by the pronunciation system. The transfer function is shown as follows:

[0064] H(Z)=1-μz -1 (1)

[0065] Among them, μ is the pre-emphasis coefficient, which is generally between 0.9 and 1.

[0066] (2) Speech signals change over time, but because speech signals have the characteristic of short-term stability, they are often divided into many short segments on the time axis. These segments are called frames. In order to solve the Gibbs phenomenon in the signal and the spectrum leakage after Fourier transform, the Hamming window is used because it has a smoother low-pass characteristic. The specific formula is as follows:

[0067] s(n)=x(n)*w(n) (2)

[0068] Among them, s(n) is the windowed speech signal, w(n) is the window function, and x(n) is the speech signal.

[0069] After preprocessing, the speech feature map MMGFCC is obtained through fast Fourier transform (FFT), taking absolute value or square value, filter bank, taking logarithm, discrete cosine transform (DCT), difference operation and splicing.

[0070] S2: Use two-dimensional principal component analysis 2DPCA to reduce the dimension of the feature matrix and integrate it to obtain MMGFCC. N} represents N two-dimensional feature image matrices A∈R m×n Projection to space X∈R n×d On the projected feature vector Y∈R m ×d , as shown in formula (3).

[0071] Y=AX (3)

[0072] The best projection axis X can be determined based on the discrete distribution of the feature vector Y. Assume that a sample set contains N speech feature maps of different utterances. The feature map size is m×n, so the covariance matrix of the overall feature map is:

[0073]

[0074] in, is the average value of all training samples. First, calculate G t The corresponding eigenvectors, and then select d eigenvectors X1, X2, ..., X d As the matrix G t The maximum eigenvector of A is used to form the projection matrix X, and the optimal projection axis is obtained. i Projecting onto space X, we can get a set of projection feature vectors Y1, Y2, ..., Y d , these projected eigenvectors are combined into an m×d matrix M i ={Y1,Y2,...,Y d}.

[0075] S3: A multi-scale fully connected Res2Net network is used to obtain a larger receptive field. Each feature subset in the parallel branch will fuse all previous outputs, perform a 3×3 convolution operation, and pass it to the next feature subset to repeat the above steps. Then, the outputs of all groups are spliced ​​together according to the scale control parameter s (Scale) to perform a 1×1 convolution operation and connect it with the original input features to obtain the final feature map as the input of the next convolution layer. The result y after convolution is i for:

[0076]

[0077] Among them, x i For each set of features divided into s groups, K i (.) represents a 3×3 convolution.

[0078] S4: In order to improve the overall performance of the model, the present invention adds the Fca-Net module to the backbone fully connected residual network ProRes2Net, introduces more frequency component information, captures the complex relationship network between the input feature parameters, obtains the fusion of shallow and deep speaker feature information, and better obtains the weight information of different feature channels. Assuming the input is X = F(H×W×C), X is divided into n parts along the channel dimension: [X 0 ,X 1 ,...,X n-1 ], where i = 0, 1, ..., n-1, X i ∈R H×W×C, , C'=C / n, C is the number of input channels. For each part, the corresponding 2D-DCT frequency component is assigned, and the output is the compression result of channel attention, which is:

[0079]

[0080] Among them, H and W are X i The height and width (u i ,v i ) is X i The corresponding 2D-DCT frequency components, is the basis function of 2D DCT, For input X i channel.

[0081] After splicing n parts, it becomes:

[0082] Freq=compress(X)=cat([Freq 0 ,Freq 1 ,...,Freq n-1 ]) (7)

[0083] The entire Fca-Net framework can be expressed as:

[0084] ms_att=sigmoid(fc(Freq)) (8)

[0085] S5: Use the Softmax function to classify the output results, and then use the cross entropy loss function to find the optimal weight parameters, and finally obtain the optimized speaker recognition model. The formula of the Softmax function is shown as follows:

[0086]

[0087] Among them, z i is the output value of the ith node, and C is the number of output nodes, that is, the number of categories. The Softmax function can be used to convert the output values ​​of multiple categories into a probability distribution ranging from [0,1] and 1. The cross entropy loss function can measure the difference between the true distribution and the model's predicted distribution, and can solve the symmetry problem and gradient disappearance problem in the classification problem. The activation function is sigmoid:

[0088]

[0089] Among them, z = wx + b, then the cross entropy loss function is defined as follows:

[0090]

[0091] Where N represents the number of samples, y i Represents the true value of the i-th sample.

[0092] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0093] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0094] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0095] The above embodiments should be understood to be only used to illustrate the present invention and not to limit the protection scope of the present invention. After reading the contents of the present invention, technicians can make various changes or modifications to the present invention, and these equivalent changes and modifications also fall within the scope defined by the claims of the present invention.

Claims

1. A speaker recognition method based on Fca-ProRes2Net with fusion feature dimensionality reduction, characterized in that: The following steps are involved: S1. The original speech signal is preprocessed including pre-emphasis, endpoint detection, framing, and windowing to obtain a speech signal suitable for extracting speaker features, and the traditional Mel frequency cepstral coefficient MFCC, gamma frequency cepstral coefficient GFCC and their dynamic feature parameters are used to form a new hybrid parameter, which includes mid-high frequency and dynamic and static features; S2, using two-dimensional principal component analysis 2DPCA to reduce the dimension of the feature matrix and integrate it to obtain the mixed Mel-Gamma frequency-gap cepstral coefficients MMGFCC; S3, using a multi-scale fully connected Res2Net network to obtain a larger receptive field; S4. A frequency domain channel attention network FcaNet is added to the backbone fully connected residual network ProRes2Net. FcaNet is used to introduce more frequency component information and capture the complex relationship between input feature parameters. S5. Use the Softmax function to classify the output results, then use the cross entropy loss function to find the optimal weight parameters, and finally obtain the optimized speaker recognition model, and use the optimized speaker recognition model for speaker recognition.

2. The Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction according to claim 1, characterized in that: The step S1 performs pre-processing including pre-emphasis, endpoint detection, framing, and windowing on the original speech signal. The specific steps are as follows: (1) The speech signal is passed through a high-pass filter to enhance the high-frequency part and make the spectrum of the signal flat. The transfer function is shown as follows: H(Z)=1-μz -1 (1) Among them, μ is the pre-emphasis coefficient; (2) The speech signal is divided into many short segments on the time axis, which are called frames. In order to solve the Gibbs phenomenon in the signal and the spectrum leakage after Fourier transform, the Hamming window is used. The specific formula is as follows: s(n)=x(n)*w(n) (2) Where, s(n) is the windowed speech signal, w(n) is the window function, and x(n) is the speech signal; After preprocessing, the speech feature map MMGFCC is obtained through fast Fourier transform FFT, taking absolute value or square value, filter bank, taking logarithm, discrete cosine transform DCT, difference operation and splicing.

3. The Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction according to claim 1, characterized in that: The step S2 uses 2DPCA to reduce the dimension of the feature matrix and integrate it to obtain MMGFCC, which specifically includes: Use {A1,A2,...,A N } represents N two-dimensional feature image matrices A∈R m×n Projection to space X∈R n×d On the projected feature vector Y∈R m×d , as shown in formula (3); Y=AX (3) The best projection axis X is determined according to the discrete distribution of the feature vector Y. Assume that a sample set contains N speech feature maps of different utterances. The feature map size is m×n, so the covariance matrix of the overall feature map is: in, is the average value of all training samples. First, calculate G t The corresponding eigenvectors, and then select d eigenvectors X1,X2,...,X d As the matrix G t The maximum eigenvector of A is used to form the projection matrix X, and the optimal projection axis is obtained. i Projecting onto space X, we can get a set of projection feature vectors Y1, Y2, ..., Y d , these projected eigenvectors are combined into an m×d matrix M i ={Y1,Y2,...,Y d }.

4. The Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction according to claim 1, characterized in that: The step S3 uses a multi-scale fully connected Res2Net network to obtain a larger receptive field, specifically including: Each feature subset in the parallel branch will fuse all previous outputs, perform a 3×3 convolution operation, and pass it to the next feature subset to repeat the above steps; then, the outputs of all groups are spliced ​​together according to the scale control parameter s to perform a 1×1 convolution operation and connect it with the original input features to obtain the final feature map as the input of the next convolution layer. The result y after convolution is i for: Among them, x i For each set of features divided into s groups, K i (.) represents a 3×3 convolution.

5. The Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction according to claim 1, characterized in that: The step S4 adds a frequency domain channel attention network FcaNet to the backbone fully connected residual network ProRes2Net, specifically including: The Fca-Net module is added to the backbone network ProRes2Net. The Fca-Net module is used to introduce more frequency component information, capture the complex relationship network between the input feature parameters, obtain the speaker feature information that integrates the shallow and deep layers, and better obtain the weight information of different feature channels; Assume that the input is X = F(H×W×C), divide X into n parts along the channel dimension: [X 0 ,X 1 ,...,X n-1 ], where i = 0, 1, ..., n-1, X i ∈R H×W×C, , C'=C / n, C is the number of input channels. For each part, the corresponding 2D DCT frequency component is assigned, and the output is the compression result of channel attention, which is: Among them, H and W are X i The height and width (u i ,v i ) is X i The corresponding 2D DCT frequency components, is the basis function of 2D DCT, For input X i Channel; After splicing n parts, it becomes: Freq=compress(X)=cat([Freq 0 ,Freq 1 ,...,Freq n-1 ]) (7) The entire Fca-Net framework is expressed as: ms_att=sigmoid(fc(Freq)) (8).

6. The Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction according to claim 1, characterized in that: The step S5 uses the Softmax function to classify the output results, and then uses the cross entropy loss function to find the optimal weight parameter, and finally obtains the optimized speaker recognition model, which specifically includes: The formula of the Softmax function is as follows: Among them, z i is the output value of the ith node, C is the number of output nodes, that is, the number of categories. The Softmax function is used to convert the output values ​​of multiple categories into a probability distribution ranging from [0, 1] and 1. The cross entropy loss function measures the difference between the true distribution and the model prediction distribution. The activation function is sigmoid: Among them, z = wx + b, then the cross entropy loss function is defined as follows: Where N represents the number of samples, y i Represents the true value of the i-th sample.

7. An electronic device, characterized in that: The invention comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction according to any one of claims 1 to 6 is implemented.

8. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the Fca-ProRes2Net speaker recognition method based on fusion feature dimensionality reduction is implemented as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Speaker recognition method based on Fca-Res2Net fusion self-attention

    CN116469395A

Cited By

  • Speaker recognition method based on Fca-Res2Net fusion self-attention

    CN116469395A

  • A speaker recognition method based on Fca-Res2Net with self-attention fusion

    CN116469395B

  • Speaker confirmation method based on SASFV aggregation model

    CN120766685A