Guided Data Selection for Masked Speech Modeling.
The guided data selection method for masked audio modeling addresses the overfitting issue in ASR models by selectively masking encoded representations with high confidence scores, improving generalization and accuracy across domains through a pre-training process using contrast and cross-entropy losses.
Patent Information
- Application Number
- JP2024521016
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2021-10-05
- Filing Date
- 2022-08-18
- Publication Date
- 2024-10-23
- Estimated Expiration
- 2042-08-18
AI Technical Summary
Deep learning-based ASR models tend to overfit to training data, leading to poor generalization on unknown data, especially when the training and deployment domains differ, and existing masked speech modeling methods arbitrarily select input audio frames for masking, which may not contain relevant information for learning meaningful representations.
Implement a guided data selection method for masked audio modeling that uses a scorer model to determine confidence scores for encoded representations, masking the top K representations based on these scores, and employs a pre-training process involving contrast and cross-entropy losses to enhance the learning of meaningful representations.
The guided data selection method improves the ASR model's ability to learn relevant information during pre-training, enhancing its generalization and accuracy across different domains by selectively masking encoded representations with high confidence scores, thereby improving the model's performance in various speech recognition tasks.
Smart Images

Figure 2024538716000001_ABST
Abstract
Description
[Technical field]
[0001] FIELD This disclosure relates to guided data selection for masked speech modeling. [Background technology]
[0002] Automatic speech recognition (ASR), the process of receiving audio input and transcribing it into text, is a highly important technology used in mobile and other devices. Generally, automatic speech recognition attempts to provide an accurate transcription of what a person said by receiving an audio input (e.g., a voice utterance) and transcribing the audio input into text. State-of-the-art ASR models continue to improve in both accuracy (e.g., low word error rate (WER)) and latency (e.g., the delay between a user utterance and transcription) based on ongoing developments in deep neural networks. However, one challenge in developing deep learning-based ASR models is that the parameters of the ASR model tend to overfit to the training data, which causes the ASR model to have problems generalizing to unknown data when the training data is not large enough. As a result, training the ASR model with a relatively large training dataset improves the accuracy of the ASR model. To increase the amount of training data used to train the ASR model, synthetic speech and / or data augmented speech can be incorporated. Summary of the Invention [Means for solving the problem]
[0003] One aspect of the disclosure provides a computer-implemented method that, when executed on data processing hardware, causes the data processing hardware to perform operations for guided data selection for masked speech modeling. The operations include obtaining a sequence of coded representations corresponding to an utterance. For each respective coded representation in the sequence of coded representations, the operations include processing the respective coded representation with a scorer model to generate a corresponding probability distribution for possible speech recognition hypotheses for the respective coded representation, and assigning to the respective coded representation a confidence score as the highest probability from the corresponding probability distribution for the possible speech recognition hypotheses for the respective coded representation. The operations also include selecting a set of unmasked coded representations to mask from the sequence of coded representations based on the confidence scores assigned to the sequence of coded representations. The operations also include generating a set of masked coded representations by masking the selected set of unmasked coded representations. Each masked coded representation in the set of masked coded representations corresponds to a respective unmasked coded representation in the selected set of unmasked coded representations.
[0004] Implementations of the present disclosure may include one or more of the following optional features: In some implementations, selecting the set of unmasked encoded representations to mask includes selecting the top K encoded representations from the sequence of encoded representations having the highest reliability scores. In these implementations, K may be based on a predetermined proportion of encoded representations in the sequence of encoded representations to be masked. Optionally, the predetermined proportion may be equal to 40 percent.
[0005] In some examples, the operations further include, for each respective unmasked encoded representation in the selected set of unmasked encoded representations to be masked, generating a corresponding target context vector for the respective unmasked encoded representation using the quantizer. In these examples, the operations also include, for each respective masked encoded representation in the set of masked encoded representations, generating a corresponding contrast context vector for the respective masked encoded representation, generating a contrast loss based on the corresponding contrast context vector and the corresponding target context vector generated for the respective unmasked encoded representation corresponding to the respective masked encoded representation, and pre-training the audio encoder using the contrast loss generated for the set of masked encoded representations. In some implementations, the operations further include, for each respective unmasked encoded representation in the selected set of unmasked encoded representations to be masked, generating a corresponding K-means cluster for the respective unmasked encoded representation using a cluster module; for each respective masked encoded representation in the set of masked encoded representations, generating a cross-entropy loss based on the corresponding contrast context vector and the corresponding K-means cluster generated for the respective unmasked encoded representation corresponding to the respective masked encoded representation; and pre-training the audio encoder using the cross-entropy loss generated for the set of masked encoded representations.
[0006] The operations may further include determining a final training target based on the contrast loss and the cross-entropy loss for each respective masked encoded representation in the set of masked encoded representations, and pre-training the audio encoder using the final training target generated for the set of masked encoded representations. In some implementations, the operations further include determining a voicing level confidence score by averaging the confidence scores in the set of masked encoded representations, weighting the final training target based on the voicing level confidence score, and pre-training the audio encoder using the weighted final training target. Optionally, the operations further include extracting bottleneck features from the contrast context vector, where the operations further include refining each corresponding K-means cluster using the extracted bottleneck features.
[0007] Another aspect of the present disclosure provides a system including data processing hardware and memory hardware storing instructions that, when executed on the data processing hardware, cause the data processing hardware to perform operations. The operations include obtaining a sequence of coded representations corresponding to an utterance. For each respective coded representation in the sequence of coded representations, the operations include processing the respective coded representation with a scorer model to generate a corresponding probability distribution for possible speech recognition hypotheses for the respective coded representation, and assigning to the respective coded representation a confidence score as the highest probability from the corresponding probability distribution for the possible speech recognition hypotheses for the respective coded representation. The operations also include selecting a set of unmasked coded representations to mask from the sequence of coded representations based on the confidence scores assigned to the sequence of coded representations. The operations also include generating a set of masked coded representations by masking the selected set of unmasked coded representations. Each masked coded representation in the set of masked coded representations corresponds to a respective unmasked coded representation in the selected set of unmasked coded representations.
[0008] Implementations of the present disclosure may include one or more of any of the following features. In some implementations, selecting the set of unmasked encoded representations to mask includes selecting the top K encoded representations from the sequence of encoded representations having the highest reliability scores. In these implementations, K may be based on a predetermined proportion of the encoded representations in the sequence of encoded representations to be masked. Optionally, the predetermined proportion may be equal to 40 percent.
[0009] In some examples, the operations further include, for each respective unmasked encoded representation in the selected set of unmasked encoded representations to be masked, generating a corresponding target context vector for the respective unmasked encoded representation using the quantizer. In these examples, the operations also include, for each respective masked encoded representation in the set of masked encoded representations, generating a corresponding contrast context vector for the respective masked encoded representation, generating a contrast loss based on the corresponding contrast context vector and the corresponding target context vector generated for the respective unmasked encoded representation corresponding to the respective masked encoded representation, and pre-training the audio encoder using the contrast loss generated for the set of masked encoded representations. In some implementations, the operations further include, for each respective unmasked encoded representation in the selected set of unmasked encoded representations to be masked, generating a corresponding K-means cluster for the respective unmasked encoded representation using a cluster module; for each respective masked encoded representation in the set of masked encoded representations, generating a cross-entropy loss based on the corresponding contrast context vector and the corresponding K-means cluster generated for the respective unmasked encoded representation corresponding to the respective masked encoded representation; and pre-training the audio encoder using the cross-entropy loss generated for the set of masked encoded representations.
[0010] The operations may further include determining a final training target based on the contrast loss and the cross-entropy loss for each respective masked encoded representation in the set of masked encoded representations, and pre-training the audio encoder using the final training target generated for the set of masked encoded representations. In some implementations, the operations further include determining a voicing level confidence score by averaging the confidence scores in the set of masked encoded representations, weighting the final training target based on the voicing level confidence score, and pre-training the audio encoder using the weighted final training target. Optionally, the operations further include extracting bottleneck features from the contrast context vector, where the operations further include refining each corresponding K-means cluster using the extracted bottleneck features.
[0011] The details of one or more implementations of the disclosure are set forth in the accompanying drawings and the description below. Other aspects, features, and advantages will become apparent from the description and drawings, and from the claims. [Brief description of the drawings]
[0012] [Figure 1] 1 is a schematic diagram of an exemplary speech recognition system. [Diagram 2] FIG. 2 is a schematic diagram of an exemplary speech recognition model. [Figure 3A] FIG. 1 is a schematic diagram of an exemplary ask-to-mask training process. [Figure 3B] FIG. 1 is a schematic diagram of an exemplary masking challenge training process. [Figure 3C] FIG. 1 is a schematic diagram of an exemplary masking challenge training process. [Figure 4] FIG. 2 is a schematic diagram of an exemplary masking module. [Diagram 5]1 is a flowchart of an exemplary sequence of operations for a computer-implemented method of guided data selection for masked voice modeling. [Figure 6] FIG. 1 is a schematic diagram of an example computing device that can be used to implement the systems and methods described herein. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0013] Like reference numbers in the various drawings indicate like elements.
[0014] Automated speech recognition (ASR) has made tremendous progress with the introduction of sequence-to-sequence (Seq2Seq) models that map from audio to character sequences. At the same time, text-to-speech (TTS) or speech synthesis systems have successfully applied Seq2Seq models to obtain state-of-the-art natural, realistic-sounding synthesized speech that may be indistinguishable from human speech to the human ear.
[0015] One challenge in developing a deep learning-based ASR model is that the parameters of the ASR model tend to overfit the training data, which causes the ASR model to have problems generalizing to unknown data when the training data is not large enough. Thus, training the ASR model with a relatively large training data set improves the accuracy of the ASR model. For example, by using machine learning or other statistical methods, an ASR model can be trained with a training data set that includes about 10,000 hours of transcribed speech. However, the performance of the ASR model decreases when the domain associated with the training data is different from the domain in which the ASR model is deployed during inference. For example, training an ASR model with speech in a domain associated with video conferencing is relatively ineffective in recognizing speech related to voice search queries, and vice versa.
[0016] Pre-training an ASR model with a large amount of unlabeled speech or text data and then fine-tuning the pre-trained ASR model by training it with a relatively small set of labeled speech or text data has been shown to improve ASR model performance. In particular, masked speech modeling (MSM) is a pre-training technique that receives an unlabeled sequence of input speech frames corresponding to training utterances and masks a portion of the input speech frame for each training utterance. The MSM pre-training method then learns speech representations from the masked input speech frames. However, the input speech frames selected for masking are arbitrarily selected even though not all input speech frames contain relevant information for learning meaningful representations. That is, selecting speech frames containing relevant information for masking may be more beneficial for the ASR model to learn meaningful representations during pre-training.
[0017] Accordingly, implementations herein are directed to methods and systems for guided data selection for MSM. More specifically, the MSM pre-training process may execute a masking module that obtains a sequence of coded representations corresponding to an utterance. The masking module processes each respective coded representation to generate a corresponding probability distribution for possible speech recognition hypotheses and assigns a confidence score as the highest probability from the corresponding probability distribution. Based on the confidence scores assigned to the sequence of coded representations, the masking module masks a selected set of coded representations. Advantageously, the masking module selects coded representations for masking that contain relevant information, thereby increasing the meaningful representations that the ASR model learns during pre-training. Moreover, as will become apparent, the masking module may determine an utterance-level confidence score for the entire utterance and weight the final training objectives used to train the ASR model based on the utterance-level confidence score.
[0018] 1 illustrates an automated speech recognition (ASR) system 100 that implements an ASR model 200 that resides on a user device 102 of a user 104 and / or on a remote computing device 201 (e.g., one or more servers of a distributed system executing in a cloud computing environment) that communicates with the user device 102. Although the user device 102 is illustrated as a mobile computing device (e.g., a smartphone), the user device 102 may correspond to any type of computing device, such as, but not limited to, a tablet device, a laptop / desktop computer, a wearable device, a digital assistant device, a smart speaker / display, a smart appliance, an in-vehicle infotainment system, or an Internet of Things (IoT) device, and includes data processing hardware 111 and memory hardware 113.
[0019] The user device 102 includes an audio subsystem 108 configured to receive utterances 106 spoken by a user 104 (e.g., the user device 102 may include one or more microphones for recording the spoken utterances 106) and convert the utterances 106 into a corresponding digital format associated with input acoustic frames 110 that can be processed by the ASR system 100. In the illustrated example, the user speaks each utterance 106 in natural language English for the phrase "What is the weather in New York City?" and the audio subsystem 108 converts the utterance 106 into a corresponding acoustic frame 110 for input to the ASR system 100. The ASR model 200 then receives as input the acoustic frames (i.e., a sequence of input speech frames) 110 corresponding to the utterance 106 and generates / predicts as output a corresponding transcription 120 (e.g., a recognition result / hypothesis) of the utterance 106. In the illustrated example, the user device 102 and / or the remote computing device 201 also execute a user interface generator 107 configured to present a representation of a transcription 120 of the utterance 106 to the user 104 of the user device 102. In some configurations, the transcription 120 output from the ASR system 100 is processed by a natural language understanding (NLU) module executing on the user device 102 or the remote computing device 201, for example, to execute user commands. Additionally or alternatively, a text-to-speech system (e.g., executing on any combination of the user device 102 or the remote computing device 201) may convert the transcription into synthetic speech for audible output by another device. For example, the original utterance 106 may correspond to a message the user 104 is sending to a friend, where the transcription 120 is converted into synthetic speech for audible output to the friend who should hear the message conveyed in the original utterance 106.
[0020] Referring to FIG. 2, the exemplary ASR model 200 includes a Recurrent Neural Network-Transducer (RNN-T) model architecture that adheres to latency constraints associated with interactive applications. The use of the RNN-T model architecture is exemplary, and the ASR model 200 may include other architectures, such as transformer transducer and conformer transducer model architectures, among others. The RNN-T model architecture of the ASR model (i.e., the RNN-T model) 200 allows for a small computational footprint and utilizes less memory requirements than traditional ASR architectures, making the RNN-T model architecture suitable for performing speech recognition entirely on the user device 102 (e.g., without requiring communication with a remote server). The RNN-T model 200 includes an encoder network 210, a predictive network 220, and a collaborative network 230. The encoder network 210 is generally similar to an acoustic model (AM) in a traditional ASR system and includes a stack of self-attention layers (such as conformer or transformer layers) or a recurrent network of stacked Long Short-Term Memory (LSTM) layers. For example, the encoder may receive a sequence of d-dimensional feature vectors (e.g., an acoustic frame 110 (FIG. 1)) x=(x1, x2, ..., x T ), where:
[0021]
number
[0022] and each output step produces a higher-level representation. This higher-level representation is
[0023]
number
[0024] It is written:
[0025] Similarly, the prediction network 220 is also an LSTM network, which, like a language model (LM), computes the sequence of non-empty symbols output so far by the final softmax layer 240, i.e., y0,...,y ui-1 Processing the dense representation
[0026]
number
[0027] Finally, using the RNN-T model architecture, the representations produced by the encoder and predictor / decoder networks 210, 220 are combined by a joint network 230. The predictor network 220 may be replaced with an embedding lookup table to improve latency by outputting a looked-up sparse embedding instead of processing a dense representation. The joint network then
[0028]
number
[0029] , which is a distribution over the next output symbol. In other words, the collaborative network 230 generates a probability distribution over possible speech recognition hypotheses at each output step (e.g., time step), where a "possible speech recognition hypothesis" corresponds to a set of output labels, each representing a symbol / character in a specified natural language. For example, when the natural language is English, the set of output labels may include 27 symbols, e.g., one label for each of the 26 letters of the English alphabet, and one label specifying a space. Thus, the collaborative network 230 may output a set of values indicating the likelihood of occurrence of each of a given set of output labels. This set of values may be a vector and may indicate a probability distribution over the set of output labels. In some cases, the output labels are graphemes (e.g., individual characters, and possibly punctuation and other symbols), but the set of output labels is not so limited. For example, the set of output labels may include wordpieces and / or entire words in addition to or instead of graphemes. The output distribution of the collaborative network 230 may include a posterior probability value for each of the different output labels. Thus, if there are 100 different output labels representing different graphemes or other symbols, the output y of the collaborative network 230 i may contain 100 different probability values, one for each output label. The probability distributions can then be used to select and assign scores to candidate orthographic elements (e.g., graphemes, wordpieces, and / or words) in the beam search process to determine the transcription 120 (e.g., by the softmax layer 240).
[0030] The softmax layer 240 may utilize any technique for selecting the output label / symbol with the highest probability in the distribution as the next output symbol predicted by the RNN-T model 200 in the corresponding output step. In this manner, the RNN-T model 200 does not make a conditional independence assumption; rather, the prediction of each symbol is conditioned not only on the acoustics but also on the sequence of labels output so far. The RNN-T model 200 assumes that the output symbols are independent of future acoustic frames 110, which allows the RNN-T model 200 to be used in a streaming manner.
[0031] In some examples, the encoder network (i.e., audio encoder) 210 of the RNN-T model 200 includes a stack of self-attention layers / blocks, such as conformer blocks, where each conformer block includes a series of multi-headed self-attention, depthwise convolutional layers, and a feedforward layer. The prediction network 220 may have two 2,048-dimensional LSTM layers, each of which is also followed by a 640-dimensional projection layer. Alternatively, the prediction network 220 may include a stack of transformer or conformer blocks, or an embedded lookup table, instead of an LSTM layer. Finally, the joint network 230 may also have 640 hidden units. The softmax layer 240 may consist of a joint word piece or grapheme set, which is generated using all unique word pieces or graphemes in multiple training datasets.
[0032] 3A-3C show an exemplary ask-to-mask (ATM) training process 300 using different MSM architectures to pre-train the ASR model 200 (FIG. 2). The ATM training process 300 (also referred to simply as "training process 300") can pre-train the ASR model 200 using available training data including a set of non-spoken text utterances 320, a set of transcribed non-synthesized speech utterances 304, and / or a set of untranscribed non-synthesized speech utterances 306. Each non-spoken text utterance 320 includes text-only data (i.e., unpaired data) such that each non-spoken text utterance 320 is not paired with any corresponding spoken audio representation (i.e., audio) of the utterance. The non-spoken text utterance 320 may include any sequence of text chunks including words, word pieces, phonemes, and / or graphemes. Each untranscribed, non-synthesized speech utterance 306 (also referred to simply as "untranscribed speech utterance 306") includes audio-only data (i.e., unpaired data) such that the untranscribed speech utterance is not paired with any corresponding transcription, whereas each transcribed, non-synthesized speech utterance 304 (also referred to simply as "transcribed speech utterance 304") includes a corresponding transcription (not shown) that is paired with a corresponding non-synthesized speech representation of the corresponding transcribed speech utterance.
[0033] The training data may also include a synthesized speech representation (e.g., synthetic speech) 332 for each of the multiple non-spoken training text utterances 320. That is, the non-spoken training text utterances 320 include non-spoken text that is text-only data, i.e., unpaired data, such that each non-spoken training text utterance is not paired with any synthesized or unsynthesized speech. Thus, the text-to-speech (TTS) system 330 may generate a corresponding synthetic speech representation 332 for each of the non-spoken training text utterances 320. In particular, the synthetic speech representation may include mel-frequency spectrogram frames for training the ASR model 200, thereby eliminating the need for the training process 300 to include a vocoder and / or synthesizer for synthesizing the mel-frequency spectrogram frames into synthetic speech.
[0034] The TTS system 330 may apply the speaker embedding z when converting the non-spoken text utterance 320 to generate a synthetic speech representation 332 having a particular speaking style and prosody associated with the speaker embedding. The TTS system 330 may apply multiple different speaker embeddings z, each associated with a different speaker characteristic of the resulting synthetic speech representation 332. Similarly, the TTS system 330 may vary the prosody and other production qualities of the synthesized utterance. In some examples, the training process 300 applies data augmentation to at least one of the sample utterances of the synthetic speech representation 332. Data augmentation may include, but is not limited to, adding noise, manipulating timing (e.g., stretching), and adding reverberation to the corresponding synthetic speech representation. Data augmentation may add different synthesis recording conditions to the synthetic speech representation 332.
[0035] For simplicity, the training process 300 includes a control self-supervised loss section 300a (FIG. 3A), a cross-entropy self-supervised loss section 300b (FIG. 3B), and a final training objective self-supervised loss section 300c (FIG. 3C). The training process 300 may pre-train the audio encoder 210 using any combination of losses derived from the control self-supervised loss section 300a (FIG. 3A), the cross-entropy self-supervised loss section 300b (FIG. 3B), and the final training objective self-supervised loss section 300c (FIG. 3C).
[0036] 3A-3C, in the illustrated example, the audio encoder 210 of the ASR model 200 (FIG. 2) includes a stack of self-attention layers, each including a multi-headed (e.g., eight-headed) self-attention mechanism. For example, the stack of self-attention layers may include a stack of conformer layers or transformer layers. In the illustrated example, the audio encoder 210 includes a conformer encoder including a stack of conformer blocks, each of which includes a series of multi-headed self-attention layers, depthwise convolutional layers, and feedforward layers. The conformer encoder 210 can be divided into a feature encoder including a convolutional subsampling block 212 and a context network including a linear layer 214 and a stack of conformer blocks 216. In some implementations, the convolutional subsampling block 212 has two two-dimensional convolutional layers, both with stride (2, 2), resulting in a quarter-fold reduction in feature sequence length.
[0037] The convolutional subsampling block 212 receives as input a sequence of input speech frames (e.g., Mel-frequency spectrograms such as the acoustic frame 110 in FIG. 1 ) associated with each transcribed speech utterance 304, each untranscribed unsynthesized speech utterance 306, and each synthesized speech representation 332, and generates as output a sequence of coded representations 211, 211a-n, each corresponding to one of the transcribed speech utterances 304, the untranscribed speech utterance 306, or one of the synthesized speech representations 332, respectively. Each coded representation 211 in the sequence of coded representations 211 may represent a grapheme, a phoneme, a wordpiece, or a word. Moreover, each sequence of coded representations 211 corresponds to each of the utterances in the training data. The sequence of coded representations 211 output from the convolutional subsampling block 212 (E=[e1, e2, ..., e T ]) may be fed to a masking module 400, which masks a selected set of the encoded unmasked representations 211.
[0038] 4, in some implementations, the masking module 400 includes a scorer model 410 and a masker 420. The scorer model 410 (also referred to simply as the "scorer 410") takes a sequence of coded representations 211 and processes each respective coded representation 211 to generate a corresponding probability distribution 414 for possible speech recognition hypotheses 412 for each respective coded representation 211. The sequence of coded representations 211 received by the scorer 410 is unmasked. Moreover, the scorer 410 generates a probability distribution at the frame level (e.g., for each coded representation 211). The probability distribution 414 includes a probability associated with each possible speech recognition hypothesis (i.e., label). In some instances, the scorer 410 calculates the probability distribution 414 as P = p(e t =l|E);l∈L (1) It can be judged by.
[0039] In Equation 1, P represents a probability distribution 414 for each coded representation 211, and l represents each of the potential speech recognition hypotheses (i.e., labels) from a plurality of potential speech recognition hypotheses L (i.e., labels) in the codebook. For example, as shown in Figure 4, the scorer 410 receives three coded representations 211a-c, each representing a word corresponding to the utterance "Show Google Adsense." In this example, the scorer 410 processes a first coded representation 211a representing the word "Show" to generate a corresponding first probability distribution 414 for possible speech recognition hypotheses 412 for the first coded representation 211a, processes a second coded representation 211b representing the word "Google" to generate a corresponding second probability distribution 414 for possible speech recognition hypotheses 412 for the second coded representation 211b, and processes a third coded representation 211c representing the word "Adsense" to generate a corresponding third probability distribution 414 for possible speech recognition hypotheses 412 for the third coded representation 211c. Here, a first probability distribution 414 includes probabilities of 0.7 and 0.3 for possible speech recognition hypotheses 412 “show” and “snow”, respectively; a second probability distribution 414 includes probabilities of 0.9 and 0.1 for possible speech recognition hypotheses 412 “Google” and “Doodle”, respectively; and a third probability distribution 414 includes probabilities of 0.6 and 0.4 for possible speech recognition hypotheses 412 “Adsense” and “Accents”, respectively.
[0040] In some implementations, the scorer 410 is an external ASR model trained with training data (i.e., in-domain data) similar to the target domain. The scorer 410 may be a frame-synchronous ASR model that utilizes a connectionist temporal classification (CTC) objective, such that the ASR model generates a frame-level (e.g., for each coded representation 211) probability distribution. The scorer 410 may generate the probability distribution 414 based on the likelihood that each speech recognition hypothesis 412 for each coded representation 211 is an accurate transcription of the corresponding utterance. In other implementations, the scorer 410 generates the probability distribution 414 based on the similarity of each speech recognition hypothesis 412 to the target domain. For example, the target domain for the ASR model 200 may be associated with videoconferencing, such that the scorer 410 generates a higher probability for speech recognition hypotheses 412 that are likely to belong to the target domain (e.g., videoconferencing). Optionally, the scorer 410 may use some combination of transcription accuracy and similarity to the target domain to generate the probability distribution 414. Thus, a speech recognition hypothesis 412 with a high probability indicates that the speech recognition hypothesis 412 is likely to contain meaningful information for the ASR model 200 (FIG. 2) to learn meaningful expressions during pre-training.
[0041] Additionally, the scorer 410 assigns a confidence score 416 as the highest probability from the corresponding probability distribution 414 for the speech recognition hypothesis 412 for each coded representation 211. The scorer 410 assigns the confidence score 416 as the highest probability from the corresponding probability distribution 414 for the speech recognition hypothesis 412 for each coded representation 211.
[0042]
number
[0043] The sigma-based ... vectors may be assigned by
[0044] In formula 2, st represents the confidence score 416 for each encoded representation 211. The scorer 410 calculates the confidence score 416 for K masking start indices {i1,...,i k}of,
[0045]
number
[0046] Sampling is performed with probability given by
[0047] It should be noted that in Equation 3,
[0048]
number
[0049] ensures that the scorer 410 samples without replacement. Thus, the scorer 410 samples an initial coded representation 211 in a sequence of coded representations 211 with a probability proportional to the probability for each possible speech recognition hypothesis 412. Continuing with the above example, the scorer 410 assigns a confidence score 416 of 0.7 for the first coded representation 211a, a confidence score 416 of 0.9 for the second coded representation 211b, and a confidence score 416 of 0.6 for the third coded representation 211c, because these are the highest probabilities in the respective probability distributions 414. As shown in FIG. 4, the confidence scores 416 assigned to each coded representation 211 are marked with dashed boxes.
[0050] In some examples, the scorer 410 assigns a confidence score 416 as a low probability from a corresponding probability distribution 414 for the speech recognition hypothesis 412 for each encoded representation 211. The scorer 410 may also assign a confidence score as a mixture of high and low probabilities. In particular, the scorer 410 may assign the confidence score 416 as a
[0051]
number
[0052] We may assign it to a low probability by
[0053] The masker 420 receives the confidence scores 416 assigned to each coded representation 211 in the sequence of coded representations 211 and selects a set of unmasked coded representations 211 to be masked. That is, the masker 420 may select the top K coded representations 211 from the sequence of unmasked coded representations 211 from which the ASR model 200 learns meaningful representations during pre-training, where K represents the number of coded representations 211 that the masker 420 selects. In some instances, K is based on a predetermined proportion of coded representations 211 in the sequence of coded representations 211 to be masked. For example, K may represent a predetermined proportion of 40 percent, although it will be understood that the predetermined proportion may be any proportion. Thus, in this example, the masker 420 may set K to 4 for an utterance that includes 10 coded representations 211 in the sequence of coded representations 211.
[0054] The masker 420 generates a set of masked encoded representations 211, 211m by masking the selected set of unmasked encoded representations 211. Continuing with the example shown in FIG. 4, the predetermined ratio may be 33 percent, which causes the masker 420 to select two encoded representations 211 out of the total three encoded representations 211 that have the highest reliability score 416. Here, the masker 420 selects the first encoded representation 211a and the second encoded representation 211b as the set of unmasked encoded representations 211 for masking, since these encoded representations 211 have the highest assigned reliability score 416. The masker 420 then generates a set of masked encoded representations 211ma, 211mb by masking the first encoded representation 211a and the second encoded representation 211b, marked with black boxes. Thus, each masked encoded representation 211m in the set of masked encoded representations 211m corresponds to each of the unmasked encoded representations 211 in the selected set of unmasked encoded representations 211. As shown in Figure 4, the first encoded representation 211a corresponds to the first masked encoded representation 211ma, and the second encoded representation 211b corresponds to the second masked encoded representation 211mb. As will become apparent, the training process 300 (Figure 3) only pre-trains the ASR model 200 (Figure 2) with the set of masked encoded representations 211m.
[0055] 3A, a control self-supervised loss portion 300a of a training process 300 generates a control loss term 342 and a control training target 345. In particular, a linear layer 214 and a conformer block 216 of the context network receive a set of masked encoded representations 211m and generate a corresponding control context vector 215 (c jThat is, the audio encoder 210 generates a contrast context vector 215 for every masked time instance j∈J. Moreover, the quantizer 218 receives as input the selected set of unmasked encoded features 211 and outputs a corresponding quantization vector 219 (Q=[q1, q2, ..., q T ]) as output. Each target context vector (i.e., target context vector) 219 includes an L dimension that indicates the number of targets or codes in the codebook. The quantizer 218 may be a Gumbel softmax quantizer.
[0056] Thereafter, a contrastive loss module 340 calculates a contrastive loss term 342 (L) based on the corresponding contrast context vector 215 and the corresponding target context vector 219 generated for each unmasked encoded representation 211 corresponding to each masked encoded representation 211m. ctr In some examples, the training process 300 pre-trains the audio encoder 210 by directly using the contrastive loss term 342. In other examples, the contrastive loss module 340 derives the contrastive training objective 345 (L wv ) to derive the diversity loss (L div In these examples, the control loss module 340 determines the control training target 345 as: L wv =L ctr +0.1·L div (5) It is derived by:
[0057] In Equation 5,
[0058]
number
[0059] And L divrepresents the diversity loss. The contrastive loss term 342 represents both positive and negative examples depending on the codebook, and the diversity loss encourages increased use of the quantized codebook representation. In particular, the diversity loss encourages equal use of the V entries in each of the G codebooks by maximizing the entropy of an average softmax distribution over the codebook entries for each codebook. The contrastive loss module 340 calculates the diversity loss (L div )of,
[0060]
number
[0061] It can be derived by:
[0062] The training process 300 may train the ASR model 200 (FIG. 2) by updating parameters of the audio encoder 210 based on the contrast training objectives 345 and / or the contrast loss term 342.
[0063] 3B, the cross-entropy loss portion 300b of the training process 300 generates a cross-entropy loss 355 for pre-training the ASR model 200 (FIG. 2). In particular, the linear layer 214 and conformer block 216 of the context network receive a set of masked encoded representations 211m and generate corresponding contrast context vectors 215 (c j ∈C) for each corresponding masked encoded representation 211m in the set of masked encoded representations 211m. That is, the audio encoder 210 generates a contrast context vector 215 for every masked time instance j∈J. Moreover, the cluster module 222 receives as input the selected set of unmasked encoded features 211 and generates a corresponding K-means cluster 223 (Y=[y1, y2, ..., y T]) as output. Optionally, the cluster module 222 may receive bottleneck features 217 extracted from the control context vectors 215 and use the extracted bottleneck features 217 to further refine each K-means cluster 223. It should be noted that each K-means cluster 223 represents a target for each of the control context vectors 215.
[0064] Thereafter, a cross-entropy loss module 350 calculates a cross-entropy loss 355 (L ce The training process 300 pre-trains the audio encoder 210 by updating parameters of the audio encoder 210 based on the cross-entropy loss 355.
[0065] 3C, the final training objective self-supervised loss portion 300c of the training process 300 generates a final training objective 365 for pre-training the ASR model 200 (FIG. 2). In particular, the linear layer 214 and conformer block 216 of the context network receive a set of masked encoded representations 211m and generate a corresponding contrast context vector 215 (c j ∈C). That is, the audio encoder 210 generates a contrast context vector 215 for every masked time instance j∈J. Moreover, the audio encoder 210 may further refine the contrast context vector 215 to generate a refined contrast context vector 213. The audio encoder 210 may generate the refined contrast context vector 213 by
[0066]
number
[0067] Generated by:
[0068] In Equation 7, y j represents the refined contrast context vector 213, where the contrast context vector 215 is the target for the target context vector 219, and the refined contrast context vector is the target for the K-means cluster 223. A quantization module 224 may receive the selected set of unmasked encoded features 211 as input. In some instances, the quantization module 224 includes a quantizer 218 (FIG. 3A) and a cluster module 222 (FIG. 3B). Thus, the quantization module 224 uses the quantizer 218 (FIG. 3A) to generate a corresponding quantization vector 219 (Q=[q1, q2, ..., q T ]) as output and uses a cluster module 222 (FIG. 3B) to generate a corresponding K-means cluster 223 (Y=[y1, y2, ..., y T ]) as output.
[0069] In some examples, the target loss module 360 determines a final training target 365 (L wb In particular, the target loss module 360 derives a contrast loss term 342 and a contrast loss target 345 based on the corresponding contrast context vector 215 and the corresponding target context vector 219 generated for each unmasked encoded representation 211 corresponding to each masked encoded representation 211m. Moreover, the target loss module 360 derives a cross entropy loss 355 (Lce For each respective masked encoded representation 211m, the target loss module 360 derives a final training target based on the contrast loss term 342 (or contrast loss target 345) and the cross entropy loss 355 as L wb =L ce +L wv (8) The judgment is made by.
[0070] In Equation 8, L wb represents a final training goal 365. The training process 300 may train the audio encoder 210 by updating parameters of the audio encoder 210 based on the final training goal 365.
[0071] As described above, the training process 300 determines the loss for each coded representation 211 (e.g., frame level) in a sequence of coded representations 211 corresponding to an utterance. In some cases, the training process 300 may benefit from selecting training samples at a coarser utterance level rather than the frame level. Thus, the training process 300 calculates the confidence scores 416 of all masked coded representations 211m in the set of masked coded representations 211 as
[0072]
number
[0073] A voicing level confidence score may be determined by averaging over
[0074] In Equation 9, s urepresents the voicing level confidence score. Moreover, the training process 300 may weight the final training goals 365 based on the voicing level confidence score. For example, the training process 300 assigns a high weight to a final training goal 365 associated with a high voicing level confidence score. Thus, a weighted final training goal 365 with a high weight will have a larger impact on the pre-training of the audio encoder 210 than a weighted final training goal 365 with a lower weight.
[0075] 5 is a flowchart of an example sequence of operations for a method 500 of guided data selection for masked voice modeling. The method 500 may be executed on data processing hardware 610 (FIG. 6) using instructions stored in memory hardware 620 (FIG. 6). The data processing hardware 610 and memory hardware 620 may reside on the user device 102 and / or remote computing device 201 of FIG. 1, which corresponds to the computing device 600 (FIG. 6).
[0076] In operation 502, the method 500 includes obtaining a sequence of coded representations 211, 211a-n corresponding to the utterance 106. For each respective coded representation 211 in the sequence of coded representations 211, the method 500 performs operations 504 and 506. In operation 504, the method 500 includes processing each coded representation 211 using the scorer model 410 to generate a corresponding probability distribution 414 for possible speech recognition hypotheses 412 for each coded representation 211. In operation 506, the method 500 includes assigning a confidence score 416 to each coded representation 211 as the highest probability from the corresponding probability distribution 414 for the speech recognition hypotheses 412 for each coded representation 211. In operation 508, the method 500 includes selecting a set of unmasked coded representations 211 to be masked from the sequence of coded representations 211 based on the confidence scores 416 assigned to the sequence of coded representations 211. At operation 510, the method 500 includes generating a set of masked encoded representations 211, 211m by masking the selected set of unmasked encoded representations 211, where each masked encoded representation 211m in the set of masked encoded representations 211m corresponds to a respective one of the unmasked encoded representations 211 in the selected set of unmasked encoded representations 211.
[0077] 6 is a schematic diagram of an exemplary computing device 600 that can be used to implement the systems and methods described herein. The computing device 600 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The components shown, their connections and relationships, and their functions are intended to be exemplary only and are not intended to limit the implementation of the invention described and / or claimed herein.
[0078] Computing device 600 includes a processor 610, a memory 620, a storage device 630, a high-speed interface / controller 640 that connects to memory 620 and a high-speed expansion port 650, and a low-speed interface / controller 660 that connects to a low-speed bus 670 and storage device 630. Each of components 610, 620, 630, 640, 650, and 660 may be interconnected using various buses and mounted on a common motherboard or in other manners as desired. Processor 610 can process instructions for execution within computing device 600, including instructions stored in memory 620 or on storage device 630 for displaying graphical information for a graphical user interface (GUI) on an external input / output device, such as a display 680 coupled to high-speed interface 640. In other implementations, multiple processors and / or multiple buses may be used along with multiple memories and multiple types of memories as desired. Also, multiple computing devices 600 may be connected, with each device providing a portion of the required operations (eg, as a bank of servers, a group of blade servers, or a multi-processor system).
[0079] The memory 620 stores information non-transiently within the computing device 600. The memory 620 may be a computer-readable medium, a volatile memory unit, or a non-volatile memory unit. The non-transient memory 620 may be a physical device used to temporarily or permanently store programs (e.g., sequences of instructions) or data (e.g., program state information) for use by the computing device 600. Examples of non-volatile memory include, but are not limited to, flash memory and read-only memory (ROM) / programmable read-only memory (PROM) / erasable programmable read-only memory (EPROM) / electronically erasable programmable read-only memory (EEPROM) (e.g., typically used for firmware such as boot programs). Examples of volatile memory include, but are not limited to, random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), phase change memory (PCM), as well as disks or tapes.
[0080] The storage device 630 is capable of providing mass storage to the computing device 600. In some implementations, the storage device 630 is a computer-readable medium. In various different implementations, the storage device 630 may be a floppy disk device, a hard disk device, an optical disk device, or an array of devices including a tape device, a flash memory or other similar solid-state memory device, or a device in a storage area network or other configuration. In additional embodiments, the computer program product is tangibly embodied in an information carrier. The computer program product includes instructions that, when executed, perform one or more methods, such as those described above. The information carrier is a computer-readable medium or a machine-readable medium, such as the memory 620, the storage device 630, or a memory on the processor 610.
[0081] The high-speed controller 640 manages bandwidth-intensive operations for the computing device 600, and the low-speed controller 660 manages less bandwidth-intensive operations. Such an allocation of roles is merely exemplary. In some implementations, the high-speed controller 640 is coupled to the memory 620, the display 680 (e.g., through a graphics processor or accelerator), and to a high-speed expansion port 650 that can accept various expansion cards (not shown). In some implementations, the low-speed controller 660 is coupled to the storage device 630 and to a low-speed expansion port 690. The low-speed expansion port 690 may include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet), but may also be coupled to one or more input / output devices, such as a keyboard, pointing device, scanner, or a network device, such as a switch or router, for example, through a network adapter.
[0082] The computing device 600 may be implemented in a number of different ways, as shown in the figure. For example, the computing device 600 may be implemented as a standard server 600a, or any number of such servers 600a in a group, or as a laptop computer 600b, or as part of a rack server system 600c.
[0083] Various implementations of the systems and techniques described herein may be realized in digital electronic and / or optical circuitry, integrated circuitry, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementations in one or more computer programs executable and / or interpretable on a programmable system that includes at least one programmable processor, which may be special purpose or general purpose, coupled to receive data and instructions from, and to transmit data and instructions to, a storage system, at least one input device, and at least one output device.
[0084] These computer programs (also known as programs, software, software applications or codes) contain machine instructions for a programmable processor and may be implemented in a high-level procedural and / or object-oriented programming language and / or in an assembly / machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, non-transitory computer-readable medium, apparatus and / or device (e.g., magnetic disk, optical disk, memory, Programmable Logic Device (PLD)) used to provide machine instructions and / or data to a programmable processor including a machine-readable medium that receives the machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and / or data to a programmable processor.
[0085] The processes and logic flows described herein can be implemented by one or more programmable processors, also referred to as data processing hardware, that execute one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be implemented by special purpose logic circuitry, such as field programmable gate arrays (FPGAs) and application specific integrated circuits (ASICs). Processors suitable for executing computer programs include, by way of example, both general purpose and special purpose microprocessors, as well as any one or more processors of any kind of digital computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory, or both. The essential elements of a computer are a processor for executing instructions, and one or more memory devices for storing instructions and data. Generally, a computer also includes one or more mass storage devices, such as magnetic, magneto-optical, or optical disks, for storing data, or is operatively coupled to a mass storage device to receive data from, or transfer data to, the mass storage device, or both. However, a computer need not have such devices. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media and memory devices, including, by way of example, semiconductor memory devices, e.g., EPROM, EEPROM, and flash memory devices, magnetic disks, e.g., internal hard disks or removable disks, magneto-optical disks, and CD-ROM and DVD-ROM disks. The processor and memory may be supplemented by, or incorporated in, special purpose logic circuitry.
[0086] To enable interaction with a user, one or more aspects of the present disclosure can be implemented on a computer having a display device, e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor, or a touch screen, for displaying information to the user, and optionally a keyboard and pointing device, e.g., a mouse or trackball, for allowing the user to provide input to the computer. Other types of devices can also be used to enable interaction with the user, e.g., feedback provided to the user can be any form of sensory feedback, e.g., visual feedback, auditory feedback, or tactile feedback, and input from the user can be received in any form, including acoustic, speech, or tactile input. Additionally, the computer can interact with the user by sending documents to and receiving documents from a device used by the user, e.g., by sending a web page to a web browser on the user's client device in response to a request received from the web browser.
[0087] Although several implementations have been described, it will be understood that various modifications may be made without departing from the spirit and scope of the present disclosure. Accordingly, other implementations are within the scope of the following claims. [Explanation of symbols]
[0088] 100 Automated Speech Recognition (ASR) Systems 102 User Devices 107 Interface Generator 108 Audio Subsystem 111 Data Processing Hardware 113 Memory Hardware 200 ASR model, RNN-T model 201 Remote Computing Devices 210 Encoder network, audio encoder 212 Convolution Subsampling Block 214 Linear Layer 216 Conformer Block 218 Quantizer 220 Prediction Network 222 Cluster Module 224 Quantization Module 230 Collaborative Network 240 Softmax Layers 330 Text to Speech (TTS) Systems 340 Contrast Loss Module 350 Cross-Entropy Loss Module 360 Target Loss Module 400 Masking Module 410 Scorer Model, Scorer 420 Masker 600 computing devices 600a Standard Server, Server 600b Laptop Computer 600c Rack Server System 610 Data Processing Hardware, Processors and Components 620 Memory Hardware, Components 630 Storage devices, components 640 High Speed Interface / Controller, Components 650 High Speed Expansion Port, Components 660 Low-speed interface / controller, components 670 Slow Bus 680 Display 690 Low Speed Expansion Port
Claims
1. A computer-implemented method (500) for guided data selection for masked voice modeling, the computer-implemented method (500), when executed on data processing hardware (610), causes the data processing hardware (610) to perform operations, the operations including: obtaining a sequence of coded representations (211) corresponding to the utterance (106); For each respective coded representation (211) in said sequence of coded representations (211), processing each of the coded representations (211) using a scorer model (410) to generate corresponding probability distributions (414) over possible speech recognition hypotheses (412) for each of the coded representations (211); assigning to each of the coded representations (211) a confidence score (416) as the highest probability from the corresponding probability distribution (414) for possible speech recognition hypotheses (412) for the each of the coded representations (211); selecting, from the sequence of coded representations (211), a set of unmasked coded representations (211) to be masked based on the reliability scores (416) assigned to the sequence of coded representations (211); generating a set of masked encoded representations (211m) by masking the selected set of unmasked encoded representations (211), each masked encoded representation (211m) in the set of masked encoded representations (211m) corresponding to a respective one of the unmasked encoded representations (211) in the selected set of unmasked encoded representations (211).
2. 2. The computer-implemented method of claim 1, wherein selecting the set of unmasked encoded representations (211) to mask comprises selecting, from the sequence of encoded representations (211), a top K encoded representations (211) having highest reliability scores (416).
3. 3. The computer-implemented method of claim 2, wherein K is based on a predetermined proportion of coded representations in the sequence of coded representations to be masked.
4. The computer-implemented method (500) of claim 3, wherein the predetermined percentage is equal to 40 percent.
5. The operation includes: generating, for each respective unmasked encoded representation (211) in the selected set of unmasked encoded representations (211) to be masked, a corresponding target context vector (219) for said respective unmasked encoded representation (211) using a quantizer (218); For each respective masked encoded representation (211m) in said set of masked encoded representations (211m), generating a corresponding contrast context vector (215) for each of said masked encoded representations (211m); generating a contrast loss (342) based on the corresponding contrast context vector (215) and the corresponding target context vector (219) generated for each unmasked encoded representation (211) corresponding to each of the masked encoded representations (211m); and pre-training an audio encoder (210) using the contrastive loss (342) generated for the set of masked encoded representations (211m).
6. The operation includes: for each respective unmasked encoded representation (211) in the selected set of unmasked encoded representations (211) to be masked, generating, using a cluster module (222), a corresponding K-means cluster (223) for the respective unmasked encoded representation (211); generating a cross-entropy loss (355) for each respective masked encoded representation (211m) in the set of masked encoded representations (211m) based on the corresponding contrast context vector (215) and the corresponding K-means cluster (223) generated for the respective unmasked encoded representation (211m) corresponding to the respective masked encoded representation (211m); 6. The computer-implemented method of claim 5, further comprising pre-training the audio encoder using the cross-entropy loss generated for the set of masked encoded representations.
7. The operation includes: determining a final training target (365) for each respective masked encoded representation (211m) in the set of masked encoded representations (211m) based on the contrast loss (342) and the cross entropy loss (355); and pre-training the audio encoder (210) using the final training targets (365) generated for the set of masked encoded representations (211m).
8. The operation includes: determining a voicing level confidence score (416) by averaging the confidence scores (416) among the set of masked coded representations (211m); weighting the final training goal (365) based on the utterance level confidence score (416); 8. The computer-implemented method of claim 7, further comprising pre-training the audio encoder using the weighted final training target.
9. 9. The computer-implemented method (500) of claim 6, wherein the operations further comprise extracting bottleneck features (217) from the contrast context vector (215).
10. 10. The computer-implemented method (500) of claim 9, wherein the operations further comprise refining each corresponding K-means cluster (223) using the extracted bottleneck features (217).
11. Data processing hardware (610); and memory (620) hardware in communication with the data processing hardware (610), the memory (620) hardware storing instructions that, when executed on the data processing hardware (610), cause the data processing hardware (610) to perform operations, the operations including: obtaining a sequence of coded representations (211) corresponding to the utterance (106); For each respective coded representation (211) in said sequence of coded representations (211), processing each of the coded representations (211) using a scorer model (410) to generate corresponding probability distributions (414) over possible speech recognition hypotheses (412) for each of the coded representations (211); assigning to each of the coded representations (211) a confidence score (416) as the highest probability from the corresponding probability distribution (414) for possible speech recognition hypotheses (412) for the each of the coded representations (211); selecting, from the sequence of coded representations (211), a set of unmasked coded representations (211) to be masked based on the reliability scores (416) assigned to the sequence of coded representations (211); generating a set of masked encoded representations (211m) by masking the selected set of unmasked encoded representations (211), each masked encoded representation (211m) in the set of masked encoded representations (211m) corresponding to a respective one of the unmasked encoded representations (211) in the selected set of unmasked encoded representations (211).
12. 12. The system (100) of claim 11, wherein selecting the set of unmasked encoded representations (211) to mask comprises selecting, from the sequence of encoded representations (211), a top K encoded representations (211) having highest reliability scores (416).
13. 13. The system (100) of claim 12, wherein K is based on a predetermined proportion of coded representations (211) in the sequence of coded representations (211) to be masked.
14. The system (100) of claim 13, wherein the predetermined percentage is equal to 40 percent.
15. The operation includes: generating, for each respective unmasked encoded representation (211) in the selected set of unmasked encoded representations (211) to be masked, a corresponding target context vector (219) for said respective unmasked encoded representation (211) using a quantizer (218); For each respective masked encoded representation (211m) in said set of masked encoded representations (211m), generating a corresponding contrast context vector (215) for each of said masked encoded representations (211m); generating a contrast loss (342) based on the corresponding contrast context vector (215) and the corresponding target context vector (219) generated for each unmasked encoded representation (211) corresponding to each of the masked encoded representations (211m); and pre-training an audio encoder (210) using the contrastive loss (342) generated for the set of masked encoded representations (211m).
16. The operation includes: for each respective unmasked encoded representation (211) in the selected set of unmasked encoded representations (211) to be masked, generating, using a cluster module (222), a corresponding K-means cluster (223) for the respective unmasked encoded representation (211); generating a cross-entropy loss (355) for each respective masked encoded representation (211m) in the set of masked encoded representations (211m) based on the corresponding contrast context vector (215) and the corresponding K-means cluster (223) generated for the respective unmasked encoded representation (211m) corresponding to the respective masked encoded representation (211m); and pre-training the audio encoder (210) using the cross-entropy loss (355) generated for the set of masked encoded representations (211m).
17. The operation includes: determining a final training target (365) for each respective masked encoded representation (211m) in the set of masked encoded representations (211m) based on the contrast loss (342) and the cross entropy loss (355); and pre-training the audio encoder (210) using the final training targets (365) generated for the set of masked encoded representations (211m).
18. The operation includes: determining a voicing level confidence score (416) by averaging the confidence scores (416) among the set of masked coded representations (211m); weighting the final training goal (365) based on the utterance level confidence score (416); 20. The system of claim 17, further comprising pre-training the audio encoder using the weighted final training target.
19. The system (100) of any one of claims 16 to 18, wherein the operations further comprise extracting bottleneck features (217) from the contrast context vector (215).
20. 20. The system (100) of claim 19, wherein the operations further comprise refining each corresponding K-means cluster (223) using the extracted bottleneck features (217).
Citation Information
Patent Citations
Contrastive pre-training for language tasks
WO2021061555A1
Consistency prediction on streaming sequence models
WO2021178108A1
