IP Library › Granted Patent US 12,315,499
Granted Patent B2
US 12,315,499 · App. 18/065,685 · Granted May 27, 2025

Semi-supervised training scheme for speech recognition

Inventors: Soheil Khorram (Redwood City, CA); Anshuman Tripathi (Mountain View, CA); Kim Jaeyoung (Cupertino, CA); Han Lu (Redmond, WA); Qian Zhang (Mountain View, CA); Hasim Sak (Santa Clara, CA)
Assignee: Google LLC
G10L15/183G10L15/063G10L15/22G10L15/02
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,315,499
App. No.
18/065,685
Granted
May 27, 2025
Kind
B2
Abstract

A method includes receiving a sequence of acoustic frames extracted from unlabeled audio samples that correspond to spoken utterances not paired with any corresponding transcriptions. The method also includes generating, using a supervised audio encoder, a target higher order feature representation for a corresponding acoustic frame. The method also includes augmenting the sequence of acoustic frames and generating, as output form an unsupervised audio encoder, a predicted higher order feature representation for a corresponding augmented acoustic frame in the sequence of augmented acoustic frames. The method also includes determining an unsupervised loss term based on the target higher order feature representation and the predicted higher order feature representation and updating parameters of the speech recognition model based on the unsupervised loss term.

Claims (57)

1. A cross-training network for training a speech recognition model, the cross-training network comprising an unsupervised subnetwork trained on a plurality of unlabeled audio samples corresponding to spoken utterances not paired with corresponding transcriptions, the unsupervised subnetwork comprising:

a target branch configured to:

receive, as input to a supervised audio encoder of the speech recognition model, a sequence of acoustic frames extracted from the unlabeled audio samples; and

at each of a plurality of output steps, generate a target higher order feature representation for a corresponding acoustic frame in the sequence of acoustic frames input to the supervised audio encoder at a corresponding output step; and

an augmented branch configured to:

augment the sequence of acoustic frames extracted from the unlabeled audio samples by masking one or more acoustic frames in the sequence of acoustic frames; and

at each of the plurality of output steps, generate, as output from an unsupervised audio encoder of the speech recognition model, a predicted higher order feature representation for a corresponding augmented acoustic frame in the sequence of augmented acoustic frames,

wherein the unsupervised subnetwork is configured to:

at each of the plurality of output steps, determine an unsupervised loss term based on the target higher order feature representation generated by the target branch at the corresponding output step and the predicted higher order feature representation generated by the augmented branch at the corresponding output step; and

update parameters of the speech recognition model based on the unsupervised loss term determined at each of the plurality of output steps.

2. The cross-training network of claim 1 , wherein the unsupervised loss term comprises a contrastive loss term.

3. The cross-training network of claim 1 , wherein:

the unsupervised subnetwork is further configured to, at each of the plurality of output steps, determine a distance-based loss term between parameters of the unsupervised audio encoder and parameters of the supervised audio encoder; and

updating the parameters of the speech recognition model is further based on the distance-based loss term determined at each of the plurality of output steps.

4. The cross-training network of claim 3 , wherein the distance-based loss term comprises an L2 loss.

5. The cross-training network of claim 3 , wherein updating the parameters of the speech recognition model based on the unsupervised loss term occurs jointly with updating the parameters of the speech recognition model based on the distance-based loss term.

6. The cross-training network of claim 1 , further comprising a supervised subnetwork trained on a plurality of labeled audio samples corresponding to spoken utterances paired with corresponding transcriptions, the supervised subnetwork configured to:

at each of the plurality of output steps for each labeled audio sample:

generate, using the speech recognition model, a corresponding speech recognition result for the labeled audio sample; and

determine a supervised loss term based on the corresponding speech recognition result for the labeled audio sample and the corresponding transcription of the labeled audio sample; and

update the parameters of the speech recognition model based on the supervised loss term determined at each of the plurality of output steps for each labeled audio sample in the plurality of labeled audio samples.

7. The cross-training network of claim 6 , wherein the corresponding speech recognition result generated for the labeled audio sample using the speech recognition model comprises a probability distribution over possible speech recognition hypotheses for the labeled audio sample at the corresponding output step.

8. The cross-training network of claim 6 , wherein the supervised subnetwork is further configured to update the parameters of the speech recognition model based on the supervised loss term jointly with the unsupervised network updating the parameters of the speech recognition model based on the unsupervised loss term and a distance-based loss term.

9. The cross-training network of claim 1 , wherein the target branch is further configured to apply a stop gradient operation on the predicted higher order feature representation for the corresponding augmented acoustic frame.

10. The cross-training network of claim 1 , wherein the parameters of the unsupervised audio encoder and the parameters of the supervised audio encoder are initialized with the same initial parameters.

11. The cross-training network of claim 1 , wherein the parameters of the unsupervised audio encoder and the parameters of the supervised audio encoder are initialized with different initial parameters.

12. The cross-training network of claim 1 , wherein each of the unsupervised audio encoder and the supervised audio encoder comprise at least one of:

a respective full-context encoder; or

a respective cascaded encoder.

13. A computer-implemented method when executed on data processing hardware causes the data processing hardware to perform operations comprising:

receiving a sequence of acoustic frames extracted from unlabeled audio samples corresponding to spoken utterances not paired with corresponding transcriptions;

at a target branch of a cross-training network, at a plurality of output steps, generating, using a supervised audio encoder of a speech recognition model, a target higher order feature representation for a corresponding acoustic frame in the sequence of acoustic frames;

at an augmentation branch of the cross-training network:

augmenting the sequence of acoustic frames extracted from the unlabeled audio samples by masking one or more acoustic frames in the sequence of acoustic frames; and

at each of the plurality of output steps, generating, as output from an unsupervised audio encoder of the speech recognition model, a predicted higher order feature representation for a corresponding augmented acoustic frame in the sequence of augmented acoustic frames;

at each of the plurality of output steps, determining an unsupervised loss term based on the target higher order feature representation generated by the target branch at the corresponding output step and the predicted higher order feature representation generated by the augmented branch at the corresponding output step; and

updating parameters of the speech recognition model based on the unsupervised loss term determined at each of the plurality of output steps.

14. The computer-implemented method of claim 13 , wherein the unsupervised loss term includes a contrastive loss term.

15. The computer-implemented method of claim 13 , wherein the operations further comprise:

at each of the plurality of output steps, determining a distance-based loss term between parameters of the unsupervised audio encoder and parameters of the supervised audio encoder; and

updating parameters of the speech recognition model is further based on the distance-based loss term determined at each of the plurality of output steps.

16. The computer-implemented method of claim 15 , wherein the distance-based loss term comprises an L2 loss.

17. The computer-implemented method of claim 15 , wherein the updating parameters of the speech recognition model based on the unsupervised loss term occurs jointly with updating the parameters of the speech recognition model based on the distance-based loss term.

18. The computer-implemented method of claim 13 , wherein the operations further comprise:

receiving a plurality of labeled audio samples corresponding to spoken utterances paired with corresponding transcriptions;

at each of the plurality of output steps for each labeled audio sample:

generating, using the speech recognition model, a corresponding speech recognition result for the labeled audio sample; and

determining a supervised loss term based on the corresponding speech recognition result for the labeled audio sample and the corresponding transcription of the labeled audio sample; and

updating the parameters of the speech recognition model based on the supervised loss term determined at each of the plurality of output steps for each labeled audio sample in the plurality of labeled audio samples.

19. The computer-implemented method of claim 18 , wherein the corresponding speech recognition result generated for the labeled audio sample using the speech recognition model includes a probability distribution over possible speech recognition hypotheses for the labeled audio sample at the corresponding output step.

20. The computer-implemented method of claim 18 , wherein updating parameters of the speech recognition model based on the supervised loss term occurs jointly with updating parameters of the speech recognition model based on the unsupervised loss terms and a distance-based loss term.

21. The computer-implemented method of claim 13 , wherein the operations further comprise applying a stop gradient operation on the predicted higher order feature representation for the corresponding augmented acoustic frame.

22. The computer-implemented method of claim 13 , wherein the parameters of the unsupervised audio encoder and the parameters of the supervised audio encoder are initialized with the same initial parameters.

23. The computer-implemented method of claim 13 , wherein the parameters of the unsupervised audio encoder and the parameters of the supervised audio encoder are initialized with different initial parameters.

24. The computer-implemented method of claim 13 , wherein each of the unsupervised audio encoder and the supervised audio encoder comprise at least one of:

a respective full-context encoder; or

a respective cascaded encoder.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 13, 2023
From: KHORRAM, SOHEIL; TRIPATHI, ANSHUMAN; JAEYOUNG, KIM; LU, HAN; ZHANG, QIAN; SAK, HASIM
To: GOOGLE LLC
Reel/Frame 062367/0019 →
Continuity (1)
Related Publication 20240203406A1 · Jun 20, 2024
References Cited (3)
Khorram Soheil et al: “Cross-Training: A Semi-Supervised Training Scheme for Speech Recognition”, ICASSP 2023—2023 IEEE International Conference On Acoustics, Speech and Signal Processing (ICASSP), IEEE, Jun. 4, 2023 (J… [cited by applicant]
Khorram Soheil et al: “Contrastive Siamese Network for Semi-Supervised Speech Recognition”, ICASSP 2022—2022 IEEE International Conference On Acoustics, Speech and Signal Processing (ICASSP), IEEE, May 23, 2022 (May 23,… [cited by applicant]
International Search Report and Written Opinion issued in related PCT Application No. PCT/US2023/083705, dated Mar. 14, 2024. [cited by applicant]