IP Library Granted Patent US 12,475,914
Granted Patent B2
US 12,475,914 · App. 17/828,240 · Granted Nov 18, 2025

Conditional factorization for jointly modeling code-switched and monolingual ASR

Inventors: Chunlei Zhang (Bellevue, WA); Brian Yan (Palo Alto, CA); Dong Yu (Palo Alto, CA)
Assignee: TENCENT AMERICA LLC
G10L25/78G06N3/045G10L15/005G10L25/30
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,475,914
App. No.
17/828,240
Granted
Nov 18, 2025
Kind
B2
Abstract

A method, apparatus, and non-transitory computer-readable medium for automatic speech recognition using conditional factorization for bilingual code-switched and monolingual speech may include receiving an audio observation sequence comprising a plurality of frames, the audio observation sequence including audio in a first language or a second language. The approach may further include mapping the audio observation sequence into a first sequence of hidden representations, the mapping being generated by a first encoder corresponding to the first language and mapping the audio observation sequence into a second sequence of hidden representations, the mapping being generated by a second encoder corresponding to the second language. The approach may further include generating a label-to-frame sequence based on the first sequence of hidden representations and the second sequence of hidden representations, using a joint neural network based model.

Claims (37)

1 . A method of automatic speech recognition using conditional factorization for bilingual code-switched and monolingual speech, the method executed by one or more processors, the method comprising:

receiving an audio observation sequence comprising a plurality of frames, the audio observation sequence including audio in a first language or a second language;

mapping the audio observation sequence into a first sequence of hidden representations, the mapping being generated by a first encoder corresponding to the first language, wherein the first encoder is configured to generate respective first labels associated with respective frames of the plurality of frames of the audio observation sequence based on determining that the respective frames of the plurality of frames of the audio observation sequence are associated with the first language, and wherein the first encoder is configured to generate blank labels associated with the respective frames of the plurality of frames of the audio observation sequence based on determining that the respective frames of the plurality of frames of the audio observation sequence are not associated with the first language;

mapping the audio observation sequence into a second sequence of hidden representations, the mapping being generated by a second encoder corresponding to the second language; and

generating a label-to-frame sequence based on the first sequence of hidden representations and the second sequence of hidden representations, using a joint neural network based model.

2 . The method of claim 1 , wherein the generating the label-to-frame sequence comprises:

fusing the first sequence of hidden representations and the second sequence of hidden representations to generate a fused sequence of hidden representations; and

generating the label-to-frame sequence based on the fused sequence of hidden representations using the joint neural network based model.

3 . The method of claim 1 , wherein a label at any position in the label-to-frame sequence is associated with the first language or the second language, and wherein the label is not associated with both the first language and the second language.

4 . The method of claim 1 , wherein the first encoder is a first pre-trained neural network model trained using a first connectionist temporal classification framework, and wherein the second encoder is a second pre-trained neural network model trained using a second connectionist temporal classification framework.

5 . The method of claim 4 , wherein the second encoder is configured to generate respective second labels associated with respective frames of the plurality of frames of the audio observation sequence, based on determining that the respective frames of the plurality of frames of the audio observation sequence are associated with the second language, and wherein the second encoder is configured to generate blank labels associated with the respective frames of the plurality of frames of the audio observation sequence based on determining that the respective frames of the plurality of frames of the audio observation sequence are not associated with the second language.

6 . The method of claim 1 , wherein the joint neural network based model is trained using a loss function based on a joint loss associated with the joint neural network based model, a first loss associated with the first encoder, and a second loss associated with the second encoder.

7 . An apparatus for automatic speech recognition using conditional factorization for bilingual code-switched and monolingual speech, the apparatus comprising:

at least one memory configured to store program code; and

at least one processor configured to read the program code and operate a instructed by the program code, the program code including:

first receiving code configured to cause the at least one processor to receive an audio observation sequence comprising a plurality of frames, the audio observation sequence including audio in a first language or a second language;

first mapping code configured to cause the at least one processor to map the audio observation sequence into a first sequence of hidden representations, the mapping being generated by a first encoder corresponding to the first language, wherein the first encoder is configured to generate respective first labels associated with respective frames of the plurality of frames of the audio observation sequence based on determining that the respective frames of the plurality of frames of the audio observation sequence are associated with the first language, and wherein the first encoder is configured to generate blank labels associated with the respective frames of the plurality of frames of the audio observation sequence based on determining that the respective frames of the plurality of frames of the audio observation sequence are not associated with the first language;

second mapping code configured to cause the at least one processor to map the audio observation sequence into a second sequence of hidden representations, the mapping being generated by a second encoder corresponding to the second language; and

first generating code configured to cause the at least one processor to generate a label-to-frame sequence based on the first sequence of hidden representations and the second sequence of hidden representations, using a joint neural network based model.

8 . The apparatus of claim 7 , wherein the first generating code comprises:

fusing code configured to cause the at least one processor to fuse the first sequence of hidden representations and the second sequence of hidden representations to generate a fused sequence of hidden representations; and

second generating code configured to cause the at least one processor to generate the label-to-frame sequence based on the fused sequence of hidden representations using the joint neural network based model.

9 . The apparatus of claim 7 , wherein a label at any position in the label-to-frame sequence is associated with the first language or the second language, and wherein the label is not associated with both the first language and the second language.

10 . The apparatus of claim 7 , wherein the first encoder is a first pre-trained neural network model trained using a first connectionist temporal classification framework, and wherein the second encoder is a second pre-trained neural network model trained using a second connectionist temporal classification framework.

11 . The apparatus of claim 10 , wherein the second encoder is configured to generate respective second labels associated with respective frames of the plurality of frames of the audio observation sequence, based on determining that the respective frames of the plurality of frames of the audio observation sequence are associated with the second language, and wherein the second encoder is configured to generate blank labels associated with the respective frames of the plurality of frames of the audio observation sequence based on determining that the respective frames of the plurality of frames of the audio observation sequence are not associated with the second language.

12 . The apparatus of claim 7 , wherein the joint neural network based model is trained using a loss function based on a joint loss associated with the joint neural network based model, a first loss associated with the first encoder, and a second loss associated with the second encoder.

13 . A non-transitory computer-readable medium storing instructions, the instructions comprising: one or more instructions that, when executed by one or more processors of a device for automatic speech recognition using conditional factorization for bilingual code-switched and monolingual speech, cause the one or more processors to:

receive an audio observation sequence comprising a plurality of frames, the audio observation sequence including audio in a first language or a second language;

map the audio observation sequence into a first sequence of hidden representations, the mapping being generated by a first encoder corresponding to the first language, wherein the first encoder is configured to generate respective first labels associated with respective frames of the plurality of frames of the audio observation sequence based on determining that the respective frames of the plurality of frames of the audio observation sequence are associated with the first language, and wherein the first encoder is configured to generate blank labels associated with the respective frames of the plurality of frames of the audio observation sequence based on determining that the respective frames of the plurality of frames of the audio observation sequence are not associated with the first language;

map the audio observation sequence into a second sequence of hidden representations, the mapping being generated by a second encoder corresponding to the second language; and

generate a label-to-frame sequence based on the first sequence of hidden representations and the second sequence of hidden representations, using a joint neural network based model.

14 . The non-transitory computer-readable medium of claim 13 , wherein the generating the label-to-frame sequence comprises:

fusing the first sequence of hidden representations and the second sequence of hidden representations to generate a fused sequence of hidden representations; and

generating the label-to-frame sequence based on the fused sequence of hidden representations using the joint neural network based model.

15 . The non-transitory computer-readable medium of claim 13 , wherein a label at any position in the label-to-frame sequence is associated with the first language or the second language, and wherein the label is not associated with both the first language and the second language.

16 . The non-transitory computer-readable medium of claim 13 , wherein the first encoder is a first pre-trained neural network model trained using a first connectionist temporal classification framework, and wherein the second encoder is a second pre-trained neural network model trained using a second connectionist temporal classification framework.

17 . The non-transitory computer-readable medium of claim 16 , wherein the second encoder is configured to generate respective second labels associated with respective frames of the plurality of frames of the audio observation sequence, based on determining that the respective frames of the plurality of frames of the audio observation sequence are associated with the second language, and wherein the second encoder is configured to generate blank labels associated with the respective frames of the plurality of frames of the audio observation sequence based on determining that the respective frames of the plurality of frames of the audio observation sequence are not associated with the second language.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 31, 2022
From: ZHANG, CHUNLEI; YAN, BRIAN; YU, DONG
To: TENCENT AMERICA LLC
Reel/Frame 060053/0633 →
Continuity (1)
Related Publication 20230386507A1 · Nov 30, 2023
References Cited (11)
US 10559225B1 · Tao et al. · 2020 [cited by applicant]
US 10964309B2 · Li et al. · 2021 [cited by applicant]
US 11798534B2 · Wang · 2023 [cited by examiner]
US 20190189111A1 · Watanabe · 2019 [cited by examiner]
US 20200160836A1 · Chen · 2020 [cited by examiner]
US 20210319181A1 · Meng · 2021 [cited by examiner]
Wang et al. Deep Fcatorization for speech signal, Jun. 25, 2017. [cited by examiner]
Yu et al. factorization deep neural networks for adaptive speech recognition, 2012. [cited by examiner]
Brian Yan et al., “Joint Modeling of Code-Switched and Monolingual ASR via Conditional Factorization” Nov. 29, 2021, Retrieved from the Internet: https://arxiv.org/pdf/2111.15016.pdf (5 pages total). [cited by applicant]
International Search Report dated Jan. 10, 2023 issued by the International Searching Authority in Application No. PCT/US22/43312. [cited by applicant]
Written Opinion dated Jan. 10, 2023 issued by the International Searching Authority in Application No. PCT/US22/43312. [cited by applicant]