Abstract:
This invention is directed to the selection of superwords based on a criterion relevant to speech recognition and understanding. Superwords are used to refer to those word combinations which are so often spoken that are recognized or should have models for such combinations reflected in its grammar. The selected superwords are placed in a lexicon is then used by a speech recognizer to improve recognition of input speech utterances for the proper routing of a user&#39;s task objectives.

Description:
This application is related to co-pending U.S. patent application Ser. No. 08/960,291, entitled &#34;Automatic Generation of Superwords&#34; (Attorney Docket No. JAO 37572), co-filed with this application, and incorporated herein by reference. 
    
    
     BACKGROUND OF THE INVENTION 
     1. Field of Invention 
     This invention relates to the selection of superwords and meaningful phrases based on a criterion relevant to both speech recognition and understanding. 
     2. Description of Related Art 
     Currently, there are applications of speech recognition that provide a methodology for automated task selection where the targeted task is recognized in the natural speech of a user making such a selection. A fundamental aspect of this method is a determination of a set of meaningful phrases. Such meaningful phrases are determined by a grammatical inference algorithm which operates on a predetermined corpus of speech utterances, each such utterance being associated with a specific task objective, and wherein each utterance is marked with its associated task objective. 
     The above features are addressed in U.S. patent application Ser. No. 08/528,577, &#34;Automated Phrase Generation&#34;, and U.S. Pat. No. 5,675,707, &#34;Automated Call Routing System&#34;, both filed on Sep. 15, 1995, which are incorporated herein by reference. 
     The determination of the meaningful phrases used in the above application is founded in the concept of combining a measure of commonality of words and/or structure within the language--i.e., how often groupings of things co-occur--with a measure of significance to a defined task for such a grouping. That commonality measure within the language can be manifested as the mutual information in n-grams derived from a database of training speech utterances and the measure of usefulness to a task is manifested as a salience measure. 
     Mutual information (&#34;MI&#34;), which measures the likelihood of co-occurrence for two or more words, involves only the language itself. For example, given War and Peace in the original Russian, one could compute the mutual information for all the possible pairings of words in that text without ever understanding a word of the language in which it is written. In contrast, computing salience involves both the language and its extra-linguistic associations to a device&#39;s environment. Through the use of such a combination of MI and a salience factor, meaningful phrases are selected which have both a positive MI (indicating relative strong association among the words comprising the phrase) and a high salience value. 
     Such methods are based upon the probability that separate sets of salient words occur in the particular input utterance. For example, the salient phrases &#34;made a long distance&#34; would be determined as a meaningful phrases by that grammatical inference algorithm based on their individual mutual information and salience values. 
     In addition, while the task goal involves recognizing meaningful words and phrases, this is typically accomplished via a large vocabulary recognizer, constrained by stochastic language models, such as an n-gram model. One approach to such modeling to constrain the recognizer is to train a stochastic finite state grammar represented by a Variable Ngram Stochastic Automaton (VNSA). A VNSA is a non-deterministic automaton that allows for parsing any possible sequence of words drawn from a given vocabulary. 
     Traditionally, such n-gram language models for speech recognition assume words as the basic lexical unit. The order of a VNSA network is the maximum number of words that can be predicted as occurring after the occurrence of a particular word in an utterance. Thus, using conditional probabilities, VNSAs have been used to approximate standard n-gram language models yielding similar performance to standard bigram and trigram models. However, when the &#34;n&#34; in the n-gram becomes large, a database for predicting the occurrence of words in response to the appearance of a word in an utterance, becomes large and unmanageable. In addition, the occurrence of words which are not strongly recurrent in the language may be assigned mistakenly high probabilities, and thus generating a number of misdetections in recognized speech. 
     Thus, a method to create longer units for language modeling is needed in order to promote the efficient use of n-gram language models for speech recognition and for using these longer units along with meaningful words and phrases for language recognition and understanding. 
     SUMMARY OF THE INVENTION 
     A method and apparatus for using superwords and meaningful phrases for both speech recognition and understanding is provided. For superwords, a training corpus T is initialized with the initial language model corresponding to a stochastic n-gram model and words. Rank candidate symbol pairs are generated based on a correlation coefficient where the probability of a word occurring denotes the probability of further words occurring sequentially. The resulting superword is selected only if the probabilities occur sequentially and the training set perplexity decreases by the incorporation of the larger lexical unit (or superword) into the model. 
     In addition, meaningful words and phrases are selected which have both a mutual information value that indicates a relatively strong association among the words comprising the phrase, and a high salience value. The selected meaningful words and phrases are input along with the superwords into a common lexicon which provides input to a speech recognizer and interpretation module. The lexicon consists of all of the meaningful words and phrases, existing superwords, and newly generated superwords. The language model is then retrained using this lexicon. 
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS 
     The invention is described in detail with reference to the following drawings wherein like numerals reference like elements, and wherein: 
     FIGS. 1A and 1B are flowcharts for generating and selecting superwords and meaningful phrases; 
     FIG. 2 is a chart showing the false rejection rate for entropy-based and salience-based phrases; 
     FIG. 3 is a block diagram of a speech recognizer; and 
     FIG. 4 is a functional block diagram of system in which the method for selecting superwords may be employed. 
    
    
     DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS 
     N-gram language models for speech recognition are currently implemented by using words as the basic lexical unit. However, there are several motivations for choosing longer units for language modeling. First, not all languages have a predefined word unit (e.g. Chinese). Second, many word groups or phrases are strongly recurrent in the language and can be thought as a single lexical entry, e.g. `area code`, `I would like to` or `New Jersey`. Third, for any model of a fixed order, we can selectively enhance the conditional probabilities by using variable length units to capture long spanning dependencies. The use of these longer lexical units is the basis for the generation of superwords. 
     The method for automatically generating and selecting such variable length units, or superwords is based on minimization of the language perplexity PP (T) on a training corpus T. 
     Perplexity can be described as follows. Natural language can be viewed as an information source W whose output is a word sequence. Thus, we can associate W to the entropy H(W) as: ##EQU1## where w 1 ,w 2 , . . . , w n  is the actual text (corpus) 
     Perplexity (PP) is used in speech recognition to measure the difficulty of a recognition task relative to a given language model. In particular, perplexity measures the &#34;Average Branching Factor&#34; (i.e., the average number of words, symbols or sounds that can follow any given word, symbol or sound). The larger the number of words that could possibly follow one or more words, symbols or sounds, the higher the perplexity value. For example, there are many more words that could follow the word &#34;to&#34; (higher perplexity value) than can follow the phrase &#34;I would like to&#34; (lower perplexity value). 
     The Perplexity of a language model is defined as follows: 
     PP=2 LP   
     where LP is the logprob: ##EQU2## where n is the size of the corpus W=w 1 ,w 2 , . . . , w n  used to estimate PP and P (w 1 ,w 2 , . . . ,w n ) is the probability estimate of the corpus W. While there has been other research into automatically acquiring entropy-reducing phrases, this work differs significantly in the language model components and optimization parameters. 
     On the other hand, the determination of meaningful phrases used is founded in the concept of combining a measure of commonality of words and/or structure within the language--i.e., how often groupings of things co-occur--with a measure of significance to a defined task for such a grouping. That commonality measure within the language can be manifested as the mutual information in n-grams derived from a database of training speech utterances and the measure of usefulness to a task is manifested as a salience measure. 
     As shown in FIGS. 1A and 1B, the phrase acquisition method is an iterative process which generates a set of Entropy-based superwords (Ephr) and a set of Salience-based meaningful words and phrases (Sphr). In particular, given a fixed model order n and a training corpus T, the method proceeds as follows. 
     At step S100, the initial parameters are set so that K equals the number of superword candidates generated at each iteration, and M equals the number of iterations, T 11 , is set as the initial training corpus T, and λ 11  is set as the language model of order n corresponding to a stochastic n-gram model on words trained from that corpus. At step S105, a counter m is advanced from 1 to M, M being the number of iterations set in the parameters at step S100. 
     At step S110, for each iteration, candidate symbol-pairs (x,y) are ranked and generated based on a correlation coefficient 
     
         ρ(x,y)=P(x,y)/[P(x)+P(y)]                              (3) 
    
     where P(x) denotes the probability of the event x and P(x,y) denotes the probability of the symbols x and y occurring sequentially. At the first iteration, x and y are both words, in subsequent iterations they are potentially larger units. Observe that 0≦ρ(x,y)≦0.5. This correlation measure provides advantages with respect to ease of scaling and thresholding. 
     At step S115, a counter is advanced for each candidate phrase so that k=1 to K, where K is the set of superword candidates. At step S120, the current training corpus T m ,k-1 is filtered by replacing each occurrence of a superword with the superword unit (x --  y) k . The new filtered superword set is denoted by T mk . 
     At step S125, a new language model (still of order n) is trained from T mk . The newly trained model is denoted by λ mk . At step S130, a test is performed to determine whether adding the superword candidate decreases perplexity (i.e., whether PP(λ mk , T mk )&lt;PP (λ m ,k-1, T m ,k-1)). If perplexity is decreased, the process is continued. If perplexity is not decreased, the superword candidate is rejected at step S135 by setting T mk  =T m ,k-1. Thus, a phrase x --  y is selected only if P(x,y)≡P(x)≡P(y) (i.e., P(y|x) ≡I) I and the training set perplexity is decreased by incorporating this larger lexical unit into the model. 
     At step S140, the method tests whether any additional superword candidates, k, are required to be examined. At step S145, after all of the superword candidates are examined, the next iteration is performed, m, until m=M. The resulting set of superwords generated is designated as Ephr. 
     Next, at step S150, a set of salience-based phrases Sphr are selected as candidate phrases. At step S155, the training corpus T 1  is initialized and set as T MK . At step S160, a counter m is advanced from 1 to M, M being the number of iterations to be performed for each candidate phrase in Sphr. 
     At step S165, the current training corpus T m  is filtered by replacing each occurrence of the phrase with the phrase unit (x --  y) m . This new filtered set is denoted by T m+1 . At step S170, the next candidate phrase is retrieved until m=M. The resulting set of salience-based meaningful phrases is designated Sphr. 
     Finally, at step S175, a final language model from the filtered corpus T M  plus the original T is trained with the lexicon comprising all original words plus the phrases contained in the sets Ephr and Sphr. This preserves the granularity of the original lexicon, generating alternate paths comprising both the new phrases plus their original word sequences. i.e., if the words &#34;long&#34; and &#34;distance&#34; only occur together in the corpus leading to the acquisition of the phrase &#34;long --  distance&#34;, this final step preserves the possibility of the recognized words occurring separately in some test utterance. 
     A decision is then made as to how to classify an utterance in a particularly straightforward manner. A speech recognizer is applied to an utterance, producing a single best word recognition output. This ASR output is then searched for occurrences of the salient phrase fragments. In case of fragment overlap, some parsing is required. The method for parsing is a simple one in that longer fragments are selected over shorter ones proceeding left to right in the utterance. This yields a transduction from the utterance s to a sequence of associated call-types. To each of these fragments ƒ i  is associated the peak value and location of the a posteriori distribution. 
     
         P.sub.i =max.sub.k P(C.sub.k |ƒ.sub.i)   (4) 
    
     
         k.sub.i =arg max.sub.k P(C.sub.k |ƒ.sub.i)(5) 
    
     Thus, for each utterance s we have a sequence {ƒ i  k i , p i  }. The decision rule is to select the call-type of the fragment with maximum p i , i.e. select C K (s) where 
     
         i(s)=arg max.sub.i p.sub.i                                 (6) 
    
     
         K(s)=k.sub.i(s)                                            (7) 
    
     If this overall peak is less than some threshold, P T , then the utterance is rejected and classified as other, i.e. if p i (s) &lt;P r . 
     FIG. 2 shows the difference in the &#34;False Rejection Rate&#34; (the number of transactions misdirected or misunderstood by a machine based on inputs from a user) for speech recognizers using a lexicon with generated superwords versus a lexicon using generated superwords and meaningful phrases. The lexicon containing the generated superwords plus meaningful phrases produces fewer false rejections than the lexicon with only generated superwords and therefore leads to better understanding of a user&#39;s language patterns. 
     FIG. 3 shows a configuration for a Speech Recognizer 315 receiving both superwords and meaningful phrases. Both the Meaningful Phrase Selector 300 and the Superword Selector 305, are trained using test speech utterances and select meaningful phrases and superwords in accordance with the methods set forth above. Once the meaningful phrases and superwords have been selected, they are input to a Lexicon 310. The Lexicon 310 is essentially a standard database and can be stored in any known internal or external memory device. The Lexicon 310 serves as a source of meaningful phrases and superwords which the Speech Recognizer 315 looks for in input speech. The Speech Recognizer 315 can be any standard speech recognizer known in the art. 
     FIG. 4 shows a structure in which the resulting lexicon of meaningful phrases and superwords may be implemented. As can be seen from the drawing, the structure comprises two related subsystems: The Superword and Meaningful Phrase Generation Subsystem 400 and Input Speech Classification Subsystem 410. 
     The Superword and Meaningful Phrase Generation Subsystem 400 operates on a database or lexicon of a large number of utterances each of which is related to one of a predetermined set of routing objectives, where each such utterance is labeled with its associated routing objective. The operation of this subsystem is essentially carried out by Meaningful Phrase Selector 300 and Superword Selector 305 which select as outputs a set of meaningful phrases and superwords having a probabilistic relationship with one or more of the set of predetermined routing objectives with which the input speech utterances are associated. The selected meaningful phrases and superwords are then input into the Lexicon 310 which stores the meaningful phrases and superwords for use by the Input Speech Classification Subsystem 410. The operation of Meaningful Phrase Selector 300 and the Superword Selector 305 are generally determined in accordance with any known algorithm for selecting meaningful phrases and superwords including the methods disclosed herein. 
     Operation of Input Speech Classification Subsystem 410 begins with inputting a user&#39;s task objective request, in the caller&#39;s natural speech, to Input Speech Recognizer 315. The Input Speech Recognizer 315 may be of any known design and performs the function of recognizing, or spotting, the existence of one or more meaningful phrase in the input speech. As can be seen in the figure, the meaningful phrases and superwords developed by the Superword and Meaningful Phrase Generation Subsystem 400 are provided as an input to the Input Speech Recognizer 315 to define the routing objectives related to meaningful phrases and superwords and to establish the levels of probability for a relation of such input meaningful phrases and superwords to a particular routing objective. 
     The output of the Input Speech Recognizer 315, which includes the detected meaningful phrases and superwords appearing in the caller&#39;s routing objective request, is provided to Interpretation Module 420. The Interpretation Module 420 compiles a list of probable routing objectives based on the probabilistic relation between the recognized meaningful phrases and superwords and selected routing objectives. The Interpretation Module 420 then inputs a list of possible routing objectives to the Dialog Manager 430. In the Dialog Manager 430, a decision is made either to implement the chosen routing objective with an announcement to the caller that such an objective is being implemented (if only one objective is possible), or to seek additional information and/or confirmation from the caller (if none or more than one objective are possible). Dialog continues until either a clear decision can be made to implement a particular routing objective or a determination is made that no such decision is likely, in which case the caller is defaulted to an operator position. 
     While this invention has been described in conjunction with specific embodiments thereof, it is evident that many alternatives, modifications and variations would be apparent to those skilled in the art. Accordingly, preferred embodiments in the invention as set forth herein are intended to be illustrative, not limiting. Various changes may be made without departing from the spirit and scope of the invention as defined in the following claims.