hottub.patents
US 12,731,575 B2#3142335 Most CitedActiveUnited States (USPTO)Utility

Attention-based joint acoustic and text on-device end-to-end model

0Forward Citations (#3142335 Global)
0.0/yrCitation Velocity (#3142335 Global)
0.00Citation PageRank (#3142335 Global)
17Prior Art Cited
20Claims (2 Indep. · 18 Dep.)
7Drawings / Sheets

Abstract

A method includes receiving a training example for a listen-attend-spell (LAS) decoder of a two-pass streaming neural network model and determining whether the training example corresponds to a supervised audio-text pair or an unpaired text sequence. When the training example corresponds to an unpaired text sequence, the method also includes determining a cross entropy loss based on a log probability associated with a context vector of the training example. The method also includes updating the LAS decoder and the context vector based on the determined cross entropy loss.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 0.

Claims (20 — 2 Independent, 18 Dependent)

  1. Claim 1Independent Claim

    A computer-implemented method that when executed on data processing hardware causes the data processing hardware to perform operations comprising: receiving a sequence of acoustic frames characterizing an utterance; encoding, using a shared encoder, each acoustic frame in the sequence of acoustic frames to generate a corresponding encoded acoustic frame; generating, using a first-pass decoder, based on the encoded acoustic frames, streamed hypotheses; at each output step of a plurality of output steps for a second-pass decoder: determining, using a same attention mechanism, both: an acoustic context vector that summarizes the encoded acoustic frames; and a linguistic context vector based on a sequence of decoded labels previously output by the second-pass decoder; determining, using the acoustic context vector, as output from the second-pass decoder, an acoustic-based probability distribution over possible output labels; determining, using the linguistic context vector, as output from the second-pass decoder, a text-based probability distribution over possible output labels; and interpolating the acoustic-based probability distribution over possible output labels and the text-based probability distribution over possible output labels, wherein the possible output labels in the acoustic-based probability distribution and the possible output labels in the text-based probability distribution comprise a same set subword units; and determining a transcription of the utterance based on the interpolating of the acoustic-based probability distribution over possible output labels and the text-based probability distribution over possible output labels at each of the plurality of output steps.

  2. Claim 2Depends on #1

    The method of claim 1, wherein determining the linguistic context vector based on the sequence of decoded labels previously output by the second-pass decoder ignores the encoded acoustic frames.

  3. Claim 3Depends on #1

    The method of claim 1, wherein determining the acoustic-based probability distribution over possible output labels using the acoustic context vector is further based on the sequence of decoded labels previously output by the second-pass decoder.

  4. Claim 4Depends on #1

    The method of claim 1, wherein the second-pass decoder operates in a beam search mode based on the streamed hypotheses generated by the first-pass decoder during a first pass.

  5. Claim 5Depends on #1

    The method of claim 1, wherein the operations further comprise: processing, using the first-pass decoder, the encoded acoustic frames to generate a top-K list of speech recognition hypotheses for the utterance, each speech recognition hypotheses in the top-K list of speech recognition hypotheses corresponding to a candidate transcription of the utterance; and the second-pass decoder operations in a rescoring mode to rescore each speech recognition hypotheses in the top-K list of speech recognition hypotheses.

  6. Claim 6Depends on #1

    The method of claim 1, wherein the output labels in the acoustic-based probability distribution over possible output labels and the text-based probability distribution over possible output labels comprise wordpieces.

  7. Claim 7Depends on #1

    The method of claim 1, wherein the second-pass decoder comprises a listen-attend-spell (LAS) decoder.

  8. Claim 8Depends on #1

    The method of claim 1, wherein interpolating the acoustic-based probability distribution over possible output labels and the text-based probability distribution over possible output labels comprises using a mixing weight to interpolate the acoustic-based probability distribution over possible output labels and the text-based probability distribution over possible output labels so that the acoustic-based probability distribution over possible output labels are weighted differently than the text-based probability distribution over possible output labels.

  9. Claim 9Depends on #1

    The method of claim 1, wherein: wherein the utterance characterized by the sequence of acoustic frames is captured in streaming audio by a user device; and the data processing hardware resides on the user device.

  10. Claim 10Depends on #9

    The method of claim 9, wherein the operations further comprise performing natural language processing on the transcription to identify an action for a digital assistant application to perform.

  11. Claim 11Independent Claim

    A system comprising: data processing hardware; and memory hardware in communication with the data processing hardware, the memory hardware storing instructions that when executed on the data processing hardware cause the data processing hardware to perform operations comprising: receiving a sequence of acoustic frames characterizing an utterance; encoding, using a shared encoder, each acoustic frame in the sequence of acoustic frames to generate a corresponding encoded acoustic frame; generating, using a first-pass decoder, based on the encoded acoustic frames, streamed hypotheses; at each output step of a plurality of output steps for a second-pass decoder: determining, using a same attention mechanism, both: an acoustic context vector that summarizes the encoded acoustic frames; and a linguistic context vector based on a sequence of decoded labels previously output by the second-pass decoder; determining, using the acoustic context vector, as output from the second-pass decoder, an acoustic-based probability distribution over possible output labels; determining, using the linguistic context vector, as output from the second-pass decoder, a text-based probability distribution over possible output labels; and interpolating the acoustic-based probability distribution over possible output labels and the text-based probability distribution over possible output labels, wherein the possible output labels in the acoustic-based probability distribution and the possible output labels in the text-based probability distribution comprise a same set subword units; and determining a transcription of the utterance based on the interpolating of the acoustic-based probability distribution over possible output labels and the text-based probability distribution over possible output labels at each of the plurality of output steps.

  12. Claim 12Depends on #11

    The system of claim 11, wherein determining the linguistic context vector based on the sequence of decoded labels previously output by the second-pass decoder ignores the encoded acoustic frames.

  13. Claim 13Depends on #11

    The system of claim 11, wherein determining the acoustic-based probability distribution over possible output labels using the acoustic context vector is further based on the sequence of decoded labels previously output by the second-pass decoder.

  14. Claim 14Depends on #11

    The system of claim 11, wherein the second-pass decoder operates in a beam search mode based on the streamed hypotheses generated by the first-pass decoder during a first pass.

  15. Claim 15Depends on #11

    The system of claim 11, wherein the operations further comprise: processing, using the first-pass decoder, the encoded acoustic frames to generate a top-K list of speech recognition hypotheses for the utterance, each speech recognition hypotheses in the top-K list of speech recognition hypotheses corresponding to a candidate transcription of the utterance; and the second-pass decoder operations in a rescoring mode to rescore each speech recognition hypotheses in the top-K list of speech recognition hypotheses.

  16. Claim 16Depends on #11

    The system of claim 11, wherein the output labels in the acoustic-based probability distribution over possible output labels and the text-based probability distribution over possible output labels comprise wordpieces.

  17. Claim 17Depends on #11

    The system of claim 11, wherein the second-pass decoder comprises a listen-attend-spell (LAS) decoder.

  18. Claim 18Depends on #11

    The system of claim 11, wherein interpolating the acoustic-based probability distribution over possible output labels and the text-based probability distribution over possible output labels comprises using a mixing weight to interpolate the acoustic-based probability distribution over possible output labels and the text-based probability distribution over possible output labels so that the acoustic-based probability distribution over possible output labels are weighted differently than the text-based probability distribution over possible output labels.

  19. Claim 19Depends on #11

    The system of claim 11, wherein: wherein the utterance characterized by the sequence of acoustic frames is captured in streaming audio by a user device; and the data processing hardware resides on the user device.

  20. Claim 20Depends on #19

    The system of claim 19, wherein the operations further comprise performing natural language processing on the transcription to identify an action for a digital assistant application to perform.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This U.S. patent application is a continuation of, and claims priority under 35 U.S.C. § 120 from, U.S. patent application Ser. No. 17/155,010, filed on Jan. 21, 2021, which claims priority under 35 U.S.C. § 119(e) to U.S. Provisional Application 62/964,567, filed on Jan. 22, 2020. The disclosures of these prior applications are considered part of the disclosure of this application and are hereby incorporated by reference in their entireties. TECHNICAL FIELD This disclosure relates to two-pass end-to-end speech recognition. BACKGROUND Modern automated speech recognition (ASR) systems focus on providing not only high quality (e.g., a low word error rate (WER)), but also low latency (e.g., a short delay between the user speaking and a transcription appearing). Moreover, when using an ASR system today there is a demand that the ASR system decode utterances in a streaming fashion that corresponds to real-time or even faster than real-time. To illustrate, when an ASR system is deployed on a mobile phone that experiences direct user interactivity, an application on the mobile phone using the ASR system may require the speech recognition to be streaming such that words appear on the screen as soon as they are spoken. Here, it is also likely that the user of the mobile phone has a low tolerance for latency. Due to this low tolerance, the speech recognition strives to run on the mobile device in a manner that minimizes an impact from latency and inaccuracy that may detrimentally affect the user's experience. SUMMARY One aspect of the present disclosure provides a computer-implemented method that when executed on data processing hardware causes the data processing hardware to perform operations that include receiving a training example for a listen-attend-spell (LAS) decoder of a two-pass streaming neural network model and determining whether the training example corresponds to a supervised audio-text pair or an unpaired text sequence.

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (17)

PatentTitleYearCitations

Non-Patent Literature (3)

  • Takaaki Hori et. al.,Cycle-consistency Training for End-to-end Speech Recognition,2019 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP),May 17, 2019,https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=
  • &
  • arnumber=8683307, 5 pages.