Login| Sign Up| Help| Contact|

Patent Searching and Data


Title:
METHOD AND SYSTEM FOR TRAINING A MULTI-LANGUAGE SPEECH RECOGNITION NETWORK, AND SPEECH RECOGNITION SYSTEM FOR PERFORMING MULTI-LANGUAGE SPEECH RECOGNITION
Document Type and Number:
WIPO Patent Application WO/2019/116606
Kind Code:
A1
Abstract:
A method for training a multi-language speech recognition network includes providing utterance datasets corresponding to predetermined languages, inserting language identification (ID) labels into the utterance datasets, wherein each of the utterance datasets is labelled by each of the language ID labels, concatenating the labeled utterance datasets, generating initial network parameters from the utterance datasets, selecting the initial network parameters according to a predetermined sequence, and training, iteratively, an end-to-end network with a series of the selected initial network parameters and the concatenated labeled utterance datasets until a training result reaches a threshold.

Inventors:
WATANABE SHINJI (US)
HORI TAKAAKI (US)
SEKI HIROSHI (US)
LE ROUX JONATHAN (US)
HERSHEY JOHN (US)
Application Number:
PCT/JP2018/021790
Publication Date:
June 20, 2019
Filing Date:
May 31, 2018
Export Citation:
Click for automatic bibliography generation   Help
Assignee:
MITSUBISHI ELECTRIC CORP (JP)
International Classes:
G10L15/06; G06N3/04; G06N3/08; G10L15/16
Other References:
SEKI H. ET AL: "An End-to-End Language-Tracking Speech Recognizer for Mixed-Language Speech", IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH, AND SIGNAL PROCESSING, 1 April 2018 (2018-04-01), XP055497669, Retrieved from the Internet [retrieved on 20180806]
SHINJI WATANABE ET AL: "Hybrid CTC/Attention Architecture for End-to-End Speech Recognition", IEEE JOURNAL OF SELECTED TOPICS IN SIGNAL PROCESSING, vol. 11, no. 8, 16 October 2017 (2017-10-16), US, pages 1240 - 1253, XP055494520, ISSN: 1932-4553, DOI: 10.1109/JSTSP.2017.2763455
SUYOUN KIM ET AL: "Towards Language-Universal End-to-End Speech Recognition", ARXIV.ORG, CORNELL UNIVERSITY LIBRARY, 201 OLIN LIBRARY CORNELL UNIVERSITY ITHACA, NY 14853, 6 November 2017 (2017-11-06), XP080834919
YOSHUA BENGIO ET AL: "Curriculum learning", PROCEEDINGS OF THE 26TH ANNUAL INTERNATIONAL CONFERENCE ON MACHINE LEARNING, ICML '09, ACM PRESS, NEW YORK, NEW YORK, USA, 14 June 2009 (2009-06-14), pages 41 - 48, XP058344301, ISBN: 978-1-60558-516-1, DOI: 10.1145/1553374.1553380
Attorney, Agent or Firm:
SOGA, Michiharu et al. (JP)
Download PDF:
Claims:
[CLAIMS]

[Claim 1]

A method for training a multi-language speech recognition network, comprising:

providing utterance datasets corresponding to predetermined languages; inserting language identification (ID) labels into the utterance datasets, wherein each of the utterance datasets is labelled by each of the language ID labels;

concatenating the labeled utterance datasets;

generating initial network parameters from the utterance datasets; and training, iteratively, an end-to-end network with a series of the initial network parameters and the concatenated labeled utterance datasets until a training result reaches a threshold.

[Claim 2]

The method of claim 1, wherein each of the utterance datasets includes a pair of an acoustic dataset and ground truth labels corresponding to the acoustic dataset.

[Claim 3]

The method of claim 1 , wherein the end-to-end network is a language independent model.

[Claim 4]

The method of claim 3, wherein the language independent model uses a deep BLSTM encoder network.

[Claim 5]

The method of claim 4, wherein a number of layers in the deep BLSTM encoder network is 7 or more than 7.

[Claim 6]

The method of claim 1 , wherein the ID labels are arranged to the utterance datasets according to an arrangement rule.

[Claim 7]

The method of claim 6, wherein the arrangement rule causes each of the ID labels to be added to a head position of each of the utterance datasets.

[Claim 8]

The method of claim 1 , further comprises

generating trained network parameters when the training result has reached the threshold.

[Claim 9]

The method of claim 1, wherein the end-to-end network jointly optimizes the series of the initial network parameters and the concatenated labeled utterance datasets based on a predetermined method.

[Claim 10]

A speech recognition system for performing multi-language speech recognition, comprising:

an interface to receive voice sounds;

one or more processors; and

one or more storage devices storing an end-to-end speech recognition network module having been trained by using trained network parameters obtained by a method of claim 1, wherein the end-to-end speech network recognition module includes instructions which, when executed, cause the one or more processors to perform operations comprising:

extracting, using an acoustic feature extraction module, an acoustic feature sequence from audio waveform data converted from the voice sounds;

encoding the acoustic feature sequence into a hidden vector sequence using an encoder network having encoder network parameters;

predicting first output label sequence probabilities by feeding the hidden vector sequence to a decoder network having decoder network parameters; predicting second output label sequence probabilities by a connectionist temporal classification (CTC) module using CTC network parameters and the hidden vector sequence from the encoder network; and

searching, using a label sequence search module, for an output label sequence having a highest sequence probability by combining the first and second output label sequence probabilities provided from the decoder network and the CTG module.

[Claim 11]

A multi-lingual speech recognition system for generating trained network parameters for a multi-language speech recognition, comprising:

one or more processors; and

one or more storage devices storing parameters and program modules including instructions executable by the one or more processors which, when executed, cause the one or more processors to perform operations comprising: providing utterance datasets corresponding to predetermined languages; inserting language identification (ID) labels into the utterance datasets, wherein each of the utterance datasets is labelled by each of the language ID labels;

concatenating the labeled utterance datasets;

generating initial network parameters from the utterance datasets;

selecting the initial network parameters according to a predetermined sequence; and

training, iteratively, an end-to-end network with a series of the selected initial network parameters and the concatenated labeled utterance datasets until a training result reaches a threshold.

[Claim 12]

The system of claim 11 , wherein each of the utterance datasets includes a pair of an acoustic dataset and ground truth labels corresponding to the acoustic dataset.

[Claim 13]

The system of claim 1 1, wherein the end-to-end network is a language independent model.

[Claim 14]

The system of claim 13, wherein the language independent model uses a deep BLSTM encoder network.

[Claim 15]

The system of claim 14, wherein a number of layers in the deep BLSTM encoder network is 7 or more than 7.

[Claim 16]

The system of claim 11, wherein the ID labels are arranged to the utterance datasets according to an arrangement rule.

[Claim 17]

The system of claim 16, wherein the arrangement rule causes each of the ID labels to be added to a head position of each of the utterance datasets.

[Claim 18]

The system of claim 11 , further comprises

generating trained network parameters when the training result has reached the threshold.

Description:
[DESCRIPTION]

[Title of Invention]

METHOD AND SYSTEM FOR TRAINING A MULTI-LANGUAGE SPEECH RECOGNITION NETWORK, AND SPEECH RECOGNITION SYSTEM FOR PERFORMING MULTI-LANGUAGE SPEECH RECOGNITION

[Technical Field]

[0001]

This invention generally relates to an apparatus and a method for multi-lingual end-to-end speech recognition, and more specifically to a method and system for training a neural network for joint language identification and speech recognition.

[Background Art]

[0002]

End-to-end automatic speech recognition (ASR) has recently proven its effectiveness by reaching the state-of-the-art performance obtained by conventional hybrid ASR systems while surpassing them in terms of ease of development. Conventional ASR systems require language-dependent resources such as pronunciation dictionaries and word segmentation, which are incorporated into models with phonemes as an intermediate representation. These resources are developed by hand and so they carry two disadvantages: first, they may be error-prone or otherwise sub-optimal, and second, they greatly increase the effort required to develop ASR systems, especially for new languages. The use of language-dependent resources thus particularly complicates the development of multi-lingual recognition systems. End-to-end ASR systems, in contrast, directly convert input speech feature sequences to output label sequences (mainly sequences of characters or tokens composed of n-gram characters in embodiments of the present invention) without any explicit intermediate representation of phonetic/linguistic constructs such as phonemes or words. Their main advantage is that they avoid the need for hand-made language-dependent resources.

[0003]

There have been several prior studies on multilingual/language-independent ASR. In the context of deep neural network (DNN)-based multilingual system, the DNN is used to compute language independent bottleneck features. Therefore, it is necessary to prepare language dependent backend system like pronunciation dictionaries and language models. In addition, it is necessary to predict uttered language to cascade language independent and language dependent modules.

[Summary of Invention]

[0004]

In this invention, a system and method with a language-independent neural network architecture that can recognize speech and identify language jointly in multiple different languages is disclosed. For example, this invention enables us to automatically recognize utterances in English, Japanese, Mandarin, German, Spanish, French, Italian, Dutch, Portuguese, and Russian, and jointly identify the language of each utterance.

[0005]

According to an embodiment of the present invention, the network shares all parameters including the softmax layer across languages.

[0006]

For instance, as the network shares all parameters including softmax layer by concatenating grapheme set of multiple languages, a language-independent neural network architecture of the invention can recognize speech and identify language jointly in different languages, such as English, Japanese, Mandarin, German, Spanish, French, Italian, Dutch, Portuguese, Russian, etc.

[0007]

The language-independent neural network of the invention enables multi-lingual end-to-end speech recognition by (1) making a universal label set as a union of grapheme sets and language IDs from multiple languages, based on which an initial network is constructed, (2) inserting a language ID label into the transcript of each utterance in multiple different language corpora, (3) generating utterances by selecting one or more utterances from the multiple different language corpora and concatenating them in any order, where the corresponding transcripts are also concatenated in the same order, (4) training the initial network with the generated utterances and the transcripts, and (5) recognizing speech with the trained network.

[0008]

This monolithic end-to-end ASR system for multi-lingual speech recognition has 3 advantages: first, monolithic architecture removes language-dependent ASR modules and an external language identification module, second, end-to-end architecture makes it unnecessary to prepare a hand-crafted pronunciation dictionary, and third, shared network enables the learning of better feature representation even for a low-resource language.

[0009]

This invention also makes it possible that the end-to-end ASR system works correctly even if there are switches of language within speech signal, since the training data are augmented to include language switches.

[0010]

According to some embodiments of the present invention, a method for training a multi-language speech recognition network includes providing utterance datasets corresponding to predetermined languages; inserting language identification (ID) labels into the utterance datasets, wherein each of the utterance datasets is labelled by each of the language ID labels; concatenating the labeled utterance datasets; generating initial network parameters from the utterance datasets; and training, iteratively, an end-to-end network with a series of the initial network parameters and the concatenated labeled utterance datasets until a training result reaches a threshold.

[0011]

Further, according to an embodiment of the present invention, a speech recognition system for performing multi-language speech recognition includes an interface to receive voice sounds; one or more processors; and one or more storage devices storing an end-to-end speech recognition network module having been trained by using trained network parameters obtained by the method for training a multi-language speech recognition network, wherein the end-to-end speech network recognition module includes instructions which, when executed, cause the one or more processors to perform operations that comprise extracting, using an acoustic feature extraction module, an acoustic feature sequence from audio waveform data converted from the voice sounds; encoding the acoustic feature sequence into a hidden vector sequence using an encoder network having encoder network parameters; predicting first output label sequence probabilities by feeding the hidden vector sequence to a decoder network having decoder network parameters; predicting second output label sequence probabilities by a connectionist temporal classification (CTC) module using CTC network parameters and the hidden vector sequence from the encoder network; and searching, using a label sequence search module, for an output label sequence having a highest sequence probability by combining the first and second output label sequence probabilities provided from the decoder network and the CTC module.

[0012]

Yet further, according to an embodiment of the present invention, a multi-lingual speech recognition system for generating trained network parameters for a multi-language speech recognition includes one or more processors; and one or more storage devices storing parameters and program modules including instructions executable by the one or more processors which, when executed, cause the one or more processors to perform operations including providing utterance datasets corresponding to predetermined languages; inserting language identification (ID) labels into the utterance datasets, wherein each of the utterance datasets is labelled by each of the language ID labels; concatenating the labeled utterance datasets; generating initial network parameters from the utterance datasets; selecting the initial network parameters according to a predetermined sequence; and training, iteratively, an end-to-end network with a series of the selected initial network parameters and the concatenated labeled utterance datasets until a training result reaches a threshold.

[0013]

The presently disclosed embodiments will be further explained with reference to the attached drawings. The drawings shown are not necessarily to scale, with emphasis instead generally being placed upon illustrating the principles of the presently disclosed embodiments.

[Brief Description of Drawings]

[0014]

[Fig. 1]

FIG. 1 is a block diagram illustrating a method for a multi-lingual speech recognition, according to the embodiments of the present invention.

[Fig. 2]

FIG. 2 is a block diagram illustrating a speech recognition module using a multi-lingual end-to-end network, according to embodiments of the present invention.

[Fig. 3]

FIG. 3 is a schematic diagram illustrating neural networks in a multi-lingual speech recognition module, according to embodiments of the present invention. [Fig. 4]

FIG. 4 is a block diagram illustrating a multi-lingual speech recognition system, according to embodiments of the present invention.

[Fig. 5]

FIG. 5 is a schematic diagram illustrating neural networks in a multi-lingual speech recognition module, according to embodiments of the present invention.

[Fig- 6]

FIG. 6 is a data preparation procedure to train a multi-lingual speech recognition module, according to embodiments of the present invention.

[Fig. 7]

FIG. 7 is an evaluation result indicating character error rates as a function of the number of languages in an utterance, according to a multi-lingual speech recognition, according to embodiments of the present invention.

[Fig. 8]

FIG. 8 shows an example output of multi-lingual speech recognition, according to embodiments of the present invention.

[Description of Embodiments]

[0015]

While the above-identified drawings set forth presently disclosed embodiments, other embodiments are also contemplated, as noted in the discussion. This disclosure presents illustrative embodiments by way of representation and not limitation. Numerous other modifications and embodiments can be devised by those skilled in the art which fall within the scope and spirit of the principles of the presently disclosed embodiments.

[0016]

In the preferred embodiments of the present invention, a language-independent neural network is constructed using multiple speech corpora of different languages.

[0017]

The neural network can be used to recognize a spoken utterance and identify the language of the utterance jointly. For example, this neural network can be used to automatically transcribe utterances in English, Japanese, Mandarin, German, Spanish, French, Italian, Dutch, Portuguese, and Russian, and jointly identify the language of each utterance. If a person speaks“How are you?” in English to a system built according to the embodiments of the present invention, the system may output“[EN] how are you?” in a text format. If another person speaks“comment allez-vous ?” in French to the same system, it may output“[FR] comment allez-vous ?” in a text format. [EN] and [FR] represent language ID labels corresponding to English and French, respectively. If a person speaks“How are you? comment allez-vous?” in English and French to the system, it may output “[EN] how are you ? [FR] comment allez-vous ?” in a text format.

[0018]

The following description provides exemplary embodiments only, and is not intended to limit the scope, applicability, or configuration of the disclosure. Rather, the following description of the exemplary embodiments will provide those skilled in the art with an enabling description for implementing one or more exemplary embodiments. Contemplated are various changes that may be made in the function and arrangement of elements without departing from the spirit and scope of the subject matter disclosed as set forth in the appended claims.

[0019]

Specific details are given in the following description to provide a thorough understanding of the embodiments. However, understood by one of ordinary skill in the art can be that the embodiments may be practiced without these specific details. For example, systems, processes, and other elements in the subject matter disclosed may be shown as components in block diagram form in order not to obscure the embodiments in unnecessary detail. In other instances, well-known processes, structures, and techniques may be shown without unnecessary detail in order to avoid obscuring the embodiments. Further, like reference numbers and designations in the various drawings indicated like elements.

[0020]

Also, individual embodiments may be described as a process, which is depicted as a flowchart, a flow diagram, a data flow diagram, a structure diagram, or a block diagram. Although a flowchart may describe the operations as a sequential process, many of the operations can be performed in parallel or concurrently. In addition, the order of the operations may be re-arranged. A process may be terminated when its operations are completed, but may have additional steps not discussed or included in a figure. Furthermore, not all operations in any particularly described process may occur in all embodiments. A process may correspond to a method, a function, a procedure, a subroutine, a subprogram, etc. When a process corresponds to a function, the function’s termination can correspond to a return of the function to the calling function or the main function.

[0021]

Furthermore, embodiments of the subject matter disclosed may be implemented, at least in part, either manually or automatically. Manual or automatic implementations may be executed, or at least assisted, through the use of machines, hardware, software, firmware, middleware, microcode, hardware description languages, or any combination thereof. When implemented in software, firmware, middleware or microcode, the program code or code segments to perform the necessary tasks may be stored in a machine-readable medium. A processor(s) may perform the necessary tasks.

[0022]

Modules and networks exemplified in the present disclosure may be computer programs, software or instruction codes, which can execute instructions using one or more processors. Modules and networks may be stored in one or more storage devices or otherwise stored into computer readable media such as storage media, computer storage media, or data storage devices (removable and/or non-removable) such as, for example, magnetic disks, optical disks, or tape, in which the computer readable media are accessible from the one or more processors to execute the instructions.

[0023]

Computer storage media may include volatile and non-volatile, removable and non-removable media implemented in any method or technology for storage of information, such as computer readable instructions, data structures, program modules, or other data. Computer storage media may be RAM, ROM, EEPROM or flash memory, CD-ROM, digital versatile disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by an application, module, or both using one or more processors. Any such computer storage media may be part of the device or accessible or connectable thereto. Any application or module herein described may be implemented using computer readable/executable instructions that may be stored or otherwise held by such computer readable media.

[0024]

FIG. 1 shows a multi-lingual speech recognition module 100 stored in a storage 430 in FIG. 4. The multi-lingual speech recognition module 100 is a processor (hardware processor) executable program that includes program modules (computer-executable instruction modules) such as a language-ID Insertion module 112, an utterance Concatenation module 113, an initial Network Construction module 115, an end-to-end network training module 1 17, and an end-to-end speech recognition module 200. The program modules 1 12, 1 13, 115 ,117 and 100 included in the multi-lingual speech recognition module 100 are also indicted in FIG. 4. Further, the storage 430 includes an encoder network module 202, an attention decoder network module 204, a CTC module 208 and an end-to-end speech recognition module 200, which will be discussed later.

[0025]

The multi-lingual speech recognition module 100 constructs a language independent network according to the following steps:

(1) Initial Network Construction module 115 makes (generates) initial network parameters 1 16 using a universal label set obtained as a union of grapheme sets and language IDs using speech corpora of different languages 110.

(2) Language-ID Insertion module 112 inserts a language ID label into the transcript of each utterance in the speech corpora of different languages 110.

(3) Utterance Concatenation module 113 generates utterances by selecting one or more utterances from the speech corpora of different languages 110 and concatenating them in a random order, where the corresponding transcripts are also concatenated in the same order as the concatenated utterances.

(4) End-to-end network training module 117 optimizes the initial network parameters 116 using the generated utterances and the transcripts, and outputs the trained network parameters 118.

[0026]

In some cases, the speech corpora of different languages 110 may be referred to acoustic dataset 110. Further, the modules and network parameters indicated in the present disclosure may be stored in a storage or multiple storages according to a system design, and the modules are computer (hardware processor) executable programs by a processor 430 indicated in FIG. 4. The processor 430 may be one or more (hardware) processors (computers). Each of the modules performs a predetermined process or processes by being executed using the processor or processors.

[0027]

Using the language independent network stored in the trained network parameters 1 18, an end-to-end speech recognition module 200 can jointly recognize speech and language ID for speech input, and outputs a recognition result.

[0028]

FIG. 2 is a block diagram illustrating an end-to-end speech recognition module 200 according to embodiments of the present invention.

[0029]

The end-to-end speech recognition module 200 includes an encoder network module 202, encoder network parameters 203, an attention decoder module 204, decoder network parameters 205, a label sequence search module 206, a CTC module 208, and CTC network parameters 209. The encoder network parameters 203, the decoder network parameters 205 and the CTC network parameters 209 are respectively stored in a storage device to provide parameters to corresponding modules 202, 204 and 208. An acoustic feature sequence 201 is extracted from audio waveform data or spectrum data using an acoustic feature extraction module 434 in FIG. 4. The audio waveform data or spectrum data may be stored in a storage device and provided to the encoder network module 202. The audio waveform data or spectrum data may be obtained via an input device 475 in FIG. 4 using a digital signal processing module (not shown) receiving and converting voice sounds into the audio waveform or spectrum data. Further, the audio waveform or spectrum data stored in a storage device 430 or memory 440 may be provided to the encoder network module 202. The signal of the voice sounds may be provided via a network 490 in FIG. 4, and the input device 475 may be a microphone device.

[0030]

The encoder network module 202 includes an encoder network that converts acoustic feature sequence 201 into a hidden vector sequence using the encoder network reading parameters from encoder network parameters 203.

[0031] An attention mechanism using an attention decoder network 204 is described as follows. The attention decoder network module 204 includes a decoder network. The attention decoder network module 204 receives the hidden vector sequence from the encoder network module 202 and a previous label from the label sequence search module 206, and then computes first posterior probability distributions of the next label for the previous label using the decoder network reading parameters from decoder network parameters 205. The attention decoder network module 204 provides the first posterior probability distribution to the label sequence search module 206. The CTC module 208 receives the hidden vector sequence from the encoder network module 202 and the previous label from the label sequence search module 206, and computes second posterior probability distributions of the next label sequence using the CTC network parameters 209 and a dynamic programming technique. After the computation, the CTC module 208 provides the second posterior probability distributions to the label sequence search module 206.

[0032]

The label sequence search module 206 finds the label sequence with the highest sequence probability using the first and second posterior probability distributions provided from the attention decoder network module 204 and the CTC module 208. The first and second posterior probabilities of label sequence computed by the attention decoder network module 204 and the CTC module 208 are combined into one probability. In this case, the combination of the computed posterior probabilities may be performed based on the linear combination. With the end-to-end speech recognition module 200, it becomes possible to take the CTC probabilities into account to find a better aligned hypothesis to the input acoustic feature sequence.

[0033]

Neural network architecture for language-independent end-to-end speech recognition

End-to-end speech recognition is generally defined as a problem to find the

A

most probable label sequence Y given input acoustic feature sequence X, i.e.

where Ί1 * denotes a set of possible label sequences given a set of pre-defined labels ZL. A label may be a character or a word. The label sequence probability p(Y\X) can be computed using a pre-trained neural network.

[0034]

In the embodiments of the present invention, the language-independent neural network may be a combination of different networks such as feed-forward neural networks (FFNNs), convolutional neural networks (CNNs) and recurrent neural networks (RNNs).

[0035]

For example, hybrid attention/CTC architecture may be used for the language-independent neural network. FIG. 2 is a block diagram illustrating the speech recognition module 200 using a multi-lingual end-to-end network with the hybrid attention/CTC architecture, wherein the label sequence probabilities are computed as follows.

[0036]

An encoder module 202 includes an encoder network used to convert acoustic feature sequence X = x l ... , x T into hidden vector sequence H = h j _, ... , h r as

H = Encoder(2Q, (2) where function Encoder(A) may consist of one or more recurrent neural networks (RNNs), which are stacked. An RNN may be implemented as a Long Short-Term Memory (LSTM), which has an input gate, a forget gate, an output gate and a memory cell in each hidden unit. Another RNN may be a bidirectional RNN (BRNNs) or a bidirectional LSTM (BLSTM). A BLSTM is a pair of LSTM RNNs, one is a forward LSTM and the other is a backward LSTM. A Hidden vector of the BLSTM is obtained as a concatenation of hidden vectors of the forward and backward LSTMs.

[0037]

With the forward LSTM, the forward t-th hidden vector h F is computed as

h t = of Q tanh(cf ) (3)

of = a(W F 0 x t + W F c h F _ 1 + b F ) (4)

ci = f t F O cf_ ! + if Q tanh (W F c x t + W F c h F _ + hf )

(5)

where s(·) is the element-wise sigmoid function, tanh(-) is the element-wise hyperbolic tangent function, and if, f F , of and cf are the input gate, forget gate, output gate, and cell activation vectors for x t , respectively. O denotes the element-wise multiplication between vectors. The weight matrices W z and the bias vector b F are the parameters of the LSTM, which are identified by the subscript z G (x, h, i, f, o, c] . For example, is the hidden-to-input gate matrix and W xo is the input-to-output gate matrix. The hidden vector h F is obtained recursively from the input vector x t and the previous hidden vector hf_ l5 where /if is assumed to be a zero vector.

[0038]

With the backward LSTM, the backward t - th hidden vector h is computed as

h B = of Q tanh(cf) (8)

of = a(W x B 0 x t + W x B c h B + 1 + b 0 B ) (9)

t = f t O cf +1 + if Q tanh(W B c x t + Wg c h + 1 + b B )

(10)

f B = a(W B f x t + W B g h B + 1 + b B )

if = s(M¾ + W h f +1 + hf ). (H)

(12) where if , f t B , of and cf are the input gate, forget gate, output gate, and cell activation vectors for x t , respectively. The weight matrices W Z B Z and the bias vector b B are the parameters of the LSTM, which are identified by the subscript in the same manner as the forward LSTM. The hidden vector hf is obtained recursively from the input vector x t and the succeeding hidden vector hf +1 , where hf +1 is assumed to be a zero vector.

[0039]

The hidden vector of the BLSTM is obtained by concatenating the forward and backward hidden vectors as

h t = [hf, h y (13) where T denotes the transpose operation for the vectors assuming all the vectors are column vectors. W zz , b z , W z f, and b B are considered the parameters of the BLSTM.

[0040]

To obtain better hidden vectors, we may stack multiple BLSTMs by feeding the hidden vectors of the first BLSTM to the second BLSTM, then feeding the hidden vectors of the second BLSTM to the third BLSTM, and so on. If h t ' is a hidden vector obtained by one BLSTM, we assume x t = t ' when feeding it to another BLSTM. To reduce the computation, it may feed only every second hidden vectors of one BLSTM to another BLSTM. In this case, the length of output hidden vector sequence becomes the half of the length of input acoustic feature sequence.

[0041]

All the parameters W/ z , b z , W z f , and b z identified by the subscript z 6 {x, h, i, f, o, c} of the multiple BLSTMs are stored in the encoder network parameters 203, and used to compute hidden vector sequence H.

[0042]

An attention decoder module 104 includes a decoder network used to compute label sequence probability p att (Y\X using hidden vector sequence H. Suppose T is an -length label sequence y \ , y2 > - - - > y L - To compute p att (T|^) efficiently, the probability can be factorized by a probabilistic chain rule as

and each label probability p att (yi\yi > ·· , yi-i, X) is obtained from a probability distribution over labels, which is estimated using the decoder network as

P att (y\y ' - , yi- ,X) = Oecoder(r l , q l-1 ), (15) where y is a random variable representing a label, r z is called a content vector, which has content information of H. q^ is a decoder state vector, which contains contextual information of the previous labels i,—, yi-i and the previous content vectors r 0 , ... , r^. Accordingly, the label probability is obtained as the probability of y = y z given the context, i.e.

P att iyi \yi. - , yi-i, ) = p at t (y = yi \yi, - , y L - 1 , x ) (16)

[0043]

The content vector r z is usually given as a weighted sum of hidden vectors of the encoder network, i.e.

where a it is called an attention weight that satisfies e attention weights can be computed using q z-! and H as

where W, V, F and U are matrices, and w and b are vectors, which are trainable parameters of the decoder network. e it is a matching score between the (l— l)-th state vector q z-! and the t- th hidden vector h t to form a temporal alignment distribution represents the previous alignment distribution = 1, ... , T] used for predicting the previous label y . f i = {fi t \t = 1, ... , T) is the convolution result with F for a t-l9 which is used to reflect the previous alignment to the current alignment.“*” denotes a convolution operation.

[0044]

The label probability distribution is obtained with state vector q z--1 and content vector as

where W qy and W ry are matrices and b y is a vector, which are trainable parameters of the decoder network. The softmaxQ function is computed as softmax

for a K -dimensional vector v, where v[i] indicates the i-th element of v.

[0045]

After that, decoder state vector M as q = of O tanh(c )

of = a{W x D 0 x + ½¾_ ! + bg) (24) cf = fi O cf_1 + if o tanh (W x D c xf + Wjf c q + bg)

(25) f? = ff H#x? + W g q^ + bf )

(26) if = a(W x D t xf + W& q /-! + bf),

(27) where if , f L D , of and cf are the input gate, forget gate, output gate, and cell activation vectors for input vector x respectively. The weight matrices W and the bias vector bf are the parameters of the LSTM, which are identified by the subscript in the same manner as the forward LSTM. The state vector q z is obtained recursively from the input vector x and the previous state vector q^, where q 0 is computed assuming the decoder network, the input vector xf is given as a concatenated vector of label y t and content vector r which can be obtained as xf = [Embed(y z ) T , ] T , where Embed(-) denotes label embedding, that converts a label into a fixed dimensional vector. For example, it can be computed by

Embed(y) = M D 0neHot(y), (28)

where OneHot(y) denotes a 1-of-N coding of label y which converts a label index to a one hot vector representation. 1 ° is a matrix, which is a trainable parameter.

[0046]

All the parameters I 4z and b identified by the subscript z e {x, h, i, f, o, c } and W qy , W ry , b y , W e D are stored in the decoder network parameters 205, and used to compute the label probability distribution p a tt (y = yi \yi - , yi i, 20·

[0047]

The CTC module 208 computes a CTC forward probability of label sequence Y given hidden vector sequence H. Note that the CTC formulation uses -length label sequence Y = [yi E ll\ l = 1 , ··· , !} with a set of distinct labels ZL. By introducing ffamewise label sequence with an additional“blank” label, Z = {z t 6 Ί1 U (b}|t = 1, ··· , T), where b represents a blank label. By using the probabilistic chain rule and conditional independence assumption, the posterior distribution p(Y\X) is factorized as follows:

where p(z t \z t-1 \Y) is considered a label transition probability including blank labels. p(z t \X) is the framewise posterior distribution conditioned on the input sequence X , and modeled by using bidirectional long short-term memory (BLSTM): p(z t \X) = softmax(W¾J c h t + b y TC ), (30) where h t is obtained with an encoder network. W y C is a matrix and b y TC is a vector, which are trainable parameters of CTC and stored in CTC network parameters 209. Although Eq. (29) has to deal with a summation over all possible Z, it is efficiently computed by using a forward algorithm.

[0048]

The forward algorithm for CTC is performed as follows. We use an extended label sequence Y' = y , y , - , g' 21 +i ~ b,y , b,y 2 , ... , b, y , b of length 2L + 1, where a blank label“b” is inserted between each pair of adjacent labels. Let cr t (s) be a forward probability, which represents the posterior probability of label sequence y x , for time frames 1, he position in the extended label sequence Y'.

[0049]

For initialization, we set

For t = 2 to T, a t (s) is computed recursively as

Finally, the CTC-based label sequence probability is obtained as

P ctc OTO = tfr(2 + 1) + cc T {2L). (36)

[0050]

The framewise label sequence Z represents an alignment between input acoustic feature sequence X and output label sequence Y. When computing the forward probability, the recursion of Eq. (34) enforces Z to be monotonic and does not allow looping or big jumps of s in alignment Z, because the recursion to obtain a t (s) only considers at most a t _ i(s) , a t-1 (5— 1) , — 2) .

This means that when time frame proceeds one frame, the label changes from the previous label or blank, or keeps the same label. This constraint plays a role of the transition probability p(z t |z t-1 , T) that enforces alignments to be monotonic. Hence, P ctc QH^O can be 0 or a very small value when it is computed based on irregular (non-monotonic) alignments.

[0051]

Finally, we obtain the label sequence probability by combining the

CTC-based probability in Eq. (36) and attention-based probability in Eq. (14) in log domain as

log p(Y\X) = l log P ctc CTO + (1 - A)log P att O (37)

where A is a scalar weight such that 0 < l < 1 and may be determined

manually.

[0052]

FIG. 3 is a schematic diagram illustrating a combined neural network module 300 according to embodiments of the present invention. The combined neural network 300 includes an encoder network module 202, an attention decoder network module 204 and a CTC module 208. Each arrow represents a data transfer with or without transformation, and each square or circle node represents a vector or a predicted label. Acoustic feature sequence X = x 1 , ... , x T is fed to the encoder network module 202, where two BLSTMs are stacked and every second hidden vectors of the first BLSTM are fed to the second BLSTM. The output of the encoder module 202 results in hidden vector sequence H = h , h' 2 , ... , h' Tl , where T' = T/2. Then, H is fed to the CTC module 208 and the decoder network module 204. The CTC-based and attention-based sequence probabilities are computed with the CTC module 208 and the attention decoder network module 204, respectively, and combined to obtain the label sequence probability. [0053]

Joint language identification and speech recognition

A key idea of the language-independent end-to-end system is to consider as the set of output labels an augmented character set including the union of character sets appearing in all the target languages, i.e., X L union — X/ EN u X ΐ) Ϋ U ···, where X/ EN /J P /· · i s a character set of a specific language. By using this augmented character set, likelihoods of character sequences can be computed for any language, without requiring a separate language identification module. The network is trained to automatically predict the correct character sequence for the target language of each utterance. The use of the union, as opposed to using a unique character set for each language, eliminates the duplication of output symbols that occur in multiple languages, and yields a more compact model representation with reduced computational cost. The language-independent system repeats the prediction of language ID and speech recognition given consecutive multilingual speech.

[0054]

Furthermore, we make the prediction of the language ID an explicit part of the system by further augmenting the set of output labels to include the language ID, i.e., X/ fmal = U unlon U {[EN], [JP], - } is used as a set of labels 11 for end-to-end speech recognition. According to embodiments of the present invention, the network first predicts a language ID, k E {[EN], [JP], ··· }. Instead of a posterior distribution p(Y |A) where Y— y lt ... , y L is a sequence of characters in 11 and A is a sequence of acoustic feature vectors, the system models the joint distribution p(k, Y\X ' ) of the language ID and character sequence as that of an augmented sequence Y' = ( k , Y ) where y = k and y' l > 1· This is formulated by using the probabilistic chain rule as follows:

[0055]

Furthermore, for the case including multiple languages in an utterance, it allows the network to output multiple language IDs throughout. For a sequence Y' = y , · , y' u of characters in we denote by the indices of the characters k n = y' in in Y' that are language IDs (i.e., k n E {[EN], [JP], ··· }). The system now models the joint distribution of language ID and characters as

[0056]

This is the same as modeling the distribution of language-mixed character sequence including language IDs such as“[EN] h o w <space> a r e <space> y o u ? [FR] c o m m e n t <space> a l l e z - v o u s ?”, where <space> formally represents a space character.

[0057]

The hybrid attention/CTC architecture may be used to model such language-mixed character sequence. When recognizing a language-mixed utterance, the network can switch the language of the output sequence. FIG. 5 shows an example of character sequence prediction using the hybrid attention/CTC network. The encoder network computes hidden vector sequence H by taking as input acoustic features consisting of Japanese and English speech. Although we assume x lt -- , Xs corresponds to Japanese and x 6 , , x T corresponds to English in the example, in there is no indicator that separates the languages in the actual acoustic feature sequence. According to embodiments of the invention, the attention decoder network can predict language ID “[JP]” followed by a Japanese character sequence, and after decoding the first Japanese character sequence, the network can further predict the language ID that matches the character sequence that follows, here“[EN]”.

[0058]

Data generation for multi-lingual speech recognition

To predict language-mixed utterances, the hybrid attention/CTC network needs to be trained using a set of such language-mixed corpus. However, it is very difficult to collect a sufficient amount of such speech corpus, in which multiple languages appear within the same utterance. In actual, collecting and transcribing such utterances is very costly and time consuming. In embodiments of the present invention, such corpus is artificially generated from a set of language-dependent corpora, which already exist.

[0059]

Suppose each utterance in the multiple corpora has its corresponding transcript as a sequence of characters. Hereafter, a method to generate such language-mixed corpus is explained according to embodiments of the present invention in FIG. 1. First Language-ID insertion module 112 inserts a language ID to the transcript of each utterance in the language-dependent corpora. The language ID may be located in the head of each character sequence. Next, Utterance Concatenation Module 113 selects utterances from language-dependent corpora while paying attention to the coverage of selected utterances and the variation of language transitions as described further below. The selected utterances (and their transcripts) are then concatenated and considered as a single utterance in the generated corpus. This procedure is repeated until the duration of the generated corpus reaches that of the union of the original corpora.

[0060]

FIG. 6 shows the details of the generation procedure. We first define probabilities to sample languages and utterances. The probability of sampling a language is proportional to the duration of its original corpus, with a constant term 1/N added to alleviate the selection bias caused by data size. We set a maximum number N concat of utterances to concatenate, 3 in our experiments. For each number n concat between 1 and N concat , we create a concatenated utterance consisting of n concat utterances from the original corpora, by sampling n concat languages and utterances based on their sampling probabilities. In order to maximize the coverage of the original corpora, we prevent utterances from being reused too much by introducing maximum usage count, n reuse , set to 5 for the training set, and 2 for the development and evaluation sets. We use this procedure to generate a training set, a development set, and an evaluation set.

[0061]

Training Procedure

In the end-to-end network training module 117, Encoder Network

Parameters 203, Decoder Network Parameters 205, and CTC Network Parameters

209 are jointly optimized so that the loss function

p

£(X, Y, Q) = ^—A log p ctc (Y n \X n , Q) - (1 - A)Iog att (Y n |tf n , 0), ^

n=l

is reduced, where X and Y are training data including acoustic feature sequences and label sequences. According to embodiments of the present invention, the training data (X, Y) are generated from existing language-dependent corpora using Language-ID insertion module 112 and Utterance concatenation module 1 13 in FIG. 1.

[0062]

Q denotes a set of network parameters including Encoder Network Parameters 203, Decoder Network Parameters 205, and CTC Network Parameters 209. N is the number of training samples. X n is the «-th acoustic feature sequence in X and Y n is the w-th label sequence in Y. P ctc 'n l^ r v ®) is the CTC-based sequence probability in Eq. (53) computed with parameter set Q and P att Qn \^n > ®) is the attention-based sequence probability in Eq. (14) computed with parameter set Q.

[0063]

The set of network parameters Q may be optimized by a stochastic gradient descent method. First, Initial Network Construction module 115 obtains initial network parameters 116, wherein the sizes of matrices and vectors and the initial value of each element of the matrices and vectors are determined. The sizes of matrices and vectors may be decided manually or automatically. For instance, for the matrices and vectors depending on the size of label set i/ fmal , the sizes are determined according to the label set size For example, the number of rows of matrices W qy and W ry should equal , and the number of dimensions of vector b y should also equal |'l/ fmal | in Eq. (21), because the number should equal the dimension of label probability distribution Each element of the matrices and vectors may be set as a random real number. 7/ fmal is determined by obtaining unique characters and language IDs in the original speech corpora of different languages 1 10.

[0064]

Next, End-to-end Network Training module 117 jointly optimizes the encoder, decoder, and CTC network parameters in parameter set Q. Based on a gradient descent method, each element of the parameter set Q is repeatedly updated as

until £(X, Y, Q) converges, where h is a learning rate.

[0065]

It is also possible to split X and Y into M small subsets (X m , Y m }m=i , --- ,M such that X = ¾ U ... U X M and Y = Yi U ... U Y M , and update the parameters by repeating for m = 1, · · · , M . By updating the parameters with the small subsets, the parameters are updated more frequently and the loss function converges more quickly.

[0066]

In our experiments, we consider two training procedures. In the flat start procedure, the model is trained only using the generated corpus, from scratch. In the retrain procedure, the model is trained in two steps, using both the original and generated corpora as follows. We first train the model using the training data without language switching (i.e., the original corpora), then continue the training using the data with language switching (generated corpus). We consider these two steps for the following reasons. First, the model trained by the data without language switching is a good starting point for the training of the arguably more difficult data with language switching. Secondly, we allowed the data generation algorithm to select duplicated utterances in order to increase the ratio of low-resource languages. However, this property causes a decrease in coverage. The two-step training alleviates this problem.

[0067]

Label Sequence Search

Label sequence search module 206 finds the most probable label sequence Y according to the combined label sequence probabilities as

where p ctc the CTC-based label sequence probability in Eq. (36), P att Qn^O is the attention-based label sequence probability in Eq. (14), and V. = Z1? iha1 according to embodiments of the present invention.

[0068]

However, it is difficult to enumerate all possible label sequences for Y and compute Uog p ctc (T|7Q + (1— A)log p att (T|2i), because the number of possible label sequences increases exponentially to the length of the sequence. Therefore, a beam search technique is usually used to find Ϋ, in which shorter label sequence hypotheses are generated first, and only a limited number of hypotheses, which have a higher score than others, are extended to obtain longer hypotheses. Finally, the best label sequence hypothesis is selected in the complete hypotheses that reached the end of the sequence.

[0069]

Let Wi be a set of partial hypotheses of the length l. At the beginning of the beam search, W 0 contains only one hypothesis with the starting symbol <sos>. For l = 1 to L max , each partial hypothesis in W ^ is expanded by appending possible single labels, and the new hypotheses are stored in Wi, where m ax is the maximum length of the hypotheses to be searched.

[0070]

The score of each partial hypothesis h is computed as

where t /» att (h) is computed as

Patt(yl0)· (45)

To compute ip ctc (h, X ), we utilize the CTC prefix probability defined as the cumulative probability of all label sequences that have h as their prefix:

and we define the CTC score as

ctc(k ) - lo S PctcCfc - 1^)' (47) where v represents all possible label sequences except the empty string. The CTC score cannot be obtained recursively as in Eq. (45) but it can be computed efficiently by keeping the forward probabilities over the input time frames for each partial hypothesis.

[0072] According to the embodiments of the present invention, label sequence

L

search module 206 finds Y according to the following procedure.

Input: X, L max

Output: Ϋ

13 if y = <eos> then

14 Enqueue (W, h)

15 else

16 Enqueue^, h)

17 if |W / | > beamWidth then

18 ^ min <- arg min ¾ef2i i p joint (h)

19 Remo ne(W ί , /i pώi )

20 end if

21 end if

22 end for

23 end while

24 end for

25:

[0073]

In this procedure, W t and W are implemented as queues that accept partial hypotheses of the length l and complete hypotheses, respectively. In lines 1-2,

A

W 0 and W are initialized as empty queues. In line 3, the score for the initial hypothesis <sos> is set to 0. In lines 4-24, each partial hypothesis g in Wi_ is extended by each label y in label set Ί1 U {<eos>}, where operations Head(/2) returns the first hypothesis in queue W , and Dequeue(/2) removes the first hypothesis from the queue.

[0074] Each extended hypothesis h is scored using the attention decoder network in line 11 and combined with CTC score in line 12. After that, if y = <eos>, the

/V

hypothesis h is assumed to be complete and stored in W in line 14, where

L A

Enqueue(/2 , h) is an operation that adds h to W. If y ¹ <eos>, h is stored in W i in line 16, where the number of hypotheses in /2*, i.e. |/2* |, is compared with a pre-determined number beamWidth in line 17. If 1/2* 1 exceeds beamWidth, the hypothesis with the minimum score h min in /2* is removed from W * in lines 18-19, where Remove(/2*, /i min ) is an operation that removes min from W *.

A

Finally, Y is selected as the best hypothesis in line 25.

[0075]

CTC score Ya z (K C) can be computed using a modified forward algorithm. Let y n ) and Y^ b h) be the forward probabilities of the hypothesis h over the time frames 1 ... t, where the superscripts (n) and (h) denote different cases in which all CTC paths end with a nonblank or blank label, respectively. Before starting the beam search, alized for t = i, ... , T as

where we assume that y g ¾ ) (<sos> ) = 1 and b is a blank label. Note that the time index t and input length T may differ from those of the input utterance X owing to the subsampling technique for the encoder. The CTC score function can be implemented as follows. Input: h, X

Output: > ctc (h, X)

l: g, y— h <) split h into the last label y and the rest g

2: if y = <eos> then

3: return

4: else

13: end for

14: return log (F)

15: end if

[0076]

In this function, the given hypothesis h is first split into the last label y and the rest g in line 1. If y is <eos>, it returns the logarithm of the forward probability assuming that h is a complete hypothesis in line 3. The forward probability of h is given by

according to the definition of y is not <eos>, it computes the forward probabilities , and the prefix probability Y = p ctc h, ... \X) assuming that h is not a complete hypothesis. The initialization and recursion steps for those probabilities are described in lines

5-13. In this function, it is assumed that whenever computing y^ n h , y^Qi) and Y in lines 10-12, the probabilities line 9 have already been obtained through the beam search process because g is a prefix of h such that \g\ < \h\. Accordingly, the prefix and forward probabilities can be computed efficiently. Note that last(g) in line 9 is a function that returns the last label of g.

[0077]

Multi-lingual end-to-end speech recognition apparatus

FIG. 4 shows a block diagram of a multi-lingual end-to-end speech recognition system 400 according to some embodiments of the invention. The end-to-end speech recognition system 400 includes a human machine interface (HMI) 410 connectable with a keyboard 411 and a pointing device/medium 412, one or more processor 420, a storage device 430, a memory 440, a network interface controller 450 (NIC) connectable with a network 490 including local area networks and internet network, a display interface 460, an audio interface 470 connectable with a microphone device 475, a printer interface 480 connectable with a printing device 485. The memory 440 may be one or more memory units. The end-to-end speech recognition system 400 can receive electric audio waveform/spectrum data 495 via the network 490 connected to the NIC 450. The storage device 430 includes an end-to-end speech recognition module 200, the Language-ID Insertion module 112, the utterance Concatenation module 113, the initial Network Construction module 115, the end-to-end network training module 117, an encoder network module 202, an attention decoder network module 204, a CTC module 208 and the end-to-end speech recognition module 200, and an acoustic feature extraction module 434. In some cases, the modules 112, 113, 115, 117, 202, 204 and 208 may be independently arranged in the storage 430, the memory 440 or an outside attachable memory (not shown), depending on a system design.

[0078]

For other program modules, such as a label sequence search module, encoder network parameters, decoder network parameters and CTC network parameters, are omitted in the figure. Further, the pointing device/medium 412 may include modules that are computer-executable (processor-executable) programs stored on a computer readable recording medium. The attention decoder network module 204, the encoder network module 202, and the CTC module 208 may be formed by neural network parameters. The acoustic feature extraction module 434 is a program module used to extract an acoustic feature sequence from. The acoustic feature sequence may be a sequence of Mel-scale filterbank coefficients with their first and second order temporal derivatives and/or pitch features.

[0079]

For performing the end-to-end speech recognition, instructions may be transmitted to the end-to-end speech recognition system 400 using the keyboard 411, the pointing device/medium 412 or via the network 490 connected to other computers (not shown in the figure). The system 400 receives instructions via the HMI 410 and executes the instructions for performing end-to-end speech recognition using the processor 420 in connection with the memory 440 by loading the end-to-end speech recognition module 200, the attention decoder network module 204, the encoder network module 202, the CTC module 208, and the acoustic feature extraction module 434 stored in the storage device 430.

[0080]

Experiments

The original corpora are based on WSJ, CSJ (Maekawa et al. 2000), HKUST (Liu et al. 2006), and Voxforge (German, Spanish, French, Italian, Dutch, Portuguese, Russian) (“VoxForge,” n.d.).

[0081]

We built language-dependent and language-independent end-to-end systems with the hybrid attention/CTC network architecture. The language-dependent model uses a 4-layer BLSTM encoder network, while the language-independent model has a deep BLSTM encoder network such as a deep 7-layer BLSTM encoder network. The number of layers in the BLSTM encoder network is not limit to 7 layers. In some cases, according to the system design, the number of layers may be 2 or more than 2. We used 80-dimensional Mel filterbank features concatenated with 3-dimensional pitch features. For the language-independent models, the final softmax layers in both CTC and attention-based branches had 5,520 dimensions

[0082]

For English, in order to handle the relatively long sentences in the WSJ corpus, we expand the alphabet character set to 201 by adding tokens corresponding to up to 5-gram character sequences frequently appearing in the WSJ text corpus. This makes the output length L shorter, in order to reduce computational cost and GPU memory usage.

[0083]

For each language, we trained a language-dependent ASR model, where the dimension of the final softmax layers was set to the number of distinct characters/tokens for that language. This paper strictly followed an end-to-end ASR concept, and did not use any pronunciation lexicon, word-based language model, GMM/HMM, or DNN/HMM. Our hybrid attention/CTC architecture was implemented with Chainer (Tokui et al. 2015).

[0084]

Results

FIG. 7 shows the character error rates (CERs) of the trained language-dependent and language-independent end-to-end ASR systems on a multi-lingual evaluation set including language switching. CERs are averaged over the 10 languages and separately shown depending on the number of languages in each utterance.

[0085]

In the case of including only one language in each utterance, (i.e., no language switching), the language independent models significantly outperformed the language dependent models. When the number of languages was two or three, the language independent model trained with language switching data reduced CERs from 31.5% to 21.3% for the 2-language case and from 38.6% to 20.8% for the 3- language case. By retraining the flat start language-independent model, we obtained further CER reductions, i.e. the CERs resulted in 19.4%, 19.3%, and 18.6% for all the cases, respectively.

[0086]

Accordingly, the language-independent ASR successfully reduced CERs and the model trained with language switching data is able to properly switch between languages during the decoding process.

[0087]

We also computed the language ID error rate by extracting language IDs from the recognition results obtained using the language-independent model retrained with the language switching data. In the case of including only one language in each utterance, the language ID error rate was 2.0%. In the case of including one-to-three languages in each utterance, the ID error rate was 8.5%. Thus, the present invention can recognize multi-lingual speech and the language IDs jointly with a small number of errors.

[0088]

FIG. 8 shows transcription examples generated by our models. The utterance consists of Japanese, English, and Dutch. The model without language switching cannot predict neither the correct language IDs nor the use of the Japanese character set. We can observe that the model with language switching recognized multilingual speech with low CER.

[0089]

In some embodiments of the present disclosure, when the end-to-end speech recognition system described above is installed in a computer system, speech recognition can be effectively and accurately performed with less computing power, thus the use of the end-to-end speech recognition method or system of the present disclosure can reduce central processing unit usage and power consumption.

[0090]

Further, embodiments according to the present disclosure provide and effective method for performing end-to-end speech recognitions, thus, the use of a method and system using the end-to-end speech recognition model can reduce central processing unit (CPU) usage, power consumption and/or network band width usage.

[0091]

The above-described embodiments of the present disclosure can be implemented in any of numerous ways. For example, the . embodiments may be implemented using hardware, software or a combination thereof. When implemented in software, the software code can be executed on any suitable processor or collection of processors, whether provided in a single computer or distributed among multiple computers. Such processors may be implemented as integrated circuits, with one or more processors in an integrated circuit component. Though, a processor may be implemented using circuitry in any suitable format.

[0092]

Also, the various methods or processes outlined herein may be coded as software that is executable on one or more processors that employ any one of a variety of operating systems or platforms. Additionally, such software may be written using any of a number of suitable programming languages and/or programming or scripting tools, and also may be compiled as executable machine language code or intermediate code that is executed on a framework or virtual machine. Typically, the functionality of the program modules may be combined or distributed as desired in various embodiments. [0093]

Further, the embodiments of the present disclosure may be embodied as a method, of which an example has been provided. The acts performed as part of the method may be ordered in any suitable way. Accordingly, embodiments may be constructed in which acts are performed in an order different than illustrated, which may include performing some acts concurrently, even though shown as sequential acts in illustrative embodiments. Further, use of ordinal terms such as first, second, in the claims to modify a claim element does not by itself connote any priority, precedence, or order of one claim element over another or the temporal order in which acts of a method are performed, but are used merely as labels to distinguish one claim element having a certain name from another element having a same name (but for use of the ordinal term) to distinguish the claim elements.