Abstract:
A speech recognition system and technique of the acoustic/phonetic type is made speaker-independent and capable of continuous speech recognition during fluent discourse by a combination of techniques which include, inter alia, using a so-called continuously-variable-duration hidden Markov vodel in identifying word segments, i.e., phonetic units, and developing proposed phonetic sequences by a durationally-responsive recursion before any lexical access is attempted. Lexical access is facilitated by the phonetic transcriptions provided by the durationally-responsive recursion; and the resulting array of word candidates facilitates the subsequent alignment of the word candidates with the acoustic feature signals. A separate step is used for aligning the members of the candidate word arrays with the acoustic feature signals representative of the corresponding portion of the utterance. Any residual work selection ambiguities are then more readily resolved, regardless of the ultimate sentence selection technique employed.

Description:
TECHNICAL FIELD 
     This invention relates to speech recognition systems and more particularly to the types of such systems which are speaker independent. 
     BACKGROUND OF THE INVENTION 
     It has been generally recognized that speech recognition is the most difficult of the three generic kinds of problems in the speech processing area. Speech coding of course is by now the most commercial type of speech processing equipment; and there is also some commercial equipment for speech synthesis. 
     Nevertheless, the speech recognition problem has been intractable to a large degree. Most recognition systems have been restricted in their ability to recognize speech from different speakers or to recognize more than an extremely limited vocabulary in an extremely focused or task-directed environment. 
     It has also been widely recognized that it would be desirable to have a speech recognition system that was capable of continuous speech recognition. 
     In recent years several word-based continuous speech recognition systems have been built. For example, one such system that has been built is that described by S. E. Levinson and L. R. Rabiner &#34;A Task-Oriented Conversational Mode Speech Understanding System&#34;, Speech and Speaker Recognition, M. R. Schroeder, Ed., Kargar, Based Switzerland, pp. 149-96, 1985. That system and other similar systems recently developed are word-based in the first instance. While these systems have all been successful in their ability to accurately recognize speech in certain restricted ways, there is reason to believe that their use of words as the fundamental acoustic patterns precludes the possibility of relaxing the constraints under which they presently operate so that they can accept fluent discourse of many speakers over large vocabularies. 
     An often suggested alternative to the word-based approach is the so called acoustic/phonetic method in which a relatively few short-duration phonetic units, out of which all words can be constructed, are defined by their measurable acoustic properties. Generally speaking, speech recognition based on this method should occur in three stages. First, the speech signal should be segmented into its constituent phonetic units which are then classified on the basis of their measured acoustic features. Second, the phonetic units should then be combined to form words on some basis, using in part a lexicon which describes all vocabulary words in terms of the selected phonetic units. Third, the words should be combined to form sentences in accordance with some specification of grammar. 
     Several quite different embodiments of this basic methodology can be found in the literature if one is diligent to search for the less obvious aspects of some of the above components. See for example, the article by W. A. Woods, &#34;Motivation and Overview of SPEECHLIS: An Experimental Prototype for Speech Understanding Research&#34;, IEEE Transactions on Acoustics, Speech and Signal Processing, Vol. ASSP-23, No. 1, February 1975, pp. 2-10. All such systems are very complex systems in which the basic components as outlined above are always present yet sometimes in disguised form. The fact that all these elements aren&#39;t fully capable with respect to all syntax and with respect to all vocabulary means that they are very restricted in their use (e.g., task-oriented, as, for instance, retrieval of lunar rock sample information). 
     Accordingly, it is an object of this invention to provide an organization of such systems which is powerful in its ability to encompass all grammar and vocabulary and all speakers and is methodically organized so that it can be readily expanded. 
     It is a further object of this invention to provide an organization of such a system that handles durational variations in speech with facility and without the complexity of the so-called dynamic time-warping techniques. 
     BRIEF SUMMARY OF THE INVENTION 
     According to the present invention, an acoustic/phonetic speech recognition method of the type described above is adapted so that each step is duly responsive to the phonetic durational information that can be derived from the waveform of the utterance, as well as to likelihood signals for members of the arrays of candidate phonetic symbols and to the likelihood signals for members of the arrays of candidate words. 
     Further, according to a very significant feature of the present invention, the ability to make an appropriate choice among candidate words is improved by aligning, or comparing, the members of the candidate word arrays with the acoustic feature signals representative of the corresponding portions of the utterance. 
     The output of this word selection process consists of only the very best candidates for each word which are then input into the final sentence selection step as described at the outset. In general, it is necessary to input several candidates for each word to the sentence selection step because the final ambiguities in words, especially in the English language, can only be resolved by the grammatical rules that have to do with the formation of sentences. Nevertheless, any of the prior proposed techniques for applying rules of grammar to form phrases and sentences can be used in this final part of the apparatus. 
     My invention provides a powerful organization for further development, elaboration and expansion because, unlike the speech recognition systems described above, this one clearly and directly follows the outline of the acoustic/phonetic method as given above and is more capable of being implemented in the context of the most complicated applications. The directness and simplicity of the implementation derives from the use of the continuously-variable-duration hidden Markov model as a model of the acoustic/phonetic structure of the language, instead of the less comprehensive set of phonological rules used in the prior art. The term &#34;Markov&#34; here refers to the probabilistic and not directly observable events which underlie the speech signal. 
     The continuously-variable-duration hidden Markov model employed in this invention represents the acoustic/phonetic structure of speech, rather than representing words directly. The phonetic units are identified with the unobservable states of the underlying Markov chain. The other parameters of the system are organized so that a dynamic programming algorithm can be used to obtain a phonetic transcription of an utterance. 
     In a preferred embodiment of my invention the lexical access phase of recognition is based on a pronouncing dictionary (above, termed a lexicon) in which each entry is orthographically represented in terms of phonetic symbols representing the states of the hidden Markov chain. Certain other features of the preferred embodiment will become apparent hereinafter. 
     The recognition process is then readily completed by prior art types of sentence recognition schemes by recovering from the word lattice the grammatically well-formed sentence of maximum likelihood conditioned on the measurements. It is expected that this final part of the recognition process will work more efficiently because of the candidate arrays and likelihood signals provided by the present invention. 
    
    
     BRIEF DESCRIPTION OF THE DRAWING 
     FIG. 1 shows schematically the novel organization of the new acoustic/phonetic speech recognition system; 
     FIG. 2 shows schematically the prior art, of which the above-described Woods&#39; article is representative; 
     FIG. 3 is a flow diagram for an optimization algorithm for detecting phonetic segments and durations, as required in the embodiment of FIG. 1; 
     FIG. 4 is a continuation of the flowchart of FIG. 3; 
     FIG. 5 is a block diagram representing some of the operations performed in the initial lexical access procedure for detecting words; 
     FIG. 6 is a diagram that illustrates some concepts employed in the flow chart of FIG. 7 as will be described below; 
     FIG. 7 is a flow chart relating to the alignment step; 
     FIG. 8 shows the concept of using pairs of adjacent phonetic segments in the alignment step; and 
     FIG. 9 is a flowchart of the implementation of a simple acoustic/phonetic model for the digits 0-9 as would be employed as a part of the lexical access procedures disclosed herein. 
    
    
     GENERAL DESCRIPTION 
     In the embodiment of FIG. 1 the input speech stream is illustratively derived from a human speaker; but the use of a speech stream from another machine is not precluded. The speech stream flows into equipment of known type shown as block 11 for linear predictive coding analysis (usually referred to as LPC analysis). The fundamental organization and composition of the equipment for the apparatus of block 11 is disclosed in some detail by F. Itakura in the article, &#34;Minimum Prediction Residual principle Applied to Speech Recognition&#34;, IEEE Transactions on Acoustic Speech and Signal Processing, Vol. ASSP-23, No. 1, February 1975. Nevertheless, with modern large scale integrated electronics several other implementations are possible as, for example, implied by FIG. 2 of my above-cited article with L. R. Rabiner. 
     The resulting sets of speech feature signals are then processed by a combination of techniques in the system portion 12 not only to detect phonetic segments with some degree of likelihood, but also to provide some valuable durational information with the arrays of segments. The algorithm for processing in apparatus 12 accesses a stored model 13 which is a so-called continuously-variable-duration hidden Markov model, as described in my article &#34;Continuously Variable Duration Hidden Markov Models for Automatic Speech Recognition&#34;, Computer Speech and Language, Vol. 1, pp. 29-44, Academic Press Inc., (London) Limited (1986). In addition, there is provided in portion 12 a searching and sorting technique which will be more fully described hereinafter and advantageously exploits complementary phonetic information. Next, with the candidate phonetic segments and durations, the system portion 14 accesses the lexicon 15 (an extensive memory electronically stored in a computer), preferably by pairs of phonetic segments, to obtain arrays of candidate words. 
     Then, an alignment procedure is carried out in system portion 16 in response to the acoustic features from the LPC analysis in block 11 to compute the likelihood signals for the indicated candidate words. 
     The preferred implementation of apparatus 12-16 is advantageously upon a digital computer, for example, of the type Alliant FX-8, manufactured by the Alliant Computer Corporation, Acton, Ohio. Significant sets of computer codes relevant to the present invention are contained in Appendix B. The model 13, the lexicon 15, and the sentence recognition apparatus 17 all use very substantial amounts of previously-determined information stored in memories therein. 
     The output of the alignment apparatus 16 is then fed into a prior art sentence recognition apparatus 17 of any of several types which resolves the remaining ambiguities among word candidates and selects the best sentence. 
     A basic understanding of the invention may be gained by considering the following points. One fundamental underpinning of the acoustic/phonetic embodiment proposed here is the assumption that speech is a code based on a small number of symbols. While the identity of these symbols is unknown, the physical manifestations of them can be observed directly by making measurements on the acoustic signal. Under this assumption and in light of experiments by many previous investigators, it is quite natural to model such a phenomenon as a so-called hidden Markov chain. Since the symbols of the code are assumed discrete, unknown and not directly observable, it is reasonable to identify them with the states of an underlying, unobservable probabilistic chain of events which chain of events is called commonly a Markov chain. On the other hand, the acoustic signal is accessible and its spectral and temporal features are presumed to be correlated with the symbols of the code. It is thus appropriate to represent the signal by a set of statistical distributions of acoustic observations and to associate one distribution with each state of the Markov chain. In order to account for temporal encoding of information in the signal we should also include a mechanism for characterizing the durations of the states probabilistically. 
     DETAILED DESCRIPTION 
     It appears, then, that the continuously-variable-duration hidden Markov model rather neatly captures certain essential aspects of the speech signal. The phonetic units (i.e., code symbols) are represented by the hidden states {q i  } i=1   n . The state transition probabilities, a ij , of the hidden Markov chain account for the phonotactic structure of speech (i.e. the code itself). The acoustic correlates of the symbols are the time-indexed observations O t  εR d . The spectral information is contained in the set of observation densities, {b j  (O t )} j=1   n , and the temporal information resides in the set of durational densities {d j  (t)} j=1   n . 
     The d-dimensional observation densities should be Gaussian and the durational densities, gamma distributed. Under these assumptions the parameters of an n-state model are the state transition probabilities, a ij , 1≦i,j≦n; the observation means, μ jk , 1≦j≦n, 1≦k≦d, the observation covariances, μ jkl , 1≦j≦n, 1≦k,l,≦d; and the durational shape and location parameters, ν j  and η j  1≦j≦n. For this parametrization, methods are known for computing an optimal set of values. One such method will be referred to hereinafter. 
     In some speech recognition systems based on hidden Markov models, each vocabulary word is represented by a different model whose likelihood function can be evaluated for a given input and used in a Bayesian classification scheme. In my system, however, the state sequence plays the dominant role since it yields a phonetic transcription. The likelihood function is also used but for a less critical purpose, as we shall later see. 
     In the present acoustic/phonetic system the main issue, then, is how to determine the state sequence corresponding to a given speech signal. This is accomplished preferably by a dynamic programming algorithm that accounts for durational densities. 
     Let α t  (j) be the likelihood of the state sequence ending in state j which maximizes the joint likelihood of state and observation sequences up to and including time t. This quantity can be calculated recursively from ##EQU1## to reconstruct the desired state sequence, thereby obtaining the phonetic transcription of the input. 
     The task of interpreting the phonetic transcription obtained from equations 1-3 as a sequence of words is not unlike that of reading a text corrupted by random insertions, deletions and substitutions of letters and stripped of spaces between words. The method by which we propose to render the interpretation is based on the psycholinguistic notion of lexical access. 
     The basic premise of the concept of lexical access is that words are stored in a dictionary where they are represented in some phonetic orthography rather than in terms of acoustic features. In the cognitive process of understanding speech, words are retrieved from the dictionary on the basis of partial phonetic information. The phonetic to lexical mapping is thus inherently many-to-one resulting in two kinds of ambiguities. First, phonetic sequences may be common to several words. Second, words may be retrieved on the basis of several different phonetic sequences. The first form of ambiguity makes the recognition problem more difficult and must be resolved at a latter stage of processing. The second kind, however, is beneficial. Since the phonetic transcription is corrupted, we need a multiplicity of cues for a given word. The particular lexical access procedure used in our invention advantageously provides a method for exploiting complementary phonetic information. 
     The particular form of the technique used here is as follows. Suppose that the phonetic transcription resulting from the evaluation of equations 1-3 is the state sequence 
     
         q=q.sub.1,q.sub.2 . . . q.sub.t,q.sub.t+1, . . . , q.sub.t+p, . . . , q.sub.N.                                                  (4) 
    
     where q i  is the number of the i th  state of the sequence for 1≦i≦N. We consider all p+1 tuples of the form 
     
         q=q.sub.t, q.sub.t+1, . . . , q.sub.t+p                    (5) 
    
     for 1≦t≦N-p and fixed p. Each such q is taken as the argument of a hashing function, ##EQU2## whose value, a, is an address in the lexicon. The prime number, P, is chosen to be greater than the number of entries in the lexicon which is arranged so that the a th  entry has an orthographic representation containing q as a subsequence. The lexicon is also constructed so that the a th  entry has a link to another word containing q. The last word in the chain has a null link. In general, each lexical item contains more than one p+1 tuple and thus must have a separate link for each one. The links can all be generated automatically from the lexical orthographic representations and need not be constructed manually. 
     Further details of the mathematics and computer implementation of such a technique in general can be found in the book by D. E. Knuth, The Art of Computer Programming, Addison-Wesley, Vol. 1, pp. 230-231, and Vol. 3, pp. 506-542, particularly those portions relating to &#34;searching and sorting&#34;. 
     The lexical access procedure described above has the effect of giving coarse estimates of the locations of words, e.g., their beginnings and ends, in the speech stream. As noted, these locations are likely to be inconsistent. In order to resolve the ambiguity, we need to extract more information from the acoustic measurements and the phonetic transcription and represent that information in such a way that an optimal interpretation of the signal can be obtained. In particular, we wish to calculate the likelihood, L(ν|τ 0 ,τ m ), that the word ν appears in the time interval (τ 0 ,τ m ). Once computed for all words found by the access procedure, this information can usefully be represented by a graph called a word lattice. 
     Let us first consider a theoretically optimal approach to the problem. Suppose that the accessed word, ν, has orthography q=q 1 , q 2 , . . . , q m  in which the subsequence matching the phonetic transcription is q=q l ,q l+1 , . . . , q l+p . Suppose, further, that we know that, at the very earliest, ν began at time τ 0  and ended no later than τ m . Then q must have occurred somewhere in that interval with state q i  ending at some time τ i  ε(τ 0 ,τ m ) and of course, τ i+1  &gt;τ i  for 1≦i≦m. A reasonable definition of L(ν|τ 0 , τ m ), then, is the maximum value of the joint likelihood of O.sub.τ.sbsb.o, . . . , O.sub.τ.sbsb.m and q 1 , q 2 , . . . , q m  over all choices satisfying the constraints of the state transition times τ 0 , τ 1 , . . . , τ m . That is, ##EQU3## Although (9) is correct, it is practically useless since the cardinality of T is, in general, very large. There is, however, an efficient way to compute L(ν|τ 0 ,τ m ). Let γ t  (q i ) be the maximum joint log-likelihood of O.sub.τ0 . . . O t  and q i , q 2 , . . . , q i . Then γ t  (q i ) can be calculated recursively for τ 0  &lt;t≦τ m  and 1≦i≦m from ##EQU4## 
     The lexical access and alignment procedure outlined above will generate many lexical hypotheses some of which will be inconsistent. We would like to retain all such hypotheses in a convenient form so that we can subsequently resolve the ambiguities and thereby recover the best sentence. 
     The data structure which meets the requirements is the word lattice. The horizontal direction in the lattice represents time and alternative lexical hypotheses are arranged vertically so that inconsistent hypotheses appear as sets of blocks having the same horizontal but different vertical positions. Such a data structure is conveniently stored in the computer as a directed graph whose vertices are word boundaries and whose edges are words weighted by their respective log likelihoods always directed forward in time. Let us denote the edge representing word ν during the interval from τ i  to τ j  having likelihood L(ν|τ i , τ j ) by (τ i , ν, τ j , L.sub.ν). Of course, in general, there will be gaps and overlaps in the lattice which would render the corresponding graph disconnected. This problem is eliminated by identifying two distinct boundaries whenever their times of occurrence are within an appropriate, empirically chosen neighborhood of each other. 
     Now let use turn to the flow diagram of FIGS. 3 and 4. The first step in the operation of the central processor of the computer is to reset all of the central processing registers to the appropriate starting condition. The input data from apparatus 11 will come in as an array of quantities to be stored in an input register and we have designated this array as array b j τ as indicated in the flow diagram. 
     All processing through block 35 sets initial memory values. Blocks 36 and 37 increment state and time indices. Blocks 38-39 compute the sum of log probabilities of observations. 
     Blocks 40-44 compute the maximum likelihood of the first t observations originating in the initial state. 
     Blocks 45-54 compute the maximum probability of the first t observations originating from any state sequence. 
     Blocks 55-59 determine the most likely state from which the last observation was generated, and the likelihood of the observation sequence. 
     Block 30-end reconstructs the optimal state sequence. 
     All of the needed parameters for the first array of input data to procedures described above have now been calculated and the process then proceeds to work on the next array of input data. Each set of data resulting from the iterative cycling through flow diagram of FIGS. 3 and 4 can then be stored in an appropriate position in a memory for use in the final calculations of equations 1, 2 and 3 above so that finally the phonetic transcription of the input is reconstructed from the desired state sequences of each cycle. 
     As mentioned above, the task of interpreting the resulting phonetic transcription is like reading a text in which the words are run together and there are random insertions, deletions and substitutions. 
     One particular form of the technique used here is illustrated in FIGS. 5 and 6. 
     For the special case of p=1, the hash function, equation (6), can be replaced with the HEAD table as shown in FIG. 6. For the significance and implementation of the HEAD table, see Knuth, Vol. 3 (cited above). If q=q t  q to+1  =i,j then the entry row i and column j of the HEAD table, r, is the address of the lexical entry containing q. This table is also easily constructed automatically. The HEAD table method can be generalized to p=2 or even more, but eventually it becomes inefficient. 
     It is not necessary to use the definition of equation 7 nor the recursion of equation 10 because of the existence of the following utterly simple and highly effective heuristic. Let us simply define L(ν|τ 0 ,τ m ) to be the joint likelihood of O.sub.τ O . . . O.sub.τm and q, where the state transition times are determined by the state durations computed from equation 2. Thus we can easily compute log [L(ν|τ 0  τ m )] from equation (9) without the maximization over T using, instead, the previously computed segmentation of the phonetic transcription. 
     The flowchart for accomplishing the most essential calculations of equations 4-10 is shown in FIG. 7. This flowchart together with the alignment diagram of FIG. 8 illustrates how the various results of the previous steps, now stored in various large-scale memories in the computer, cooperate in the alignment step. The initial access is shown in block 73. The alignment as shown in FIG. 8 is represented by blocks 75-77. Block 8 depicts the computation of the word likelihood from the following ##EQU5## and its storage on the candidate list. Block 80 shows how the linked list is used to access the next candidate word. Block 81 is a test for the last link in the list. When this test succeeds, control is returned to the state counter and the next state pair is presented to the HEAD table. Block 83 shows the test for the last state pair. When this test succeeds, control passes to block 84 in which the best candidate is chosen and the process terminates. 
     The alignment process shows how an estimated state sequence can be matched to a dictionary entry. In general the match will not be perfect but there will be multiple state sequences which will partially match the estimated state sequence of the candidate word. 
     It should be noted in the passing that other alignment algorithms are possible such as those based on dynamic programming even though it is our objective to avoid dynamic time-warping if possible. These other algorithms are compatible with the feature of my invention which has introduced the concept of using the separate alignment step indicated in FIG. 1. 
     One final comment on the alignment procedure of FIG. 7, is that, in principle, all pairs of adjacent states in q should be used as keys in the alignment process. 
     The details of the sentence recognition apparatus 17 are not an essential part of my invention. It is suggested that an appropriate organization of the sentence recognition apparatus could be that disclosed in my U.S. Pat. No. 4,277,644, issued July 7, 1981. 
     As an alternative to the above referenced technique, it will be immediately apparent to many workers in the art that various other sentence recognition techniques can be used. 
     For recognizing the digits, 0-9, a 22 state model can be constructed, as shown in FIG. 9. To simplify the structure of the underlying Markov chain three states are replicated to bring the total to 25. Vectors associated with each segment are collected and maximum likelihood estimators for means, covariances, durations and standard deviations of duration are computed. The values obtained for a segment are then used as the parameter values associated with the corresponding state. 
     The transition probabilities of the underlying Markov chain are estimated on the assumption that all digits are equally likely. Given that assumption, it is a simple matter to count the number of times each transition will occur from which event counts the transition probabilities are easily obtained. 
     FIG. 9 shows the kinds of phonetic elements which speech recognition workers have come to accept as being the most likely representation of the irreducible elements of the hidden process occurring in the vocal tract, or, at least, the most convenient representations of those elements. 
     It will be immediately apparent to many workers in the art of various modifications that can be made upon the above-described techniques depending on the level of generality and capability versus the level of complexity required in a system according to my present invention. ##SPC1##