首页 / 专利库 / 数学与统计 / 隐马尔可夫模型 / Speech recognition system and technique

Speech recognition system and technique

阅读:812发布:2021-10-08

专利汇可以提供Speech recognition system and technique专利检索,专利查询,专利分析的服务。并且There is disclosed a speech recognition system and technique which is of the acoustic/phonetic type. It 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 model in identifying word segments and making all steps of the technique responsive to the durational information, and using a separate step for aligning the members of the candidate word arrays with the acoustic feature signals representative of the corresponding portion of the utterance, including using pairs of candidate phonetic segments in the alignment technique. Any residual word selection ambiguities are then more readily resolved than in the prior art, regardless of the ultimate sentence selection technique employed.,下面是Speech recognition system and technique专利的具体信息内容。

I. A method of the type which is performed in a signal storing and processing system including various signal stores representative of a language and which includesreceiving an utterance and converting successive time frame portions thereof into acoustic feature signals representative of each such time frame portion;assigning a sequence of phonetic segment signals to said sequence of acoustic feature signals; generating a likelihood signal for each of assigned phonetic segment signals in response to the sequence of feature signals and the assigned phonetic segment signals,detecting possible phonetic symbol sequences from a lexical store in response to the sequences of assigned phonetic segment signals:generating a signal representative of the likelihood of each detected phonetic symbol sequence's being the utterance; andselecting one or more preferred phonetic symbol sequences in response to the detected sequences and the likelihood signals,CHARACTERIZED IN THATthe assigning step assigns phonetic duration signals to said sequence of acoustic feature signals; andthe first likelihood signal generating step, the detecting step and the second likelihood signal generating step all respond in part to the phonetic duration signals.2. A method as claimed in claim I FURTHER CHARACTERIZED IN THAT the second likelihood signal generating step and the selecting step together includealigning each detected phonetic symbol sequence with the corresponding acoustic feature signal to modify the second likelihood signals for the phonetic symbol sequences.3. A method according to claim 2 FUHTHER CHARACTERIZED IN THAT the aligning step includes employing all pairs of adjacent assigned phonetic segments in each sequence thereof to compare with pairs of detected phonetic symbols in corresponding sequences thereof to facilitate word selection.4. A method according to either of claim I or 2 FURTHER CHARACTERIZED IN THAT the assigning step includes employing an acoustic phonetic model of the structure of the language of the utterance, which model is known as a continuously-variable-duration hidden Markov model.5. A method according to claim 2 FURTHER CHARACTERIZED IN THAT the assigning step includes employing an acoustic.phonetic model of the structure of the language of the utterance, which model is known as a continuously-variable-duration hidden Markov model; andthe aligning step includes employing all pairs of adjacent assigned phonetic segments in each sequence thereof to compare with pairs of detected phonetic symbols in corresponding sequences thereof to facilitate word selection.
说明书全文

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 commerical 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 "A Task-Oriented Conversational Mode Speech Understanding System", 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, "Motivation and Overview of SPEECHLIS: An Experimental Prototype for Speech Understanding Research", IEEE Transactions on Acoustics, Speech and Signal Processing, Vol. ASSP-23. No. I, 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'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 must complicated applications. The directness and simpticity of the imptementation 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 tess comprehensive set of phonological rules used in the prior art. The term "Markov" 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. I 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' 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. I;
  • 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. I 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 II for linear predictive coding analysis (usually referred to as LPC analysis}. The fundamental organization and composition of the equipment for the apparatus of block II is disclosed in some detail by F. Itakura in the article. "Minimum Prediction Residual Principle Applied to Speech Recognition". IEEE Transactions on Acoustic Speech and Signal Processing. Vol. ASSP-23. No. I. 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 "Continuously Variable Duration Hidden Markov Models for Automatic Speech Recognition". Computer Speech and Language, Vol i, 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 II 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. 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 The state transition probabilities, aij, 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 Ot e Rd. The spectral information is contained in the set of observation densities. and the temporal information resides in the set of durational densities

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. aij, i ≦i,j ≦ n; the observation means, µik, | ≦ j n, I ≦ k ≦ d, the observation covariances, uik/, I ≦ j n. I ≦ k,l, ≦ d; and the durational shape and location parameters. µi and ηj I ≦ 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 at(j) be the likelihood of the state sequence ending in state which maximizes the joint likelihood of state and observation sequences up to and including time t. This quantity can be calculated recursively fromfor l ≦ j ≦ n and | ≦ t ≦ T (The terms in equation I being defined in Appendix A). If we simultaneously setthen we can trace back from the final stateto 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 sequencewhere qi is the number of the ith state of the sequence for | ≦ i 5 N. We consider all p + I tuples of the formfor I ≦ t ≦ N - p and fixed p. Each such q is taken as the argument of a hashing function.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 alh entry has an orthographic representation containing q as a subsequence. The lexicon is also constructed so that the ath 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 + I 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-Westey, Vol. 1, pp. 230-231. and Vol. 3, pp. 506-542, particularly those portions relating to "searching and sorting".

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(µ τo. τm), that the word u. appears in the time interval (τom). 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,...., qm in which the subsequence matching the phonetic transcription is q = q̂i, q̂i+1,..., q̂i+p, Suppose, further, that we know that, at the very earliest, u. began at time τc and ended no later than τm. Then q must have occurred somewhere in that interval with state q̂i ending at some time τi ε (τo, τm) and of course, ĉi-1 > τi for | ≦ i ≦ m. A reasonable definition of L(µ τc, τm), then. is the maximum value of the joint likelihood of Oτo ..... , Oτm and q̂1, q̂2, ..., q̂m over all choices satisfying the constraints of the state transition times τo, τ...τm. That is.where T is the set of all possible state transition times, namelyAs defined in (7) L(µ To, τm,) can be computed fromAlthough (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(u. i ro, rm). Let yt(qi) be the maximum joint log-likelihood of Oro ... Ot and q̂1, q̂2, ... , q̂i. Then rt(q̂i) can be calculated recursively for τ0 < t ≦ τm and l ≦ i ≦ m fromFinally,

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 u dunng the interval from ri to τi having likelihood L(µ τi, τi) by (τi, µ, Tj, Lµ). 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 neighbourhood of each other.

Now let us 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 II will come in as an array of quantities to be stored in an input register and we have designated this array as array bjT 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 m 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 = I, 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 = qtqt-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(µ; τ3, Tm) to be the joint likelihood of OτO...Oτ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(v |τ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 followingN.B. qR qR+1 = q̂1 q̂1+1 for some k,1

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 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. I.

One final comment on the alignment procedure of FIG. 7. is that. in principle. ail pairs of adjacent states in q should be used as keys in the alignment process.

The details of the sentence recognition apparatus I7 are not an essential part of my invention. It s suggested that an appropriate organization of the sentence recognition apparatus couid be that disclosed in my U.S. Patent 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 bnng 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 trade, 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.

APPENDIX A qi = state j

  • O = feature vector at time t
  • αit = joint log likelihood of 0. O2 ... Otandq, q2 ... qk
  • βit = pair of pointers to previous state and time
  • δt = maximum duration of a state
  • bit = log likelihood of O given qi
  • dit = log likelihood of duration t given qi
  • aij = probability of transition from q, to qi
  • πi = probability of qi at t = 0
  • p = joint log likelihood of O, O2 ... Ot and q̂,q̂2...q̂,
  • i = jth state in estimated state sequence
  • i = duration of q̂i
  • µ = candidate word
  • Wr = rth entry in the lexicon
  • W = is the best candidate word
  • Cn = the nth candidate word

高效检索全球专利

专利汇是专利免费检索,专利查询,专利分析-国家发明专利查询检索分析平台,是提供专利分析,专利查询,专利检索等数据服务功能的知识产权数据服务商。

我们的产品包含105个国家的1.26亿组数据,免费查、免费专利分析。

申请试用

分析报告

专利汇分析报告产品可以对行业情报数据进行梳理分析,涉及维度包括行业专利基本状况分析、地域分析、技术分析、发明人分析、申请人分析、专利权人分析、失效分析、核心专利分析、法律分析、研发重点分析、企业专利处境分析、技术处境分析、专利寿命分析、企业定位分析、引证分析等超过60个分析角度,系统通过AI智能系统对图表进行解读,只需1分钟,一键生成行业专利分析报告。

申请试用

QQ群二维码
意见反馈