A speaker verification method integrating GMM and ResNext

By integrating the GMM and ResNext models, and using Gaussian mixture models and multi-scale feature extraction technology, the challenges in recognition performance and robustness of existing automatic speaker confirmation systems are solved, and more efficient speaker confirmation is achieved.

CN118675533BActive Publication Date: 2024-10-29JIANGXI NORMAL UNIV
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411147042.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-21
Publication Date
2024-10-29
Estimated Expiration
2044-08-21

AI Technical Summary

Technical Problem

Existing automatic speaker identification systems have challenges in improving recognition performance and robustness, especially in selecting speech signal input features and designing network structures.

Method used

A speaker confirmation method that combines GMM and ResNext is used to calculate Mel frequency cepstral coefficient features and build a 512-order Gaussian mixture model. Combined with the multi-scale ResNext model, logarithmic Gaussian probability features and multi-scale features are extracted for speaker confirmation. .

Benefits of technology

It effectively improves the performance of the speaker confirmation system, enhances the distinguishing ability and robustness of the model, and is significantly better than the traditional model in terms of recognition performance and speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118675533B_ABST
    Figure CN118675533B_ABST
Patent Text Reader

Abstract

The invention discloses a speaker verification method integrating GMM and ResNext, comprising the following steps: a Gaussian mixture model and a multi-scale ResNext model are combined into a multi-scale GMM-ResNext model, and the multi-scale GMM-ResNext model is used to perform speaker verification on two real-time speech data; wherein the multi-scale ResNext model is obtained by training the logarithmic Gaussian probability features of original speech data extracted by the Gaussian mixture model, and the Gaussian mixture model is obtained by training the Mel-frequency cepstral coefficient features extracted from the original speech data; the invention adopts a multi-scale residual block based on one-dimensional convolution, models the original speech data with a Gaussian mixture model with a Gaussian component number of 512, extracts the corresponding logarithmic Gaussian probability features, and can effectively improve the performance of speaker verification by combining the multi-scale GMM-MSNext model.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of speaker verification, and in particular to a speaker verification method integrating GMM and ResNext. Background Art

[0002] The Automatic Speaker Verification (ASV) system is a system that authenticates the speaker's identity based on the speaker's voice information. It is currently widely used in various life scenarios such as mobile phone unlocking, smart access control, and bank identity verification.

[0003] With the application of deep learning models in recent years, ASV systems have also made significant progress and achieved higher recognition performance. However, there is still a lot of room for research in selecting speech signal input features, designing network structures, improving the accuracy and speed of ASV systems, and improving system robustness. Therefore, text-independent speaker verification technology based on deep learning is an important research topic with high practical application value. Summary of the invention

[0004] In view of the deficiencies in the prior art, the present invention provides a speaker verification method integrating GMM and ResNext, which aims to solve the problems in the background technology.

[0005] To achieve the above object, the present invention provides the following technical solution: a speaker confirmation method integrating GMM and ResNext, comprising the following steps:

[0006] Step S1: Acquire speech data of different speakers as original speech data;

[0007] Step S2: Calculate the Mel-frequency cepstral coefficient features of the original speech data;

[0008] Step S3: constructing a 512-order Gaussian mixture model based on the Mel-frequency cepstral coefficient features of the original speech data;

[0009] Step S4: using the Mel-frequency cepstral coefficient features of the original speech data as the input of a 512-order Gaussian mixture model to calculate a 512-order logarithmic Gaussian probability feature;

[0010] Step S5: construct a multi-scale ResNext model, use the calculated 512-order logarithmic Gaussian probability features as input of the multi-scale ResNext model, train the multi-scale ResNext model, and combine the trained multi-scale ResNext model with the 512-order Gaussian mixture model into a multi-scale GMM-ResNext model;

[0011] The multi-scale ResNext model consists of 6 stages; the first stage consists of a one-dimensional convolution layer with a convolution kernel of 3, a batch normalization layer, and a ReLU nonlinear activation layer. The number of input channels and output channels of the one-dimensional convolution layer with a convolution kernel of 3 are both 512; the second, third, fourth, and fifth stages are composed of 3, 3, 9, and 3 multi-scale residual blocks respectively; the sixth stage is composed of an attention statistical pooling layer and a fully connected layer; the multi-scale residual blocks in the second, third, fourth, and fifth stages are all connected in sequence;

[0012] Step S6: Import the two pieces of real-time speech data into the multi-scale GMM-ResNext model to confirm the speaker and determine whether the two pieces of real-time speech data belong to the same speaker.

[0013] Furthermore, in step S3, the Gaussian mixture model is composed of a linear weighted combination of K single Gaussian probability density functions with different weights and parameters; the probability density function of the Gaussian mixture model is It is expressed as:

[0014] (1);

[0015] In the formula, is the number of Gaussian components; Mel frequency cepstral coefficient features of the original speech data; is the Gaussian mixture model The weights of Gaussian components satisfy ; is a single Gaussian probability density function, expressed as:

[0016] (2);

[0017] In the formula, is the mean vector; is the covariance matrix; express Length.

[0018] Furthermore, the specific process of step S4 is as follows:

[0019] Step S4.1: Take the Mel-frequency cepstral coefficient features of the original speech data as the input of the 512-order Gaussian mixture model to calculate the Mel-frequency cepstral coefficient features of the original speech data The logarithmic Gaussian probability characteristic of , among which, Log-Gaussian probability features The calculation formula is:

[0020] (3);

[0021] Step S4.2: Perform mean variance normalization to obtain a 512-order logarithmic Gaussian probability feature , expressed as:

[0022] (4);

[0023] In the formula, and They are log-Gaussian probability features Mean and standard deviation on the original speech data.

[0024] Further, in step S5, a multi-scale ResNext model is constructed, and the calculated 512-order logarithmic Gaussian probability features are used as inputs of the multi-scale ResNext model. The specific process of the multi-scale ResNext model processing the 512-order logarithmic Gaussian probability features is as follows:

[0025] Step S5.1: Construct a multi-scale ResNext model and transform the 512-order logarithmic Gaussian probability features As input to the multi-scale ResNext model;

[0026] Step S5.2: The multi-scale ResNext model transforms the 512-order logarithmic Gaussian probability features Mapped into a 2048*T two-dimensional vector; where T represents the total number;

[0027] Step S5.3: Perform an attention statistics pooling operation on the 2048*T two-dimensional vector to obtain a one-dimensional vector with a fixed size of 4096;

[0028] Step S5.4: Input the one-dimensional vector with a fixed size of 4096 into the fully connected linear layer for dimensionality reduction to obtain a one-dimensional vector with a size of 256, i.e., the low-dimensional speaker embedding vector of each original speech data;

[0029] The 512-order logarithmic Gaussian probability feature Input to the multi-scale ResNext model for processing, 512-order logarithmic Gaussian probability features After the first, second, third, fourth and fifth stages, the outputs of each stage are generated. The outputs of the first, second, third, fourth and fifth stages are concatenated and then input into the sixth stage for dimensionality reduction to obtain the output of the multi-scale ResNext model, i.e., the speaker embedding vector.

[0030] Furthermore, the multi-scale residual block consists of three parts;

[0031] The first part includes a one-dimensional labeled convolution layer with a convolution kernel of 1, a batch normalization layer, and a ReLU nonlinear activation layer connected in sequence;

[0032] The second part includes three parallel one-dimensional convolutional layers and batch normalization layers and ReLU nonlinear activation layers connected in sequence after the three parallel one-dimensional convolutional layers. The convolution kernels of the three parallel one-dimensional convolutional layers are 3, 5, and 7 respectively, and the expansion rates of the three parallel one-dimensional convolutional layers are 1, 2, and 3 respectively. The outputs of the three parallel one-dimensional convolutional layers are element-by-element added to obtain the output of the second part.

[0033] The third part consists of a one-dimensional standard convolution layer with a convolution kernel of 1, a batch normalization layer, a SE module, and a ReLU nonlinear activation layer.

[0034] Furthermore, the number of input channels and the number of output channels of the multi-scale residual module are both 512; the processing flow of the multi-scale residual module is as follows:

[0035] (5);

[0036] (6);

[0037] (7);

[0038] (8);

[0039] (9);

[0040] (10);

[0041] In the formula, Represents the input of the multi-scale residual module; Represents a batch normalization operation; Represents the nonlinear activation function ReLU; Represents a one-dimensional convolution layer with a convolution kernel of 1; It represents a one-dimensional convolution layer with a convolution kernel of 3 and an expansion rate of 1. It represents a one-dimensional convolution layer with a convolution kernel of 5 and an expansion rate of 2. It represents a one-dimensional convolution layer with a convolution kernel of 7 and an expansion rate of 3; Represents the output after the first part; , and They represent the output after three parallel one-dimensional convolutional layers and the batch normalization layer and ReLU nonlinear activation layer connected in sequence after the three parallel one-dimensional convolutional layers; Represents the output after the third part; Represents the output of the multi-scale residual module.

[0042] Furthermore, the specific process of step S5.3 is: using the attention statistics pool to capture the weight coefficient of each frame of the 2048*T two-dimensional vector, specifically, for the frame-level features of the 2048*T two-dimensional vector at time frame t , first calculate Scalar fraction , expressed as:

[0043] (11);

[0044] In the formula, , , and These are all trainable parameters of the attention statistics pool; Represents the Tanh activation function;

[0045] Then use the Softmax function to calculate the scalar score The normalized score , expressed as:

[0046] (12);

[0047] Then, by normalizing the scores Calculate the weighted mean vector and weighted standard deviation :

[0048] (13);

[0049] (14);

[0050] Where, ⊙ represents the Hadamard product;

[0051] Finally, the weighted mean vector and weighted standard deviation The output of the attention statistics pool is obtained by splicing, which is a one-dimensional vector with a fixed size of 4096.

[0052] Furthermore, the specific process of step S6 is as follows:

[0053] Step S6.1: inputting two pieces of real-time speech data into a multi-scale GMM-ResNext model to obtain speaker embedding vectors of the two pieces of real-time speech data, and calculating a cosine similarity score based on the obtained speaker embedding vectors of the two pieces of real-time speech data;

[0054] Step S6.2: Determine whether the two pieces of real-time speech data belong to the same speaker based on the cosine similarity score.

[0055] Furthermore, the specific process of step S2 is: first, the speech signal of the original speech data is pre-emphasized, and the pre-emphasis coefficient is 0.97, and then it is framed, with a frame length of 25ms and a frame shift of 10ms; then each frame signal of the frame is windowed using a Hamming window, and after a 512-point Fourier transform, it is input into a Mel triangular filter group for processing, wherein the number of Mel triangular filters is 80. After processing, logarithmic operation and discrete cosine transform are performed to obtain the Mel frequency cepstrum coefficient characteristics of the original speech data.

[0056] Furthermore, the Mel-frequency cepstral coefficient features of the original speech data are retained at a fixed length of 200 frames along the time axis. When the length of the Mel-frequency cepstral coefficient features of the original speech data is greater than 200 frames, they are directly truncated, and when it is less than 200 frames, they are repeatedly padded.

[0057] Compared with the existing technology, the present invention has the following beneficial effects:

[0058] (1) The present invention adopts a multi-scale residual block based on one-dimensional convolution, uses a Gaussian mixture model with 512 Gaussian components to model the Mel-frequency cepstral coefficient features of the original speech data, extracts the corresponding logarithmic Gaussian probability features, and combines the multi-scale GMM-MSNext model to effectively improve the performance of the speaker verification system.

[0059] (2) The present invention adopts a multi-scale ResNext model to fuse the outputs of a parallel multi-branch structure composed of convolutions with different kernel sizes to extract multi-scale feature representations. At the same time, the outputs of the last layer of all stages are concatenated to generate multi-level input features of the pooling layer, thereby fully fusing the feature information of different levels in the model and improving the model's ability to extract more discriminative speaker embeddings. BRIEF DESCRIPTION OF THE DRAWINGS

[0060] Figure 1 Schematic diagram of the method of the present invention. DETAILED DESCRIPTION

[0061] like Figure 1 As shown, the present invention provides a technical solution: a speaker confirmation method integrating GMM and ResNext, comprising the following steps:

[0062] Step S1: Acquire speech data of different speakers as original speech data;

[0063] Step S2: Calculate the Mel-frequency cepstral coefficient features of the original speech data;

[0064] Step S3: constructing a 512-order Gaussian mixture model based on the Mel-frequency cepstral coefficient features of the original speech data;

[0065] Step S4: using the Mel-frequency cepstral coefficient features of the original speech data as the input of a 512-order Gaussian mixture model to calculate a 512-order logarithmic Gaussian probability feature;

[0066] Step S5: construct a multi-scale ResNext model, use the calculated 512-order logarithmic Gaussian probability features as input of the multi-scale ResNext model, train the multi-scale ResNext model, and combine the trained multi-scale ResNext model with the 512-order Gaussian mixture model into a multi-scale GMM-ResNext model;

[0067] Step S6: Import the two pieces of real-time speech data into the multi-scale GMM-ResNext model to confirm the speaker and determine whether the two pieces of real-time speech data belong to the same speaker.

[0068] The specific process of step S2 is as follows: first, the speech signal of the original speech data is pre-emphasized with a pre-emphasis coefficient of 0.97, and then framed with a frame length of 25ms and a frame shift of 10ms; each frame signal of the frame is windowed using a Hamming window, and after a 512-point Fourier transform, it is input into a Mel triangular filter group for processing, wherein the number of Mel triangular filters is 80. After processing, logarithmic operations and discrete cosine transforms are performed to obtain the Mel frequency cepstrum coefficient characteristics of the original speech data.

[0069] The Mel-frequency cepstral coefficient features of the original speech data are retained at a fixed length of 200 frames along the time axis. If the length of the Mel-frequency cepstral coefficient features of the original speech data is greater than 200 frames, it is directly truncated; if it is less than 200 frames, it is repeatedly padded.

[0070] The Gaussian mixture model (GMM) in step S3 is composed of a linear weighted combination of K single Gaussian probability density functions with different weights and parameters, which can fit the data distribution of any shape in the Mel frequency cepstral coefficient feature space of the original speech data; the probability density function of the Gaussian mixture model It is expressed as:

[0071] (1);

[0072] In the formula, is the number of Gaussian components, the value is 512; Mel frequency cepstral coefficient features of the original speech data; is the Gaussian mixture model The weights of Gaussian components satisfy ; is a single Gaussian probability density function, expressed as:

[0073] (2);

[0074] In the formula, is the mean vector; is the covariance matrix; express Length.

[0075] The specific process of step S4 is as follows:

[0076] Step S4.1: Take the Mel-frequency cepstral coefficient features of the original speech data as the input of the 512-order Gaussian mixture model to calculate the Mel-frequency cepstral coefficient features of the original speech data The logarithmic Gaussian probability characteristic of , among which, Log-Gaussian probability features The calculation formula is:

[0077] (3);

[0078] Step S4.2: Perform mean variance normalization to obtain a 512-order logarithmic Gaussian probability feature , expressed as:

[0079] (4);

[0080] In the formula, and They are log-Gaussian probability features Mean and standard deviation on the original speech data.

[0081] In step S5, a multi-scale ResNext model is constructed, and the calculated 512-order logarithmic Gaussian probability feature is used as the input of the multi-scale ResNext model. The specific process of the multi-scale ResNext model processing the 512-order logarithmic Gaussian probability feature is as follows:

[0082] Step S5.1: Construct a multi-scale ResNext model and transform the 512-order logarithmic Gaussian probability features As input to the multi-scale ResNext model.

[0083] Step S5.2: The multi-scale ResNext model transforms the 512-order logarithmic Gaussian probability features (512*T) is mapped into a two-dimensional vector (2048*T); where T represents the total number.

[0084] Step S5.3: Perform an attention statistics pooling operation on the two-dimensional vector (2048*T), where T represents the total number, to obtain a one-dimensional vector of a fixed size of 4096.

[0085] Step S5.4: Input the one-dimensional vector with a fixed size of 4096 into the fully connected linear layer for dimensionality reduction to obtain a one-dimensional vector of size 256, that is, the low-dimensional speaker embedding vector of each original speech data.

[0086] Among them, the structure of the multi-scale ResNext model consists of 6 stages; the first stage is composed of a one-dimensional convolution layer (convolution kernel is 3), a batch normalization layer, and a ReLU non-linear activation layer in sequence, and the number of input channels and output channels of the one-dimensional convolution layer (convolution kernel is 3) are both 512; the second stage, the third stage, the fourth stage and the fifth stage are composed of 3, 3, 9, and 3 multi-scale residual blocks respectively, among which the multi-scale residual blocks in the second stage, the third stage, the fourth stage and the fifth stage are all connected in sequence; the sixth stage is composed of an attention statistical pooling layer and a fully connected layer, which is used to obtain the speaker embedding vector.

[0087] The 512-order logarithmic Gaussian probability feature Input into the multi-scale ResNext model for processing, After the first, second, third, fourth and fifth stages, the outputs of each stage are generated. The outputs of the first, second, third, fourth and fifth stages are concatenated and then input into the sixth stage for dimensionality reduction to obtain the output of the multi-scale ResNext model, i.e., the speaker embedding vector.

[0088] Among them, the multi-scale residual block consists of three parts;

[0089] The first part includes a one-dimensional labeled convolution layer (the convolution kernel is 1), a batch normalization layer, and a ReLU nonlinear activation layer connected in sequence;

[0090] The second part includes three parallel one-dimensional convolutional layers and batch normalization layers and ReLU nonlinear activation layers connected in sequence after the three parallel one-dimensional convolutional layers. The convolution kernels of the three parallel one-dimensional convolutional layers are 3, 5, and 7 respectively, and the expansion rates of the three parallel one-dimensional convolutional layers are 1, 2, and 3 respectively. The outputs of the three parallel one-dimensional convolutional layers are element-by-element added to obtain the output of the second part.

[0091] The third part consists of a one-dimensional standard convolution layer (the convolution kernel is 1), a batch normalization layer, a SE module, and a ReLU nonlinear activation layer.

[0092] Among them, the number of input channels and the number of output channels of the multi-scale residual module are both 512; the processing flow of the multi-scale residual module is as follows:

[0093] (5);

[0094] (6);

[0095] (7);

[0096] (8);

[0097] (9);

[0098] (10);

[0099] In the formula, Represents the input of the multi-scale residual module; Represents a batch normalization operation; Represents the nonlinear activation function ReLU; Represents a one-dimensional convolution layer (the convolution kernel is 1); It represents a one-dimensional convolution layer with a convolution kernel of 3 and an expansion rate of 1. It represents a one-dimensional convolution layer with a convolution kernel of 5 and an expansion rate of 2. It represents a one-dimensional convolution layer with a convolution kernel of 7 and an expansion rate of 3; Represents the output after the first part; , and They represent the output after three parallel one-dimensional convolutional layers and the batch normalization layer and ReLU nonlinear activation layer connected in sequence after the three parallel one-dimensional convolutional layers; Represents the output after the third part; Represents the output of the multi-scale residual module.

[0100] The specific process of step S5.3 is: use the attention statistics pool to capture the weight coefficient of each frame of the 2048*T two-dimensional vector, where T represents the total number. Specifically, for the frame-level features of the 2048*T two-dimensional vector at time frame t , first calculate Scalar fraction , expressed as:

[0101] (11);

[0102] In the formula, , , and These are all trainable parameters of the attention statistics pool; Represents the Tanh activation function.

[0103] Then use the Softmax function to calculate the scalar score The normalized score , expressed as:

[0104] (12).

[0105] Then, by normalizing the scores Calculate the weighted mean vector and weighted standard deviation :

[0106] (13);

[0107] (14);

[0108] Where ⊙ represents the Hadamard product.

[0109] Finally, the weighted mean vector and weighted standard deviation The output of the attention statistics pool is obtained by splicing, which is a one-dimensional vector with a fixed size of 4096.

[0110] The specific process of step S6 is:

[0111] Step S6.1: inputting two pieces of real-time speech data into a multi-scale GMM-ResNext model to obtain speaker embedding vectors of the two pieces of real-time speech data, and calculating a cosine similarity score based on the obtained speaker embedding vectors of the two pieces of real-time speech data;

[0112] Step S6.2: Determine whether the two pieces of real-time speech data belong to the same speaker based on the cosine similarity score.

[0113] In order to verify the effectiveness of the present invention, this embodiment uses the VoxCeleb1 dataset and the VoxCeleb2 dataset to verify the solution of the present invention. The model is trained using the development set of VoxCeleb2, and the model is verified on the test set of VoxCeleb1, which includes the VoxCeleb1-O test set, the VoxCeleb1-E test set, and the VoxCeleb1-H test set. The ResNet34 model and the ECAPA-TDNN (1024) model are used as baseline models, and the equal error rate (Equal Error Rate, EER) and the minimum detection cost function (minDCF) are used as evaluation indicators of model performance. The results of the model comparison test are shown in Table 1:

[0114] Model comparison test results Table 1

[0115]

[0116] From the data in Table 1, it can be seen that the performance of the multi-scale GMM-ResNext model of the present invention on the test set of VoxCeleb1 is significantly better than that of the ResNet34 model and the ECAPA-TDNN (1024) model.

[0117] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A speaker verification method integrating GMM and ResNext, It is characterized in that The steps include: Step S1: Acquire speech data of different speakers as original speech data; Step S2: Calculate the Mel-frequency cepstral coefficient features of the original speech data; Step S3: constructing a 512-order Gaussian mixture model based on the Mel-frequency cepstral coefficient features of the original speech data; Step S4: using the Mel-frequency cepstral coefficient features of the original speech data as the input of a 512-order Gaussian mixture model to calculate a 512-order logarithmic Gaussian probability feature; Step S5: construct a multi-scale ResNext model, use the calculated 512-order logarithmic Gaussian probability features as input of the multi-scale ResNext model, train the multi-scale ResNext model, and combine the trained multi-scale ResNext model with the 512-order Gaussian mixture model into a multi-scale GMM-ResNext model; The multi-scale ResNext model consists of 6 stages; the first stage consists of a one-dimensional convolution layer with a convolution kernel of 3, a batch normalization layer, and a ReLU nonlinear activation layer. The number of input channels and output channels of the one-dimensional convolution layer with a convolution kernel of 3 are both 512; the second, third, fourth, and fifth stages are composed of 3, 3, 9, and 3 multi-scale residual blocks respectively; the sixth stage is composed of an attention statistical pooling layer and a fully connected layer; the multi-scale residual blocks in the second, third, fourth, and fifth stages are all connected in sequence; Step S6: Import the two pieces of real-time speech data into the multi-scale GMM-ResNext model to confirm the speaker and determine whether the two pieces of real-time speech data belong to the same speaker.

2. According to the speaker verification method integrating GMM and ResNext according to claim 1, Features: In step S3, the Gaussian mixture model is composed of a linear weighted combination of K single Gaussian probability density functions with different weights and parameters; the probability density function of the Gaussian mixture model is It is expressed as: (1); In the formula, is the number of Gaussian components; It is the Mel frequency cepstral coefficient feature of the original speech data; is the Gaussian mixture model The weights of the Gaussian components satisfy ; is a single Gaussian probability density function, expressed as: (2); In the formula, is the mean vector; is the covariance matrix; express Length.

3. According to the speaker verification method integrating GMM and ResNext according to claim 2, Features: The specific process of step S4 is as follows: Step S4.1: Take the Mel-frequency cepstral coefficient features of the original speech data as the input of the 512-order Gaussian mixture model to calculate the Mel-frequency cepstral coefficient features of the original speech data The logarithmic Gaussian probability characteristic of , among which, Log-Gaussian probability features The calculation formula is: (3); Step S4.2: Perform mean variance normalization to obtain a 512-order logarithmic Gaussian probability feature , expressed as: (4); In the formula, and They are log-Gaussian probability features Mean and standard deviation on the original speech data.

4. According to the speaker verification method integrating GMM and ResNext according to claim 3, Features: In step S5, a multi-scale ResNext model is constructed, and the calculated 512-order logarithmic Gaussian probability features are used as inputs of the multi-scale ResNext model. The specific process of the multi-scale ResNext model processing the 512-order logarithmic Gaussian probability features is as follows: Step S5.1: Construct a multi-scale ResNext model and transform the 512-order logarithmic Gaussian probability features As input to the multi-scale ResNext model; Step S5.2: The multi-scale ResNext model transforms the 512-order logarithmic Gaussian probability features Mapped into a 2048*T two-dimensional vector; where T represents the total number; Step S5.3: Perform an attention statistics pooling operation on the 2048*T two-dimensional vector to obtain a one-dimensional vector with a fixed size of 4096; Step S5.4: Input the one-dimensional vector with a fixed size of 4096 into the fully connected linear layer for dimensionality reduction to obtain a one-dimensional vector with a size of 256, i.e., the low-dimensional speaker embedding vector of each original speech data; The 512-order logarithmic Gaussian probability feature Input to the multi-scale ResNext model for processing, 512-order logarithmic Gaussian probability features After the first, second, third, fourth and fifth stages, the outputs of each stage are generated. The outputs of the first, second, third, fourth and fifth stages are concatenated and then input into the sixth stage for dimensionality reduction to obtain the output of the multi-scale ResNext model, i.e., the speaker embedding vector.

5. According to the speaker verification method integrating GMM and ResNext according to claim 4, Features: The multi-scale residual block consists of three parts: The first part includes a one-dimensional labeled convolution layer with a convolution kernel of 1, a batch normalization layer, and a ReLU nonlinear activation layer connected in sequence; The second part includes three parallel one-dimensional convolutional layers and batch normalization layers and ReLU nonlinear activation layers connected in sequence after the three parallel one-dimensional convolutional layers. The convolution kernels of the three parallel one-dimensional convolutional layers are 3, 5, and 7 respectively, and the expansion rates of the three parallel one-dimensional convolutional layers are 1, 2, and 3 respectively. The outputs of the three parallel one-dimensional convolutional layers are element-by-element added to obtain the output of the second part. The third part consists of a one-dimensional standard convolution layer with a convolution kernel of 1, a batch normalization layer, a SE module, and a ReLU nonlinear activation layer.

6. According to claim 5, a speaker verification method integrating GMM and ResNext, Features: The number of input channels and output channels of the multi-scale residual module are both 512; the processing flow of the multi-scale residual module is as follows: (5); (6); (7); (8); (9); (10); In the formula, Represents the input of the multi-scale residual module; Represents a batch normalization operation; Represents the nonlinear activation function ReLU; Represents a one-dimensional convolution layer with a convolution kernel of 1; It represents a one-dimensional convolution layer with a convolution kernel of 3 and an expansion rate of 1. It represents a one-dimensional convolution layer with a convolution kernel of 5 and an expansion rate of 2. It represents a one-dimensional convolution layer with a convolution kernel of 7 and an expansion rate of 3; Represents the output after the first part; , and They represent the output after three parallel one-dimensional convolutional layers and the batch normalization layer and ReLU nonlinear activation layer connected in sequence after the three parallel one-dimensional convolutional layers; Represents the output after the third part; Represents the output of the multi-scale residual module.

7. The speaker verification method integrating GMM and ResNext according to claim 6, Features: The specific process of step S5.3 is: use the attention statistics pool to capture the weight coefficient of each frame of the 2048*T two-dimensional vector. Specifically, for the frame-level features of the 2048*T two-dimensional vector at time frame t , first calculate Scalar fraction , expressed as: (11); In the formula, , , and These are all trainable parameters of the attention statistics pool; Represents the Tanh activation function; Then use the Softmax function to calculate the scalar score The normalized score , expressed as: (12); Then, by normalizing the scores Calculate the weighted mean vector and weighted standard deviation : (13); (14); Where, ⊙ represents the Hadamard product; Finally, the weighted mean vector and weighted standard deviation The output of the attention statistics pool is obtained by splicing, which is a one-dimensional vector with a fixed size of 4096.

8. According to claim 7, a speaker verification method integrating GMM and ResNext, Features: The specific process of step S6 is as follows: Step S6.1: inputting two pieces of real-time speech data into a multi-scale GMM-ResNext model to obtain speaker embedding vectors of the two pieces of real-time speech data, and calculating a cosine similarity score based on the obtained speaker embedding vectors of the two pieces of real-time speech data; Step S6.2: Determine whether the two pieces of real-time speech data belong to the same speaker based on the cosine similarity score.

9. The speaker verification method integrating GMM and ResNext according to claim 1, Features: The specific process of step S2 is: first, the speech signal of the original speech data is pre-emphasized, and the pre-emphasis coefficient is 0.97, and then it is framed, with a frame length of 25ms and a frame shift of 10ms; then each frame signal of the frame is windowed using a Hamming window, and after a 512-point Fourier transform, it is input into a Mel triangular filter group for processing, wherein the number of Mel triangular filters is 80. After processing, logarithmic operation and discrete cosine transform are performed to obtain the Mel frequency cepstrum coefficient characteristics of the original speech data.

10. The speaker verification method integrating GMM and ResNext according to claim 9, Features: The Mel-frequency cepstral coefficient features of the original speech data are retained at a fixed length of 200 frames along the time axis. When the length of the Mel-frequency cepstral coefficient features of the original speech data is greater than 200 frames, they are directly truncated, and when it is less than 200 frames, they are repeatedly padded.

Citation Information

Patent Citations

  • Electric appliance control method and device, storage medium and terminal

    CN112002316A

  • Speaker confirmation deception detection method based on multipath network

    CN115424625A

  • Methods and devices for identifying a speaker

    US20240071393A1