SPEECH RECOGNITION

Abstract: In a speech recognizer, for recognizing unknown utter­ ances in isolated-word speech or continuous speech, im­ proved recognition accuracy is obtained by augmenting the usual spectral representation of the unknown utterance with a dynamic component. A corresponding dynamic compo­ nent is provided in the templates with which the spectral representation of the utterance is compared. In preferred embodiments, the representation is mel-based cepstral and the dynamic components comprise vector differences be­ tween pairs of primary cepstra. Preferably the time interval between each pair is about 50 milliseconds. It is also preferable to compute a dynamic perceptual loudness component along with the dynamic parameters.

Description: SPEECH RECOGNITION The invention relates to speech recognition. In known speech recognizers the speech, coded in pulse code modulation (PCM) format, is pre-processed to render it in a form that is more closely related to the way that the human auditory system perceives speech. For example, the speech mag be processed to give filter bank energies, cepstra, mel-frequency cepstra, or linear prediction coefficients. Recognition units, for example, words, or syllables, are then compared with each of a series of reference templates representing valid units. The template that is the closest match is deemed to be the unknown unit and the label of the unit corresponding to the template is provided at the output. Although such recognizers are adequate for certain applications, they are not entirely satisfactory because they give an error rate that is unacceptable in some applications, especially speaker-independent, telephone-based, or large vocabulary applications. This is thought to be because the usual representation does not model sufficiently the response of the human auditory system. y 'According to the present invention, apparatus for recognizing spe-ech comprises:- (i) means for representing an unknown speech utterance as a sequence of parameter frames, each parameter frame representing a corresponding time frame of said utterance; (ii) means for providing a plurality of reference templates, each comprising a sequence of parameter frames expressed in the same kind of parameters as the first-mentioned parameter frames each parameter frame of the first-mentioned (unknown) sequence and second-mentioned (reference) sequence comprising a set of primary parameters and a set of secondary parameters, each secondary parameter representing the signed difference between corresponding primary parameters in respective parameter frames derived for different time frames; and (iii) means for comparing the sequence of parameter frames of the unknown utterance with each reference template and determining which of the reference templates most nearly resembles it Each parameter frame comprises a set of parameters selected according to the type of representation employed, for example filter bank energies, cepstra, mel-based cepstra or linear prediction coefficients. Preferably, the time difference between centres of said different time frames is from 20 mS to 200 mS, preferably about 50 mS. Conveniently, the secondary parameter is derived from preceding and succeeding primary parameters, for example +25 milliseconds or 1 two frames. It is also preferable to include a component representing change in amplitude or change in perceptual loudness as a secondary parameter for both the unknown utterance and the reference templates. Such a loudness component is not usually used -in the primary parameters since absolute amplitude or absolute loudness is not effective in distinguishing words. Generally, then, the innovation consists of augmenting the set of primary short-time static parameters normally used for speech recognition with a set of dynamic secondary parameters representing change in each of the primary parameters over a short time interval (for example, 20 to 200 mS). Use of dynamic parameters in addition to primary parameters renders the distance measure or probability density function used to distinguish speech sounds more sensitive to important phonemic differences as opposed to other, irrelevant, acoustic differences. Any kind of short-time spectral representation may be used as the set of primary parameters. Examples of such representations include filter bank energies, the cepstrum, the mel-frequency cepstrum, linear prediction coefficients, etc. Each of these representations estimates the magnitude or power spectrum over a time frame (typically between 2 and 50 mS) in terms of a small number of parameters (typically between 3 and 80). If Pt is the vector of primary parameters computed at time t, time offsets a and b are chosen such that: 20 mS < - a + b e 200 mS the dynamic parameter vector APt is defined to be the vector difference APt Pt+2 P The invention consists of using the ensemble of parameters Pt together with APt to represent the speech signal in the neighbourhood of time t. Probability density functions and distances are then defined in terms of this augmented parameter set consisting of both static (primary) and dynamic (secondary) parameters. Alternatively, the above derivation may be expressed in terms of frame numbers. If At = the time difference between adjacent frames and if Pi = the primary parameter vector at frame i, then the dynamic parameter vector bP is defined as the vector difference EMI4.1 <tb> LEPj <SEP> = <SEP> Pi+# <SEP> a# <SEP> - <SEP> Pi-# <SEP> b# <SEP> <tb> <SEP> #t <SEP> #t <tb> Preferably the parameters are mel-based cepstral coefficients in which case the primary coefficients C1,...Cn represent the spectral shape and the secondary parameters #C1,...,#Cm represent change in spectral shape during the specified time interval. In addition, AC0 may be included in the set of secondary parameters to represent change in loudness or amplitude. An embodiment of the invention will now be described by way of example only and with reference to the accompanying drawipgs, in which: Figure 1 is a generalized block diagram of a speech recognizer; and Figure 2 is a diagram representing the characteristics of a filter means of the speech recognizer. In the speech recognition system illustrated in Figure 1, signal Sn represents a linear pulse-code-modulated (POM) speech signal, which is the unknown or "input" utterance to be recognized. Signal 5n is applied to window means 10. In the window means 10, the signal Sn is divided into time frames, each of 25.6 milliseconds or 204 samples duration. In operation, each frame is advanced by 12.8 milliseconds or 102 samples so that successive frames overlap by 50 per cent. Each time frame is then multiplied point-by-point by a raised cosine function and applied to filter means 12. This Hamming window attenuates spectral sidelobes. A 256 point Fast Fourier Transform is performed on each time frame and results in a 128 point real power spectrum, F1,...,FN , where N=128. The filter means 12 effectively comprises a filter bank of twenty triangular filters, which determine the energy in a corresponding set of twenty channels spanning the range from about 100 Hz to about 4000 Hz for a PCM sampling rate f5 of 8 KHz. As illustrated in Figure 2, the channels are mel-spaced, with channel centre frequencies spaced linearly from 100 Hz to 1000 Hz at 100 Hz intervals and logarithmically from 1100 Hz to 4000 Hz. For each time frame, the output of each filter channel is a weighted Bj derived in accordance with the exDression: EMI5.1 where B. is the jth mel-frequency channel energy 3 output, Fj are the N spectral magnitudes 1 s i e N from the Fast Fourier Transform, and the Wjj are weights defined as: EMI6.1 for 1 # i < N and 1 < J < 20 fs where #f = 2N and where lj, kj, hj for 1 # i r 20 are the low, center, and high frequencies, respectively of each filter channel, given in Table 1. The twenty log channel energies of the signal B. are computed in means 14 according to the expression Lj = log10Bj for 1 # 20. The outputs of the filter means and the means 14 are applied to means 16 for computing, respectively, perceptual loudness C0, and the first seven mel-based cepstral coefficients C1, C2 .... C7. The perceptual loudness C0 is the log of a perceptually weighted sum of the channel energies Bj obtained thus: EMI6.2 where vj k 0 are chosen to correspond to perceptual Importance. Suitable values for Vj are illustrated in Table 1 below. FILTER 1. k h. LOUDNESS WEIGHT NO.(j) Hg HZ Hg vj 1, 0., 100., 200. .0016 2, 100., 200., 300. .0256 3, 200., to0., 400. .1296 4, 300., 400., 500. .4096 5, 400., 500., 600. 1. 6, 500., 600., 700. 1. 7, 600., 700., 800. 8, 700., 800., 900. 1. 9, 800., 900., 1000. 1. 10, 900., 1000., 1150. 1. 11, 1000., 1150., 1320. 1. 12, 1150., 1320., 1520. 1. 13, 1320., 1520., 1750. 1. 14, 1520., 1750-., 2000. 1. 15, 1750., 2000., 2300. 1. 16, 2000., 2300., 2640. 1. 17, 2300., 2640., 3040. 1. 18, 2640., 3040., 3500. 1. 19, 3040., 3500., 4000. 1. 20, 3500., 4000., 4600. 1. TABLE 1. The means 16 for obtaining the cepstral coefficients Cj functions by taking the cosine transform of the log energies, thus: EMI8.1 where 1 < i < 7. For further information on computing the coefficients, the reader is directed to a paper by S.B. Davis and P. Mermelstein entitled "Comparison of Parametric Representations for Monosyllabic Uord Recognition in Continuously Spoken Sentences", IEEE Transactions on Acoustics and Signal Processing, Vol ASSP 28 No. 4 pp. 357-366 August 1980. The output of means 16, which comprises the set of primary parameters C1,..,C7 and the perceptually weighted loudness parameter C01- is passed, every 12.8 milliseconds, to utterance endpoint detector 18. The word endpoints are detected by searching for minima of sufficient duration and depth in the perceptual loudness Co as a function of time frame number. Endpoint detection may be by one of various known methods, for example as disclosed in "An Improved Endpoint Detector for Isolated Word Recognition", L.F. Lamel, L.R. Rabiner, A.E. Rosenberg and J.G. Wilpon, IEEE Trans. on Acoustics, Speech and Signal Processing, Vol. ASSP-29, No. 4, August 1981, p.777-785. Thereafter the interword intervals or silences are removed, i.e., only the intervening utterance is transmitted. Optionally the number of parameter frames per utterance Mmay be standardized, for example at M=32, by linearly spaced frame deletion or repetition. The output of the endpoint detector 18 is a sequence of M mel-based cepstra, and is represented by the matrix: EMI9.1 <tb> <SEP> Ci,o <SEP> C:l,7 <SEP> <tb> U= <SEP> : <tb> <SEP> CM,0.............CM,7 <SEP> <tb> This output signal, or recognition unit representation, U, is applied to dynamic parameter computing means 20 which computes the dynamic parameters as: ACi,j = Cj+C j - Ci for d+1 e i < i s M-c, O < j # 7, where c is the leading frame separation, d is the lagging frame separation. In the specific case, c=d=2. For 1 < i < d+1 #Ci,j = Ci+c,j-Cl,j; and For M-c < i # M #Ci,j = CM,j-Ci-d,j These dynamic parameters take account of the human auditory system's propensity for perceiving change in the incoming stimulus. The sequence of M parameter frames U comprising primary (static) and secondary (dynamic) parameters, represented by the matrix: EMI10.1 <tb> <SEP> C1,1,...,C1,7, <SEP> #C1,0,...,#C1,7 <SEP> <tb> U <SEP> = <SEP> <tb> <SEP> CM,1,...,CM,7, <SEP> #CM,0,...,#CM,7 <SEP> <tb> is applied from dynamics computing means 20 to dynamic time warping means 22. It should be noted that the CO vectors relating to static loudness are not used. A corresponding set of templates, including dynamic parameters and a dynamic loudness component dT O is derived by means 24 of the form: EMI10.2 <tb> <SEP> T1,1,....,I1,7, <SEP> #T1,0,....,#T1,7 <tb> T' <SEP> = <SEP> <tb> <SEP> T32,1,...,T32,7, <SEP> AT32,0,...,T32,7 <SEP> <tb> The sequence of parameters for the templates is also applied to dynamic time warping means 22. The "unknown" parametric representation U is compared with each of the reference templates T in turn and the time warp distance computed-in each case. The unknown utterance is deemed to be the reference utterance corresponding to the template having the minimum warp distance. The dynamic time warp computation may be as described by Hunt, Lennig and Mermelstein in a chapter entitled NUse of Dynamic Programming in a Syllable-Based Continuous Speech Recognition System" in Time Warps, String Edits, and Macromolecules: The Theory and Practice of Sequence Comparison, D. Sankoff and J.B. Kruskal, eds. Addison-Wesley (Reading MA), pp. 163-187, 1983. It has been found that a significant improvement in recognition accuracy is obtained bytinclúding dynamic parameters in the parametric representation. It has'aio been found that particularly good results are obtained when the dynamic parameters represent the change in the speech signal between time frames spaced by about 50 milliseconds. Although described as applied to isolated word recognizers, the invention is also applicable to connected word recognizers and is also useful whether the recognizer is speaker-trained or speaker-independent. Experimental results using the parameter set augmented with dynamic parameters as described above, in which the primary parameters were the first seven mel-frequency cepstral coefficients, resulted in about 20% reduction in recognition errors in speaker-independent connected digit recognition over the public switched telephone network. In addition to using dynamic parameters corresponding to the first seven mel-based cepstral coefficients, the eighth dynamic parameter corresponding to change in overall loudness further reduced errors by about 10X.

Claims: CLAIMS: 1. A method of recognizing an unknown speech utterance comprising the steps of: (i) representing said unknown speech utterance as a sequence of parameter frames each parameter frame representing a corresponding time frame of said utterance; (ii) providing a plurality of reference templates, each comprising a sequence of parameter frames expressed in the same kind of parameters as the first-mentioned parameter frames; each parameter frame of the first-mentioned sequence and second-mentioned sequences of parameters comprising a set of primary parameters and a set of secondary parameters, each secondary parameter representing the signed difference between corresponding primary parameters in respective parameter frames derived for different time frames; and (lii) comparing the sequence of parameter frames of the unknown utterance with each reference template and determining which of the reference templates most closely resembles the unknown utterance. 2. A method as defined in claim 1, wherein the time between the centers of different time frames is in the range of 20 to 200 milliseconds. 3. A method as defined in claim 2, wherein said time is about 50 milliseconds. 4. A method as defined in claim 1, 2 or 3, including the step of computing a dynamic loudness component as a secondary parameter, and providing a corresponding dynamic loudness component in each of said parameter frames. 5. Apparatus for recognizing an unknown speech utterance in a speech signal¯ comprising: (i) means (14, 16, 18, 20) for representing an unknown speech utterance as a sequence of parameter frames, each parameter frame representing a corresponding time frame of said utterance; (ii) means (24) for providing a plurality of reference templates, each comprising a sequence of parameter frames expressed in the same kind of parameters as the first-mentioned parameter frames each parameter-frame of the first-mentioned sequence and second-mentioned sequence of parameter frames comprising a set of primary parameters and a set of secondary parameters each secondary parameter representing the signed difference between corresponding primary parameters in respective parameter frames derived for different time frames; and (iii) means (22) for comparing the sequence parameter frames of the utterance with each reference template and determining which of the reference templates most nearly resembles the unknown utterance. 6. Apparatus as defined in claim 5, wherein said means (24) for providing provides each said secondary parameter to represent the signed difference between primary parameters in respective parameter frames derived for time frames that are spaced by a time interval in the range of 20 to 200 milliseconds. 7. Apparatus as defined in claim 6, wherein the time frames are spaced by about 50 milliseconds centre-to-centre. 8. Apparatus as defined in claim 5, 6 or 7, comprising means (16) for computing for both said unknown utterance sequence and said template sequence a dynamic loudness component as one of the set of secondary parameters. 9. Apparatus as defined in claim 5, wherein the means for providing includes means for computing the secondary parameters ssCj j in accordance with the expression: ssCj j = Cie,j - Ci.d,j for d+l # i M-c, O < j # 7 where c is the leading frame separation and d is the lagging frame separation, both relative to the frame for which the dynamic. parameter is being determined. 10. A method as defined in claim 1, wherein the secondary parameters are computed in accordance with the expression: ssCj Ci+c,j - Ci for d+1 < i < M-c, O < j # 7 where c is the leading frame separation and d is the lagging frame separation, both rel-ative to the frame for which the dynamic parameter is being determined. 11. Apparatus as defined in claim 9, wherein said means for computing the secondary parameters does so in accordance with the expression: #Ci,j = C. - Cl,j for 1 # i < d+1 and in accordance with the expression: #Ci,j = CM,j - Ci-d,j for M-c < i s M 12. A method as defined in claim 10, wherein the secondary parameters are computed in accordance with the expression: ACi,j = Ci+c,i - C1,j for 1 # i < d+1 and in accordance with the expression: Ci,j = CM,j - Ci-d,j for M-c C I < i

Inventors: GUPTA, VISHWA NATH, LENNIG, MATTHEW, MERMELSTEIN, PAUL
Applicants: NORTHERN TELECOM LIMITED
Application year: 1985
Main classification: G10L5
IPC codes: G10L11, G10L15