End-to-end streaming speech translation with neural converter

Through the end-to-end automatic speech translation model, the parallel architecture of the neural converter is used to directly perform speech translation, which solves the calculation-intensive and high-latency problems of traditional systems and achieves low-latency, high-precision translation effects, which is suitable for streaming media applications. .

CN118742953APending Publication Date: 2024-10-01MICROSOFT TECHNOLOGY LICENSING LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202280092206.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-03-15
Filing Date
2022-12-29
Publication Date
2024-10-01

AI Technical Summary

Technical Problem

Traditional speech translation systems are computationally intensive and have high latency due to the need for cascade processing, and errors in the automatic speech recognition model will propagate to the machine translation step, affecting translation quality.

Method used

Adopting an end-to-end automatic speech translation model based on neural transformers, direct speech-to-text translation through a parallel architecture of acoustic encoders and prediction networks, reducing model size and latency, and combining outputs through joint layers to dynamically select time processing paths To meet the translation needs between different languages.

Benefits of technology

It achieves low-latency, high-precision speech translation, reduces error propagation, is suitable for streaming media applications, improves user experience, and reduces training data and time requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118742953A_ABST
    Figure CN118742953A_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure relate to providing systems and methods for obtaining, training, and using a neural converter-based end-to-end AST model. The end-to-end AST model includes at least (i) an acoustic encoder configured to receive and encode audio data, (ii) a prediction network integrated in a parallel model architecture with the acoustic encoder in the end-to-end AST model, and (iii) a joint layer integrated in series with the acoustic encoder and the prediction network. The end-to-end AST model is configured to generate a transcription in a second language of the input audio data in the first language such that the acoustic encoder learns a plurality of temporal processing paths.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0001] Automatic speech recognition (ASR) systems and other speech processing systems are used to process and decode audio data to detect speech utterances (e.g., words, phrases, and / or sentences). The processed audio data is then used in various downstream tasks such as search-based queries, speech-to-text transcription, language translation, etc. In particular, for language translation, a separate language translation module configured to perform text-to-text translation from a source language to a target language is typically used.

[0002] Traditional ASR systems receive input audio in a source language (i.e., source audio) and output text-based transcriptions of spoken utterances recognized in the input audio. It is noteworthy that the text-based transcription is output in the same source language as the input audio. Therefore, if a user wants to translate the input audio into a new language, the input audio must first be transcribed using an ASR system. The transcription is then subsequently applied as input to a machine translation system that translates the first transcription produced in the source language into a newly generated and translated second transcription in the desired target language. It is noteworthy that this sequential / cascaded processing of the transcriptions currently required to generate a target language different from the source audio language is computationally intensive and may result in undesirable delays.

[0003] In view of the above, there is a need for an improved system and method for performing speech translation services. The subject matter claimed herein is not limited to solving any disadvantages or only operating in such an environment as described above. On the contrary, this background is provided only to illustrate an exemplary technical field, and some embodiments described herein can be put into practice. Summary of the invention

[0004] The disclosed embodiments include systems, methods, and devices for building and training an end-to-end automatic speech translation model and for performing direct speech translation.

[0005] Some disclosed systems are configured to generate a training data set, the training data set including an audio data set and a text data set, the audio data set including spoken utterances in a first language, the text data set including transcription tags in a second language. The transcription tags included in the text data set correspond to the spoken utterances. The disclosed system also includes or is configured to obtain (i) an end-to-end automatic speech translation (AST) model based on a neural transducer, the neural transducer including at least one acoustic encoder configured to receive and encode audio data, (ii) a prediction network, the prediction network is integrated in a parallel model architecture of the neural transducer in the end-to-end AST model, and is configured to predict subsequent language tags based on previous transcription tag outputs, and (iii) a joint layer integrated in series with the acoustic encoder and the prediction network. The joint layer is configured to combine the acoustic encoder output from the acoustic encoder and the prediction output from the prediction network.

[0006] The disclosed system is also configured to apply the training dataset to the end-to-end AST model to configure the end-to-end AST model to generate transcriptions in a second language of input audio data in a first language such that the neural transformer learns multiple temporal processing paths.

[0007] Some disclosed embodiments also point to an end-to-end automatic speech translation model, which is configured to receive the input audio of a first language and generate the transcription of the input audio of a second language. In such an embodiment, the end-to-end automatic speech translation model includes an acoustic encoder, which includes multiple time processing paths, and these multiple time processing paths are configured to receive and encode input audio data. The input audio data includes a specific number of frames, and the specific number of frames is configured to be divided into different frame sets. Each time processing path is configured to process a specific number of frames according to a specific combination of one or more different frame sets included in the input audio data. The acoustic encoder is configured to output an intermediate feature representation for each different frame set.

[0008] The end-to-end automatic speech translation model described herein also includes a prediction network that is integrated with the acoustic encoder in the end-to-end AST model in a parallel model architecture. The prediction network is configured to predict subsequent language tags based on previous transcription tag outputs. The end-to-end automatic speech translation model also includes a joint layer that is integrated in series with the acoustic encoder and prediction network in the end-to-end AST model. The joint layer is configured to combine the prediction output from the prediction network and the neural converter output from the neural converter.

[0009] Some disclosed embodiments are also directed to systems and methods for performing direct speech translation using an end-to-end automatic speech translation model based on a neural converter. In these embodiments, the system is configured to obtain an automatic speech translation model, which includes (i) an acoustic encoder, (ii) a prediction network, and (iii) a joint layer. The acoustic encoder is configured to receive and encode input audio data, which includes a specific number of frames, and the specific number of frames is configured to be divided into different sets of frames. Each time processing path is configured to process a specific number of frames according to a specific combination of different sets of frames included in the input audio data. The acoustic encoder is configured to output an intermediate feature representation for each different set of frames.

[0010] The prediction network is integrated with the neural encoder in an end-to-end automatic speech translation model in a parallel model architecture. The prediction network is configured to predict subsequent language tags based on previous transcription label outputs. The union layer is integrated in series with the acoustic encoder and the prediction network in the end-to-end automatic speech translation model. The union layer is configured to combine the prediction output from the prediction network and the acoustic encoder output from the acoustic encoder.

[0011] After obtaining the automatic speech translation model, the system is configured to identify a target output language for generating transcription data of the input audio data, and to identify a source input language associated with the input audio data. After determining that the source input language and the target output language are different languages, the system dynamically selects a specific temporal processing path from a plurality of processing paths by which the input audio data of the source input language is converted to transcription data of the target output language. Subsequently, the system is configured to generate a transcription of the target output language from the input audio data of the source input language by converting the input audio data to transcription data using at least the specific temporal processing path.

[0012] This Summary is provided to introduce some concepts in a simplified form that are further described below in the Detailed Description. This Summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used as an aid in determining the scope of the claimed subject matter.

[0013] Additional features and advantages will be set forth in the following description, and in part will be apparent from the description, or may be learned through the practice of the teachings herein. The features and advantages of the present invention may be realized and obtained through the instruments and combinations particularly pointed out in the appended claims. The features of the present invention will become more apparent from the following description and the appended claims, or may be learned through the practice of the present invention as described below. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to describe the manner in which the above and other advantages and features can be obtained, a more particular description of the subject matter briefly described above will be rendered by reference to specific embodiments that are illustrated in the accompanying drawings. Understanding that these drawings depict only typical embodiments and are not therefore limiting in scope, the embodiments will be described and explained with additional specificity and detail through the use of the accompanying drawings, in which:

[0015] Figure 1 A computing environment is shown in which a computing system may be incorporated and / or used to perform the disclosed aspects of the disclosed embodiments.

[0016] Figure 2 An example embodiment of a process flow diagram for performing speech translation using a cascade model architecture is shown.

[0017] Figure 3 An example embodiment of a process flow diagram for performing direct speech translation using an end-to-end automatic speech translation model is shown.

[0018] Figure 4 An example embodiment of an end-to-end automatic speech translation model is shown.

[0019] FIG. 5A to FIG. 5B An example embodiment of a process flow diagram for performing a wait-k speech processing technique is shown.

[0020] Figure 6 An embodiment of multiple temporal processing paths included in a neural converter is shown.

[0021] Figures 7 to 12 An example embodiment of an end-to-end automatic speech translation model is shown that performs direct speech translation by processing input audio data using a temporal processing path included in a neural transformer.

[0022] Fig.13 An example embodiment of a multilingual end-to-end automatic speech translation model is shown.

[0023] Fig.14 An example embodiment of a flow diagram with multiple actions for training an end-to-end automatic speech translation model is shown.

[0024] Fig.15 An example embodiment of a diagram with multiple components for an end-to-end automatic speech translation model is shown.

[0025] Fig.16 An example embodiment of a flow diagram with multiple acts for performing direct speech translation using an end-to-end automatic speech translation model is shown. DETAILED DESCRIPTION

[0026] The disclosed embodiments include systems, methods, and frameworks for configuring, training, and / or utilizing an end-to-end automatic speech translation model configured to perform direct speech translation.

[0027] The disclosed embodiments provide many technical advantages over existing systems. First, as previously described, conventional speech translation systems utilize a cascade or sequential processing pipeline that uses multiple different independent models for first converting source language audio into source language text transcription using an automatic speech recognition system, and then converting the source language text into target language text using a separate machine translation system. However, in order for conventional cascade systems to be successful, both their automatic speech recognition system and machine translation system must be trained separately on a large amount of industry-scale training data, including tens of thousands of hours of speech data. Due to their overall model / system size, such systems require a large amount of memory consumption. Their processing is also computationally very expensive and time-intensive, particularly because each system component must be trained separately on different types of data sets. In addition, for conventional systems, any errors made in the automatic speech recognition model will propagate to the machine translation step of the system data processing.

[0028] In contrast, the disclosed end-to-end automatic speech translation model has lower latency and more compact model size than traditional cascade systems. In addition, the error propagation problem is mitigated in the disclosed embodiments, which will be described in more detail throughout.

[0029] While there are some new and existing end-to-end automatic speech translation systems being used in the industry, existing systems employ attention-based encoder and decoder models, where the attention arguments are configured to handle the word reordering challenge in translation. In such systems, partial attention is employed to accommodate streaming applications, which weakens the overall ability of the system to handle word reordering.

[0030] However, the disclosed embodiments point to an end-to-end speech translation model based on a recursive neural network transformer (RNN-T) structure (or a neural transformer in general), which adopts a flexible neural transformer path. In these disclosed end-to-end speech translation models, attention (even partial attention) is not required, thereby retaining the model's full robust ability to handle word reordering during translation and reducing error propagation of incorrectly ordered words. Because the neural transformer is designed for natural flow, the end-to-end model in the disclosed embodiments performs better in streaming speech translation than other attention-based end-to-end models. In addition, the end-to-end speech translation model in the disclosed embodiments also has less latency than other attention-based end-to-end speech translation models.

[0031] In addition, due to the streamlined (streamlined) architecture of the end-to-end automatic speech translation model for processing input audio data, any back propagation that occurs during the training of the end-to-end automatic speech translation model can be reduced, thereby requiring less training data and less training time. In contrast, sequential models (i.e., as described with respect to traditional models) have longer / deeper pipelines, which require more extensive training because the back propagation length between sequential layers, models, or systems is increased. Therefore, the parallel architecture of the disclosed embodiment provides a machine learning module that requires fewer parameters than traditional sequential or cascaded modules to perform direct speech translation.

[0032] Additional advantages of the disclosed embodiments include using only enhanced data to train an end-to-end automatic speech translation system, rather than using raw speech translation data. This is beneficial because obtaining raw speech translation data is time-consuming and expensive, and must be labeled, typically by a human. However, enhanced or synthetic data can be easily generated, including generating specific data sets corresponding to new domains that a user desires to train an end-to-end automatic speech translation system.

[0033] In view of the above technical advantages, including the technical advantages described below, the disclosed embodiments can improve existing speech translation systems and methods by providing improved systems and methods to obtain, train and utilize high-precision, low-latency and compact end-to-end automatic speech translation models to perform speech translation services. These technical advantages are particularly important when performing direct speech translation in streaming media applications, where low latency of speech translation is combined with high speech recognition and translation accuracy to enhance the user experience.

[0034] Follow now Figure 1 , which illustrates components of a computing system 110 that may include and / or be used to implement aspects of the disclosed invention. As shown, the computing system includes multiple machine learning (ML) engines, models, neural networks, and data types associated with inputs and outputs of the machine learning engines and models.

[0035] The computing system 110 is part of a computing environment 100 that also includes a third-party system 120 in communication with the computing system 110 (via a network 130). The computing system 110 is configured to generate or otherwise obtain a machine learning module configured as an end-to-end automatic speech translation model 149 (e.g., an end-to-end (E2E) AST model).

[0036] In addition, the computing system 110 is configured to generate training data 141 and train an end-to-end automatic speech translation model 149, and perform direct speech translation using the trained end-to-end automatic speech translation model. The end-to-end automatic speech translation model 149 based on the neural converter includes at least an acoustic encoder 145, a prediction network 146 configured in parallel with the acoustic encoder, and a joint layer 147 configured in series with the acoustic encoder and the prediction network. The neural converter is optimized according to the probability of multiple time processing paths 148. It should be understood that the neural converter can be configured as different types of converters, including a transformer converter (TT) and / or a recurrent neural network converter (RNN-T), or other types of converters configured to process input audio data.

[0037] The computing system 110 includes one or more processors (such as one or more hardware processors) 112 and memory (i.e., hardware storage device(s) 140) storing computer-readable instructions 118, wherein the one or more hardware storage devices are capable of accommodating any number of data types and any number of computer-readable instructions, and when the computer-readable instructions 118 are executed by the one or more processors 112, the computing system 110 is configured to implement one or more aspects of the disclosed embodiments through the computer-readable instructions 118. The computing system 110 is also shown to include user interface(s) 114 and input / output (I / O) devices 116.

[0038] like Figure 1 As shown, the hardware storage device(s) 140 are shown as a single storage unit. However, it should be understood that the hardware storage device(s) 140 are distributed storage devices that are distributed to several independent, sometimes remote systems and / or third-party systems 120. The computing system 110 may also include a distributed system in which one or more of the components of the computing system 110 are maintained / operated by different discrete systems that are remote from each other, each discrete system performing different tasks. In some instances, multiple distributed systems perform similar and / or shared tasks to implement the disclosed functionality, such as in a distributed cloud environment.

[0039] The storage device (e.g., (multiple) hardware storage devices 140) includes computer-readable instructions 118 for instantiating or executing one or more of the models and / or engines shown in the computing system 110. The models are configured as machine learning models or machine-learned models, such as deep learning models and / or algorithms and / or neural networks. In some instances, one or more models are configured as engines or processing systems (e.g., computing systems integrated within the computing system 110), where each engine includes one or more processors (e.g., (multiple) hardware processors 112) and computer-readable instructions 118 corresponding to the computing system 110. In some configurations, the model is a set of numerical weights embedded in a data structure, and the engine is a separate piece of code that is configured to load the model when executed and calculate the output of the model in the context of input audio.

[0040] Hardware storage device(s) 140 are configured to store and / or cache different data types described herein in a memory repository, including training data 141, input audio data 142, and output transcription data 143. Training data 141 includes (i) text data and (ii) audio data, the audio data including speech utterances corresponding to words, phrases, and sentences included in the text data. In other words, the speech utterances are the actual output of the text data input.

[0041] Text data includes characters, symbols and / or digital sequences extracted from various sources. For example, text data includes text message data, content from emails, newspaper articles, web pages, books, mobile application pages, etc. In some instances, optical text recognition of physical or digital samples of text data is used to identify the characters of text data. Additionally or alternatively, the characters of text data are identified by processing metadata of digital samples of text data. Text data is configured to be processed by a TTS system to generate synthesized speech. In some embodiments, text data is automatically generated by a text generation system.

[0042] The audio data includes a simulated clean speech (e.g., clean reference audio data) and a mixture of one or more of the following: room impulse response, isotropic noise, ambient or transient noise extracted for any particular actual or simulated environment or using text-to-speech technology. Thus, on the one hand, clean reference audio data is used, and a mixture of clean reference audio data and background noise data is used to generate parallel clean audio data and noisy audio data. Simulated noisy speech data is also generated by distorting the clean reference audio data.

[0043] Synthesized speech includes synthesized audio data, which includes speech utterances corresponding to words, phrases and sentences recognized in text data. Synthesized speech includes speech utterances of different speaker voices, different languages, different speaking styles, etc. Synthesized speech includes speech utterances characterized by coding features (e.g., acoustic features and language features). Synthesized speech is also characterized and / or customized based on a vocoder for processing Mel spectrum and generating an audio file (i.e., synthesized speech). In some instances, synthesized speech is advantageously generated to imitate natural language audio.

[0044] The output transcription data 143 includes computer-generated transcription tags for the words recognized and translated in the input audio. If the target language is different from the source language, the output transcription data 143 includes text utterances corresponding to the spoken utterances in the input audio data 142, but generated in the target language (i.e., translated from the source language). In some examples, the end-to-end automatic speech translation model outputs the final output in the form of audio, which is a text-to-speech output of generating an audio file based on the output transcription data in the new language.

[0045] Additional storage units for storing machine learning (ML) engine 150 are currently Figure 1 As shown, it is used to store multiple machine learning models and / or engines. For example, the computing system 110 includes one or more of the following: a data retrieval engine 151, an optimization engine 152, a training engine 153, and an implementation engine 154, which are configured individually and / or collectively to implement the different functions described herein.

[0046] The computing system is also configured with a data retrieval engine 151, which is configured to locate and access data sources, databases, and / or storage devices including one or more data types, from which the data retrieval engine 151 can extract data sets or subsets for use as training data (e.g., training data 141) and input text data (e.g., text data). The data retrieval engine 151 receives data from the database and / or hardware storage device, wherein the data retrieval engine 151 is configured to reformat or otherwise expand the received data for use in text recognition and TTS applications. Additionally or alternatively, the data retrieval engine 151 communicates with one or more remote systems (e.g., (multiple) third-party systems 120) including third-party data sets and / or data sources. In some instances, these data sources include audio-visual services that record or stream text, images, and / or video. The data retrieval engine 151 is configured to perform audio processing on the data in real time so that the input audio data 142 is "streamed" and processed in real time (i.e., the user sees transcribed data corresponding to the input audio data at the same rate as the input audio data 142 is retrieved, recognized and translated).

[0047] Data retrieval engine 151 accesses electronic content including one or more types of audiovisual data, including audio data, video data, image data, holographic data, 3-D image data, etc. In some instances, data retrieval engine 151 is an intelligent engine that is capable of learning the best data set extraction process to provide a sufficient amount of data in a timely manner and retrieve the data most suitable for the desired application of the machine learning model / engine.

[0048] The optimization engine 152 is configured to optimize the end-to-end automatic speech translation model 149, in particular, to learn which temporal processing paths 148 included in the neural converter 145 are the best paths for processing the input audio data 142 and translating the input audio data 142 from the source input language to the target output language by training and configuring the end-to-end automatic speech translation module 149. For example, the optimization engine 152 is configured to help the end-to-end automatic speech translation model 149 determine which temporal processing paths (e.g., processing paths 148) should be used when little or no word reordering is required for translation of a particular language pair, as compared to when a translation between different language pairs requires a lot of word reordering.

[0049] The optimization engine 152 is configured to optimize at least the parameters of latency and accuracy (i.e., minimize latency while maintaining an acceptable level of accuracy). In some embodiments, the optimization engine 152 is configured to optimize based on a particular scene or context of the input audio data 142. For example, some contexts may signal the optimization engine 152 to optimize for highest accuracy, while other contexts may signal the optimization engine 152 to optimize for lowest latency.

[0050] The training engine 153 is configured to train the end-to-end automatic speech translation model and / or individual components (e.g., neural converters, prediction networks, and / or joint layers). The training engine 153 is also configured to train the automatic speech recognition model 144, which can be converted / trained into an end-to-end automatic speech translation model 149. In particular, the training engine 153 is configured to train the end-to-end automatic speech translation model 149 to translate the input audio data 142 in a first language into the output transcription data 143 in a second language.

[0051] The computing system 110 also includes an implementation engine 154 that communicates with any one or more of the models and / or ML engines 150 of the computing system 110, such that the implementation engine 154 is configured to implement, launch, or run one or more functions of the plurality of ML engines 150. In one example, the implementation engine 154 is configured to operate the data retrieval engine 151, such that the data retrieval engine 152 retrieves data at an appropriate time so that the input audio data 142 can be obtained. The implementation engine 154 facilitates process communication and communication timing between one or more of the machine learning engines 150, and is configured to implement and operate a machine learning model (or one or more machine learning engines 150).

[0052] It should also be noted that the computing system 110 communicates with a third-party system(s) 120 that includes one or more processors 122, one or more computer-readable instructions 118, and one or more hardware storage devices 124. It is contemplated that in some instances, the third-party system(s) 120 also includes a database containing data that can be used as training data, for example, text data not included in the local storage. Additionally or alternatively, the third-party system(s) 120 include a machine learning system external to the computing system 110. The third-party system(s) 120 are software programs or applications.

[0053] As described above, by configuring and / or utilizing the computing system 110, the disclosed methods can be implemented, which provide a number of technical advantages over existing systems, including the ability to generate, train, and utilize improved end-to-end automatic speech translation models that can produce high-quality speech translation data. For example, the disclosed embodiments are directed to an end-to-end automatic speech translation model that generates accurate output transcription data with low latency, particularly in streaming input audio data applications.

[0054] Now turn your attention to Figure 2 , which shows an example embodiment of a process flow diagram for performing speech translation using a traditional cascade model architecture 200. The traditional cascade model architecture 200 shown has an automatic speech recognition model 204 and a machine translation system 208.

[0055] The source language audio 202 is used as input to an automatic speech recognition model 204, which is configured to output transcription data 206 in the source language (i.e., the same language as the source language audio). The output transcription data 206 is then applied as input to a machine translation system 208, which is configured to output new transcription data 210 in the target language. Figure 2As shown, the source language audio 202 includes spoken utterances ("What's the weather in Seattle?") in English (i.e., the source language). The output transcription data 206 includes the sentence "What's the weather in Seattle?" as English text data. Finally, the new transcription data 210 output by the machine translation system 208 includes the sentence "What's the weather in Seattle?" for "What's the weather in Seattle?", but the text data translated from Chinese. As described above, the disadvantages of this architecture include high processing latency, large model / system size, quality degradation due to the need to use only partial attention for streaming applications (due to the usual high latency), and error propagation between the automatic speech recognition model 204 and the machine translation system 208.

[0056] Now turn your attention to Figure 3 , which illustrates an example embodiment of a process flow diagram 300 for performing direct speech translation using an end-to-end automatic speech translation model that overcomes several shortcomings experienced by conventional speech translation systems (e.g., Figure 2 For example, a streamlined process for performing direct speech translation includes obtaining input audio data 302 in a source language.

[0057] The input audio data 302 is used as input to an end-to-end automatic speech translation model 304, which is configured to output target language transcription data 306 of the input audio data 302. Figure 3 As shown, the input audio data includes the English spoken sentence "What's the weather in Seattle?". The output transcription data 306 includes the transcription label "How is the weather in Seattle?", which is translated from the input audio data 302 into the Chinese text in English without generating an intermediate recognition result in the source language. As described above, the disclosed embodiments are directed to an end-to-end automatic speech translation model (e.g., Figure 3 ), which provides multiple technical advantages that are improvements over traditional speech translation systems.

[0058] Now turn your attention to Figure 4 , which shows an example embodiment of an end-to-end automatic speech translation model 400. For example, the end-to-end automatic speech translation model 400 includes an acoustic encoder 402, a prediction network 404, a joint layer 406, and a Softmax layer 408. The acoustic encoder 402 includes multiple time processing paths, which are configured to receive and encode input audio data (e.g., x t), the input audio data includes a specific number of frames, and the specific number of frames is configured to be divided into different sets of frames. Each different set of frames in the different sets of frames will have a unique combination of the number of frames and / or frame content relative to each of the other one or more different sets of frames. In addition, each temporal processing path is configured to process a specific number of frames according to a specific combination of different sets of frames included in the input audio data. The acoustic encoder 402 is also configured to output an intermediate feature representation (e.g., ).

[0059] like Figure 4 As shown, the prediction network 404 is integrated with the acoustic encoder in the end-to-end AST model in a parallel model architecture. The prediction network 404 is configured to output the transcription label (e.g., y u-1 ) to predict subsequent language tokens (e.g., ). In the end-to-end AST model 400, the joint layer 406 is integrated in series with the acoustic encoder 402 and the prediction network 404. The joint layer 406 is configured to combine the prediction outputs from the prediction network 404 (e.g., ) and the acoustic encoder output from the acoustic encoder 402 (eg, Finally, the combined output (e.g., z t,u ) is applied as input to the Softmax layer 408, which outputs the t )’s final output (e.g., P(y u |x 1:t ,y 1:u-1 )). For the next set of frames, the prediction network 404 uses the previous final output as input to predict the next language tag / label. In this way, the prediction network 404 behaves as a language model, and the encoder (e.g., acoustic encoder 402) behaves as an acoustic model of an automatic speech recognition model.

[0060] Now turn your attention to FIG. 5A to FIG. 5B , which shows an example embodiment of a process flow diagram for performing a wait-k speech processing technique. The number of frames included in each frame set that the neural converter processes continuously is based on a technique called Wait-K. For example, in Figure 5A , the system is configured to wait 3 frames (e.g., until frame x3) before generating a neural converter output (e.g., output y1). Output y1 is then used with frame x4 to generate output y2. In some instances, output y2 is an aggregated output that has outputs from frames x1 to x4. Similarly, output y2 is used to help generate output y3 for frame x5 being processed, where output y3 is an aggregated output that includes the encoding or label outputs of frames x1 to x5.

[0061] Alternatively, each output includes only the portion of the output corresponding to the most recently processed particular frame or particular set of frames. In this way, the input audio is divided into a first frame set having three frames (x1 to x3), a second frame set having one frame (x4), and a third frame set having one frame (x5). It should be understood that the input audio can be divided into a combination of different frame sets (e.g., a first frame set (x1 to x3) of three frames and a second frame set (x4 to x5) of two frames) or five different frame sets of one frame each, which would correspond to the Wait-1 frame mechanism. Figure 5B As shown, the system is configured to wait indefinitely, which effectively means waiting for the last frame of input audio data before processing. For example, where there are frames x1 to x5 in the input audio, the system will process all five frames before producing output y1 (including the output of the entire set of frames).

[0062] Now turn your attention to Figure 6 , which illustrates different embodiments associated with the claimed end-to-end automatic speech translation model, and which includes multiple temporal processing paths (e.g., temporal processing path 602, temporal processing path 604, temporal processing path 606) included in the neural converter. Notably, the neural converter of the end-to-end automatic speech translation model described herein is capable of learning any number of different temporal processing paths 600. These paths are flexible paths, meaning that each path is not constrained by a single wait-k mechanism, but rather learns through training and implementation the path that is best suited for translating between a particular set of languages.

[0063] Temporal processing paths 602 and 604 illustrate different embodiments of temporal processing paths that may be used when translation between two different languages ​​requires little or no word reordering. For example, temporal processing path 602 employs a wait-1 frame initial processing mechanism to wait until frame 2 before generating a first output label t for frame 1 and frame 2. According to temporal processing path 602, the input audio is divided into five different frame sets. The first frame set includes frames 1 to 2 corresponding to output t, the second frame set includes frames 3 to 4 corresponding to output e, the third frame set includes frames 5 to 7 corresponding to output a, the fourth frame set includes frames 8 to 9 corresponding to output m, and so on. In addition, temporal processing path 604 consumes the input audio according to different combinations of different frame sets.

[0064] For example, the temporal processing path 604 employs an initial Wait-2 processing mechanism that processes a first frame set including frames 1 to 3 corresponding to output t, a second frame set including frames 4 to 5 corresponding to output e, a third frame set including frame 6 corresponding to output a, and a fourth frame set including frames 7 to 10 corresponding to output m, and so on. It should be understood that although the temporal processing paths 602 and 604 appear to have a combination of four frame sets, the temporal processing paths may be configured to include any number of different, unique frame sets. Figure 6 As shown, the temporal processing path includes discrete sets of frames, where one set of frames does include another set of frames (eg, there are no overlapping frames). However, in some instances, accuracy may be improved by processing overlapping sets of frames.

[0065] Additionally, temporal processing path 606 illustrates an embodiment of a temporal processing path that is used when translation between two different languages ​​requires significant word reordering, employing an infinite wait type processing mechanism (ie, processing frames 1 to 11 before generating output m).

[0066] Now turn your attention to Figures 7 to 12 , which shows an example embodiment of an end-to-end automatic speech translation model 700 that performs direct speech translation by processing input audio data using a temporal processing path included in a neural converter. Figure 7 As shown, to begin processing the input audio (comprising a particular number of frames “t”), the neural converter receives the first frame (i.e., frame 1), but produces a blank output from the Softmax layer 708 because this particular temporal processing path is configured with an initial wait-1 processing mechanism. Figure 8 The acoustic encoder 702 is shown receiving frame 2 (e.g., x2), while the prediction network 704 receives the previous output (e.g., <s>), which is a blank (for example, <blank>). Fig. 9 An end-to-end automatic speech translation model 700 is shown that generates a first output "h" corresponding to frame 1 to frame 2. For example, after the acoustic encoder receives frame 2, it is configured to output the acoustic encoder output (e.g., ). The prediction network receives the previous blank output from the Softmax layer and outputs the predicted network output (e.g., These outputs are then received by a union layer 706, which outputs a combined output (e.g., z t,u ). After applying the softmax layer 708, the end-to-end automatic speech translation model 700 outputs the final label h from frame 1 to frame 2.

[0067] Fig.10 The end-to-end automatic speech translation model 700 is shown receiving frame 3 (e.g., x3) at the acoustic encoder. However, this step will produce a blank output because this particular time path includes frames 3 to 4 in the second frame set (e.g., Fig.11 shown).

[0068] Fig.12 The acoustic encoder is shown receiving frame 4 and generating an output "e" corresponding to frame 3 to frame 4. For example, the end-to-end automatic speech translation model 700 receives frame 4 (e.g., x4) at the acoustic encoder 702, and the acoustic encoder 702 outputs the acoustic encoder output (e.g., ). The prediction network 704 receives the previous output (e.g., output h) and generates a predicted network output (e.g., Both outputs are applied as input to the union layer 706 and combined to produce the union layer output (e.g., z t,u ). After applying the Softmax layer 708, the end-to-end automatic speech translation model 700 outputs a label “e” for frame 3 to frame 4. This process will continue until the last frame of input audio data is received and processed to produce the final output of the entire input audio.

[0069] It should be understood that the frames received by the end-to-end automatic speech translation model are part of an input audio dataset that includes spoken utterances in a source language. The output (joint layer output and / or final SoftMax layer output) includes text transcription data labels for the input audio portion included in each frame or frame set. The text transcription data labels include labels for the target language, and in most translation instances, the target language labels are different from the source language labels. However, in some instances, the target language is a dialect of the source language.

[0070] Now turn your attention to Fig.13 , which shows an example embodiment of a multilingual end-to-end automatic speech translation model 1300. Fig.13 As shown, the multi-language end-to-end automatic speech translation model 1300 shares a single acoustic encoder (e.g., encoder 1302). For example, when outputting the acoustic encoder output (e.g., ) receives a particular frame of input audio (e.g., x t ). The first joint layer is configured to receive the output from the first prediction network 1304A (based on the initial prediction network input ) and the acoustic encoder output. The first joint layer 1306A is then configured to combine these intermediate outputs to generate a joint layer output (e.g., After applying the Softmax layer 1308, for the frame of the first target language (e.g., x t ) to generate the final output label (e.g., ).

[0071] To translate the input audio into multiple languages, the second joint layer 1306B is configured to receive the acoustic encoder output (e.g., ) and the second prediction network output (based on the second prediction network input: ). The second joint layer 1306B is configured to combine the two outputs and generate a second joint layer output (eg, ), which is processed using a Softmax layer 1308 to generate a final output label for the frame in a second target language. The second target language is different from the first target language and different from the source language associated with the input audio.

[0072] It should be understood that although Fig.13 A multilingual end-to-end automatic speech translation model with two prediction layers and two joint layers is shown (i.e., capable of translating input audio into two different languages), but the multilingual end-to-end automatic speech conversion model can be configured to translate into any number of languages ​​(wherein the model includes a prediction network and a joint layer for each target language). In some instances, different joint layers share the same acoustic encoder. Additionally or alternatively, different component sets corresponding to a particular set of languages ​​share different acoustic encoders. For example, a Latin or Romance-based language can share a first acoustic encoder, while a Germanic language can share a second acoustic encoder.

[0073] Now turn your attention to Fig.14 , which shows an example embodiment of a flowchart with multiple actions for training an end-to-end automatic speech translation model. Fig.14 A flow chart 1400 is shown that includes various acts (act 1410, act 1420, and act 1430) associated with an exemplary method that may be implemented by computing system 110 for training an end-to-end automatic speech translation model.

[0074] The first action shown includes accessing a training data set, which may include generating a training data set (action 1410) and / or otherwise obtaining a training data set from one or more remote systems. The training data set includes an audio data set containing spoken utterances in a first language and a text data set containing transcription labels in a second language (action 1410). In this way, the training data set advantageously includes enhanced or synthesized data, which is clean data that allows better training. In addition, enhanced data is easier to obtain and less time-consuming than natural language audio data or human labeled transcriptions. In this way, new training data sets are easily obtained and can be easily adjusted to new domains (including new languages) for which models will be trained.

[0075] The transcription tags included in the text data set correspond to spoken utterances. The system also obtains an end-to-end AST model, which includes an acoustic encoder configured at least to receive and encode audio data, a parallel model architecture integrated in the acoustic encoder in the end-to-end AST model and configured to predict a prediction network for subsequent language tags based on previous transcription tag outputs, and a joint layer (action 1420) optionally integrated in series with the acoustic encoder and the prediction network. The joint layer is configured to combine the acoustic encoder output from the acoustic encoder and the prediction output from the prediction network. In addition, the inclusion of an acoustic encoder improves the functionality of the computing system by reducing the memory storage device required for storing the machine learning module, because the acoustic encoder does not need a decoder or a subsequent machine translator to generate the final output of the target language.

[0076] Subsequently, the system applies the training data set to the end-to-end AST model to configure the end-to-end AST model to generate a transcription of the second language of the input audio data in the first language, so that the neural converter learns multiple time processing paths (action 1430). Because the neural converter is able to learn a variety of different time processing paths, the end-to-end automatic speech translation model can better handle translations between different language pairs and can translate between a greater number of language pairs.

[0077] In some embodiments, the end-to-end AST model is further trained to optimize the model to select the best temporal processing path to optimize for a particular variable (e.g., accuracy, latency, overall user experience, etc.). For example, in some instances, the training method includes configuring the end-to-end AST model to select the best temporal processing path from a plurality of temporal processing paths based on the amount of word reordering required to translate between a first language and a second language. Thus, based on the amount of word reordering, the system can dynamically select a flexible temporal processing path that will process the input audio data in a manner optimized for a particular target variable.

[0078] In addition, in some instances, the end-to-end automatic speech translation model includes pre-trained components. For example, an acoustic encoder is pre-trained to receive audio data in a first language, and the audio data is encoded in the first language. Additionally or alternatively, a prediction network is pre-trained to predict subsequent language tags in the first language based on previous transcription tags in the first language. When the acoustic encoder and / or prediction network have been previously trained, in some instances, these components are trained as part of an automatic speech recognition system. In this way, the AST model can be obtained by at least modifying an automatic speech recognition (ASR) model.

[0079] Now turn your attention to Fig.15 , which shows an example embodiment of a diagram with multiple components for an end-to-end automatic speech translation model. Fig.15 Diagram 1500 is shown including various components (component 1510, component 1520, and component 1530) associated with an example end-to-end automatic speech translation model configured to perform direct speech translation.

[0080] like Fig.15 As shown, the end-to-end automatic speech translation model includes an acoustic encoder (e.g., component 1510), which includes multiple time processing paths that are configured to receive and encode input audio data. The input audio data includes a specific number of frames, and the specific number of frames is configured to be divided into different sets of frames. Each time processing path is configured to process a specific number of frames according to a specific combination of one or more different sets of frames included in the input audio data. The acoustic encoder is configured to output an intermediate feature representation of each different set of frames. Because the neural sensor can learn a variety of different time processing paths, the end-to-end automatic speech translation model can better handle translations between different language pairs and can translate between more language pairs.

[0081] The end-to-end automatic speech translation model also includes a prediction network (e.g., component 1520) integrated with the acoustic encoder in the end-to-end AST model in a parallel model architecture. The prediction network is configured to predict subsequent language tags based on previous transcription label outputs.

[0082] By compiling the prediction network and acoustic encoder in a parallel network architecture, the depth of the machine learning model is reduced (compared to compiling the prediction network and acoustic encoder in a sequential manner). This improves the functionality of the computing system by reducing processing time and inference cost, while achieving improved output of the machine learning module because the combined output includes information learned from both models.

[0083] In some instances, the end-to-end automatic speech translation model also optionally includes a joint layer (e.g., component 1530) integrated in series with the acoustic encoder and prediction network in the end-to-end AST model. The joint layer is configured to combine the predicted output from the prediction network and the acoustic encoder output from the acoustic encoder. By combining the outputs from the various components of the model, this advantageously provides a more robust and accurate intermediate output. This in turn improves accuracy and reduces the delay in generating the final transcription output.

[0084] In this case, the training dataset includes: an audio dataset including spoken utterances in a first language and a text dataset including transcription labels in a second language, the transcription labels corresponding to the spoken utterances.

[0085] Once the end-to-end AST model is obtained, the end-to-end ALT model is configured to dynamically select a specific processing path included in the multiple processing paths based on a specific language pair including a source input language and a target output language. Each temporal processing path is associated with a different number of word reorderings required for translation between different language pairs. For example, one or more temporal processing paths are associated with a large number of word reorderings, which include different frame sets including a large number of frames. Additionally or alternatively, one or more temporal processing paths are associated with a small number of word reorderings, which include different frame sets including a small number of frames.

[0086] Now turn your attention to Fig.16 , which illustrates an example embodiment of a flowchart 1600 having multiple actions for performing direct speech translation using an end-to-end automatic speech translation model. Fig.16 Diagram 1600 is shown including various acts (act 1610, act 1620, act 1630, act 1640, and act 1650) associated with an exemplary method for performing direct speech translation using an end-to-end automatic speech translation model.

[0087] The first action shown (action 1610) includes obtaining or otherwise accessing an automatic speech translation model, the model including (i) an acoustic encoder, (ii) a prediction network, and (iii) a joint layer. The acoustic encoder includes multiple time processing paths, which are configured to receive and encode input audio data, the input audio data including a specific number of frames, and the specific number of frames are configured to be divided into different sets of frames. Each time processing path is configured to process a specific number of frames according to a specific combination of different sets of frames included in the input audio data. The acoustic encoder is configured to output an intermediate feature representation of each different set of frames.

[0088] The prediction network is integrated with the acoustic encoder in an end-to-end automatic speech translation model in a parallel model architecture. The prediction network is configured to predict subsequent language tags based on previous transcription tag outputs. In the end-to-end automatic speech translation model, a joint layer is integrated in series with the acoustic encoder and the prediction network. The joint layer is configured to combine the prediction output from the prediction network and the acoustic encoder output from the acoustic encoder.

[0089] By compiling the prediction network and acoustic encoder in a parallel network architecture, the depth of the machine learning model is reduced (compared to compiling the prediction network and acoustic encoder in a sequential manner). This improves the functionality of the computing system by reducing processing time and inference cost, while achieving improved output of the machine learning module because the combined output includes information learned from both models.

[0090] The systems are also configured to identify a target output language for generating transcription data of the input audio data (act 1620), and to identify a source input language associated with the input audio data (act 1630). Upon determining that the source input language and the target output language are different languages ​​(act 1640), the system dynamically selects a specific temporal processing path from a plurality of processing paths by which the input audio data in the source input language is converted to transcription data in the target output language (act 1650). Subsequently, the system is configured to generate a transcription in the target output language from the input audio data in the source input language by converting the input audio data to transcription data using at least the specific temporal processing path (act 1660).

[0091] These systems are advantageously configured to select the target output language in different ways. In one example, the target output language is selected based on the user input received by the system. Additionally or alternatively, the end-to-end automatic speech translation model is configured to automatically identify the target output language based on the context of the input audio data. For example, if the input audio data is received from a source known to be associated with a specific target output language, the system can identify the source and determine the associated target output language. In another example, if the recipient or user receiving the transcription data output is identified and has a known native language, the system can automatically select the target language corresponding to the known native language.

[0092] To help select which time processing path should be used to process the input audio data, the end-to-end automatic speech translation model is configured to determine whether the source input language and the target input language are different languages. The model can then determine the amount of word reordering required for translation between the source input language and the target output language. This is beneficial because if the source input language and the target input language are the same, no translation is required (i.e., no word reordering is required), and a very low latency path can be selected, which improves the user experience by performing near real-time transcription of the input audio data.

[0093] If the source input language and the target output language are similar languages, and little word reordering is required, then a temporal processing path that consumes the input audio frame by frame or a small set of frames may be selected. This improves computer power and processing time while maintaining accurate transcription. If the source input language and the target output language are very different (i.e., a large amount of word reordering is required), the system will select a temporal processing path that consumes a set of frames that includes a larger number of frames (or if high accuracy needs to be maintained, the entire set of frames is included in the input audio data).

[0094] Thus, each temporal processing path is associated with a different amount of word reordering required for translation between different languages, and wherein a particular temporal processing path is dynamically selected based on the amount of word reordering required for conversion between a source input language and a target output language.

[0095] As described above, the end-to-end automatic speech translation model generates various intermediate outputs that are processed by various components before generating a final label for a particular frame or set of frames. In other words, the end-to-end automatic speech translation model is configured to generate multiple intermediate transcription labels for each different set of frames, so that a transcription in a target output language is generated based on the multiple intermediate transcription labels.

[0096] In this configuration, after generating intermediate transcription labels for a particular different set of frames, the system is configured to apply the intermediate transcription labels as input to the prediction network such that a prediction network output based on the intermediate transcription labels is combined with an acoustic encoder output based on a new different set of frames that is temporally located after the particular different set of frames in the input audio data.

[0097] In addition, the system is configured to identify one or more target languages, generate transcription data of the input audio data in these languages, wherein the end-to-end AST model includes one or more prediction networks configured to generate one or more prediction network outputs associated with the one or more target languages, which can be combined with the acoustic encoder output. In this configuration, the end-to-end AST model is configured to perform multi-direct speech translation.

[0098] In addition, it should be understood that the end-to-end AST model can be obtained by different methods. In some instances, a single component is compiled and then trained. In some instances, a separate pre-trained component is compiled.

[0099] Example computing system

[0100] Embodiments of the present invention may include or utilize a special-purpose or general-purpose computer (e.g., computing system 110) including computer hardware, as discussed in more detail below. Embodiments within the scope of the present invention also include physical and other computer-readable media for carrying or storing computer-executable instructions and / or data structures. Such computer-readable media may be any available media that can be accessed by a general-purpose or special-purpose computer system. Storage of computer-executable instructions (e.g., Figure 1 A computer readable medium (eg, a computer readable medium) of computer readable instructions 118) Figure 1 The hardware storage device(s) 140) is a physical hardware storage medium / device excluding transmission media. A computer-readable medium that carries computer-executable instructions or computer-readable instructions (e.g., computer-readable instructions 118) in one or more carrier waves or signals is a transmission medium. Thus, by way of example and not limitation, embodiments of the present invention may include at least two distinct types of computer-readable media: physical computer-readable storage media / devices and transmission computer-readable media.

[0101] Physical computer-readable storage media / devices are hardware including RAM, ROM, EEPROM, CD-ROM or other optical disk storage (such as CD, DVD, etc.), magnetic disk storage or other magnetic storage devices, or any other hardware that can be used to store the required program code means in the form of computer-executable instructions or data structures and that can be accessed by a general or special purpose computer.

[0102] "Network" (e.g. Figure 1 The network 130 of the present invention is defined as one or more data links that can transmit electronic data between computer systems and / or modules and / or other electronic devices. When information is transmitted or provided to a computer via a network or other communication connection (hardwired, wireless, or a combination of hardwired or wireless), the computer will correctly view the connection as a transmission medium. The transmission medium may include a network and / or a data link, which can be used to carry the required program code in the form of computer executable instructions or data structures and can be accessed by a general or special purpose computer. The above combinations are also included in the scope of computer readable media.

[0103] Furthermore, upon reaching various computer system components, program code means in the form of computer executable instructions or data structures may be automatically transferred from a transmission computer readable medium to a physical computer readable storage medium (or vice versa). For example, computer executable instructions or data structures received over a network or data link may be buffered in RAM within a network interface module (e.g., a "NIC") and then ultimately transferred to computer system RAM and / or to a less volatile computer readable physical storage medium in the computer system. Thus, a computer readable physical storage medium may be included in a computer system component that also (or even primarily) utilizes a transmission medium.

[0104] Computer executable instructions include, for example, instructions and data that cause a general purpose computer, a special purpose computer, or a special purpose processing device to perform a specific function or group of functions. Computer executable instructions can be intermediate format instructions such as binary files, assembly language, or even source code. Although the subject matter has been described in language specific to structural features and / or methodological actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the features or actions described above. Instead, the described features and actions are disclosed as example forms of implementing the claims.

[0105] Those skilled in the art will appreciate that the present invention can be practiced in a network computing environment with many types of computer system configurations, including personal computers, desktop computers, laptop computers, message processors, handheld devices, multiprocessor systems, microprocessor-based or programmable consumer electronics, network PCs, minicomputers, mainframe computers, mobile phones, PDAs, pagers, routers, switches, etc. The present invention can also be implemented in a distributed system environment, where local and remote computer systems linked by a network (by a hardwired data link, a wireless data link, or by a combination of a hardwired and wireless data link) all perform tasks. In a distributed system environment, program modules can be located in local and remote memory storage devices.

[0106] Alternatively or additionally, the functions described herein may be at least partially performed by one or more hardware logic components. For example, but not limited to, exemplary types of hardware logic components that may be used include field programmable gate arrays (FPGAs), program application specific integrated circuits (ASICs), program specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), etc.

[0107] The present invention may be embodied in other specific forms without departing from its essential features. The described embodiments are to be considered in all respects as illustrative only and not restrictive. Therefore, the scope of the present invention is indicated by the appended claims rather than by the above description. All changes within the meaning and scope of the equivalents of the claims should be included within their scope.< / blank> < / s>

Claims

1. A method for training an end-to-end automatic speech translation (AST) model based on a neural transformer, the method comprising: accessing a training dataset, the training dataset comprising an audio dataset and a text dataset, the audio dataset comprising spoken utterances in a first language and the text dataset comprising transcription labels in a second language, the transcription labels corresponding to the spoken utterances; Accessing an end-to-end AST model based on a neural transformer, the end-to-end AST model comprising at least one acoustic encoder, a prediction network, the at least one acoustic encoder configured to receive and encode audio data; the prediction network is integrated with the acoustic encoder in the end-to-end AST model in a parallel model architecture and configured to predict subsequent language tokens based on previous transcription label outputs; as well as The training dataset is applied to the end-to-end AST model to configure the end-to-end AST model to generate transcriptions in the second language of input audio data in the first language such that the acoustic encoder learns multiple temporal processing paths.

2. The method according to claim 1, further comprising: The end-to-end AST model is configured to select an optimal temporal processing path from the plurality of temporal processing paths based on an amount of word reordering required to translate between the first language and the second language.

3. The method according to claim 1, wherein the end-to-end AST model further comprises: A union layer is integrated in series with the acoustic encoder and the prediction network, the union layer being configured to combine an output from the acoustic encoder with a predicted output from the prediction network.

4. The method of claim 1, wherein the prediction network is pre-trained to predict the subsequent language token in the first language based on previous transcription tags in the first language.

5. The method of claim 1, wherein the audio dataset included in the training dataset includes an enhanced language utterance, such that the transcription label corresponds to the enhanced language utterance.

6. An end-to-end automatic speech translation (AST) model based on a neural transformer, configured to receive input audio data in a first language and generate a transcription of the input audio data in a second language, the end-to-end AST model comprising: an acoustic encoder comprising a plurality of temporal processing paths configured to receive and encode input audio data, the input audio data comprising a particular number of frames, the particular number of frames configured to be divided into different sets of frames, wherein each temporal processing path is configured to process the particular number of frames according to a particular combination of one or more different sets of frames included in the input audio data, wherein the acoustic encoder is configured to output an intermediate transcription label for each different set of frames; and A prediction network is integrated with the acoustic encoder in the end-to-end AST model in a parallel model architecture, wherein the prediction network is configured to predict subsequent language tokens based on previous transcription label outputs.

7. A method for performing direct speech translation using an end-to-end automatic speech translation (AST) model based on a neural transformer, the method comprising: Access the AST model, which includes: An acoustic encoder comprising a plurality of temporal processing paths configured to receive and encode input audio data, the input audio data comprising a specific number of frames, the specific number of frames configured to be divided into different sets of frames, wherein each temporal processing path is configured to process the specific number of frames according to a specific combination of the different sets of frames included in the input audio data, wherein the acoustic encoder is configured to output an intermediate feature representation for each different set of frames, A prediction network integrated with the acoustic encoder in the end-to-end AST model in a parallel model architecture, the prediction network being configured to output a predicted subsequent language token based on a previous transcription label, and a joint layer, integrated in series with the acoustic encoder and the prediction network in the end-to-end AST model, the joint layer being configured to combine a prediction output from the prediction network and an acoustic encoder output from the acoustic encoder; identifying a target output language for generating transcription data of the input audio data; identifying a source input language associated with the input audio data; determining that the source input language and the target output language are different languages; After determining that the source input language and the target output language are different languages, dynamically selecting a specific temporal processing path among the plurality of temporal processing paths through which the input audio data in the source input language is converted into transcribed data in the target output language; and A transcription in the target output language is generated from the input audio data in the source input language by converting the input audio data into transcription data using at least the particular temporal processing path.

8. The method according to claim 7, further comprising: User input configured to select the target output language is received.

9. The method of claim 7, wherein the AST model is configured to automatically identify the target output language based on the context of the input audio data.

10. The method according to claim 7, further comprising: After determining that the source input language and the target output language are different languages, an amount of word reordering required for translation between the source input language and the target output language is determined.

11. The method of claim 10, wherein each temporal processing path is associated with a different amount of word reordering required for translation between different languages, and wherein the particular temporal processing path is dynamically selected based on the amount of word reordering required for translation between the source input language and the target output language.

12. The method according to claim 7, further comprising: A plurality of intermediate transcription labels for each different set of frames is generated such that the transcription in the target output language is generated based on the plurality of intermediate transcription labels.

13. The method according to claim 12, further comprising: After generating the intermediate transcription labels for the specific different set of frames, applying the intermediate transcription labels as input to the prediction network so that the prediction network output based on the intermediate transcription labels is combined with the acoustic encoder output based on a new different set of frames that is temporally located after the specific different set of frames in the input audio data.

14. The method according to claim 13, further comprising: Identifying one or more target languages ​​for generating transcription data of the input audio data, wherein the end-to-end AST model includes one or more additional prediction networks, and the one or more additional prediction networks are configured to generate one or more additional prediction network outputs associated with the one or more target languages, each additional prediction network output can be combined with the acoustic encoder output.