DEVICE FOR GENERATING A REFERENCE PATTERN WITH A CONTINUOUS PROBABILITY DENSITY FUNCTION DERIVED FROM FEATURE CODE OCCURRENCE PROBABILITY DISTRIBUTION

Abstract: In a system for recognizing a time sequence of feature vectors of a speech signal representative of an unknown utterance as one of a plurality of reference patterns, a generator (11) for generating the reference patterns has a converter (15) for converting a plurality of time sequences of feature vectors of an input pattern of a speech signal with variances to a plurality of time sequences of feature codes with reference to code vectors (14) which are previously prepared by the known clustering. A first pattern former (16) generates a state transition probability distribution and an occurrence probability distribution of feature codes for each state in a state transition network. A function generator (17) calculates parameters of continuous Gaussian density function from the code vectors and the occurrence probability distribution to produce the continuous Gaussian density function approximating the occurrence probability distribution. A second pattern former (18) produces a reference pattern defined by the state transition probability distribution and the continuous Gaussian density function. For a plurality of different training words, a plurality of reference patterns are generated and are memorized in the reference pattern generator.

Description: This invention relates to a speech recognition system and, in particular, to a device for producing a reference pattern for use in the system. In speech recognition systems, a speech signal having a pattern is analyzed by a feature analyzer to produce a time sequence of feature vectors. The time sequence of feature vectors is compared with reference patterns and are thereby identified as one of the reference patterns. Considering variation of the pattern of the speech signal due to a plurality of utterances, the reference pattern is avantageously generated from a number of training speeches. One of known speech recognition systems has a table memorizing a plurality of code vectors and a plurality of feature codes corresponding thereto for vector quantizing the time sequence of feature vectors. For example, such a speech recognition system using the table is described in an article contributed by S.E. Levinson, L.R. Rabiner, and M. M. Sondhi to the Bell System Technical Journal, Volume 62, No. 4 (April 1983), pages 1035 to 1074, under the title of "An Introduction to the Application of the Theory of Probabilistic Functions of a Markov Process to Automatic Speech Recognition". According to the Levinson et al article, the speech recognition system comprises a code vector table for memorizing a plurality of code vectors and a plurality of feature codes corresponding thereto. In generating the reference pattern, a plurality of speech signals are used which are produced by a plurality of utterances and are representative of the expected input pattern with its variations. Connected to the feature analyzer and to the code vector table, a converter is used in converting the plurality of feature vector time sequences into a plurality of time sequences of feature codes, respectively, with reference to the code vectors. A forming circuit is connected to the converter and has a state transition network or table. The state transition network has a plurality of states which vary from one to another with a state transition probability in accordance with time elapsing. Therefore, for the feature code time sequences, the feature codes appear in each state in the state transition network. When attention is directed to a particular code among the feature codes, the particular code has a probability of occurrence in each state in the transition network. The forming circuit is responsive to the feature code time sequences and calculates the state transition probability distribution and the occurrence probability distribution of the feature codes for each state to generate a reference pattern comprising the both probability distributions. In the Levinson et al speech recognition system, the reference pattern is generated in this manner in response to each predetermined input pattern by a reference pattern generating device which comprises the code vector table, the converter, and the forming circuit. The reference pattern generating device is rapidly operable because the reference pattern can he obtained with relatively little calculation processing. The reference pattern is, however, liable to cause erroneous speech recognition because of quantizing error. Another speech recognition system is disclosed in US-A-4,783,804. According to said patent, a reference pattern generating device comprises a speech analyzer and a function generator. The speech analyzer produces a plurality of feature vector time sequences representative of a predetermined input pattern of a plurality of varieties. A function generator is coupled to the speech analyzer and calculates, in response to the feature vector time sequences, a state transition probability distribution in the state transition network and a probability density function which allows to approximate a probability distribution of occurrence of the feature vectors for each state. The function generator generates a reference pattern in response to the state transition probability distribution and the probability density function. The reference pattern generating device according to US-A-4 783 804 can generate the reference pattern which enables speech recognition with a reduced error because no vector quantization is used. The device is, however, incapable of rapidly generating the reference pattern because the processing is increased for calculating the reference pattern. It is an object of the present invention to provide a reference pattern generating device which is capable of rapidly generating the reference pattern which enables speech recognition with a reduced error. It is another object of the present invention to provide a speech recognition system which is capable of rapidly recognizing speech with little error. These objects are solved with the features of the claims. In a speech recognition system of the reference pattern generating device, a feature vector time sequence representative of an unknown speech signal is directly compared with the reference patterns without being converted into a feature code time sequence so as to recognize the speech signal as one of the reference pattern. Fig. 1 is a block diagram view of a speech recognition system according to an embodiment of the present invention; and Fig. 2 is a block diagram view of an identifier in the speech recognition system of Fig. 1. Referring to Fig. 1, a speech recognition system shown therein comprises a feature analyzer 10 for analyzing an input pattern of a speech signal to produce a time sequence of feature vectors representative of the input pattern, a reference pattern generator 11 for generating and memorizing patterns of training speeches as reference patterns, an identifier 12 for comparing a time sequence of feature vectors of a speech signal of an unknown utterance with the reference patterns to identify the utterance, and a mode selection switch 13 for selectively connecting the feature analyzer 10 to the reference pattern generator 11 and the identifier 12. The feature analyzer 10 analyzes an input pattern of in incoming speech signal S due to an utterance by a known analyzing method, such as, the melcepstrum or the linear prediction coding and produces a time sequence of feature vectors V. The time sequence of feature vectors V is represented by: V = {V₁, V₂, V₃, ... V t , ... , V T }, where V t represents a feature vector at a time instant t and T represents an entire time duration of the incoming speech signal. Each of feature vectors V t is an N-order vector and is represented by; V t ={V t1 , V t2 , V t3 , ... V tn , ... , V tN }. The mode selection switch 13 is switched to the reference pattern generator 11 during a training mode. Accordingly, the time sequence of feature vectors V is applied to the reference pattern generator 11 from the feature analyzer 10 through the mode selection switch 13. The time sequence of feature vectors V represents an input pattern of a training speech. The reference pattern generator 11 comprises a code vector table 14 for memorizing a plurality of code vectors and a plurality of feature codes corresponding thereto, a converting circuit 15 for converting the time sequence of feature vectors V into a time sequence of feature codes with reference to the code vector table 14, a first pattern forming circuit 16 responsive to a plurality of time sequences of feature codes for forming a first pattern comprising a state transition probability distribution and a probability distribution of occurrence of the feature codes for each state in a state transition network, a function generator 17 for generating a probability density function from the probability distribution of occurrence of the feature codes with reference to the code vector table 14, and a second pattern forming circuit 18 for forming a second pattern which comprises the state transition probability distribution and the feature code occurrence probability density function and holding the second pattern as the reference pattern. The code vector table 14 memorizes a plurality of code vectors R = {R₁, R₂, R₃, ..., R i , ..., R I }, where I is a number of code vectors). Each of code vectors R i is represented by: Ri = {r i1 , r i2 , r i3 , ...,r in , ..., r iN }. Each of these code vectors R is previously prepared from iterative utterance of a different known vocabulary by the known clustering. Then, a feature code is determined for each of the code vectors R. The code vector table 14 also memorizes a plurality of feature codes corresponding to the code vectors, respectively. The converting circuit 15 receives the time sequence of feature vectors V from the feature analyzer 10 and detects likelihood of the time sequence of feature vectors V and the code vectors R. The detection of likelihood is effected by use of one of the known likelihood detecting methods. In the present embodiment, a method is used where the square distance D is detected between each of the feature vectors V t and each of code vector R i as follows: Then, an optimum code vector R i is detected as a specific code vector which makes the square distance D minimum, and a specific one of the feature codes c i is obtained in correspondence to the optimum code vector R i . Thus, the feature vector V t is converted into the specific feature code c i . Similar conversion is effected for all of feature vectors V and a time sequence of feature codes C is obtained for the time sequence of feature vectors V. The time sequence of feature codes C is represented by: C = {c i1 , c i2 , c i3 , ..., c iT }. The time sequence of feature codes C is applied to the first pattern forming circuit 16. Similar process is repeated by a predetermined number of times for iterative utterance of the same known training vocabulary. When the utterance is repeated K times, K time sequences of feature codes are obtained. The K time sequences of feature codes are represented by C₁, C₂, C₃, ..., C K , respectively, and are collectively represented by C k (1≦k≦K) . The first pattern forming circuit 16 has the state transition network or table. The first pattern forming circuit 16 receives the K time sequences of feature codes C k and carries out extrapolation of an optimum state transition probability distribution A and a probability distribution B of occurrence of the feature codes for each state in the state transition network from C k by the Baum-Welch algorithm. The state transition probability distribution A and the feature code occurrence probability distribution B are represented by: A = {A₁, A₂, A₃, ..., A p , ..., A P } and B = {B₁, B₂, B₃, ..., B p , ..., B P } respectively. P is a number of states. Assuming that A₁, A₂, A₃, ..., A p , ..., and A P are collectively represented by A p and B₁, B₂, B₃, ..., B p , ..., and B P are collectively represented by B p (1≦p≦P) , A p and B P are given by: A p = {a p1 , a p2 , a p3 , ..., a pQ } and B p = {b p1 , b p2 , b p3 , ..., b pI }, respectively. Q is a number of states to which transition is possible from the state p. Accordingly, a pq (1≦q≦Q) represents a transition probability from the state p to g states. While, b pi (1≦i≦I) represents an occurrence probability of the feature code R i in the state p. Thus, a first pattern is formed which comprises the state transition probability distribution A and the feature code occurrence probability distribution B. The state transition probability distribution A is applied to the second pattern forming circuit 18 from the first pattern forming circuit 16 while the feature code occurrence probability distribution B is applied to the function generator 17. The function generator 17 produces an approximate continuous probability density function from the feature code occurrence probability distribution B with reference to code vectors R in the code vector table 14. The Gaussian probability density function and the Poisson probability density function can be used as the approximate probability density function. In the present embodiment, the Gaussian probability density function is used. The Gaussian probability density function is represented by: Parameters µ and σ² are a mean value and a covariance, respectively. In the embodiment, the mean value and the covariance are ones of the code vectors R. Therefore, those parameters µ and σ² are obtained by the following equations: R i is read from the code vector table 14 and b pi is given by the feature code occurrence probability distribution B. Thus, the function generator 17 produces the approximate continuous probability density function Bc which is applied to the second pattern forming circuit 18. The second pattern forming circuit 18 receives the state transition probability distribution A from the first pattern forming circuit 16 and the approximate continuous probability density function Bc from the function generator 17 and combines them to form a second pattern. The second pattern forming circuit 18 memorizes the second pattern as the reference pattern P. Reference patterns are generated and memorized for different training speeches in the similar manner as described above. In the recognition mode, the mode selection switch 13 is switched to the identifier 12. The feature analyzer 10 receives the speech signal S due to an unknown utterance and produces the time sequence of feature vectors V as Vs. The time sequence of feature vectors Vs is applied to the identifier 12 through the mode selection switch 13. Referring to Fig. 2, the identifier 12 comprises a probability generator 21 and a selector 22. The probability generator 21 is connected to the second pattern forming circuit 18 and the feature analyzer 10. The probability generator 21 generates occurrence probabilities P(V|P) of the time sequence of feature vectors Vs for all of the reference patterns P. Each of the probability P(V|P) can be calculated by use of the Viterbi algorithm with the dynamic programming technique or the Forward-Backward algorithm.

Claims: A reference pattern generating device including: a feature analyzer (10) responsive to a speech signal representative of an input pattern (S) for producing a time sequence of feature vectors (V) representative of said input pattern; a table (14) for memorizing a plurality of code vectors and a plurality of feature codes corresponding thereto; converting means (15) connected to said feature analyzer and said table for converting a plurality of time sequences of feature vectors (V) to a plurality of time sequences of feature codes (C) with reference to said table, said plurality of time sequences of the feature vectors (V) being produced in response to a plurality of speech signals (S) including the first-mentioned speech signal; and first forming means (16) for forming, in response to said plurality of time sequence of the feature codes (C), a state transition probability (A) in a state transition network and a probability density distribution (B) of occurrence of the feature codes in each state in said state transition network; characterized by: function generating means (17) connected to said table (14) and said first forming means (16) for generating a probability density function (Bc) approximating said probability distribution (B) with said code vectors (R) used as parameters in said function: and second forming means (18) connected to said first forming means (16) and said function generating means (17) for forming a reference pattern (P) for said plurality of speech signals (S), said reference pattern (P) being defined by said state transition probability distribution (A) and said probability density function (Bc). A device as claimed in Claim 1, said function generating means generates as the probability density function a Gaussian probability density function which is expressed by: where µ and σ² are a mean value and a covariance, respectively, said function generating means calculating the mean value and the covariance in accordance with the following equations: R i being said code vectors, b pi being the feature code occurrence probabilities, I being a number of said code vectors. A speech recognition system for recognizing a speech, which comprises: a feature analyzer (10) responsive to a speech signal (S) representative of an input pattern for producing a time sequence of feature vectors (V) representative of said input pattern; mode selection switch means (13) for selecting one of a training mode and a recognition mode; reference pattern generating means (11) being coupled with said feature analyzer through said mode selection switch means (13) selecting said training mode and for generating and memorizing a plurality of reference patterns; said reference pattern generating means comprises; a table (14) for memorizing a plurality of code vectors and a plurality of feature codes corresponding thereto; converting means (15) connected to said feature analyzer and said table (14) for converting a plurality of time sequences of feature vectors (V) to a plurality of time sequences of feature codes (C) with reference to said table, said plurality of time sequences of the feature vectors being produced in response to a plurality of speech signals including the first-mentioned speech signal; first forming means (16) for forming, in response to said plurality of time sequence of the feature codes, a first pattern comprising a state transition probability (A) in a state transition network and a probability density distribution of occurrence (B) of the feature codes in each state in said state transition network; function generating means (17) connected to said table (14) and said first forming means (16) for generating a probability density function (Bc) approximating said probability distribution with said code vectors used as parameters in said function; and second forming means (18) connected to said first forming means and said function generating means for forming and memorizing a second pattern for said plurality of speech signals, said second pattern being defined by said state transition probability and said probability density function, said second forming means memorizing said second pattern as one of said reference patterns; and identifying means (12) connected to said second forming means and connected to said feature analyzer through said mode selection switch means (13) when recognizing an unknown speech signal for identifying, in response to an identifying time sequence of feature vectors representative of said unknown speech signal as the time sequence of feature vectors from said feature analyzer, said identifying time sequence of feature vectors as one of said reference patterns in said second forming means. A system as claimed in Claim 3, wherein said identifying means comprises: generating means coupled with said second forming means and responsive to said identifying time sequence of feature vectors for generating an occurrence probability of said identifying time sequence of feature vectors for each of the reference patterns; and selecting means coupled with said generating means for selecting a specific one of the reference patterns which makes the occurrence probability maximum to produce said specific reference pattern as an identifying output.

Inventors: KOGA, SHINJI C/O NEC CORPORATION, WATANABE, TAKAO C/O NEC CORPORATION, YOSHIDA, KAZUNAGA C/O NEC CORPORATION
Applicants: NEC CORPORATION
Application year: 1989
Main classification: G10L5
IPC codes: G10L15, G10L11