IP Library Granted Patent US 12,288,551
Granted Patent B2
US 12,288,551 · App. 18/460,031 · Granted Apr 29, 2025

Accuracy of streaming RNN transducer

Inventors: Gakuto Kurata (Tokyo, JP); George Andrei Saon (Stamford, CT)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G10L15/16G06F17/18G06N3/045G06N3/08G10L25/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,288,551
App. No.
18/460,031
Granted
Apr 29, 2025
Kind
B2
Abstract

A computer-implemented method is provided for model training. The method includes training a second end-to-end neural speech recognition model that has a bidirectional encoder to output same symbols from an output probability lattice of the second end-to-end neural speech recognition model as from an output probability lattice of a trained first end-to-end neural speech recognition model having a unidirectional encoder. The method also includes building a third end-to-end neural speech recognition model that has a unidirectional encoder by training the third end-to-end neural speech recognition model as a student by using the trained second end-to-end neural speech recognition model as a teacher in a knowledge distillation method.

Claims (35)

1. A computer-implemented method for model training, comprising:

training a second end-to-end neural speech recognition model that has a bidirectional encoder to output same symbols from an output probability lattice of the second end-to-end neural speech recognition model as from an output probability lattice of a trained first end-to-end neural speech recognition model having a unidirectional encoder that streams the output data from a recurrent neural network (RNN) transducer; and

building a third end-to-end neural speech recognition model configured to stream output data from an RNN transducer and comprising a unidirectional encoder by training the third end-to-end speech recognition model as a student using the trained second end-to-end neural speech recognition model as a teacher in a knowledge distillation method, with output data being provided offline by the second end-to-end neural network speech recognition model.

2. The computer-implemented method of claim 1 , wherein training the second end-to-end speech recognition model includes:

obtaining a 1-best symbol for each of nodes of the output probability lattice of the first end-to-end neural speech recognition model; and

minimizing an end-to-end neural speech recognition model loss and also a cross entropy loss regarding the 1-best symbol.

3. The computer-implemented method of claim 2 , wherein a weighted summation of the cross entropy loss and the end-to-end speech recognition model loss is minimized.

4. The computer-implemented method of claim 2 , wherein training the third end-to-end neural speech recognition model includes:

masking less probable nodes of the output probability lattice of the second end-to-end neural speech recognition model with respect to a minimum probability threshold; and

jointly minimizing (i) the end-to-end neural speech recognition model loss and (ii) a relative divergence over unmasked portions of the output probability lattice of the second end-to-end neural speech recognition model to an output probability lattice of the third end-to-end speech recognition model.

5. The computer-implemented method of claim 4 , wherein the relative divergence is a Kullback-Leibler divergence.

6. The computer-implemented method of claim 1 , wherein training the second end-to-end speech recognition model further includes inputting training audio data into the trained first end-to-end neural speech recognition model to obtain the output probability lattice of the second end-to-end neural speech recognition model.

7. The computer-implemented method of claim 1 , wherein each node of the output probability lattice of the second end-to-end neural speech recognition model represents a softmax operation.

8. The computer-implemented method of claim 1 , further comprising performing speech recognition by performing a beam search over an output probability lattice of the trained third end-to-end neural speech recognition model.

9. The computer-implemented method of claim 1 , wherein the second end-to-end neural speech recognition model comprises a more complex neural network than the first end-to-end neural speech recognition model.

10. The computer-implemented method of claim 1 , further comprising evaluating the output probability lattice of the third end-to-end neural speech recognition model based on a similarity to the output probability lattice of the second end-to-end neural speech recognition model.

11. The computer-implemented method of claim 1 , wherein the third end-to-end neural speech recognition model is trained until a similarity between the output probability lattices of the third and second end-to-end neural speech recognition models is within a particular similarity range.

12. The computer-implemented method of claim 1 , wherein the method is performed by a speech recognition system.

13. The computer-implemented method of claim 1 , wherein at least one of the first, second and third neural speech recognition models comprise a Recurrent Neural Network Transducer model.

14. The computer-implemented method of claim 1 , wherein the second end-to-end neural speech recognition model comprises an ensemble of end-to-end neural speech recognition models, and the method further comprises selecting a best teacher model from the ensemble responsive to an overlap of search paths through an output probability lattice of each of the end-to-end neural speech recognition models in the ensemble.

15. A computer program product for model training, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith, the program instructions executable by a computer to cause the computer to perform a method comprising:

training a second end-to-end neural speech recognition model that has a bidirectional encoder to output same symbols from an output probability lattice of the second end-to-end neural speech recognition model as from an output probability lattice of a trained first end-to-end neural speech recognition model having a unidirectional encoder that streams the output data from a recurrent neural network (RNN) transducer; and

building a third end-to-end neural speech recognition model configured to stream output data from an RNN transducer and comprising a unidirectional encoder by training the third end-to-end speech recognition model as a student using the trained second end-to-end neural speech recognition model as a teacher in a knowledge distillation method, with output data being provided offline by the second end-to-end neural network speech recognition model.

16. The computer program product of claim 15 , wherein training the second end-to-end speech recognition model includes:

obtaining a 1-best symbol for each of nodes of the output probability lattice of the first end-to-end neural speech recognition model; and

minimizing an end-to-end neural speech recognition model loss and also a cross entropy loss regarding the 1-best symbol.

17. The computer program product of claim 16 , wherein a weighted summation of the cross-entropy loss and the end-to-end speech recognition model loss is minimized.

18. The computer program product of claim 16 , wherein training the third end-to-end neural speech recognition model includes:

masking less probable nodes of the output probability lattice of the second end-to-end neural speech recognition model with respect to a minimum probability threshold; and

jointly minimizing (i) the end-to-end neural speech recognition model loss and (ii) a relative divergence over unmasked portions of the output probability lattice of the second end-to-end neural speech recognition model to an output probability lattice of the third end-to-end speech recognition model.

19. A computer processing system for model training, comprising:

a memory device for storing program code; and

a hardware processor device operatively coupled to the memory device for running the program code, the hardware processor device configured for:

training a second end-to-end neural speech recognition model that has a bidirectional encoder to output same symbols from an output probability lattice of the second end-to-end neural speech recognition model as from an output probability lattice of a trained first end-to-end neural speech recognition model having a unidirectional encoder that streams the output data from a recurrent neural network (RNN) transducer; and

building a third end-to-end neural speech recognition model configured to stream output data from an RNN transducer and comprising a unidirectional encoder by training the third end-to-end speech recognition model as a student using the trained second end-to-end neural speech recognition model as a teacher in a knowledge distillation method, with output data being provided offline by the second end-to-end neural network speech recognition model.

Assignments (3)
SECURITY INTEREST Recorded Jul 8, 2025
From: ANTHROPIC, PBC
To: MORGAN STANLEY SENIOR FUNDING, INC., AS COLLATERAL AGENT
Reel/Frame 071626/0234 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 22, 2025
From: INTERNATIONAL BUSINESS MACHINES CORPORATION
To: ANTHROPIC, PBC
Reel/Frame 071201/0198 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 1, 2023
From: KURATA, GAKUTO; SAON, GEORGE ANDREI
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 064776/0453 →
Continuity (2)
Continuation 17031345 · Sep 24, 2020
Related Publication 20230410797A1 · Dec 21, 2023
References Cited (31)
US 9786270B2 · Senior et al. · 2017 [cited by applicant]
US 20190034795A1 · Zitouni et al. · 2019 [cited by applicant]
US 20190385595A1 · Wabgaonkar et al. · 2019 [cited by applicant]
US 20200074292A1 · Kurata et al. · 2020 [cited by applicant]
US 20200126538A1 · Han et al. · 2020 [cited by applicant]
US 20200372906A1 · Jang et al. · 2020 [cited by applicant]
US 20210225369A1 · Hu · 2021 [cited by examiner]
US 20210350786A1 · Chen · 2021 [cited by examiner]
US 20220262350A1 · Rao et al. · 2022 [cited by applicant]
US 20230186907A1 · Hu et al. · 2023 [cited by applicant]
CN 111402894A · 2020 [cited by applicant]
JP 2019120841A · 2019 [cited by applicant]
WO 2021002967A1 · 2021 [cited by applicant]
Kurata et al, Guiding CTC Posterior Spike Timings for Improving Posterior Fusion and Knowledge Distillation, https://arxiv.org/abs/1904.08311, Jul. 2, 2019, pp. 1-5 (Year: 2019). [cited by examiner]
Ghodsi et al, RNN-Transducer with Stateless Prediction Network, IEEE ICASSP 2020, Publication Apr. 9, 2020, pp. 7049-7053 (Year: 2020). [cited by examiner]
List of IBM Patents or Patent Applications Treated as Related dated Sep. 1, 2023, 2 pages. [cited by applicant]
Kurata, Gakuto, et al. “Guiding CTC posterior spike timings for improved posterior fusion and knowledge distillation”, arXiv preprint arXiv:1904.08311. Apr. 17, 2019, pp. 1-5. [cited by applicant]
Sainath, Tara N., et al. “Two-pass end-to-end speech recognition”, arXiv preprint arXiv:1908.10992. Aug. 29, 2019, pp. 1-5. [cited by applicant]
Hu, Ke, et al. “Deliberation model based two-pass end-to-end speech recognition”, InICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). May 4, 2020, pp. 7799-7803. [cited by applicant]
International Search Report issued in PCT Application No. PCT/EP2021/075007, Dated Jan. 5, 2022, pp. 1-11. [cited by applicant]
International Search Report issued in PCT Application No. PCT/CN2022/072268, Dated Apr. 13, 2022, pp. 1-9. [cited by applicant]
International Searching Authority, “Notification of Transmittal of the International Search Report and the Written Opinion of the International Searching Authority, or Declaration,” Patent Cooperation Treaty, Apr. 13, 2… [cited by applicant]
Kurata et al., “Improved Knowledge Distillation from Bi-Directional to Uni-Directional LSTM CTC For End-To-End Speech Recognition”, 2018 IEEE Spoken Language Technology Workshop (SLT), Dec. 2018, 7 pages. [cited by applicant]
Li et al., “Improving RNN Transducer Modeling for End-To-End Speech Recognition”, arXiv:1909.12415v1 [cs.CL], Sep. 26, 2019, 8 pages. [cited by applicant]
Mell et al. “The NIST Definition of Cloud Computing”, NIST Special Publication 800-145, 2011, 7 pages. [cited by applicant]
Mun'Im, et al., “Sequence-Level Knowledge Distillation for Model Compression of Attention-Based Sequence-To-Sequence Speech Recognition”, arXiv:1811.04531v1 [cs.CL], Nov. 12, 2018, 5 pages. [cited by applicant]
Rao et al., “Exploring Architectures, Data and Units for Streaming End-To-End Speech Recognition with RNN-Transducer”, arXiv:1801.00841v1 [cs.CL], Jan. 2, 2018, 7 pages. [cited by applicant]
Takashima et al., “An Investigation of a Knowledge Distillation Method For CTC Acoustic Models”, ICASSP 2018, Apr. 2018, pp. 5809-5813. [cited by applicant]
Plantinga, P., & Fosler-Lussier, E. (Dec. 14, 2019). Towards Real-Time Mispronunciation Detection in Kids' Speech. In 2019 IEEE Automatic Speech Recognition and Understanding Workshop (ASRU) (pp. 690-696). IEEE. [cited by applicant]
Kim, S., Seltzer, M. L., Li, J., & Zhao, R. (Nov. 6, 2017). Improved training for online end-to-end speech recognition systems. arXiv preprint arXiv:1711.02212. [cited by applicant]
Office Action from DE 112021004199.1 dated Nov. 8, 2024 (5 pages). [cited by applicant]