Speech recognition model training method and device and speech recognition method and device

By introducing the information decoupling module and the gradient reversal unit into the speech recognition model, the definition of content information and paralinguistic information is clarified, which solves the problem of paralinguistic information interference in the speech recognition model in the existing technology and improves the accuracy of speech recognition. Stickiness and accuracy.

CN118800221AActive Publication Date: 2024-10-18XIANGYANG BRANCH CHINA MOBILE GRP HUBEI CO LTD +1

Patent Information

Application Number
CN202410093913.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-23
Publication Date
2024-10-18
Estimated Expiration
2044-01-23

AI Technical Summary

Technical Problem

Existing speech recognition models cannot effectively separate content information and paralinguistic information from speech information, resulting in poor recognition results. Moreover, existing algorithms are not clear enough in dismantling information. Deep features are interfered with by shallow features, making it difficult to effectively remove paralanguage. information.

Method used

The speech recognition model training method is adopted, including the speech encoder, information decoupling module and speech decoder. The definition of content information and paralinguistic information is clarified through the gradient inversion unit and reconstruction unit, and the total loss function is used for training to ensure the content information and the independence of paralinguistic information, thereby removing paralinguistic information.

Benefits of technology

It achieves a clear definition of content information and paralinguistic information in the speech recognition model, improves the robustness and recognition effect of the speech recognition system, reduces the interference of paralinguistic information, and improves the accuracy of speech recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118800221A_ABST
    Figure CN118800221A_ABST
Patent Text Reader

Abstract

The invention provides a voice recognition model training method and device and a voice recognition method and device, and belongs to the technical field of artificial intelligence, and the method comprises the steps: inputting a voice sample into a to-be-trained voice recognition model; and obtaining the total loss in the recognition process so as to train the speech recognition model. The voice recognition model comprises a voice encoder, an information decoupling module and a voice decoder; the information decoupling module comprises a voice information coding unit, a voice information reconstruction unit, a gradient inversion unit, a content information reconstruction unit and a sublingual information reconstruction unit; the content information reconstruction module reconstructs the secondary language information into content information; the paragraph information reconstruction module reconstructs the content information into paragraph information. According to the method, the recognition task of the content information and the removal task of the sublingual information are combined together to form an end-to-end method, the content information and the sublingual information are clearly defined in the training process, the sublingual information can be clearly removed by the model, and then the robustness of a speech recognition system is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a speech recognition model training, a speech recognition method and a speech recognition device. Background Art

[0002] Automatic speech recognition, or speech recognition for short, refers to the process where a computer processor receives a speech signal and converts it into text information that is understandable to humans after calculation. This technology is widely used in mobile phone voice assistants, input method software, car navigation, and various artificial intelligence wearable devices, and has important application value. Paralinguistic information in speech refers to information such as the speaker's voiceprint features and accent features that are irrelevant to the speech content, which usually has a negative effect on speech recognition tasks.

[0003] At present, relevant studies have shown that paralinguistic information has a negative effect on speech recognition tasks, but there are few studies on improving speech recognition by optimizing paralinguistic information in speech. A typical study is the pre-training framework ContentVec proposed by the MIT-IBM Watson Artificial Intelligence Laboratory. Although the study did not explicitly point out that the paralinguistic information in speech is the key to speech recognition, it pointed out that the speaker characteristics (a type of paralinguistic information) in the speech signal will reduce the speech recognition effect, and proposed a huber-based pre-training framework to remove the speaker information in the acoustics during the speech representation learning process, so as to achieve the purpose of improving speech recognition. A study published by the University of California, Berkeley and Amazon proposed to disassemble the content-related information (serving content-related tasks such as speech recognition) and content-irrelevant information (serving content-irrelevant tasks such as voiceprint recognition) in the speech signal, and use the content-related information for downstream speech recognition tasks to improve speech recognition. The study borrowed the information disassembly scheme in DiCyR and set a gradient reversal layer to decouple the single mixed information into two distinguishing information.

[0004] Existing solutions such as ContentVec need to use a large amount of speech data for pre-training to obtain a speech feature representation model with a small number of speaker features, and then use speech recognition tasks to fine-tune the model. This solution only implements the operation of removing speaker information during the pre-training process, but there is no relevant method in the fine-tuning stage, which may increase the speaker information contained in the speech representation obtained by training in the fine-tuning stage.

[0005] As for the algorithm for decomposing content-related information and content-irrelevant information, firstly, the definition of these two types of information in the algorithm is not clear enough, resulting in the decomposed content-related information still containing a lot of content-irrelevant information, which cannot achieve the ideal effect; secondly, the algorithm decouples the deep features of the speech encoder, and the deep features of the model often contain more content information, and the shallow features contain more paralinguistic information. The content information of the deep features has been interfered by the paralinguistic information of the shallow features, which makes it difficult for the model to separate the paralinguistic information from it.

[0006] In view of this, there is an urgent need to improve the existing speech recognition model to clearly define the content information and paralinguistic information used for speech recognition, so that the model can clearly remove the paralinguistic information from the speech information and use the extracted content information for speech recognition. Summary of the invention

[0007] The present invention provides a speech recognition model training, a speech recognition method and a device, which are used to solve the defect that the existing technology cannot accurately extract content information from speech information.

[0008] In a first aspect, the present invention provides a speech recognition model training method, comprising:

[0009] Input any speech sample into the speech recognition model to be trained;

[0010] Obtaining a total loss in a process in which the speech recognition model recognizes a speech sample, and training the speech recognition model with the goal of minimizing the total loss;

[0011] The total loss is determined based on at least the first loss, the second loss and the third loss;

[0012] The speech recognition model includes a speech encoder, an information decoupling module and a speech decoder, wherein the information decoupling module includes a speech information encoding unit, a speech information reconstruction unit, a first gradient reversal unit, a second gradient reversal unit, a content information reconstruction unit and a paralanguage information reconstruction unit;

[0013] The speech encoder is used to extract features from the input speech sample and input the extracted first speech information into the information decoupling module;

[0014] The speech information encoding unit is used to encode the first speech information into first content information and first paralanguage information; the first content information is reversely propagated to the paralanguage information reconstruction unit through the first gradient reversal unit to generate second paralanguage information; the first paralanguage information is reversely propagated to the content information reconstruction unit through the second gradient reversal unit to generate second content information; the loss when the paralanguage information reconstruction unit generates the second paralanguage information is obtained as the first loss, and the loss when the content information reconstruction unit generates the second content information is obtained as the second loss;

[0015] A loss when the voice information reconstruction unit reconstructs the first content information and the first paralanguage information into second voice information is obtained as the third loss.

[0016] According to a speech recognition model training method provided by the present invention, there are multiple speech encoders and information decoupling modules, and a content information extraction layer is formed by one speech encoder and one information decoupling module;

[0017] The first layer of the plurality of content information extraction layers connected in series is connected as an input layer, and the last layer is connected as an output layer;

[0018] The speech encoder of the input layer receives the first speech information input;

[0019] The first content information output by the voice information encoding unit of the output layer is input to the voice decoder.

[0020] According to a speech recognition model training method provided by the present invention, the total loss is determined based on the first loss, the second loss and the third loss of all the content information extraction layers.

[0021] According to a speech recognition model training method provided by the present invention, the total loss also includes a fourth loss;

[0022] The fourth loss is determined by the following steps:

[0023] Using a speech encoder to extract features from any two independent speech samples to obtain third speech information and fourth speech information;

[0024] Encoding the third voice information and the fourth voice information respectively by using the voice information encoding unit to obtain third content information and third paralanguage information related to the third voice information and fourth content information and fourth paralanguage information related to the fourth voice information;

[0025] After reconstructing the third content information and the fourth paralanguage information into fifth voice information by using the voice information reconstruction unit, encoding the fifth voice information by using the voice information encoding unit to obtain fifth content information and fifth paralanguage information;

[0026] The fourth loss is determined with the goal of minimizing the gap between the fifth content information and the third content information, maximizing the gap between the fifth sub-language information and the third sub-language information, and minimizing the gap between the fifth sub-language information and the fourth sub-language information.

[0027] According to a speech recognition model training method provided by the present invention, the total loss also includes a fifth loss and a sixth loss;

[0028] The fifth loss is determined based on speech recognition task constraints;

[0029] The sixth loss is determined based on at least one of a speaker recognition task constraint, an emotion recognition task constraint, and an accent recognition task constraint.

[0030] According to a speech recognition model training method provided by the present invention, the speech decoder is used to decode the first content information output by the speech information encoding unit, and output a text recognition result corresponding to the speech sample.

[0031] In a second aspect, the present invention further provides a speech recognition method, comprising:

[0032] Receiving speech to be recognized;

[0033] Inputting the speech into a speech recognition model to obtain a recognition text output by the speech recognition model;

[0034] The speech recognition model is obtained by training an initial speech recognition model based on the speech recognition model training method described in any one of the first aspects.

[0035] In a third aspect, the present invention further provides a speech recognition model training device, comprising:

[0036] A sample input unit, used to input any speech sample into the speech recognition model to be trained;

[0037] A training control unit, used for obtaining the total loss of the speech recognition model in the process of recognizing the speech sample, and training the speech recognition model with the goal of minimizing the total loss;

[0038] The total loss is determined based on at least the first loss, the second loss and the third loss;

[0039] The speech recognition model includes a speech encoder, an information decoupling module and a speech decoder, wherein the information decoupling module includes a speech information encoding unit, a speech information reconstruction unit, a first gradient reversal unit, a second gradient reversal unit, a content information reconstruction unit and a paralanguage information reconstruction unit;

[0040] The speech encoder is used to extract features from the input speech sample and input the extracted first speech information into the information decoupling module;

[0041] The speech information encoding unit is used to encode the first speech information into first content information and first paralanguage information; the first content information is reversely propagated to the paralanguage information reconstruction unit through the first gradient reversal unit to generate second paralanguage information; the first paralanguage information is reversely propagated to the content information reconstruction unit through the second gradient reversal unit to generate second content information; the loss when the paralanguage information reconstruction unit generates the second paralanguage information is obtained as the first loss, and the loss when the content information reconstruction unit generates the second content information is obtained as the second loss;

[0042] A loss when the voice information reconstruction unit reconstructs the first content information and the first paralanguage information into second voice information is obtained as the third loss.

[0043] In a fourth aspect, the present invention further provides a speech recognition device, comprising:

[0044] A speech receiving unit, used for receiving speech to be recognized;

[0045] A speech recognition unit, used for inputting the speech into a speech recognition model and obtaining a recognition text output by the speech recognition model;

[0046] The speech recognition model is obtained by training an initial speech recognition model based on the speech recognition model training method described in any one of the first aspects.

[0047] In a fifth aspect, the present invention provides an electronic device comprising 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 speech recognition model training method or speech recognition method as described above is implemented.

[0048] In a sixth aspect, the present invention further provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any of the speech recognition model training methods or speech recognition methods described above.

[0049] In a seventh aspect, the present invention further provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the speech recognition model training methods or speech recognition methods described above.

[0050] The speech recognition model training, speech recognition method and device provided by the present invention combine the recognition task of content information with the removal task of paralanguage information to form an end-to-end method. During the training process, the content information and paralanguage information are clearly defined, which facilitates the model to clearly remove the paralanguage information, thereby improving the robustness of the speech recognition system. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0052] Figure 1 It is a flow chart of the speech recognition model training method provided by the present invention;

[0053] Figure 2 It is a structural schematic diagram of the information decoupling module provided by the present invention;

[0054] Figure 3 It is a structural schematic diagram of the speech recognition model provided by the present invention;

[0055] Figure 4 It is a flow chart of the speech recognition method provided by the present invention;

[0056] Figure 5 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0057] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0058] It should be noted that in the description of the present invention, the terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article 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, article or device. In the absence of further restrictions, the elements defined by the sentence "include one..." do not exclude the existence of other identical elements in the process, method, article or device including the elements. The orientation or position relationship indicated by the terms "upper", "lower" and the like is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. Unless otherwise clearly specified and limited, the terms "installed", "connected" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those skilled in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0059] The terms "first", "second", etc. in the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" means at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0060] Combine the following Figure 1-Figure 5 The speech recognition model training, speech recognition method and device provided by the present invention are described.

[0061] In view of the fact that the existing technology often fails to effectively separate the content information closely related to speech recognition and the negative language information that has a negative effect on speech recognition when performing speech recognition, the extracted content information still contains certain negative language information, which will affect the recognition result of speech recognition to a certain extent. The present invention starts with the model training of the speech recognition model and provides a speech recognition model training method, which can fundamentally solve this technical defect.

[0062] In summary, the speech recognition model training method provided by the present invention is an end-to-end training method, which completes the training of the automatic speech recognition (ASR) task during the entire training task, and removes the paralinguistic information in the encoder coding features. The paralinguistic information is mainly removed through the information decoupling network during the encoder coding process.

[0063] The speech recognition model training method provided by the present invention is described in detail below in conjunction with specific embodiments.

[0064] Figure 1 : is a flow chart of the speech recognition model training method provided by the present invention, such as Figure 1 As shown, including but not limited to the following steps:

[0065] Step 101: Input any speech sample into the speech recognition model to be trained.

[0066] Step 102: Obtain the total loss of the speech recognition model in the process of recognizing the speech sample, and train the speech recognition model with the goal of minimizing the total loss.

[0067] The total loss is determined based on at least the first loss, the second loss and the third loss.

[0068] The speech recognition model used in the present invention mainly includes: a speech encoder, an information decoupling module and a speech decoder.

[0069] Figure 2 is a schematic diagram of the structure of the information decoupling module provided by the present invention, such as Figure 2 As shown, the information decoupling module in the dotted box mainly includes a speech information encoding unit F and a speech information reconstruction unit The first gradient reversal unit (GradientReversal Unit, GRL1), the second gradient reversal unit GRL2, the content information reconstruction unit r τ and paralinguistic information reconstruction unit r σ .

[0070] Among them, the speech encoder of the speech recognition model is mainly used to extract features from each input speech sample and input the extracted first speech information into the information decoupling module.

[0071] The speech sample is a speech signal, which is represented by a continuous time series, and the speech encoder provided in the present application can convert it into a fixed-length feature representation. It can be achieved by dividing the speech signal into short time frames (such as 20-30 milliseconds) and applying a preset feature extraction method to each frame. The feature extraction method mainly includes one or more of Mel-frequency Cepstral Coefficients (MFCC), filter bank features (Filter-BankFeatures), etc. These feature extraction methods can capture the spectral information and other relevant features of the speech signal.

[0072] Of course, in order to capture the contextual information in the speech sample, a certain context window can be introduced on the frame-level features. This can be achieved by sliding the window on the time axis and summarizing the features within the window (such as averaging or concatenating). In this way, the temporal relationship between the frame-level features and their surrounding frames can be captured.

[0073] After obtaining the feature representation of each speech sample, these features are represented in a vector matrix, such as a two-dimensional vector matrix, where each row represents a feature vector of a time step.

[0074] Furthermore, the above feature representation can be converted into a higher-level representation, such as using a convolutional neural network (CNN), a recurrent neural network (RNN) or a self-attention mechanism (Self-Attention), a multi-layer feedforward neural network (Feedforward Neural Network, FNN) and other methods for feature extraction and encoding, so as to obtain the first speech information corresponding to the speech sample.

[0075] like Figure 2 As shown, the voice information encoding unit F is mainly used to encode the first voice information into the first content information, denoted as τ, and the first paralanguage information, denoted as σ.

[0076] The first content information τ is reversely propagated to the paralinguistic information reconstruction unit r through the first gradient reversal unit GRL1. σ , generate second language information The first paralinguistic information σ is reversely propagated to the content information reconstruction unit r through the second gradient reversal unit GRL2. τ , generating the second content information

[0077] Further, obtain the paralinguistic information reconstruction unit r σ Generate the second secondary language information The loss at this time is taken as the first loss, denoted as Lossσ , and obtain the content information reconstruction unit r τ Generate the second content information The loss at this time is the second loss, denoted as Loss τ ;

[0078] In addition, it is also necessary to obtain the voice information reconstruction unit Reconstruct the first content information τ and the first paralinguistic information σ into second voice information The loss at that time shall be regarded as the third loss.

[0079] It should be noted that the information decoupling module provided by the present invention includes speech encoders, speech decoders, etc., except for the first gradient reversal unit GRL1 and the second gradient reversal unit GRL2, and the others can be realized by learning the network and using a multi-layer feedforward neural network (Feedforward Neural Network, FNN). The forward propagation of the first gradient reversal unit GRL1 and the second gradient reversal unit GRL2 is the identity function, and the back propagation reverses the gradient.

[0080] The core improvement of the speech recognition model training method provided by the present invention is that, from the speech information X related to the input speech sample, the content information τ only related to the speech recognition task and the irrelevant paralinguistic information σ are extracted through the speech information encoding unit F, and the model needs to be trained so that when the trained model processes the speech information X, the information between the paralinguistic information σ encoded in the speech information X and the content information τ needs to be as independent as possible, that is, the mutual information between the two is as small as possible.

[0081] In order to minimize the mutual information between the paralinguistic information σ and the content information τ, in the process of training the speech recognition model, the first content information τ is reversely propagated by the first gradient reversal unit GRL1, and then the paralinguistic information reconstruction unit r is used to reconstruct the content information τ. σ Reconstruct the contained paralinguistic information to obtain the second paralinguistic information At the same time, the second gradient reversal unit GRL2 performs reverse propagation on the first paralinguistic information σ, and then uses the content information to reconstruct the unit r τ Reconstruct the included content information to obtain the second content information

[0082] In this way, the paralinguistic information is constrained by the loss function to reconstruct the unit r σ Reconstructing Second Paralinguistic Information The loss is taken as the first loss, and the content information is reconstructed into unit r τ Generate the second content information The loss at that time is regarded as the second loss.

[0083] As an optional embodiment, the above-mentioned loss function can adopt the mean square error function (MSE), or the cross entropy loss function (Cross-Entropy Loss), the mean absolute error loss function (MAE) or the Huber loss function (Huber Loss), etc., and the present invention does not make specific limitations on this.

[0084] The first loss and the second loss ensure that the content information reconstruction unit r τ and paralinguistic information reconstruction unit r σ The second paralanguage information can be restored as much as possible from the first paralanguage information σ and the first content information τ and second content information

[0085] Due to the existence of the first gradient reversal unit GRL1 and the second gradient reversal unit GRL2, before that, when the speech recognition model is trained, the speech information encoding unit F hopes to maximize the first loss and the second loss. Therefore, it is difficult to recover the content information and the paralanguage information from the first paralanguage information σ and the first content information τ encoded by the speech information encoding unit F. Through this adversarial training, the first paralanguage information σ and the first content information τ encoded by the speech information encoding unit F are as unrelated as possible, and the mutual information between the two is minimized.

[0086] Among them, mutual information measures the correlation between two random variables. Minimizing the mutual information between the first paralanguage information σ and the first content information τ is to make the mutual information between the first paralanguage information σ and the first content information τ as small as possible. By minimizing the mutual information, the content information and the paralanguage information can be made as irrelevant as possible in the encoded representation, thereby achieving the separation of content information and paralanguage information.

[0087] Taking the mean square error loss function as an example, in order to achieve the goal of minimizing mutual information, the mean square error loss function is used to constrain the content information reconstruction unit. r τ and paralinguistic information reconstruction unit r σ Output.

[0088] Specifically, by comparing the content information reconstruction unit r τ, paralinguistic information reconstruction unit r σ The reconstruction result of the first content information τ and the first paralinguistic information σ, namely the second paralinguistic information and second content information The difference between their true values ​​is used to calculate the first loss Loss τ 2. Second Loss σ , clearly distinguishing the content information used for speech recognition and the irrelevant paralinguistic information, so that the model can clearly remove the paralinguistic information, and then effectively guide the training process of the speech recognition model.

[0089] Loss τ =MSEE(r τ (GRL(σ)),τ);

[0090] Loss σ =MSE(r σ (GRL(τ)),σ).

[0091] Among them, r τ (GRL(σ)) refers to the second content information r σ (GRL(τ)) refers to the second paralinguistic information

[0092] Due to the presence of the first gradient reversal unit GRL1 and the second gradient reversal unit GRL2, the speech information encoding unit F hopes to maximize the first loss Loss τ 2. Loss σ , which means that the speech information encoding unit F hopes to improve the content information reconstruction unit r τ , paralinguistic information reconstruction unit σ , respectively, the reconstruction capability of the first content information τ and the first paralinguistic information σ, so that the second paralinguistic information encoded by the speech information encoding unit F Second content information It is more difficult to restore the original first content information τ and the first paralinguistic information σ.

[0093] By training in an adversarial manner, i.e. minimizing the reconstruction loss, the speech information encoding unit F will learn a coding method that makes it more difficult to restore the original content information and paralanguage information from the first paralanguage information σ and the first content information τ encoded by the speech information encoding unit F. In other words, the coded representation learned by the speech information encoding unit F does not contain specific information about the content and paralanguage, thereby achieving information separation.

[0094] The present invention uses a loss function to constrain and conduct adversarial training during speech recognition model training, so that content information and paralinguistic information can be as unrelated as possible in the encoded representation, thereby achieving the goal of minimizing mutual information. This operation can promote the speech information encoding unit F to learn a more robust and effective representation, thereby improving the performance of the speech recognition model.

[0095] Furthermore, in order to ensure that the first paralinguistic information σ and the first content information τ decoupled by the voice information encoding unit F do not lose the voice feature information of the original input first voice information X, the present invention uses the voice information reconstruction unit The first paralinguistic information σ and the first content information τ are restored to the input features, that is, reconstructed into the second speech information Then, the second voice information is analyzed by the loss function The third loss Loss between the first voice information X rec To constrain:

[0096]

[0097] in, Speech Information Reconstruction Unit Output second voice information

[0098] In summary, the present invention provides an end-to-end speech recognition model training method, which uses multiple speech samples to iteratively train the speech recognition model to be trained. In each iterative training process, by calculating the above-mentioned first loss, second loss and third loss, and minimizing the total loss of the above-mentioned three losses as the goal, the relevant parameters in the model of the speech recognition model (such as the relevant parameters of the speech encoder, information decoupling module and speech decoder) are corrected until the training results converge and the total loss is reduced to a preset threshold.

[0099] In short, the first gradient reversal unit GRL1, the second gradient reversal unit GRL2 cooperate with the total loss function to make the decoupled content information contain as little paralinguistic information as possible. The parameters after the two GRL layers hope to minimize the loss, and the parameters before the GRL layer hope to maximize the loss, so that the decoupled content information contains as little paralinguistic information as possible.

[0100] The speech recognition model training method provided by the present invention combines the recognition task of content information with the removal task of paralinguistic information to form an end-to-end method. During the training process, the content information and paralinguistic information are clearly defined, which facilitates the model to clearly remove the paralinguistic information, thereby improving the robustness of the speech recognition system.

[0101] Based on the content of the above embodiment, as an optional embodiment, the speech recognition model provided by the present invention includes a plurality of speech encoders and information decoupling modules, and a content information extraction layer is formed by one speech encoder and one information decoupling module;

[0102] The first layer of the plurality of content information extraction layers connected in series is connected as an input layer, and the last layer is connected as an output layer;

[0103] The speech encoder of the input layer receives the first speech information input;

[0104] The first content information output by the voice information encoding unit of the output layer is input to the voice decoder.

[0105] Figure 3 It is a structural diagram of the speech recognition model provided by the present invention. Figure 3 As shown in the example, in the speech recognition model provided by the present invention, the speech encoder (Speech Encoder) uses a conformer structural block to obtain a representation of speech information.

[0106] The present invention adopts this setting to perform information decoupling at different depths of the speech coding model, further enhancing the ability to separate paralanguage information.

[0107] Optionally, in the present invention, a 16-layer conformer structure block is used, and the i-th conformer structure block can be represented as Block i Each layer of the conformer structure block is a model structure based on the self-attention mechanism and convolutional neural network, which can effectively learn the timing and frequency domain properties of the speech signal. Its input is the original speech signal, such as a sound waveform represented in the form of a time domain waveform. Then, through a series of processing steps, the speech signal is converted into a feature vector or feature matrix of a fixed dimension. This vector or matrix is ​​the representation of the first speech information X.

[0108] Among them, the speech encoder usually includes a series of processing steps, including: preprocessing, feature extraction (converting the input speech signal into a feature representation vector or matrix, commonly used feature extraction methods include Mel-frequency cepstral coefficients (MFCC), linear prediction coefficients (LPC), filter bank features (filterbank)), frame-level feature processing (processing the features of each speech frame, such as performing differentiation in the time domain to extract dynamic information of the speech signal), sequence-level feature processing (processing the features of the entire speech signal sequence, such as performing convolution, pooling, self-attention mechanism and other operations in the time dimension to extract richer speech features), dimensionality reduction (reducing the dimension of the feature vector or matrix to reduce the amount of calculation and improve the generalization ability of the model), normalization (standardizing the feature vector or matrix to eliminate the scaling factor between different features and improve the robustness of the model), etc.

[0109] This case proposes an end-to-end speech recognition model with a 16-layer conformer structure block, that is, a total of 16 blocks i The speech encoder is connected in series, in each block i Add an information decoupling module to the output end of i In the actual speech recognition process, disentanglement i The first content information τ encoded is used as the i+1th information decoupling module, i.e., disentanglement i+1 Input.

[0110] In this way, the data flow is consistent during the training and actual use of the speech recognition model, that is, the previous conformer block (i.e. Block 15 ) outputs the first content information τ as the acoustic feature for speech recognition. In the speech recognition model provided by the present invention, the acoustic features used for final speech recognition have been decoupled layer by layer, that is, decoupled with information at different depths, so that the paralinguistic information therein is greatly attenuated compared with the prior art, which can achieve better results for downstream speech recognition tasks.

[0111] Based on the content of the above embodiment, as an optional embodiment, in the process of training a speech recognition model, when the speech recognition model has multiple layers of conformer structural blocks, the present invention can first determine the first loss and the second loss of each layer of the conformer structural block when separating content information from paralanguage information, and calculate the third loss of the speech information reconstruction unit in each conformer structural block when reconstructing the first content information and the first paralanguage information into the second speech information, and then accumulate the losses of all the conformer structural blocks as the total loss of the entire speech recognition model, so that an end-to-end training method can be implemented, which effectively improves the efficiency and robustness of the training.

[0112] Based on the contents of the above embodiments, as an optional embodiment, the speech recognition model training method provided by the present invention may further focus on the fourth loss during the actual training process.

[0113] Wherein, the fourth loss is determined by adopting the following steps:

[0114] Using a speech encoder to extract features from any two independent speech samples to obtain third speech information and fourth speech information;

[0115] Encoding the third voice information and the fourth voice information respectively by using the voice information encoding unit to obtain third content information and third paralanguage information related to the third voice information and fourth content information and fourth paralanguage information related to the fourth voice information;

[0116] After reconstructing the third content information and the fourth paralanguage information into fifth voice information by using the voice information reconstruction unit, encoding the fifth voice information by using the voice information encoding unit to obtain fifth content information and fifth paralanguage information;

[0117] The fourth loss is determined with the goal of minimizing the gap between the fifth content information and the third content information, maximizing the gap between the fifth sub-language information and the third sub-language information, and minimizing the gap between the fifth sub-language information and the fourth sub-language information.

[0118] Specifically, two independent voice samples are taken, and feature extraction is performed on each of them to obtain the third voice information X and the fourth voice information X'.

[0119] The third voice information X and the fourth voice information X' are encoded by the information encoding module F, that is, the third content information and the third paralanguage information related to the third voice information X are obtained, which are recorded as (τ, σ), and the fourth content information and the fourth paralanguage information related to the fourth voice information are obtained, which are recorded as (τ′, σ′).

[0120] Furthermore, the unit is reconstructed through voice information The third content information τ and the fourth paralinguistic information σ′ are reconstructed to obtain the fifth voice information Then the voice information encoding unit F Encoding to obtain the fifth content information and the fifth paralinguistic information In order to make the specific content information in any paralinguistic information scenario, the voice information encoding unit F can encode independent and accurate content information, the fifth content information τ and the third content information are required. The distance between them needs to be close enough. In order to make the paralinguistic information extracted from different samples different, the paralinguistic information between similar samples should be as close as possible. and the third paralinguistic information σ as far as possible, the fifth paralinguistic information σ ~ As close as possible to the fourth paralinguistic information σ′.

[0121] Therefore, the fourth loss can be defined, and the expression of its loss function is:

[0122]

[0123] In this way, when training the model, when considering the total loss, combined with the first loss Loss τ 2. Loss σ and the third loss rec Based on this, the fourth loss Loss is integrated cyc .

[0124] As an optional embodiment, the speech recognition model training method provided by the present invention also considers the fifth loss and the sixth loss when considering the loss constraints during the training process.

[0125] Among them, the fifth loss is determined based on the speech recognition task constraint in order to make the content information and the paralanguage information have their own independent distribution space; the sixth loss is determined based on at least one of the speaker recognition task constraint, the emotion recognition task constraint and the accent recognition task constraint.

[0126] In summary, the loss of any information decoupling module is recorded as Loss disent , then the calculation formula is:

[0127] LosSdisentLossτ+LosS. +LosSrec+LosScyc+LLosSasr+LosSpara

[0128] Then the total loss of the entire speech recognition model is:

[0129]

[0130] Where k is the number of information decoupling modules.

[0131] It should be noted that Figure 3 Taking the figure as an example, when a multi-layer conformer structure block is used, the speech recognition loss and paralanguage-related task loss output by each information decoupling module need to be added together to form part of the loss of the entire model training.

[0132] The layer-by-layer loss calculation method adopted makes it easier to decouple the content information and paralanguage information from the shallow features containing more paralanguage information, so that the interference of paralanguage information on content information is gradually alleviated as the number of layers increases, and the ability to separate paralanguage information is further enhanced.

[0133] Based on the content of the above embodiment, as an optional embodiment, the speech decoder is used to decode the first content information output by the speech information encoding unit, and output a text recognition result corresponding to the speech sample.

[0134] It is particularly important to note that when the speech recognition model has multiple layers of conformer structural blocks, the data flow method is consistent during its training and actual use, and the first content information τ output by a conformer structural block before the last conformer structural block is used as the acoustic feature of speech recognition.

[0135] In the speech recognition model provided by the present invention, the acoustic features used for final speech recognition have been decoupled layer by layer, that is, decoupled at different depths of information. Compared with the prior art, the paralinguistic information therein is greatly attenuated, which can achieve better results in downstream speech recognition tasks.

[0136] It should be noted that the structure of the information decoupling module in the present invention is mainly used to distinguish the downstream tasks of content information and paralanguage information. For the downstream tasks of content information, the present invention uses a speech recognition task, that is, it is implemented using a speech decoder, including but not limited to commonly used Seq2Seq, CTC, RNN-T and other network models, that is, the present invention decodes the content information extracted by the information decoupling module through a speech decoder, and outputs a text recognition result of the speech.

[0137] Figure 4 It is a flow chart of the speech recognition method provided by the present invention, such as Figure 4 As shown, the present invention, based on the speech recognition model training method provided in any of the above embodiments, further provides a speech recognition method, which mainly includes but is not limited to the following steps:

[0138] Step 401, receiving speech to be recognized;

[0139] Step 402: input the speech into a speech recognition model to obtain a recognition text output by the speech recognition model.

[0140] The above-mentioned speech recognition model is obtained by training an initial speech recognition model based on the speech recognition model training method provided in any embodiment.

[0141] The speech recognition model mainly includes a speech encoder, an information decoupling module and a speech decoder. The information decoupling module includes a speech information encoding unit, a speech information reconstruction unit, a first gradient reversal unit, a second gradient reversal unit, a content information reconstruction unit and a paralanguage information reconstruction unit.

[0142] Among them, the speech encoder is mainly used to extract features from the input speech sample and input the extracted first speech information into the information decoupling module.

[0143] The speech information encoding unit is mainly used to encode the first speech information into the first content information and the first paralanguage information; the first content information is reversely propagated to the paralanguage information reconstruction unit through the first gradient reversal unit to generate the second paralanguage information; the first paralanguage information is reversely propagated to the content information reconstruction unit through the second gradient reversal unit to generate the second content information.

[0144] The speech decoder is used to decode the first content information output by the speech information encoding unit, and output a text recognition result corresponding to the speech sample.

[0145] Furthermore, there may be multiple speech encoders and information decoupling modules, and a content information extraction layer is formed by a speech encoder and one of the information decoupling modules;

[0146] The first layer of the plurality of content information extraction layers connected in series is connected as an input layer, and the last layer is connected as an output layer;

[0147] The speech encoder of the input layer receives the first speech information input;

[0148] The first content information output by the voice information encoding unit of the output layer is input to the voice decoder.

[0149] The speech recognition method provided by the present invention combines the recognition task of content information with the removal task of paralinguistic information to form an end-to-end method. During the training process, the content information and paralinguistic information are clearly defined, which makes it easier for the model to clearly remove the paralinguistic information, thereby improving the robustness of the speech recognition system.

[0150] The present invention also provides a speech recognition model training device, which mainly includes but is not limited to:

[0151] The sample input unit is mainly used to input any speech sample into the speech recognition model to be trained;

[0152] The training control unit is mainly used to obtain the total loss of the speech recognition model in the process of recognizing the speech sample, and train the speech recognition model with the goal of minimizing the total loss.

[0153] Among them, the above-mentioned total loss is determined based on at least the first loss, the second loss and the third loss.

[0154] The speech recognition model includes a speech encoder, an information decoupling module and a speech decoder. The information decoupling module includes a speech information encoding unit, a speech information reconstruction unit, a first gradient reversal unit, a second gradient reversal unit, a content information reconstruction unit and a paralanguage information reconstruction unit.

[0155] The speech encoder is used to extract features from the input speech sample and input the extracted first speech information into the information decoupling module.

[0156] The speech information encoding unit is used to encode the first speech information into first content information and first paralanguage information; the first content information is inversely propagated to the paralanguage information reconstruction unit through the first gradient reversal unit to generate second paralanguage information; the first paralanguage information is inversely propagated to the content information reconstruction unit through the second gradient reversal unit to generate second content information; the loss of the paralanguage information reconstruction unit when generating the second paralanguage information is obtained as the first loss, and the loss of the content information reconstruction unit when generating the second content information is obtained as the second loss.

[0157] A loss when the voice information reconstruction unit reconstructs the first content information and the first paralanguage information into second voice information is obtained as the third loss.

[0158] It should be noted that the speech recognition model training device provided by the present invention can execute the speech recognition model training method described in any of the above embodiments during specific operation, which will not be elaborated in this embodiment.

[0159] In addition, the present invention also provides a speech recognition device, which mainly includes but is not limited to:

[0160] A speech receiving unit, mainly used to receive speech to be recognized;

[0161] The speech recognition unit is mainly used to input the speech into the speech recognition model and obtain the recognition text output by the speech recognition model.

[0162] The speech recognition model is obtained by training an initial speech recognition model based on the speech recognition model training method described in any of the above embodiments.

[0163] The speech recognition model training device and speech recognition device provided by the present invention combine the recognition task of content information with the removal task of paralinguistic information to form an end-to-end method. During the training process, the content information and paralinguistic information are clearly defined, which facilitates the model to clearly remove the paralinguistic information, thereby improving the robustness of the speech recognition system.

[0164] Figure 5 is a schematic diagram of the structure of the electronic device provided by the present invention, such as Figure 5As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call the logic instructions in the memory 530 to execute the speech recognition model training method or the speech recognition method, and the speech recognition model training method includes: inputting any speech sample into the speech recognition model to be trained; obtaining the total loss of the speech recognition model in the process of recognizing the speech sample, and training the speech recognition model with the goal of minimizing the total loss.

[0165] The total loss is determined based on at least the first loss, the second loss and the third loss; the speech recognition model includes a speech encoder, an information decoupling module and a speech decoder, the information decoupling module includes a speech information encoding unit, a speech information reconstruction unit, a first gradient reversal unit, a second gradient reversal unit, a content information reconstruction unit and a paralanguage information reconstruction unit; the speech encoder is used to extract features from the input speech sample and input the extracted first speech information into the information decoupling module; the speech information encoding unit is used to encode the first speech information into first content information and first paralanguage information; the first content information is reversely propagated to the paralanguage information reconstruction unit through the first gradient reversal unit to generate second paralanguage information; the first paralanguage information is reversely propagated to the content information reconstruction unit through the second gradient reversal unit to generate second content information; the loss when the paralanguage information reconstruction unit generates the second paralanguage information is obtained as the first loss, and the loss when the content information reconstruction unit generates the second content information is obtained as the second loss; the loss when the speech information reconstruction unit reconstructs the first content information and the first paralanguage information into the second speech information is obtained as the third loss.

[0166] The speech recognition method comprises: receiving speech to be recognized; inputting the speech into a speech recognition model, and obtaining recognition text output by the speech recognition model; the speech recognition model is obtained by training an initial speech recognition model based on the speech recognition model training method.

[0167] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.

[0168] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute a speech recognition model training method or a speech recognition method. The speech recognition model training method includes: inputting any speech sample into the speech recognition model to be trained; obtaining the total loss in the process of the speech recognition model recognizing the speech sample, and training the speech recognition model with the goal of minimizing the total loss.

[0169] The total loss is determined based on at least the first loss, the second loss and the third loss; the speech recognition model includes a speech encoder, an information decoupling module and a speech decoder, the information decoupling module includes a speech information encoding unit, a speech information reconstruction unit, a first gradient reversal unit, a second gradient reversal unit, a content information reconstruction unit and a paralanguage information reconstruction unit; the speech encoder is used to extract features from the input speech sample and input the extracted first speech information into the information decoupling module; the speech information encoding unit is used to encode the first speech information into first content information and first paralanguage information; the first content information is reversely propagated to the paralanguage information reconstruction unit through the first gradient reversal unit to generate second paralanguage information; the first paralanguage information is reversely propagated to the content information reconstruction unit through the second gradient reversal unit to generate second content information; the loss when the paralanguage information reconstruction unit generates the second paralanguage information is obtained as the first loss, and the loss when the content information reconstruction unit generates the second content information is obtained as the second loss; the loss when the speech information reconstruction unit reconstructs the first content information and the first paralanguage information into the second speech information is obtained as the third loss.

[0170] The speech recognition method comprises: receiving speech to be recognized; inputting the speech into a speech recognition model, and obtaining recognition text output by the speech recognition model; the speech recognition model is obtained by training an initial speech recognition model based on the speech recognition model training method.

[0171] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, it is implemented to execute a speech recognition model training method or a speech recognition method. The speech recognition model training method includes: inputting any speech sample into the speech recognition model to be trained; obtaining the total loss in the process of the speech recognition model recognizing the speech sample, and training the speech recognition model with the goal of minimizing the total loss.

[0172] The total loss is determined based on at least the first loss, the second loss and the third loss; the speech recognition model includes a speech encoder, an information decoupling module and a speech decoder, the information decoupling module includes a speech information encoding unit, a speech information reconstruction unit, a first gradient reversal unit, a second gradient reversal unit, a content information reconstruction unit and a paralanguage information reconstruction unit; the speech encoder is used to extract features from the input speech sample and input the extracted first speech information into the information decoupling module; the speech information encoding unit is used to encode the first speech information into first content information and first paralanguage information; the first content information is reversely propagated to the paralanguage information reconstruction unit through the first gradient reversal unit to generate second paralanguage information; the first paralanguage information is reversely propagated to the content information reconstruction unit through the second gradient reversal unit to generate second content information; the loss when the paralanguage information reconstruction unit generates the second paralanguage information is obtained as the first loss, and the loss when the content information reconstruction unit generates the second content information is obtained as the second loss; the loss when the speech information reconstruction unit reconstructs the first content information and the first paralanguage information into the second speech information is obtained as the third loss.

[0173] The speech recognition method comprises: receiving speech to be recognized; inputting the speech into a speech recognition model, and obtaining recognition text output by the speech recognition model; the speech recognition model is obtained by training an initial speech recognition model based on the speech recognition model training method.

[0174] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0175] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0176] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A speech recognition model training method, characterized in that: include: Input any speech sample into the speech recognition model to be trained; Obtaining a total loss in a process in which the speech recognition model recognizes a speech sample, and training the speech recognition model with the goal of minimizing the total loss; The total loss is determined based on at least the first loss, the second loss and the third loss; The speech recognition model includes a speech encoder, an information decoupling module and a speech decoder, wherein the information decoupling module includes a speech information encoding unit, a speech information reconstruction unit, a first gradient reversal unit, a second gradient reversal unit, a content information reconstruction unit and a paralanguage information reconstruction unit; The speech encoder is used to extract features from the input speech sample and input the extracted first speech information into the information decoupling module; The voice information encoding unit is used to encode the first voice information into first content information and first paralanguage information; The first content information is inversely propagated to the paralanguage information reconstruction unit through the first gradient reversal unit to generate second paralanguage information; The first paralanguage information is inversely propagated to the content information reconstruction unit through the second gradient reversal unit to generate second content information; a loss when the paralanguage information reconstruction unit generates the second paralanguage information is obtained as the first loss, and a loss when the content information reconstruction unit generates the second content information is obtained as the second loss; A loss when the voice information reconstruction unit reconstructs the first content information and the first paralanguage information into second voice information is obtained as the third loss.

2. The speech recognition model training method according to claim 1, characterized in that: There are multiple speech encoders and information decoupling modules, and one speech encoder and one information decoupling module constitute a content information extraction layer; The first layer of the plurality of content information extraction layers connected in series is connected as an input layer, and the last layer is connected as an output layer; The speech encoder of the input layer receives the first speech information input; The first content information output by the voice information encoding unit of the output layer is input to the voice decoder.

3. The speech recognition model training method according to claim 2, characterized in that: The total loss is determined based on the first loss, the second loss, and the third loss of all the content information extraction layers.

4. The speech recognition model training method according to any one of claims 1 to 3, characterized in that: Said total loss also includes the fourth loss; The fourth loss is determined by the following steps: Using a speech encoder to extract features from any two independent speech samples to obtain third speech information and fourth speech information; Encoding the third voice information and the fourth voice information respectively by using the voice information encoding unit to obtain third content information and third paralanguage information related to the third voice information and fourth content information and fourth paralanguage information related to the fourth voice information; After reconstructing the third content information and the fourth paralanguage information into fifth voice information by using the voice information reconstruction unit, encoding the fifth voice information by using the voice information encoding unit to obtain fifth content information and fifth paralanguage information; The fourth loss is determined with the goal of minimizing the gap between the fifth content information and the third content information, maximizing the gap between the fifth sub-language information and the third sub-language information, and minimizing the gap between the fifth sub-language information and the fourth sub-language information.

5. The speech recognition model training method according to claim 4, characterized in that: The total loss also includes the fifth and sixth losses; The fifth loss is determined based on speech recognition task constraints; The sixth loss is determined based on at least one of a speaker recognition task constraint, an emotion recognition task constraint, and an accent recognition task constraint.

6. The speech recognition model training method according to claim 1, characterized in that: The speech decoder is used to decode the first content information output by the speech information encoding unit, and output a text recognition result corresponding to the speech sample.

7. A speech recognition method, characterized in that: include: Receiving speech to be recognized; Inputting the speech into a speech recognition model to obtain a recognition text output by the speech recognition model; The speech recognition model is obtained by training an initial speech recognition model based on the speech recognition model training method described in any one of claims 1 to 6.

8. A speech recognition model training device, characterized in that: include: A sample input unit, used to input any speech sample into the speech recognition model to be trained; A training control unit, used for obtaining the total loss of the speech recognition model in the process of recognizing the speech sample, and training the speech recognition model with the goal of minimizing the total loss; The total loss is determined based on at least the first loss, the second loss and the third loss; The speech recognition model includes a speech encoder, an information decoupling module and a speech decoder, wherein the information decoupling module includes a speech information encoding unit, a speech information reconstruction unit, a first gradient reversal unit, a second gradient reversal unit, a content information reconstruction unit and a paralanguage information reconstruction unit; The speech encoder is used to extract features from the input speech sample and input the extracted first speech information into the information decoupling module; The voice information encoding unit is used to encode the first voice information into first content information and first paralanguage information; The first content information is inversely propagated to the paralanguage information reconstruction unit through the first gradient reversal unit to generate second paralanguage information; The first paralanguage information is inversely propagated to the content information reconstruction unit through the second gradient reversal unit to generate second content information; a loss when the paralanguage information reconstruction unit generates the second paralanguage information is obtained as the first loss, and a loss when the content information reconstruction unit generates the second content information is obtained as the second loss; A loss when the voice information reconstruction unit reconstructs the first content information and the first paralanguage information into second voice information is obtained as the third loss.

9. A speech recognition device, characterized in that: include: A speech receiving unit, used for receiving speech to be recognized; A speech recognition unit, used for inputting the speech into a speech recognition model and obtaining a recognition text output by the speech recognition model; The speech recognition model is obtained by training an initial speech recognition model based on the speech recognition model training method described in any one of claims 1 to 6.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, it implements the speech recognition model training method according to any one of claims 1 to 6 or the speech recognition method according to claim 7.

11. 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, it implements the speech recognition model training method according to any one of claims 1 to 6 or the speech recognition method according to claim 7.

12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, it implements the speech recognition model training method according to any one of claims 1 to 6 or the speech recognition method according to claim 7.

Citation Information

Patent Citations

  • Model training method, dialect recognition method, device, server and storage medium

    CN112634867A

  • Speech recognition model training method and device thereof, equipment and storage medium

    CN113782029A

  • Speech emotion recognition and classification method

    CN116230020A

  • Zero-sample voice emotion recognition method based on prototype reconstruction and generative learning

    CN116434785A

  • Paralanguage information estimation device, learning device, method thereof and program

    JP2021032920A

Cited By

  • Audio-based identity verification method and device, medium and equipment

    CN121838778A