Real-time speech information extraction method of target speaker based on voiceprint features

By constructing a lightweight speech feature extraction model and a parallel-arranged voiceprint extraction module, combined with attention pooling and feature splicing modules, the problem of large computing resources and delay in the existing technology is solved, and efficient speech information is achieved. Extraction, suitable for front-end processing of speech recognition.

CN115240688BActive Publication Date: 2024-09-03XIDIAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210837364.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-15
Publication Date
2024-09-03
Estimated Expiration
2042-07-15

AI Technical Summary

Technical Problem

Existing speech separation methods have large requirements in terms of computing resources and delay, resulting in poor real-time performance and are difficult to be suitable for front-end processing of speech recognition.

Method used

A real-time speech information extraction method of the target speaker based on voiceprint features is adopted. By constructing a voiceprint extraction model including a sequentially connected voice feature extraction module, a voiceprint feature extraction module and an attention pooling module, combined with the parallel arranged voice The texture extraction module and speech feature extraction module use lightweight LSTM network and feature splicing module to reduce computing resource requirements and shorten latency.

Benefits of technology

It effectively reduces the computing resource requirements, shortens the speech extraction delay, improves the real-time performance, and can start the extraction operation when part of the speech is received, without destroying the real-time performance of the real-time speech recognition task.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115240688B
    Figure CN115240688B
Patent Text Reader

Abstract

The present invention proposes a method for extracting the real-time speech of a target speaker based on voiceprint features, and the implementation steps are: obtaining a pure speech training sample set and a mixed speech training sample set; constructing a voiceprint extraction model V; iteratively training the voiceprint extraction model V; constructing a target speaker real-time speech information extraction model M based on voiceprint features; iteratively training the target speaker real-time speech information extraction model M; extracting the real-time speech information of the target speaker. The feature splicing module in the target speaker real-time speech information extraction model of the present invention realizes the fusion of the target speaker's voiceprint features and speech features through a simple splicing operation, and adopts a lightweight and real-time processing LSTM network, which effectively reduces the delay in extracting the target speaker's speech information and the demand for computing resources, and improves the real-time performance of the speech extraction operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of speech recognition, and relates to a speech separation method, and specifically to a method for extracting real-time speech information of a target speaker based on voiceprint features, which can be used for front-end processing of speech recognition applications in various mobile devices. Background Art

[0002] In recent years, speech recognition has been widely used in smart speakers, smart phones, hearing aids and other devices for voice interaction, voice input and other operations. These devices often receive some non-target speakers' voices while receiving the target speaker's voice data to be processed. The voices of these non-target speakers will seriously interfere with the accuracy of speech recognition and thus affect the user experience. In order to solve this problem, it is necessary to process the mixed speech before speech recognition to extract the target speaker's voice information. The extracted voice information should first be able to effectively improve the accuracy of subsequent speech recognition; at the same time, considering the limited computing resources of mobile devices and the real-time nature of some speech recognition tasks, this extraction operation should not take up too much computing resources or take too long.

[0003] The current mainstream speech separation method usually separates the mixed speech of N speakers into N corresponding speech. These methods require the support of hardware such as microphone arrays, or the number and position of speakers in the scene to be known in advance, and have high requirements for computing resources such as memory and CPU. These problems make such methods unsuitable for front-end processing of speech recognition.

[0004] Since voiceprint features can characterize the characteristics of a speaker's voice to a certain extent, extracting the target speaker's voice information from mixed voice with the help of the target speaker's voiceprint features has become a feasible method. For example, the patent application with application publication number CN113990344A, "A method, device and medium for separating multiple people's voices based on voiceprint features", discloses a method for separating multiple people's voices based on voiceprint features. The method first extracts Mel frequency cepstral coefficients MFCCs from the target speaker's clean voice as the target speaker's voiceprint features, and performs short-time Fourier transform on the mixed voice data to obtain its spectrum features, and then fuses the target speaker's voiceprint features with the spectrum features of the mixed voice, and inputs them into the deep clustering model DPCL based on the bidirectional LSTM network to obtain the spectrum mask of the mixed voice, and multiplies the mask with the spectrum features of the mixed voice to obtain the spectrum of the target speaker's clean voice, and then further speech recognition or short-time Fourier inverse transform can be performed to obtain the target speaker's clean voice. This method can effectively extract the speech information of the target speaker from the mixed speech, but it relies on a complex dilated convolutional network to fuse the voiceprint features with the mixed speech spectrum. The additional network structure requires more computing resources and causes greater delays. In addition, the DPCL network structure used to calculate the mask separation model is complex, which further increases the computing resource occupancy and delay. Summary of the invention

[0005] The purpose of the present invention is to overcome the defects of the above-mentioned prior art and to provide a method for extracting real-time speech information of a target speaker based on voiceprint features, so as to solve the technical problem of poor real-time performance caused by large additional computing resources and delays in the prior art.

[0006] To achieve the above object, the technical solution adopted by the present invention includes the following steps:

[0007] 1. A method for extracting real-time speech information of a target speaker based on voiceprint features, characterized in that it comprises the following steps:

[0008] (1) Obtaining a pure speech training sample set and a mixed speech training sample set:

[0009] Get N speakers P = {p1, p2, ..., p n ,...,p N} and contains each speaker p n M pieces of pure voice data The N×M pieces of clean speech data are combined into a clean speech training sample set, and then each speaker p is trained. n Each piece of pure voice data Mix any clean speech data of any one of the other N-1 speakers to get p n M mixed voice data Finally, N×M mixed speech data are combined into a mixed speech training sample set, where N≥400, p n represents the nth speaker, M ≥ 300, Indicates p n The mth piece of pure voice data, express The corresponding mixed voice data, The corresponding target speaker is p n ;

[0010] (2) Constructing the voiceprint extraction model V:

[0011] Construct a voiceprint extraction model V including a speech feature extraction module, a voiceprint feature extraction module and an attention pooling module connected in sequence; wherein: the voiceprint feature extraction module includes a multi-layer long short-term memory network LSTM in sequence and a fully connected layer whose activation function is a hyperbolic tangent tanh function; the attention pooling module includes a fully connected layer whose activation function is a Softmax function;

[0012] (3) Iteratively train the voiceprint extraction model V:

[0013] (3a) The number of initialization iterations is i, the maximum number of iterations is I, I ≥ 250, and the current voiceprint recognition model is V i , and let i = 1, V = V i ;

[0014] (3b) The clean speech training sample set is used as the input of the voiceprint extraction model V for forward propagation:

[0015] (3b1) The speech feature extraction module extracts each pure speech training sample Perform pre-emphasis, divide the pre-emphasized training samples into multiple frames, and extract Mel filter bank features of each frame;

[0016] (3b2) Voiceprint feature extraction module based on The Mel filter bank feature of each frame extracts the voiceprint feature; the attention pooling module is based on The voiceprint features of each frame are used to calculate the attention weight of the frame. The voiceprint features of all frames are multiplied by the attention weight of the frame and summed to get the voice Voiceprint features

[0017] (3c) Using the generalized end-to-end loss function L G, and calculate the loss value of V based on all voiceprint features Then the back propagation method is used and through Calculate the parameter gradients of the voiceprint feature extraction module and the attention pooling module, and finally use the gradient descent method to update the weight parameters of the voiceprint feature extraction module through the parameter gradient of the voiceprint feature extraction module, and update the weight parameters of the attention pooling module through the parameter gradient of the attention pooling module to obtain the voiceprint extraction model after the i-th iteration;

[0018] (3d) Determine whether i≥I is true. If so, obtain the trained voiceprint extraction model V * , otherwise, let i=i+1 and execute step (3b);

[0019] (4) Construct a real-time speech information extraction model M of the target speaker based on voiceprint features:

[0020] Construct a target speaker real-time speech information extraction model M including a voiceprint extraction module and a speech feature extraction module arranged in parallel, and a feature splicing module, a mask calculation module and a speech extraction module connected in sequence to the output ends of the two modules; wherein: the voiceprint extraction module adopts the trained voiceprint extraction model V * , the mask calculation module sequentially connects the multi-layer LSTM network and the fully connected layer whose activation function is the Softmax function;

[0021] (5) Iteratively train the target speaker's real-time speech information extraction model M:

[0022] (5a) Fixed voiceprint extraction model V * The parameters of the target speaker remain unchanged, the number of initial iterations is j, the maximum number of iterations is J, J ≥ 100, and the current target speaker real-time speech information extraction model is M j , and let j = 1, M = M j ;

[0023] (5b) The mixed speech training sample set is used as the input of the base target speaker real-time speech information extraction model M for forward propagation:

[0024] (5b1) Voiceprint extraction module from p n Extract p from any pure speech n voiceprint features; at the same time, the speech feature extraction module extracts each mixed speech training sample Pre-emphasize, divide the pre-emphasized training samples into multiple frames, and extract the Mel filter bank features of each frame; Corresponding pure voice Perform the same operation and arrange the Mel filter bank features of all frames in the time order of the frames, and combine them to obtain Corresponding pure voice The voice feature x clean ;

[0025] (5b2) The feature concatenation module concatenates the voiceprint feature with the Mel filter bank feature of each frame of the mixed speech to obtain the concatenated feature of the mixed speech; the LSTM network in the mask calculation module calculates the speech mask based on the concatenated feature, and then uses a fully connected layer with a Softmax activation function to map the mask to the same dimension as the Mel filter bank feature of each frame of the mixed speech; the speech extraction module concatenates the speech mask with the mixed speech sample frame by frame. The result of the dot product is arranged in the time order of the frames and combined to obtain the speech feature x extraction ;

[0026] (5c) Using the mean square error loss function L MSE , and by x extraction and x clean Calculate the loss value of the target speaker's real-time speech information extraction model in the jth iteration, and use the Adam optimization method to minimize L MSE Update the weight parameters of the mask calculation module to obtain the target speaker real-time speech information extraction model M after the jth iteration j ;

[0027] (5d) Determine whether j ≥ J. If so, obtain the trained target speaker real-time speech information extraction model M. * , otherwise, let j=j+1 and execute step (5b);

[0028] (6) Extract the real-time speech information of the target speaker:

[0029] (6a) Pre-acquire the clean speech of the target speaker and use the target speaker real-time speech information extraction model M * The voiceprint extraction module in the extracts and stores the voiceprint;

[0030] (6b) continuously acquiring the target speaker's speech stream, and truncating it into a speech segment whenever it reaches a fixed length;

[0031] (6c) Input the target speaker's speech segment and voiceprint into the target speaker's real-time speech information extraction model M based on voiceprint features. * And use the pre-stored voiceprint features to extract the target speaker's voice information in real time.

[0032] Compared with the prior art, the present invention has the following advantages:

[0033] 1. In the process of extracting the speech information mask of the target speaker real-time speech information extraction model constructed by the present invention, the mask calculation module adopts a lightweight LSTM network suitable for real-time processing to calculate the mask according to the splicing features given by the feature splicing module, thereby avoiding the overly complex network structure and the need for complete speech for separation in the separation model DPCL based on the bidirectional LSTM network in the prior art. The lightweight network structure reduces the demand for computing resources and significantly shortens the delay of speech extraction. At the same time, LSTM allows the model to start the extraction operation when receiving partial speech, which will not destroy the real-time performance of the real-time speech recognition task.

[0034] 2. In the process of iteratively training the target speaker's real-time speech information extraction model and extracting the target speaker's real-time speech information, the feature splicing module of the present invention splices the voiceprint features extracted by the voiceprint extraction module and the speech feature extraction module with the mixed speech features to achieve the fusion of the two features, thereby avoiding the defect of the prior art that a more complex dilated convolutional network is used to obtain fused features, which requires a large amount of calculation. Under the premise of ensuring that the voiceprint features are fully utilized to extract the target speaker's speech information, the delay of speech extraction is further shortened and the demand for computing resources is reduced, thereby improving the real-time performance of speech extraction.

[0035] 3. In the process of iteratively training the target speaker's real-time speech information extraction model and extracting the target speaker's real-time speech information, the present invention adopts Mel filter group features as the speech features of the model input and output, avoiding the problem of too many input features and more complicated processing caused by the use of spectral features obtained by short-time Fourier transform in the prior art. The use of Mel filter group features effectively reduces the size of the model input and further reduces the amount of calculation. In addition, the Mel filter features can be directly used for speech recognition, which is more in line with the needs of speech recognition front-end processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a flow chart of the implementation of the present invention;

[0037] Figure 2 It is a structural schematic diagram of the target speaker real-time speech information extraction model constructed by the present invention. DETAILED DESCRIPTION

[0038] The present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0039] Reference Figure 1 , the present invention comprises the following steps:

[0040] Step 1) Obtain a pure speech training sample set and a mixed speech training sample set:

[0041] Get N speakers P = {p1, p2, ..., p n ,...,p N} and contains each speaker p n M pieces of pure voice data The N×M pieces of clean speech data are combined into a clean speech training sample set, and then each speaker p is trained. n Each piece of pure voice data Mix any clean speech data of any one of the other N-1 speakers to get p n M mixed voice data Finally, N×M mixed speech data are combined into a mixed speech training sample set, where N≥400, p n represents the nth speaker, M ≥ 300, Indicates p n The mth piece of pure voice data, express The corresponding mixed voice data, The corresponding target speaker is p n ;

[0042] The pure speech training sample set is used to train the voiceprint extraction model, which is used to extract the speaker's voiceprint features from the pure speech; the mixed speech training sample set is used to train the target speaker's real-time speech information extraction model; in this embodiment, N = 400, 350≤M≤400;

[0043] Step 2) Build the voiceprint extraction model V:

[0044] Construct a voiceprint extraction model V including a speech feature extraction module and a voiceprint feature extraction module connected in sequence; wherein: the voiceprint feature extraction module includes a multi-layer long short-term memory network LSTM in sequence and a fully connected layer whose activation function is a hyperbolic tangent tanh function; the attention pooling module includes a fully connected layer whose activation function is a Softmax function;

[0045] The attention pooling layer assigns different weights to different frames, and then adds the voiceprint codes of all frames according to the weights to obtain the final voiceprint features. This process enables the model to more effectively capture longer-term voiceprint feature changes, so that the voiceprint can better represent the speaker's speech characteristics;

[0046] Step 3) Iteratively train the voiceprint extraction model V:

[0047] (3a) The number of initialization iterations is i, the maximum number of iterations is I, I ≥ 250, and the current voiceprint recognition model is V i , and let i = 1, V = Vi ;

[0048] (3b) The clean speech training sample set is used as the input of the voiceprint extraction model V.

[0049] (3b1) The speech feature extraction module extracts each pure speech training sample Perform pre-emphasis, divide the pre-emphasized training samples into multiple frames, and extract Mel filter bank features of each frame;

[0050] In this embodiment, the frame length is 25ms and the frame shift is 10ms. The image is divided into multiple frames, each frame is multiplied by the Hamming window function and then fast Fourier transformed to obtain the spectrum of each frame. The spectrum of each frame is squared to obtain the corresponding power spectrum. Finally, the Mel filter is applied to the power spectrum of each frame and the output is logarithmic, that is, the Mel filter bank features of each frame are obtained. The Mel filter bank features of each frame are arranged in time order and combined into The voice characteristics of

[0051] (3b2) Voiceprint feature extraction module The voice features are extracted frame by frame based on the speech features; the attention pooling layer is based on The voiceprint features of each frame are used to calculate the attention weight of the frame. The voiceprint features of all frames are multiplied by the attention weight of the frame and summed to get the voice Voiceprint features

[0052] (3c) Using the generalized end-to-end loss function L G , and calculate the loss value of V based on all voiceprint features Then the back propagation method is used and through Calculate the parameter gradients of the voiceprint feature extraction module and the attention pooling module, and finally use the gradient descent method to update the weight parameters of the voiceprint feature extraction module through the parameter gradient of the voiceprint feature extraction module, and update the weight parameters of the attention pooling module through the parameter gradient of the attention pooling module to obtain the voiceprint extraction model after the i-th iteration;

[0053] Generalized end-to-end loss function L G The formula is as follows:

[0054]

[0055]

[0056] Where cos(x,y) represents the cosine similarity between x and y; ω and b are both learnable parameters and satisfy ω>0;

[0057] (3d) Determine whether i≥I is true. If so, obtain the trained voiceprint extraction model V * , otherwise, let i=i+1 and execute step (3b);

[0058] Step 4) Refer to Figure 2 , build a real-time speech information extraction model M of the target speaker based on voiceprint features:

[0059] Construct a target speaker real-time speech information extraction model M including a voiceprint extraction module and a speech feature extraction module arranged in parallel, and a feature splicing module, a mask calculation module and a speech extraction module connected in sequence to the output ends of the two modules; wherein: the voiceprint extraction module adopts the trained voiceprint extraction model V * , the mask calculation module sequentially connects the multi-layer LSTM network and the fully connected layer whose activation function is the Softmax function;

[0060] The LSTM network used by the mask calculation module can make full use of historical information when processing current data and does not rely on future information, which is very suitable for processing real-time voice streams. Therefore, the present invention uses the LSTM network to calculate the mask;

[0061] Step 5) Iteratively train the target speaker's real-time speech information extraction model M:

[0062] (5a) Fixed voiceprint extraction model V * The parameters of the target speaker remain unchanged, the number of initial iterations is j, the maximum number of iterations is J, J ≥ 100, and the current target speaker real-time speech information extraction model is M j , and let j = 1, M = M j ;

[0063] (5b) The mixed speech training sample set is used as the input of the target speaker real-time speech information extraction model M based on voiceprint features. For each mixed speech Extract the corresponding target speaker p from n The voice information is obtained by extraction , and use the speech feature extraction module to calculate Corresponding pure voice The voice feature x clean ; where the speech feature x extraction The specific calculation steps are as follows:

[0064] (5b1) Using the voiceprint extraction module, from p n Extract p from any pure speech n Voiceprint characteristics;

[0065] (5b2) The speech feature extraction module extracts each mixed speech training sample Pre-emphasize, divide the pre-emphasized training samples into multiple frames, and extract the Mel filter bank features of each frame; Corresponding pure voice Perform the same operation and arrange the Mel filter bank features of all frames in the time order of the frames to obtain x clean ;

[0066] (5b3) The feature concatenation module concatenates the voiceprint feature with the Mel filter bank feature of each frame of the mixed speech to obtain the concatenated feature of the mixed speech; the LSTM network in the mask calculation module calculates the speech mask based on the concatenated feature, and then uses a fully connected layer with a Softmax activation function to map the mask to the same dimension as the Mel filter bank feature of each frame of the mixed speech; the speech extraction module concatenates the speech mask with the mixed speech sample frame by frame. The result of the dot product is arranged in the time order of the frames and combined to obtain the speech feature x extraction .

[0067] In order to restore the separated speech, most speech separation methods often use the original speech sampling data or the spectrum features obtained by short-time Fourier transform as the model input, which makes the model structure very complex and the amount of calculation is large. However, considering that the present invention only needs to be used as the front-end processing of speech recognition and does not need to restore the speech, the present invention adopts the Mel filter bank feature as the model input, and the extracted target speaker speech information is also represented in the form of Mel filter bank features, which can be directly used as the input of subsequent speech recognition without additional operations.

[0068] (5b3) The feature concatenation module concatenates the voiceprint feature onto the speech feature of each frame of the mixed speech to obtain the concatenated feature of the mixed speech; the mask calculation module calculates the speech mask based on the concatenated feature; the speech extraction module compares the speech mask with the mixed speech sample frame by frame. The speech feature point multiplication is performed to extract the speech information of the target speaker and obtain the speech feature x extraction ;

[0069] Different from the existing methods that use dot product or neural network to fuse voiceprint features and mixed speech features, the present invention uses a simple splicing operation to fuse features, which effectively reduces the amount of calculation and can also make full use of voiceprint features to extract the target speaker's voice;

[0070] (5c) Using the mean square error loss function L MSE , and by x extraction and x cleanCalculate the loss value of the target speaker's real-time speech information extraction model in the jth iteration, and use the Adam optimization method to minimize L MSE Update the weight parameters of the mask calculation module to obtain the target speaker real-time speech information extraction model M after the jth iteration j ; where L MSE The calculation formula is as follows:

[0071]

[0072] in Represents pure speech The value of the fth dimension in the tth frame of the speech feature, This means that the model M is The value of the f-th dimension in the t-th frame of the speech feature extracted, T represents the total number of frames of the speech feature, and F represents the dimension of each frame of the speech feature;

[0073] L MSE Optimize the similarity between the speech codes extracted by the model from the mixed speech and the speech codes directly extracted from the corresponding pure speech, so that the speech information extracted by the model from the mixed speech is closer to the speech information extracted from the speaker's pure speech;

[0074] (5d) Determine whether j ≥ J. If so, obtain the trained target speaker real-time speech information extraction model M. * , otherwise, let j=j+1 and execute step (5b);

[0075] Step 6) Extract the real-time speech information of the target speaker:

[0076] (6a) Pre-acquire the clean speech of the target speaker and use the target speaker real-time speech information extraction model M * The voiceprint extraction module in the extracts and stores the voiceprint;

[0077] (6b) continuously acquiring the target speaker's speech stream, and truncating it into a speech segment whenever it reaches a fixed length;

[0078] (6c) Input the target speaker's speech segment into the target speaker's real-time speech information extraction model M based on voiceprint features. * , and uses the pre-stored voiceprint features to extract the target speaker's voice information in real time.

Claims

1. A method for extracting real-time speech information of a target speaker based on voiceprint features. It is characterized in that The steps include: (1) Obtaining a pure speech training sample set and a mixed speech training sample set: Get N speakers P from the clean speech dataset = {p 1 ,p 2 ,...,p n ,...,p N } and contains each speaker p n M pieces of pure voice data The N×M pieces of clean speech data are combined into a clean speech training sample set, and then each speaker p is trained. n Each piece of pure voice data Mix any clean speech data of any one of the other N-1 speakers to get p n M mixed voice data Finally, N×M mixed speech data are combined into a mixed speech training sample set, where N≥400, p n represents the nth speaker, M ≥ 300, Indicates p n The mth piece of pure voice data, express The corresponding mixed voice data, The corresponding target speaker is p n ; (2) Constructing the voiceprint extraction model V: Construct a voiceprint extraction model V including a speech feature extraction module, a voiceprint feature extraction module and an attention pooling module connected in sequence; wherein: the voiceprint feature extraction module includes a multi-layer long short-term memory network LSTM in sequence and a fully connected layer whose activation function is a hyperbolic tangent tanh function; the attention pooling module includes a fully connected layer whose activation function is a Softmax function; (3) Iteratively train the voiceprint extraction model V: (3a) The number of initialization iterations is i, the maximum number of iterations is I, I ≥ 250, and the current voiceprint recognition model is V i , and let i = 1, V = V i ; (3b) The clean speech training sample set is used as the input of the voiceprint extraction model V for forward propagation: (3b1) The speech feature extraction module extracts each pure speech training sample Perform pre-emphasis, divide the pre-emphasized training samples into multiple frames, and extract Mel filter bank features of each frame; (3b2) Voiceprint feature extraction module based on The Mel filter bank feature of each frame extracts the voiceprint feature; the attention pooling module is based on The voiceprint features of each frame are used to calculate the attention weight of the frame. The voiceprint features of all frames are multiplied by the attention weight of the frame and summed to get the voice Voiceprint features (3c) Using the generalized end-to-end loss function L G , and calculate the loss value of V based on all voiceprint features Then the back propagation method is used and through Calculate the parameter gradients of the voiceprint feature extraction module and the attention pooling module, and finally use the gradient descent method to update the weight parameters of the voiceprint feature extraction module through the parameter gradient of the voiceprint feature extraction module, and update the weight parameters of the attention pooling module through the parameter gradient of the attention pooling module to obtain the voiceprint extraction model after the i-th iteration; (3d) Determine whether i≥I is true. If so, obtain the trained voiceprint extraction model V * , otherwise, let i=i+1 and execute step (3b); (4) Construct a real-time speech information extraction model M of the target speaker based on voiceprint features: Construct a target speaker real-time speech information extraction model M including a voiceprint extraction module and a speech feature extraction module arranged in parallel, and a feature splicing module, a mask calculation module and a speech extraction module connected in sequence to the output ends of the two modules; wherein: the voiceprint extraction module adopts the trained voiceprint extraction model V * , the mask calculation module sequentially connects the multi-layer LSTM network and the fully connected layer whose activation function is the Softmax function; (5) Iteratively train the target speaker's real-time speech information extraction model M: (5a) The parameters of the voiceprint extraction module are fixed, the number of initial iterations is j, the maximum number of iterations is J, J ≥ 100, and the current target speaker real-time speech information extraction model is M j , and let j = 1, M = M j ; (5b) The mixed speech training sample set is used as the input of the base target speaker real-time speech information extraction model M for forward propagation: (5b1) Voiceprint extraction module from p n Extract p from any pure speech n voiceprint features; at the same time, the speech feature extraction module extracts each mixed speech training sample Pre-emphasize, divide the pre-emphasized training samples into multiple frames, and extract the Mel filter bank features of each frame; Corresponding pure voice Perform the same operation and arrange the Mel filter bank features of all frames in the time order of the frames, and combine them to obtain Corresponding pure voice The voice feature x clean ; (5b2) The feature concatenation module concatenates the voiceprint feature with the Mel filter bank feature of each frame of the mixed speech to obtain the concatenated feature of the mixed speech; the LSTM network in the mask calculation module calculates the speech mask based on the concatenated feature, and then uses a fully connected layer with a Softmax activation function to map the mask to the same dimension as the Mel filter bank feature of each frame of the mixed speech; the speech extraction module concatenates the speech mask with the mixed speech sample frame by frame. The result of the dot product is arranged in the time order of the frames and combined to obtain the speech feature x extraction ; (5c) Using the mean square error loss function L MSE , and by x extraction and x clean Calculate the loss value of the target speaker's real-time speech information extraction model in the jth iteration, and use the Adam optimization method to minimize L MSE Update the weight parameters of the mask calculation module to obtain the target speaker real-time speech information extraction model M after the jth iteration j ; (5d) Determine whether j ≥ J. If so, obtain the trained target speaker real-time speech information extraction model M. * , otherwise, let j=j+1 and execute step (5b); (6) Extract the real-time speech information of the target speaker: (6a) Pre-acquire the clean speech of the target speaker and use the target speaker real-time speech information extraction model M * The voiceprint extraction module in the extracts and stores the voiceprint; (6b) continuously acquiring the target speaker's speech stream, and truncating it into a speech segment whenever it reaches a fixed length; (6c) Input the target speaker's speech segment and voiceprint into the target speaker's real-time speech information extraction model M based on voiceprint features. * And use the pre-stored voiceprint features to extract the voice information of the target speaker in the voice segment in real time.

2. According to the method for extracting real-time speech information of a target speaker based on voiceprint features according to claim 1, It is characterized in that The generalized end-to-end loss function in step (3c) is calculated as follows: Among them, cos(x,y) represents the calculation of the cosine similarity between x and y; ω and b are both learnable parameters, and satisfy ω>0.

3. According to the method for extracting real-time speech information of a target speaker based on voiceprint features according to claim 1, It is characterized in that The mean square error loss function L in step (5c) MSE , whose expression is: in Represents pure speech The value of the fth dimension in the tth frame of the speech feature, This means that the model M is The value of the f-th dimension in the t-th frame of the speech feature extracted, T represents the total number of frames of the speech feature, and F represents the dimension of each frame of the speech feature.