Computer-implemented method, system and computer program
End-to-end spoken language understanding systems train on unordered semantic entities and utterance-level intent, using alignment techniques and data augmentation to improve model performance and reduce data collection costs, addressing the inefficiencies of traditional SLU systems.
Patent Information
- Application Number
- JP2022126850
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-08-27
- Filing Date
- 2022-08-09
- Publication Date
- 2025-12-23
- Estimated Expiration
- 2042-08-09
AI Technical Summary
Existing spoken language understanding systems face challenges in accurately training with verbatim transcripts, which are costly to transcribe and require sequential alignment of semantic entities, making data collection expensive and inefficient.
End-to-end spoken language understanding systems are trained using unordered semantic entities and utterance-level intent, employing alignment techniques such as acoustic keyword spotting and attention models to reorder entities into utterance order, combined with data augmentation to improve model robustness.
This approach reduces data collection costs and enhances model performance by enabling effective training on less structured data, improving the F1 score and handling non-monotonic alignments, thus making SLU systems more efficient and cost-effective.
Smart Images

Figure 0007790833000005 
Figure 0007790833000006 
Figure 0007790833000007
Abstract
Description
[Technical Field]
[0001] This application relates generally to computers and computer applications, spoken language understanding, encoders, decoders, attention models, speech recognition, and more particularly to training with unordered entities in spoken language understanding systems. [Background technology]
[0002] Spoken language understanding (SLU) systems have traditionally been a cascade of an automatic speech recognition (ASR) system that converts speech to text, followed by a natural language understanding (NLU) system that interprets the meaning of that text. Typically, ASR and such traditional SLU systems are trained using verbatim transcripts. A drawback is the cost of accurately transcribing every word in a verbatim transcript. Summary of the Invention [Problem to be solved by the invention]
[0003] In one or more embodiments, systems, methods, and techniques can be provided that can provide improvements in training end-to-end spoken language understanding. This summary of the disclosure is provided to aid in understanding computer systems and methods for training end-to-end spoken language understanding systems with entities, for example, entities that may be provided in an order that is not necessarily the order in which they are spoken in speech, and is not intended to limit the disclosure. It should be understood that various aspects and features of the disclosure can be advantageously used separately in some cases or in combination with other aspects and features of the disclosure in other cases. Accordingly, variations and modifications can be made to the computer systems and / or their methods of operation to achieve various advantages. [Means for solving the problem]
[0004] In one aspect, a computer-implemented method can include receiving a pair of speech and a semantic representation associated with the speech, the semantic representation including at least semantic entities associated with the speech, the utterance order of the semantic entities not necessarily known, e.g., unknown. The method can also include reordering the semantic entities into the utterance order of the speech using an alignment technique. The method can also include training a spoken language understanding machine learning model using the pair of speech and a semantic representation having the reordered semantic entities in the utterance order.
[0005] In another aspect, a computer-implemented method can include receiving pairs of speech and semantic representations associated with the speech, the semantic representations including at least semantic entities associated with the speech, the utterance order of the semantic entities not necessarily known, e.g., unknown. The method can also include rearranging the semantic entities into the utterance order of the speech using an alignment technique, the alignment technique including acoustic keyword spotting used in conjunction with a hybrid speech recognition model. The method can also include training a spoken language understanding machine learning model using the pairs of speech and semantic representations having the rearranged semantic entities in the utterance order.
[0006] In yet another aspect, a computer-implemented method can include receiving a pair of speech and a semantic representation associated with the speech, the semantic representation including at least semantic entities associated with the speech, the utterance order of the semantic entities not necessarily known, e.g., unknown. The method can also include rearranging the semantic entities into the utterance order of the speech using an alignment technique, the alignment technique including using temporal markings derived from an attention model. The method can also include training a spoken language understanding machine learning model using the pair of speech and the semantic representation with the rearranged semantic entities in the utterance order.
[0007] In yet another aspect, a computer-implemented method may include receiving pairs of speech and semantic representations associated with the speech, the semantic representations including at least semantic entities associated with the speech, the utterance order of the semantic entities not necessarily known, e.g., unknown. The method may also include rearranging the semantic entities into the utterance order of the speech using an alignment technique. The method may also include training a speech language understanding machine learning model using the pairs of speech and semantic representations having the rearranged semantic entities in the utterance order. The method may also include expanding the received pairs of speech and semantic representations to include random order sequence variations of the semantic entities. Training the speech language understanding machine learning model may include pre-training the speech language understanding machine learning model using the augmented pairs of speech and semantic representations, and training the pre-trained speech language understanding machine learning model with the rearranged semantic entities.
[0008] In one aspect, a computer-implemented method may include receiving a pair of speech and a semantic representation associated with the speech, the semantic representation including at least semantic entities associated with the speech, the utterance order of the semantic entities not necessarily known, e.g., unknown. The method may also include rearranging the semantic entities into the utterance order of the speech using an alignment technique. The method may also include training a speech language understanding machine learning model using the pair of speech and a semantic representation having the rearranged semantic entities in the utterance order. The method may also include inputting a given speech into the trained speech language understanding machine learning model, the trained speech language understanding machine learning model outputting a set prediction including intent labels and semantic entities associated with the given speech.
[0009] In another aspect, a computer-implemented method may include receiving training data. The training data may include pairs of speech and semantic representations associated with the speech. The semantic representations may include at least semantic entities associated with the speech, where the utterance order of the semantic entities is unknown, e.g., not necessarily known. The method may also include augmenting the training data by perturbing the semantic entities to create randomly ordered sequence variations of the semantic entities. The method may also include pre-training a spoken language understanding machine learning model using the augmented training data, where different randomly ordered sequence variations of the semantic entities are used in different epochs of training. Given input speech, the spoken language understanding machine learning model may be pre-trained to output intent labels and semantic entities associated with the given input speech.
[0010] In yet another aspect, a computer-implemented method may include receiving training data. The training data may include pairs of speech and semantic representations associated with the speech. The semantic representations may include at least semantic entities associated with the speech, where the utterance order of the semantic entities is unknown, e.g., not necessarily known. The method may also include augmenting the training data by perturbing the semantic entities to create randomly ordered sequence variations of the semantic entities. The method may also include pre-training a speech language understanding machine learning model using the augmented training data, where different randomly ordered sequence variations of the semantic entities are used in different epochs of training. Given input speech, the speech language understanding machine learning model may be pre-trained to output intent labels and semantic entities associated with the given input speech. The method may further include pre-training or fine-tuning the pre-trained speech language understanding machine learning model using the semantic entities arranged in alphabetical order.
[0011] A system may also be provided comprising at least a processor and a memory device, wherein at least one processor, or one or more processors, may be configured to perform any one or more of the methods described herein.
[0012] A computer-readable storage medium storing a program of instructions executable by a machine to perform one or more of the methods described herein may also be provided.
[0013] Further features, as well as the structure and operation of various embodiments, are described in detail below with reference to the accompanying drawings, where like reference numbers indicate identical or functionally similar elements. [Brief explanation of the drawings]
[0014] [Figure 1] FIG. 1 illustrates an end-to-end (E2E) spoken language understanding (SLU) system in one embodiment.
[0015] [Figure 2] FIG. 2 illustrates an example HMM corresponding to constituent phones in an example keyword, according to one embodiment.
[0016] [Figure 3] 1 is an exemplary attention plot in one embodiment.
[0017] [Figure 4] FIG. 1 is a flow diagram illustrating a method for training an end-to-end (E2E) spoken language understanding (SLU) machine learning model in one embodiment.
[0018] [Figure 5] FIG. 1 illustrates a method for training an end-to-end (E2E) spoken language understanding (SLU) machine learning model in another embodiment.
[0019] [Figure 6] FIG. 1 illustrates components of a system capable of training a spoken language understanding machine learning model or system in one embodiment.
[0020] [Figure 7] FIG. 1 is a schematic diagram of an example computer or processing system on which a system according to one embodiment may be implemented.
[0021] [Figure 8]FIG. 1 illustrates a cloud computing environment in one embodiment.
[0022] [Figure 9] FIG. 1 illustrates a set of functional abstraction layers provided by a cloud computing environment in one embodiment of the present disclosure. DETAILED DESCRIPTION OF THE INVENTION
[0023] In one or more embodiments, systems, methods, and techniques may be provided that can provide improvements in training end-to-end spoken language understanding. FIG. 1 illustrates an end-to-end (E2E) spoken language understanding (SLU) system in one embodiment. The E2E SLU system may include, for example, one or more computer-implemented components implemented and / or executed on one or more hardware processors or coupled to one or more hardware processors. The one or more hardware processors may include components such as, for example, programmable logic devices, microcontrollers, memory devices, or other hardware components that can be configured to perform the respective tasks described in this disclosure, or a combination thereof. The associated memory devices may be configured to selectively store instructions executable by the one or more hardware processors. The processor may be a central processing unit (CPU), a graphics processing unit (GPU), a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), another suitable processing component or device, or one or more combinations thereof. The processor may be coupled to the memory device. The memory device may include random access memory (RAM), read-only memory (ROM), or another memory device and may store data and / or processor instructions for implementing various functions associated with the methods and / or systems described herein. The processor may execute computer instructions stored in memory or received from another computer device or medium.
[0024] End-to-end (E2E) SLU systems process speech input directly as meaning, without an intermediate text transcript. These SLU systems may be trained on a set of entities and utterance-level intent rather than a verbatim transcript, resulting in a dramatic reduction in data collection costs. In one or more embodiments, the systems, methods, and techniques disclosed herein enable E2E SLU systems to handle training with training data in which entities or semantics are not necessarily given in utterance order.
[0025] In an end-to-end (E2E) spoken language understanding (SLU) system, the input can be speech (e.g., an audio or acoustic signal) and the output can be a semantic representation. For example, speech 102 can be input to an SLU module 104, which can include a machine learning model, e.g., a neural network or a deep learning model, such as, but not limited to, a recurrent neural network transducer (RNN-T) or an attention-based encoder / decoder, or both. The SLU module 104 can output a semantic representation 106 of the speech, e.g., one or more intents and entities.
[0026] For example, the Spoken Language Understanding (SLU) module 104 can provide a semantic representation, e.g., intent detection and entities, corresponding to the input speech. In one aspect, the SLU system does not need to provide every word or how the input is spoken (e.g., entity order, word selection) when providing output. Examples of output provided by the SLU module 104 can include the following: Full transcript + semantic labels: (INT-flight) I would like to make a reservation for a flight to Denver(B-toCity) from Philadelphia(B-fromCity) on this coming Sunday(B-departDate); (I'd like to book a flight (INT-flight) from Philadelphia (B-fromCity) to Denver (B-toCity) this coming Sunday (B-departDate)) Semantic entities in utterance order:(INT-flight)Denver(B-toCity)Philadelphia(B-fromCity)Sunday(B-departDate); Set of semantic entities (unknown utterance order): {{intent:flight}, {departDate:Sunday}, {fromCity:Philadelphia}, {toCity:Denver}}
[0027] The SLU module 104 can be trained on a corpus of training data containing pairs of speech and meaning (intent and entity). A pair includes, for example, speech and a corresponding meaning. An entity is also referred to as a slot in slot filling. For example, a user command or query (speech) is interpreted by extracting the intent and the associated slot. Such a corpus may be generated by manual labeling or by an automated process (e.g., an SLU that outputs such labels given a speech or utterance). As an example, a query such as "show flights from Seattle to San Diego tomorrow" may have the following semantic representation: Intent: flight info Slots (entities): fromloc:Seattle toloc:San Diego depart_date:tomorrow
[0028] Table 1 shows an example of intents and slot fillings corresponding to utterances or speech. The notation shown in Table 1 uses the "Begin-Inside-Outside" (BIO) notation. In the BIO notation, semantic entities with multiple component words are labeled with "B" followed by "I", for example, "New B-fromloc York I-fromloc City I-fromloc", and non-entity words are labeled with "O" to indicate they are "outside" entities. [Table 1]
[0029] For example, the SLU module 104 provides predictions of a set of semantic entities from speech. There may be different ways of expressing the same meaning. Consider the following example speech or expression: - "I want to fly to Dallas from Reno that makes a stop in Las Vegas." - "Make a reservation to Dallas from Reno with a stop in Las Vegas." - "Depart Reno for Dallas with a Las Vegas stopover." - "I am currently in Reno and have my next client meetings in Dallas so I need a flight reservation, but I also want to have a stop in Las Vegas." Examples of sets of entities and intents for the above speech or expressions are shown in Table 2. In one or more embodiments, a system, method, or technique, or a combination thereof, can improve an E2E SLU model to perform prediction of a set of semantic entities. All of the above examples have generally the same meaning, and they can be mapped to the same simplified semantic representation, i.e., a set of entities and utterance-level intents, an example of which is shown in Table 2. [Table 2]
[0030] In the E2E SLU system shown in Figure 1, training can be performed using semantic entities and utterance-level intent without verbatim transcripts. The set of entities to be modeled can be given in utterance order (e.g., the order in which the entities are uttered in the corresponding speech), or the order can be unspecified.
[0031] ASR techniques generate verbatim transcripts and target word-for-word accuracy. SLU systems attempt to infer the correct meaning (e.g., Table 2) from an utterance and do not need to consider factors such as entity order or word choice. For example, in one embodiment, an SLU model may be trained to output all spoken words, such as a complete transcript, while the success of the SLU model can be determined by the set of semantic labels and values extracted by the SLU. An exemplary measure of the success of an SLU model may be the F1 score. If the SLU model outputs all words, it can also be used as an ASR, and the success of such an SLU model can be measured by the word error rate (WER). In one aspect, SLU can be viewed as a set prediction problem as opposed to a sequence prediction problem.
[0032] End-to-end sequence-to-sequence models can be flexibly trained against various types of ground truth. For speech recognition, the training data is speech with verbatim transcripts, shown as example (0) in Table 3. To train an SLU model, sentences are annotated with entity labels, as shown in example (1) in Table 3, along with labels that represent the intent of the entire utterance. In example (2) in Table 3, entities are presented in natural speaking order for training. Example (2) in Table 3 differs from example (1) in that all words that are not part of the entity are filtered out. Entities can be considered more important key phrases; however, other words also play an important role. For example, "to" and "from" are clearly important for determining whether a city is a destination city or a departure city. Although the SLU model may not output such words, the speech signals corresponding to these words can help the SLU model output the correct entity labels. [Table 3]
[0033] In one aspect, if the pronunciation order of a set of entities is unknown in the training data, the task can be considered a set prediction task. Since training a sequence-to-sequence model requires a target output sequence, in example (3), the ground truth can be standardized using entities sorted alphabetically by label name (e.g., stoploc.city name).
[0034] While traditional ASR or NLU models can be difficult to train with this type of data in a cascaded SLU system, such data types can still be abundant and much less costly to collect. Consider recording a human agent speaking with a client to book a trip, along with the actions taken by the agent, such as filling out a web form or other database transaction record that can be converted into ground truth, as in example (3). To train ASR and NLU separately, accurate verbatim transcription of the speech data can require 5–10 times the real-time speed of a human transcriber, plus the additional cost of labeling entities. In contrast, transaction records containing a set of entities can be obtained from the process of helping a customer, avoiding the additional cost.
[0035] In one aspect, the SLU system can be trained to predict a set of entities from speech. In one embodiment, the one or more speech models include an attention-based encoder-decoder model, such as, but not limited to, a recurrent neural network (RNN)-transducer (RNN-T), one with an LSTM encoder, one with a conformal encoder, or both. Due to the monotonic input-output alignment constraint, an RNN-T is likely to have difficulty learning from ground truth where the entities are not in utterance order. Attention-based models are likely to learn better because they can focus on relevant parts of the speech signal that may not be in sequential order. As described more fully below, in one or more embodiments, for set prediction, data augmentation and explicit alignment of entities can be used as a method to improve performance.
[0036] In one aspect, one or more modeling techniques disclosed herein can handle various semantic entities and intent sequences on the output label side. In one aspect, it is not necessary to assume that the SLU training label sequence is in utterance order. For example, the systems and methods disclosed herein can treat the target output sequence as a set.
[0037] In one aspect, the data augmentation method disclosed herein is performed at the output label level. The meaning of the input speech signal generated by the E2E SLU system can be expressed as a set of entities and intents, e.g., not necessarily a complete verbatim transcript. Identifying such a set of SLU tokens can be treated in a manner similar to keyword searching, in which a specific word or set of words is detected within a spoken utterance. Another problem that the systems and / or methods disclosed herein can address is how an SLU model can automatically perform this task without an explicit stage of keyword searching or discovery of SLU tokens. In one or more embodiments, the systems and / or methods may implement set-based data augmentation and / or set reordering to train the acoustic model.
[0038] In one aspect, the end-to-end model directly maps a sequence of acoustic features to a sequence of symbols without conditional independence assumptions. Alignment problems that exist due to input and target sequence lengths can be handled differently depending on the end-to-end approach. Examples of models that can be used for SLU include the following models for speech recognition:
[0039] RNN transducer model
[0040] RNN-T introduces special blank symbols and a lattice structure to align input and output sequences. The model can include three distinct subnetworks: a transcription network, a prediction network, and a combination network. The transcription network generates acoustic embeddings, while the prediction network is similar to a language model in that it conditions on previous non-blank symbols generated by the model. The combination network combines the two embedding outputs to generate a posterior distribution over the blank output symbols. An RNN-T-based SLU model can be created in two stages: by building an ASR model and then fitting the ASR model to the SLU model through transfer learning. In the first stage, the model is pre-trained on a large amount of general-purpose ASR data to enable the model to effectively learn how to transcribe speech into text. Given that the target in the pre-training stage is only grapheme / phonetic tokens, semantic labels are added as additional output targets before the model is fitted using SLU data. These new SLU labels are integrated by resizing the output and embedding layers of the prediction network to include the additional symbols. The new network parameters are randomly initialized, while the remaining ones are initialized from a pre-trained network. Once the network is modified, it is subsequently trained on the SLU data in a similar phase to training an ASR model.
[0041] Attention-based LSTM encoder-decoder model
[0042] This model estimates sequence posterior probabilities without introducing explicit hidden variables. The alignment problem is handled internally by dynamically squashing the input stream using a trainable attention mechanism in sync with the output sequence. The model is capable of handling problems involving non-monotonic alignment. The structures of the RNN-T and attention encoder-decoder models are similar. The attention-based model also includes an LSTM-based encoder network to generate acoustic embeddings. The single-head LSTM decoder includes components such as a language model and an attention module that combines the acoustic embedding and the symbol sequence embedding into a context vector and predicts the next symbol. Adapting the attention-based encoder-decoder ASR model to SLU can be performed using the same steps as those described for RNN-T.
[0043] Attention-based conformer encoder-decoder model
[0044] In one embodiment, an attention mechanism can be added to the encoder of the encoder-decoder model. The conformer is a combination of a convolutional neural network and a self-attention based transformer that can achieve speech recognition results. In one embodiment of the attention model, the encoder can be the conformer. In another embodiment, the decoder can be the conformer.
[0045] In various embodiments, an end-to-end spoken language understanding (SLU) system (e.g., as shown in FIG. 1 ) can be trained using speech paired with ground truth semantic entities provided in an unspecified order (e.g., not necessarily in utterance order), e.g., using data in which the semantic entities are provided in an unspecified order. In one embodiment, one or more SLU alignment methods can be provided to infer the utterance order of the semantic entities in the training data to prepare the data in utterance order. In one embodiment, a supplemental method of data augmentation can be provided in which semantic entities are presented in a random order during model pre-training to make the model insensitive to variations in entity order in the ground truth.
[0046] Advantageously, the systems and methods disclosed herein can enable lower-cost annotation; for example, the ground truth for training data can be semantic entities whose utterance order is unknown or unspecified. In one embodiment, end-to-end models, such as attention-based encoder-decoder models or recurrent neural network transducer (RNN-T) models, can be used to model semantic labels that are not directly tied to acoustic events present in a speech signal, even if the semantic entities given may not be in the utterance order during training. Beneficially, for example, the systems and methods disclosed herein can enable the use of monotonic (non-reordering) models, such as RNN-T models, that can be used for ASR and SLU, and can improve SLU performance (F1 score) even when the utterance order of the entities is unknown for the training data, e.g., improve SLU performance to performance similar to SLU trained on full transcripts or entities in utterance order.
[0047] In one embodiment, the SLU alignment method disclosed herein can include inferring the utterance order and reordering the set of semantic entities into the utterance order for SLU model training. In one embodiment, the set-based data augmentation technique disclosed herein can include creating random order variations of the uttered entities to make the SLU model more robust to the ordering of the entities in the ground truth for training.
[0048] Various methods can exist for SLU alignment. In one embodiment, an SLU alignment method that finds the root pronunciation order of a set of entities can utilize a procedure for keyword spotting. Acoustic keyword spotting can use a combination of multiple (e.g., two) types of acoustic models. For example, the keyword being searched for is modeled by its root pronunciation sequence, while all non-keyword speech is modeled by a garbage model. For example, a traditional hybrid ASR model can be used to build a model for the keyword being searched for as a concatenation of Hidden Markov Models (HMMs) corresponding to the constituent sounds in the keyword. A phone is a phonetic representation of a phoneme (an actual sound). The garbage model can be represented by a common phone of speech and background sounds, including silence. The method can then serialize these models together, i.e., first align the garbage model, then the keyword model, and finally the garbage model again, and then use the ASR model to force-align the speech and keyword models. This embodiment of the SLU alignment method places semantic entities in utterance order and can be used, for example, to improve set prediction for SLUs.
[0049] FIG. 2 shows an example HMM corresponding to the constituent phones in an example keyword. Reordering the set into voicing order, for example, using a hybrid ASR model, can include explicit keyword search-based alignment. In one embodiment, to find the approximate time for each entity value, the alignment method may build an HMM (garbage-keyword-garbage) and perform a forced alignment, for example, for the entity value "Newark" (VN = vocalized noise). In FIG. 2, the example keyword (entity value) is represented by its constituent phones at 204, 206, 208, and 210. The noise is represented at 202 and 212. Using the time information for each entity, the alignment method can reorder them into voicing order. For example, consider an example of a given set as follows: set:{{intent:flight}, {departDate:Sunday}, {fromCity:Philadelphia}, {toCity:Denver}}. The set can be sorted into utterance order based on the spoken utterance "I would like to make a reservation for a flight to Denver from Philadelphia on Sunday" as follows: Vocalization order: INT-flight Denver B-toCity Philadelphia B-fromCity Sunday B-departDate.
[0050] In another embodiment, the SLU alignment method can use attention values. In this embodiment, attention can be used to perform implicit internal alignment. The attention model can handle SLU entities in a non-spoken order, and single-head attention can have a sharp focus on spoken tokens at corresponding time positions in the acoustic feature stream. Based on this observation, the utterance order of the SLU phrases can be estimated. The method can then use heuristics to estimate the average time position for each SLU phrase when the utterance order of the phrases is unknown, and can calculate the average time position for each SLU phrase, thereby re-establishing the utterance order of the phrases.
[0051] For example, in this embodiment, the SLU alignment method may include training an attention-based model on the alphabetical ground truth and using an attention plot to determine the mean temporal position of each SLU phrase. In one embodiment, the following heuristic estimates the mean temporal position for each SLU phrase when the utterance order of the phrases is unknown:
number
[0052] For the set prediction problem, the system and / or method can be provided with a set of entities without knowing the speaking order. The set prediction problem refers to predicting a semantic representation (which can include intent and entities) of a given speech utterance or input speech utterance. For example, ground truth data (a set of entities given without knowing the speaking order) can be used to train an SLU model, e.g., a sequence-to-sequence model. In one embodiment, to train a sequence-to-sequence model, the system and / or method can optionally choose to standardize entity order, for example, by alphabetical sorting of label names (e.g., fromCity). To further improve robustness, the system and / or method can use or implement data augmentation that randomizes the order of entity and intent labels in the ground truth used to pre-train various E2E models. During this pre-training phase, the model can be presented with a different version of the ground truth at each epoch. By way of example, the following shows a randomized ordering of entity and intent labels that can be used, for example, to pre-train different ordered sequences to be used in different epochs (e.g., each epoch uses a different ordered sequence than the sequence used in another epoch):Sunday(B-departDate) Philadelphia(B-fromCity) Denver(B-toCity) INT_flight;Philadelphia(B-fromCity) INT_flight Sunday(B-departDate) Denver(B-toCity);INT_flight Denver(B-toCity) Sunday(B-departDate) Philadelphia(B-fromCity);etc. In the format of these example sets, the entity label is shown in parentheses after the entity value.The pre-training phase can be followed by a fine-tuning phase, in which the model is trained on ground truth with entities in alphabetical order. By exposing the model in the pre-training phase to many examples with entity order mismatch between the ground truth and the speech, model learning can be better during fine-tuning.
[0053] In one or more embodiments, a system and / or method may train a spoken language understanding system. SLU training data may be available as an unordered set of semantic entities (e.g., labels and values). In one or more embodiments, the system and / or method may sort the unordered set of semantic entities using an SLU alignment technique. In one embodiment, the SLU alignment technique for sorting data into utterance order includes an acoustic keyword spotting-based alignment scheme suitable for use with a hybrid speech recognition model. In one embodiment, the SLU alignment technique for sorting data into utterance order uses time markings derived from the attention mechanism of an end-to-end SLU model. In one or more embodiments, an attention model may be trained on the SLU data (having an unordered set of semantic entities) before being used to align and sort the data. This may be useful, for example, when the SLU data has an acoustic mismatch with the original speech model, e.g., noisy speech. In one or more embodiments, the system and / or method may use data reordered in utterance order to train the SLU system. In one or more embodiments, the system and / or method may pre-train the SLU model using a set-based data augmentation scheme for semantic entities. In one embodiment, the set-based data augmentation method may randomize the order of entities and intent labels in the available training data. In one or more embodiments, the system and / or method may train the SLU system using data reordered in utterance order after the SLU system has been pre-trained using the set-based data augmentation scheme.
[0054] The one or more SLU models can be trained, for example, using ground truth data that may be available. For example, the one or more SLU models may be trained based on an application-specific data corpus for a particular application, e.g., a particular domain.
[0055] By way of example, in an exemplary implementation in one embodiment, the SLU model (e.g., shown at 104 in FIG. 1 ) can be trained using data such as the Air Travel Information Systems (ATIS), a publicly available Linguistic Data Consortium (LDC) corpus. For example, there may be 4,976 training audio files (approximately 9.64 hours, 355 speakers) downsampled to 8 kHz and 893 test audio files (approximately 1.43 hours, 355 speakers). In this example, in one embodiment, to better train the E2E model, additional copies of the corpus can be created using rate / tempo perturbations, resulting in approximately 140 hours for training. In this example, in one embodiment, a second noisy ATIS corpus can be created by adding street noise of 5 dB to 15 dB signal-to-noise ratio (SNR) to clean recordings to simulate real-world operating conditions. This approximately 9.64 hours of noisy training data can also be expanded to approximately 140 hours via data augmentation. A corresponding noisy test set can also be prepared by impairing the original clean test set with additional street noise at 5 dB SNR. In one example, in one embodiment, intent recognition performance can be measured by intent accuracy, while slot-filling performance can be measured using the F1 score. When using speech input instead of text, words are predicted similarly and errors may occur. A true positive can have both the entity label and value being positive. For example, if the reference is toloc.city name:new york but the decoded output is toloc.city name:york, in one embodiment, both false negatives and false positives can be counted. The score does not need to be aware of the order of the entities and thus can be appropriate for predicting a "set of entities."
[0056] The following illustrates a use case for implementing SLU according to various embodiments. In one embodiment, SLU can be implemented using an RNN-T model. In one example, the RNN-T model for SLU can be pre-trained on task-dependent ASR data. For example, an ASR model trained on data from an available corpus can be used. A connectionist temporal classification (CTC) acoustic model can be trained and used to initialize the transcription network of the RNN-T model. For example, the RNN-T model can have a transcription network including six bidirectional LSTM layers with 640 cells per layer and per direction. The prediction network is a single unidirectional LSTM layer with 768 cells. The concatenation network maps the 1280-dimensional stacked encoder vector from the final layer of the transcription net and the 768-dimensional prediction net embedding to 256 dimensions, combines them by multiplying them, and applies a hyperbolic tangent. After this, the output is mapped to 46 logits, corresponding to 45 characters + space, followed by a softmax layer. In total, the model has 57M parameters. The model can be trained in PyTorch for 20 epochs. Other design and implementation choices, i.e., hyperparameters, are possible. During SLU fitting, new network parameters are randomly initialized, while the rest of the network is copied from a pre-trained network. Depending on the entity / intent task, additional output nodes (e.g., 151) can be added to the pre-trained network as entity / intent targets.
[0057] In another exemplary embodiment, the SLU can be implemented using an attention-based LSTM encoder-decoder SLU model. In the exemplary implementation, the attention-based E2E model can have a six-layer bidirectional LSTM encoder and a two-layer unidirectional LSTM decoder, modeling the posterior probabilities of approximately 600 BPE units augmented with entity and intent labels. The number of nodes in each LSTM layer can be 768 per direction. The first LSTM in the decoder operates only on the embedded predicted symbol sequence, while the second LSTM processes acoustic and symbol information using a single-head additive location-aware attention mechanism. The dropout and drop-connect rates are set to 0.3 in the encoder and 0.15 in the decoder. In addition, a zone-out with a probability of 0.10 can also be applied to the second LSTM layer in the decoder. Overall, the model can include 57M parameters. For ASR pre-training, the standard Switchboard-300 corpus can be used, and the model can be optimized from random initialization with AdamW in 450k update steps with batches of 192 sequences. SLU fine-tuning can be performed with batches of 16 sequences in approximately 100k steps. Other design and implementation choices, i.e., hyperparameters, are possible.
[0058] In another exemplary embodiment, SLU can be implemented using an attention-based conformer encoder-decoder SLU model. In one embodiment, the LSTM encoder can be replaced with a conformer encoder to add self-attention to the encoder. Overall, the model can include 68M parameters. Other design and implementation choices, i.e., hyperparameters, are possible.
[0059] Various experiments performed separately for SLU model training using 1) full verbatim transcripts with semantic labels for fitting an ASR model to the SLU model, 2) ground truth containing only entities in natural utterance order, and 3) ground truth containing entities in unknown utterance order using data augmentation or one or more pre-alignment methods, or a combination thereof, demonstrate that accurate SLU models can be trained using one or more methods described herein, even when using ground truth entities with unknown utterance order.
[0060] For example, the method can apply data augmentation, where the method may expose the model in a pre-training phase to ground truth having entities in various random orderings, followed by fine-tuning on entities in alphabetical order. For example, in an RNN-T model, random order augmentation can improve performance, such as in noisy conditions. For example, data augmentation can help the model compensate for various noise types that the model needs to deal with during training. While dealing with acoustic noise and similar label mismatch, data augmentation can help better regularize the model. Diverse data introduced through data augmentation can improve the model. For example, in the case of an attention-based encoder-decoder model, consistent improvement can be observed using random order data augmentation in both clean and noisy conditions. Similarly, using a conformer encoder, improvement can be seen in clean and noisy conditions.
[0061] The method can also infer the speaking order of entities by aligning them to speech, and then use this ground truth to train an SLU model. In one embodiment, for alignment, the method can be based on a hybrid ASR model. In another embodiment, for alignment, the method can be based on an attention model. For RNN-T models, inferring the speaking order of entities and training on aligned ground truth helps improve performance. For attention-based encoder-decoder models and conformer encoders, improvements can also be observed in training on aligned ground truth data.
[0062] In one embodiment, both data augmentation and pre-alignment methods can be used in training the SLU model, where the method may initialize with a model pre-trained on randomly ordered entities and apply fine-tuning on the reordered ground truth. Experiments have shown performance improvements for various types of SLU models, such as attention-based encoder-decoder models, conformer encoders, and RNN-T models, and also in clean and noisy conditions.
[0063] Spoken language understanding (SLU) systems can determine the meaning of an input speech signal, for example, while speech recognition aims to generate a verbatim transcript. End-to-end (E2E) speech modeling may train only on semantic entities, which are less expensive to collect than verbatim transcripts. The set prediction problem may have an unspecified entity order. In one or more embodiments, a system and / or method improves E2E models, such as RNN transducers and attention-based encoder-decoders, to be able to work with training data in which the training entity sequences may not necessarily be arranged in utterance order. In one or more embodiments, using data augmentation techniques in conjunction with implicit attention-based alignment methods to infer utterance order, the systems and methods disclosed herein can improve E2E models when the utterance order of entities is unknown.
[0064] 4 is a flow diagram illustrating a method for training an end-to-end speech language understanding machine learning model in one embodiment. The method may be performed by or implemented on one or more computer processors, e.g., hardware processors. At 402, the method may comprise receiving training data, e.g., pairs of speech and semantic representations associated with the speech. The semantic representations may include at least semantic entities associated with the speech, where the utterance order of the semantic entities is unknown. An example of a semantic representation associated with the speech is shown in Table 2 above. The semantic representations may also include intent labels associated with the speech. The speech may be received as a sound signal, an acoustic signal, or an audio signal.
[0065] At 404, the method may comprise rearranging the semantic entities into a utterance order of the speech using an alignment technique. In one embodiment, the SLU alignment disclosed herein may use a model to infer the utterance order and realign the training data. In one embodiment, the alignment technique may include acoustic keyword spotting used with a hybrid speech recognition model. For example, as described above with reference to FIG. 2, one embodiment of the alignment technique may include using a hybrid ASR with a hidden Markov model (HMM). The acoustic model of the HMM hybrid ASR may convert input speech or words into a pronunciation sequence. An example pronunciation sequence of a keyword is shown in FIG. 2. In one embodiment, the method comprises generating an HMM model for each keyword (e.g., semantic entity) in the speech, having pronunciation units in the sequence separated by vocalized noise. The method may align the HMM model (e.g., pronunciation units in the sequence) to the speech and extract or obtain an approximate time or temporal location for the keyword in the speech. The keywords (e.g., semantic entities) in the speech can then be ordered according to their temporal location in the speech, e.g., chronologically (earlier in time, earlier in order). In this way, the method may infer the utterance order of the semantic entities in the speech. This inferred utterance order of the semantic entities can be used in training the SLU model.
[0066] In another embodiment, the alignment technique involves using temporal markings derived from an attention model. This attention model can first be fitted to the domain SLU data, i.e., speech paired with ground truth where the order of semantic entities is unknown. For example, an attention-based speech recognition model or an SLU model can be modeled and / or implemented, from which an attention plot can be generated. For example, an attention model can be trained on alphabetical order to generate and use the attention plot to infer voicing order. An example of an attention plot is shown in FIG. 3. The attention plot shows attention values over time for each token assumed to be in the speech. For example, Byte Pair Encoding (BPE) subword units commonly used in speech recognition are shown. For example, decoding "D@@EN@@VER" allows the word "DENVER" to be constructed. Referring to the example plot shown in FIG. 3, "Sunday" occurs around the 8-second time mark, "Philadelphia" occurs around the 6-second to 8-second time mark, and "Denver" occurs between the 4-second and 6-second time marks. The attention plot can be used to calculate the maximum or average time mark or time markings for a particular word or semantic entity. For example, for "Sunday," all hypothetical time locations of the phonetic units of "Sunday" can be extracted and averaged to generate an approximate time marking for the word. The time of a keyword (e.g., a semantic entity) can be inferred based on such time marks or markings. For example, semantic entities can be ordered based on their time markings, e.g., in ascending order of time markings. Semantic entities ordered by the utterance order of speech can be used in training an SLU model.
[0067] In one aspect, the speech can include noisy speech data, and the attention model can be adapted to the noisy speech data.
[0068] At 406, the method may comprise training a speech language understanding machine learning model using pairs of speech and meaning representations with reordered semantic entities. The speech language understanding machine learning model is trained with the speech as input and the meaning representations as ground truth output so that, given new speech, the model is able to predict a meaning representation that corresponds to or is associated with the new speech. The meaning representation may include, for example, intent labels and semantic entities, which may represent the meaning of the speech.
[0069] In one embodiment, the method may also include expanding the received pairs of speech and semantic representations to include randomly ordered sequence variations of the semantic entities. The method may include pre-training a speech language understanding machine learning model using the expanded pairs of speech and semantic representations. The training at 406 then trains this pre-trained speech language understanding machine learning model using the reordered semantic entities.
[0070] In one embodiment, the pre-trained speech language understanding machine learning model can be further pre-trained, refined, or fine-tuned using the alphabetically arranged semantic entities, e.g., prior to training at 406. For example, parameters of the pre-trained speech language understanding machine learning model can be further adjusted based on training with the alphabetically arranged semantic entities. In this embodiment, training at 406 can then include training this fine-tuned speech language understanding machine learning model.
[0071] The spoken language understanding machine learning model can be a neural network, examples of which may include, but are not limited to, RNN-T and end-to-end encoder-decoder.
[0072] At 408, the trained speech language understanding machine learning model can be used or executed, where, given input speech (e.g., an acoustic signal), the trained speech language understanding machine learning model outputs or predicts a meaning representation associated with the speech, e.g., referred to as a set prediction, which includes predicted intent labels and semantic entities associated with the given speech. In one aspect, the training and execution of the trained model can be performed on a different processor (or set of processors) or the same processor (or the same set of processors). For example, the trained model can be imported or exported to and executed on a different processor than the one on which it was trained. The trained model can also be executed on the processor or set of processors on which it was trained.
[0073] 5 illustrates a method for training an end-to-end spoken language understanding system in one embodiment. The method may be performed by or implemented on one or more computer processors, e.g., hardware processors. At 502, training data may be received, which may include pairs of speech and semantic representations associated with the speech. The semantic representations may include at least semantic entities associated with the speech, where the utterance order of the semantic entities is unknown. An example of a semantic representation associated with speech is shown in Table 2 above. The semantic representations may also include intent labels associated with the speech. The speech may be received as a sound signal, an acoustic signal, or an audio signal.
[0074] At 504, the training data can be augmented by perturbing the semantic entities in the received training data to create random ordered sequence variations of the semantic entities. For example, as described above, consider the following semantic representation, i.e., a set including intent labels and entity labels and values, corresponding to the speech, "I want to fly to Denver from Philadelphia on Sunday." set:{{intent:flight}, {departDate:Sunday}, {fromCity:Philadelphia}, {toCity:Denver}}. The entities in speech order are: Vocalization order: INT-flight Denver B-toCity Philadelphia B-fromCity Sunday B-departDate.
[0075] The following set shows an example of a randomized order of entity and intent labels: Sunday(B-departDate) Philadelphia(B-fromCity) Denver(B-toCity) INT_flight; Philadelphia(B-fromCity) INT_flight Sunday(B-departDate) Denver(B-toCity); INT_flight Denver(B-toCity) Sunday(B-departDate) Philadelphia(B-fromCity).
[0076] At 506, a speech language understanding machine learning model (e.g., a neural network model) can be pre-trained using the augmented training data, where different randomly ordered sequence variations of semantic entities can be used in different epochs of training. In training, for example, a different randomized order of entities and intent labels can be used in each epoch. Given input speech, the speech language understanding machine learning model can be pre-trained to output intent labels and semantic entities associated with the given input speech.
[0077] At 508, the pre-trained speech language understanding machine learning model can be further fine-tuned using semantic entities in alphabetical order. Fine-tuning can include, for example, retraining the speech language understanding machine learning model using semantic entities from training data (received as part of the ground truth data) ordered alphabetically. For example, continuing with the above example, the pre-trained SLU ML model can be fine-tuned using the following alphabetical order of entities (e.g., entity labels can be arranged alphabetically): {INT_flight Sunday(B-departDate) Philadelphia(B-fromCity) Denver(B-toCity)}.
[0078] In one embodiment, at 510, the pre-trained speech language understanding machine learning model can be run with new input, e.g., a new speech utterance, so that the pre-trained speech language understanding machine learning model outputs semantic representations (e.g., SLU labels, such as intent labels and entity labels, and their values). In one embodiment, the pre-trained speech language understanding machine learning model can be further trained with an utterance order sequence of the semantic representations, e.g., as described with reference to FIG. 4. In another aspect, data augmentation for pre-training may use, e.g., only alphabetical ordering without random order sequence variations. Any one or more combinations of data augmentation may be used.
[0079] In one embodiment, the method may also include using an alignment technique to reorder the semantic entities into a speech order, e.g., as described with reference to 404 and 406 of FIG. 4, and further training a pre-trained spoken language understanding machine learning model using training data having the semantic entities reordered into the speech order. As described above, acoustic keyword spotting, e.g., used in conjunction with a hybrid speech recognition model, may be performed to reorder the semantic entities into the speech order. In another embodiment, for example, temporal markings derived from an attention model may be used to reorder the semantic entities into the speech order. In one embodiment, the attention model may be adapted to SLU labels (e.g., semantic entities).
[0080] 6 illustrates components of a system capable of training a spoken language understanding machine learning model or system, in one embodiment. One or more hardware processors 602, such as a central processing unit (CPU), a graphics processing unit (GPU), and / or a field programmable gate array (FPGA), an application-specific integrated circuit (ASIC), and / or another processor, are coupled to a memory device 604 and may generate predictive models and recommended communication opportunities. The memory device 604 may include random access memory (RAM), read-only memory (ROM), or another memory device and may store data and / or processor instructions for implementing various functions associated with the methods and / or systems described herein. The one or more processors 602 may execute computer instructions stored in the memory 604 or received from another computer device or medium. The memory device 604 may store instructions and / or data for the functions of the one or more hardware processors 602 and may include an operating system and other programs of instructions and / or data. The one or more hardware processors 602 may receive training data that may include, for example, pairs of speech and semantic representations corresponding to the speech, such as intent labels or semantic entities, or both. For example, the one or more hardware processors 602 may rearrange the semantic entities in the utterance order of the corresponding speech and generate and / or train a speech language understanding machine learning model using pairs of speech and semantic representations with the rearranged semantic entities. Given input speech, the speech language understanding machine learning model can be trained to predict or output semantic representations (e.g., intent labels and semantic entities) that correspond to or are associated with the given input speech.Training data may be stored in storage device 606 or received from a remote device via network interface 608 and temporarily loaded into memory device 604 to build or generate a trained model, i.e., a speech language understanding machine learning model. The trained model may be stored on memory device 604 for execution by, for example, one or more hardware processors 602. The one or more hardware processors 602 may be coupled to interface devices, such as network interface 608, for communicating with remote systems, for example, over a network, and to input / output interface 610 for communicating with input and / or output devices, such as a keyboard, mouse, display, and / or other devices.
[0081] 7 shows a schematic diagram of an exemplary computer or processing system on which a system in one embodiment may be implemented. The computer system is merely one example of a suitable processing system and is not intended to suggest any limitation as to the scope of use or functionality of embodiments of the methodologies described herein. The illustrated processing system may be operational with numerous other general-purpose or special-purpose computing system environments or configurations. Examples of well-known computing systems, environments, or configurations, or combinations thereof, that may be suitable for use with the processing system shown in FIG. 7 include, but are not limited to, personal computer systems, server computer systems, thin clients, thick clients, handheld or laptop devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputer systems, mainframe computer systems, and distributed cloud computing environments that include any of the above systems or devices.
[0082] A computer system may be described in the general context of computer system-executable instructions, such as program modules, being executed by the computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc. that perform particular tasks or implement particular abstract data types. The computer system may be practiced in a distributed cloud computing environment where tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computer system storage media, including memory storage devices.
[0083] Components of the computer system may include, but are not limited to, one or more processors or processing units 12, a system memory 16, and a bus 14 that couples various system components, including the system memory 16, to the processor 12. The processor 12 may include modules 30 that perform the methods described herein. The modules 30 may be programmed into integrated circuits in the processor 12, or may be loaded from the memory 16, the storage device 18, or the network 24, or a combination thereof.
[0084] Bus 14 may represent one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures, including, by way of example and not limitation, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MCA) bus, an Enhanced ISA (EISA) bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0085] The computer system may include a variety of computer system readable media, which may be any available media that can be accessed by the computer system and may include both volatile and nonvolatile media, and removable and non-removable media.
[0086] System memory 16 may include computer system-readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, or others. The computer system may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, storage system 18 may be provided for reading from and writing to non-removable, non-volatile magnetic media (e.g., a "hard drive"). Although not shown, a magnetic disk drive may be provided for reading from and writing to removable, non-volatile magnetic disks (e.g., a "floppy disk"), and an optical disk drive may be provided for reading from and writing to removable, non-volatile optical disks, such as CD-ROMs, DVD-ROMs, or other optical media. In such cases, each may be connected to bus 14 by one or more data media interfaces.
[0087] The computer system may communicate with one or more devices that allow a user to interact with the computer system, such as one or more external devices 26, such as a keyboard, pointing device, display 28, or any device that allows the computer system to communicate with one or more other computing devices (e.g., a network card, a modem, etc.), or a combination thereof. Such communication may occur via input / output (I / O) interface 20.
[0088] Still further, the computer system can communicate with one or more networks 24, such as a local area network (LAN), a general wide area network (WAN), or a public network (e.g., the Internet), or combinations thereof, via a network adapter 22. As shown, the network adapter 22 communicates with other components of the computer system via a bus 14. Although not shown, it should be understood that other hardware and / or software components can be used in conjunction with the computer system. Examples include, but are not limited to, microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data archive storage systems, and the like.
[0089] While the present disclosure may include references to cloud computing, it is understood in advance that implementation of the teachings described herein is not limited to a cloud computing environment. Rather, embodiments of the present invention may be implemented in conjunction with any other type of computing environment now known or later developed. Cloud computing is a service delivery model for enabling convenient, on-demand network access to a shared pool of configurable computing resources (e.g., networks, network bandwidth, servers, processing, memory, storage, applications, virtual machines, and services) that can be rapidly provisioned and released with minimal administrative effort or interaction with a service provider. This cloud model may include at least five characteristics, at least three service models, and at least four deployment models.
[0090] The characteristics are as follows:
[0091] On-Demand Self-Service: Cloud consumers can unilaterally provision computing capacity, such as server time and network storage, automatically as needed, without the need for human interaction with the service provider.
[0092] Wide network access: This capability is available over the network and accessed through standard mechanisms that facilitate use by heterogeneous thin or thick client platforms (eg, cell phones, laptops, and PDAs).
[0093] Resource Pooling: A provider's computing resources are pooled to serve multiple consumers using a multi-tenant model, with different physical and virtual resources dynamically allocated and reallocated according to demand. There is location independence in that consumers generally have no control or knowledge over the exact location of the provided resources, but may be able to specify location at a higher level of abstraction (e.g., country, state, or data center).
[0094] Rapid Elasticity: This capacity can be rapidly and elastically provisioned, in some cases automatically, to rapidly scale out, and rapidly released to rapidly scale in. To the consumer, the capacity available for provisioning often appears unlimited, and can be purchased in any quantity at any point in time.
[0095] Measured Services: Cloud systems automatically control and optimize resource usage by leveraging metering capabilities at a level of abstraction appropriate to the type of service (e.g., storage, processing, bandwidth, and active user accounts). Resource usage can be monitored, controlled, and reported, providing transparency to both providers and consumers of the services utilized.
[0096] The service model is as follows:
[0097] Software as a Service (SaaS): The consumer is offered the ability to use a provider's applications running on a cloud infrastructure. The applications are accessible from a variety of client devices through a thin-client interface such as a web browser (e.g., web-based email). The consumer does not manage or control the underlying cloud infrastructure, including the network, servers, operating systems, storage, or even individual application capabilities, with the possible exception of limited user-specific application configuration settings.
[0098] Platform as a Service (PaaS): The ability offered to consumers is to deploy applications they create or acquire, written using programming languages and tools supported by the provider, onto a cloud infrastructure. The consumer does not manage or control the underlying cloud infrastructure, including networks, servers, operating systems, or storage, but does control the deployed applications and, in some cases, the application hosting environment configuration.
[0099] Infrastructure as a Service (IaaS): The ability offered to consumers is to provision processing, storage, network, and other basic computing resources, on which they can deploy and run any software, which may include operating systems and applications. The consumer does not manage or control the underlying cloud infrastructure, but does control the operating systems, storage, deployed applications, and possibly limited control over selected networking components (e.g., host firewalls).
[0100] The deployment model is as follows:
[0101] Private Cloud: This cloud infrastructure operates solely for an organization. It may be managed by the organization or a third party and may exist on-premise or off-premise.
[0102] Community Cloud: This cloud infrastructure is shared by several organizations and supports a specific community with shared interests (e.g., mission, security requirements, policies and compliance considerations). The community cloud may be managed by those organizations or a third party and may exist on-premises or off-premises.
[0103] Public Cloud: This cloud infrastructure is made available to the general public or large industry groups and is owned by an organization that sells cloud services.
[0104] Hybrid Cloud: This cloud infrastructure is a composite of two or more clouds (private, community, or public) that remain distinct entities but are bound together by standard or proprietary technologies that allow for data and application portability (e.g., cloud bursting for load balancing between clouds).
[0105] Cloud computing environments are service-oriented with a focus on statelessness, low coupling, modularity, and semantic interoperability. At the core of cloud computing is an infrastructure that includes a network of interconnected nodes.
[0106] Referring now to FIG. 8 , an exemplary cloud computing environment 50 is shown. As shown, the cloud computing environment 50 comprises one or more cloud computing nodes 10 with which local computing devices used by cloud consumers, such as, for example, a personal digital assistant (PDA) or mobile phone 54A, a desktop computer 54B, a laptop computer 54C, or an automobile computer system 54N, or combinations thereof, may communicate. The nodes 10 may communicate with each other. The nodes 10 may be physically or virtually grouped in one or more networks (not shown), such as a private cloud, a community cloud, a public cloud, or a hybrid cloud, or combinations thereof, as described hereinabove. This enables the cloud computing environment 50 to provide infrastructure, platform, or software, or combinations thereof, as a service for which the cloud consumer does not need to maintain resources on their local computing device. It will be understood that the types of computing devices 54A-N shown in FIG. 8 are for illustrative purposes only, and that the computing node 10 and cloud computing environment 50 can communicate with any type of computerized device via any type of network, or network-addressable connection (e.g., using a web browser), or both.
[0107] Referring now to Figure 9, a set of functional abstraction layers provided by cloud computing environment 50 (Figure 8) is shown. It should be understood in advance that the components, layers, and functions shown in Figure 9 are intended to be merely exemplary, and embodiments of the present invention are not limited thereto. As shown, the following layers and corresponding functions are provided:
[0108] Hardware and software layer 60 comprises hardware and software components. Examples of hardware components include mainframe 61, RISC (reduced instruction set computer) architecture-based servers 62, servers 63, blade servers 64, storage devices 65, and networks and networking components 66. In some embodiments, software components comprise network application server software 67 and database software 68.
[0109] The virtualization layer 70 provides an abstraction layer within which examples of virtual entities can be provided: virtual servers 71, virtual storage 72, virtual networks including virtual private networks 73, virtual applications and operating systems 74, and virtual clients 75.
[0110] In one example, management layer 80 may provide the functions described below. Resource provisioning 81 provides dynamic procurement of computing and other resources utilized to execute tasks within the cloud computing environment. Metering and pricing 82 provides cost tracking as resources are utilized within the cloud computing environment and billing or invoicing for the consumption of these resources. In one example, these resources may include application software licenses. Security provides identity verification for cloud consumers and tasks, as well as protection for data and other resources. User portal 83 provides access to the cloud computing environment for consumers and system administrators. Service level management 84 provides cloud computing resource allocation and management so that required service levels are met. Service level agreement (SLA) planning and fulfillment 85 provides advance arrangements and procurement of cloud computing resources where future requirements are anticipated according to SLAs.
[0111] Workload tier 90 provides examples of functions for which a cloud computing environment may be utilized. Examples of workloads and functions that may be provided from this tier include mapping and navigation 91, software development and lifecycle management 92, virtual classroom instruction delivery 93, data analytics processing 94, transaction processing 95, and spoken language understanding model processing 96.
[0112] The present invention may be a system, method, or computer program product, or combination thereof, at any possible level of technical detail of integration. The computer program product may include a computer-readable storage medium (or media) having computer-readable program instructions that cause a processor to perform aspects of the present invention.
[0113] A computer-readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The computer-readable storage medium may be, for example, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the foregoing. A non-exhaustive list of more specific examples of computer-readable storage media includes the following: portable computer diskettes, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), static random access memory (SRAM), portable compact disk read-only memory (CD-ROM), digital versatile disk (DVD), memory sticks, floppy disks, mechanically encoded devices such as punch cards or ridge structures in grooves that record instructions, and any suitable combination of the foregoing. Computer-readable storage medium, as used herein, should not be construed as a transitory signal per se, such as an electric wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse passing through a fiber optic cable), or an electrical signal transmitted through a wire.
[0114] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device or to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, or a wireless network, or a combination thereof. The network may include copper transmission cables, optical fiber transmissions, wireless transmissions, routers, firewalls, switches, gateway computers, or edge servers, or a combination thereof. A network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to a computer-readable storage medium in the respective computing / processing device for storage.
[0115] The computer-readable program instructions for carrying out the operations of the present invention may be either assembler instructions, instruction set architecture (ISA) instructions, machine instructions, machine-dependent instructions, microcode, firmware instructions, state setting data, configuration data for an integrated circuit, or source or object code written in any combination of one or more programming languages, including object-oriented programming languages such as Smalltalk®, C++, etc., and procedural programming languages such as the “C” programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partially on the user's computer as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be to an external computer (e.g., via the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA) may execute computer readable program instructions to personalize the electronic circuitry by utilizing state information of the computer readable program instructions to perform aspects of the present invention.
[0116] Aspects of the present invention are described herein with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer-readable program instructions.
[0117] These computer-readable program instructions may be provided to a processor of a computer or other programmable data processing apparatus to produce a machine, whereby the instructions, executed by the processor of the computer or other programmable data processing apparatus, create means for implementing the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams. These computer-readable program instructions may also be stored on a computer-readable storage medium, whereby the instructions can instruct a computer, programmable data processing apparatus or other device, or combination thereof, to function in a particular manner, such that the computer-readable storage medium having the instructions stored thereon comprises an article of manufacture including instructions that implement aspects of the functions / acts specified in one or more blocks of the flowcharts and / or block diagrams.
[0118] The computer-readable program instructions may also be loaded into a computer, other programmable data processing apparatus, or other device to cause a series of operational steps to be executed on the computer, other programmable apparatus, or other device to generate a computer-implemented process, whereby the instructions executing on the computer, other programmable apparatus, or other device implement the functions / operations specified in one or more blocks of the flowcharts or block diagrams, or both.
[0119] The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of instructions, including one or more executable instructions, that implement the specified logical function(s). In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks shown in succession may actually be implemented as a single step, or may be executed concurrently, substantially concurrently, partially, or fully overlapping in time, or the blocks may even be executed in the reverse order, depending on the functionality involved. It should also be noted that each block of the block diagrams and / or flowchart diagrams, and combinations of blocks in the block diagrams and / or flowchart diagrams, may be implemented by a dedicated hardware-based system that performs the specified functions or operations or executes a combination of dedicated hardware and computer instructions.
[0120] The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. As used herein, the term "or / or" is an inclusive operator and can mean "and / or" unless the context expressly or clearly dictates otherwise. It will be further understood that as used herein, the terms "comprise," "comprises," "comprising," "include," "includes," "including," or "having," or combinations thereof, can specify the presence of stated features, integers, steps, operations, elements, or components, or combinations thereof, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components, or groups or combinations thereof. As used herein, the phrase "in one embodiment" may, but does not necessarily, refer to the same embodiment. As used herein, the phrase "in one embodiment" may, but does not necessarily refer to the same embodiment. As used herein, the phrase "in another embodiment" may, but does not necessarily refer to a different embodiment. Furthermore, embodiments and / or components of embodiments may be freely combined with each other unless they are mutually exclusive.
[0121] The corresponding structure, material, acts, and equivalents of all means or steps in the following claims and functional elements (if any) are intended to include any structure, material, or acts for performing a function in combination with other claimed elements as specifically claimed. The description of the present invention has been presented for purposes of illustration and description, but is not intended to be exhaustive or to limit the invention to the precise form disclosed. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the invention. The embodiments have been chosen and described to best explain the principles and practical application of the invention and to enable those skilled in the art to understand the invention in various embodiments with various modifications as adapted to the particular uses contemplated.
Claims
1. receiving, by one or more computers, a pair of speech and a semantic representation associated with the speech, the semantic representation including at least semantic entities associated with the speech, the utterance order of the semantic entities being unknown; the one or more computers reordering the semantic entities into the speaking order of the speech using an alignment technique; training, by the one or more computers, a speech language understanding machine learning model using the pairs of speech and meaning representations having the reordered semantic entities; A computer-implemented method comprising:
2. The computer-implemented method of claim 1 , wherein the alignment technique comprises acoustic keyword spotting used in conjunction with a hybrid speech recognition model.
3. The computer-implemented method of claim 1 , wherein the alignment technique includes using temporal markings derived from an attention model.
4. The computer-implemented method of claim 3 , wherein the speech comprises noisy speech data, and the attention model is adapted to the noisy speech data by the one or more computers.
5. The one or more computers further comprise a step of expanding the received pairs of speech and meaning representations to include random order sequence variations of the semantic entities, the training step comprising: the one or more computers pre-training the spoken language understanding machine learning model using the extended pairs of speech and semantic representations; training the pre-trained speech language understanding machine learning model using the reordered semantic entities; The computer-implemented method of claim 1 , comprising:
6. The one or more computers further comprise a step of expanding the received pairs of speech and meaning representations to include random order sequence variations of the semantic entities, the training step comprising: the one or more computers pre-training the spoken language understanding machine learning model using the extended pairs of speech and semantic representations; the one or more computers fine-tuning the pre-trained speech language understanding machine learning model using the semantic entities in alphabetical order; training the one or more computers using the reordered semantic entities to train the fine-tuned speech language understanding machine learning model; The computer-implemented method of claim 1 , comprising:
7. The computer-implemented method of claim 1 , wherein the spoken language understanding machine learning model comprises a neural network.
8. A computer-implemented method as described in any one of claims 1 to 4, further comprising the step of the one or more computers inputting a given speech into the trained speech language understanding machine learning model, and the trained speech language understanding machine learning model outputting a set prediction including intent labels and semantic entities associated with the given speech.
9. a processor; a memory device coupled to the processor; A system comprising: The processor includes at least receiving training data including pairs of speech and semantic representations associated with the speech, the semantic representations including at least semantic entities associated with the speech, the utterance order of the semantic entities being unknown; augmenting the training data by perturbing the semantic entities to create random ordered sequence variations of the semantic entities; pre-training a speech language understanding machine learning model using the augmented training data, wherein different random order sequence variations of the semantic entities are used in different epochs of training, and given input speech, the speech language understanding machine learning model is pre-trained to output intent labels and semantic entities associated with the given input speech; and A system that is configured to:
10. 10. The system of claim 9, wherein the processor is further configured to fine-tune the pre-trained spoken language understanding machine learning model using the semantic entities in alphabetical order.
11. The processor: reordering the semantic entities into speaking order of the speech using alignment techniques; further training the pre-trained speech language understanding machine learning model using the pairs of speech and meaning representations having the reordered semantic entities; and 11. The system of claim 9 or 10, further configured to:
12. The system of claim 11 , wherein the alignment technique includes acoustic keyword spotting used in conjunction with a hybrid speech recognition model.
13. The system of claim 11 , wherein the alignment technique includes using temporal markings derived from an attention model.
14. The system of claim 13 , wherein the speech comprises noisy speech data, and the attention model is adapted to the noisy speech data.
15. The system of claim 9 , wherein the spoken language understanding machine learning model comprises a neural network.
16. On the device, receiving a pair of speech and a semantic representation associated with the speech, the semantic representation including at least semantic entities associated with the speech, the utterance order of the semantic entities being unknown; reordering the semantic entities into the speaking order of the speech using an alignment technique; training a speech language understanding machine learning model using the pairs of speech and meaning representations with the reordered semantic entities; A computer program to perform the following.
17. 17. The computer program of claim 16, wherein the alignment technique comprises acoustic keyword spotting used in conjunction with a hybrid speech recognition model.
18. The computer program product of claim 16 , wherein the alignment technique includes using temporal markings derived from an attention model.
19. The computer program further includes: expanding the received pairs of speech and meaning representations to include randomly ordered sequence variations of the semantic entities; pre-training the spoken language understanding machine learning model using the extended pairs of speech and semantic representations; Then run 17. The computer program of claim 16, wherein the computer program causing the device to perform a procedure for training the speech language understanding machine learning model comprises the computer program causing the device to perform a procedure for training the pre-trained speech language understanding machine learning model using the reordered semantic entities.
20. 20. The computer program of claim 19, wherein the computer program further causes the device to fine-tune the pre-trained speech language understanding machine learning model using the semantic entities in alphabetical order, and wherein causing the device to train the speech language understanding machine learning model comprises causing the device to train the fine-tuned speech language understanding machine learning model using the reordered semantic entities.
Citation Information
Patent Citations
Method, apparatus, device and medium for identifying key phrase in audio
JP2020030408A