FIELD OF THE INVENTION
This invention relates to speaker verification systems in general, and more particularly to such a system where speaker identification judgements are made based on nearest-neighbor distances computed between presently uttered words and stored enrollment words.
BACKGROUND OF THE INVENTION
A speaker verification system determines whether or not a person claiming an identity previously established within the system is the identified person by comparing a password (which may be multiple speech "words") spoken by the person seeking to be identified at the time of the identification request with previously stored speech containing corresponding "words" entered into the system by the identified person. Such a system is particularly useful as a means for controlling entry/exit with respect to secured environments or to enable access to a secure communications system.
With most existing speaker verification systems, the comparison between the spoken password and the reference speech vocabulary previously entered into the system by the identified speaker is based on a measurement of the Euclidean distance between elements of the password speech and of the reference speech using computer processing of such speech elements which have been converted to digital form. Such comparison may also include a measurement of such distances from elements of the password speech and generic speech elements established as a reference base. If the distance so measured is less than a predetermined value, and, in the case of a verification system using reference speech measurement, less than any of such reference measurements, the speaker is judged to be the identified speaker, and if greater than the threshold value (or one or more of the reference measurements),the speaker is judged to be an impostor. An example of such a speaker verification system is found in U.S. Pat. No. 4,694,493 to Sakoe, entitled Speaker Verification System, issued on Sep. 15, 1987.
A limitation of all speaker verification systems is that an exact match between the password speech and the reference speech is seldom, if ever, achieved. This happens because of naturally occurring differences in a particular speaker's voice between the time of entering the reference speech into the system and of the request for verification, and due to the fact that the process of converting the analog waveform of the speaker's voice into digitized voice components may produce slight variations in such components as between the reference speech and the password speech, even in the absence of variations in waveform of the speaker's voice between the reference speech and the password speech.
This limitation is manifested in two possible errors for the speaker verification system: either a false rejection of the identified speaker or a false acceptance of an impostor. The consequence of such error is managed by a choice of a threshold value to be used as a basis for comparison with the measured distance between the password speech elements and the reference speech elements. A low threshold value can be expected to minimize the likelihood of an imposter being accepted, but will also increase the likelihood that the identified person will be rejected. A high threshold value, on the other hand, will diminish the likelihood of the identified person being rejected, but will increase the likelihood of an imposter being accepted. While the reliability (i.e., avoidance of erroneous result) of such a speaker verification system can be improved by increasing the number of voice components analyzed, this methodology suffers from the parallel constraints of (1) limitations in computer processing power and (2) the human-factor limitation that verification processing time must be very short (likely no more than 15-20 seconds) for acceptance by the user.
In the quest for a comparative measurement speaker verification system which achieves an acceptable level of security while at the same time minimizing the likelihood of the identified speaker being rejected, randomization techniques have also been used to determine components of the password from a vocabulary of reference "words" entered into the system by the identified speaker. Prior speaker verification systems typically prompted the person seeking to be identified to read a fixed phrase as a password, and compared that spoken password with previous utterances of the same phrase or password by the identified speaker. By using fixed prompts, such systems offered would-be impostors the opportunity to prepare responses (including tape recorded responses) in advance in order to increase their chances of being illegitimately verified. Through the use of test phrases composed at random at the time of verification, and requiring that the word content of the spoken utterance match the prompt, the likelihood of accepting an imposter is significantly reduced. There are so many possible prompts that would-be imposter has virtually no chance of being prepared with an acceptable response. An example of the use of such randomization techniques in speech verification systems is found in a paper entitled Personal Identity Verification Using Voice presented by Dr. George R. Doddington and printed in Proc. ELECTRO-76, May 11-14, 1976, pp. 22-4, 1-5.
Randomization of the test phrases does, however, introduce a new problem. Words occur in contexts (of surrounding words) that did not occur in the enrollment phrases. The context in which a word is spoken influences its pronunciation through coarticulation, caused by limitations in the movement of the speech articulators. These coarticulations, which have not been incorporated into the verification analysis model, contribute to the measured dissimilarity between the test and enrollment utterances, increasing the likelihood of a false rejection of the identified speaker.
Previous work by the inventor partially overcomes this difficulty by means of a scoring method called likelihood scoring. See A. Higgins, L. Bahlet and J. Porter, Speaker Verification Using Randomized Phrase Prompting, 1991. Digital Signal Processing 1, 89-106 (1991). The current invention builds upon this previous work, providing a more complete solution to the coarticulation problem. It is to be noted, however, that the invention applies as well to verification using fixed (i.e., non-random) phrase prompts.
Prior speaker verification systems have also commonly used word templates as the basis for matching speech utterances. In these methods, word templates are derived from occurrences of the words spoken during enrollment. As an example of the use of such templates, see U.S. Pat. No. 4,773,093 to Higgins, et al, entitled Test-Independent Speaker Recognition System And Method Based On Acoustic Segment Matching, issued on Sep. 20, 1988,and assigned to ITT Corporation, the assignee herein. In verification, the word templates are temporally aligned with occurrences of the same words in the test phrases and used to derive a distance or dissimilarity score. Two methods of deriving word templates are generally used, which have different problems with respect to coarticulation. In one method, averaged templates are derived by temporally aligning all the enrollment occurrences of each word and averaging the constituent frames. The problem with averaged templates is that the diversity of coarticulations near word boundaries is poorly represented by the average. In the second method, multiple templates for individual word occurrences are extracted from the enrollment phrases (with multiple representations of each word). The problem with multiple templates is that coarticulation influences both the beginning and end of each word, and a prohibitively large number of templates per word would be needed to simultaneously match all possible contexts on both sides.
These problems with word template matching have been alleviated by a recent development in the speaker verification art--a comparison of test phrases with enrollment phases using individual frames, rather than words, as the atomic units. Frames of the enrollment data are used directly in the comparison, without averaging. Thus, the multiple templates problems are avoided because each frame is effectively a "snapshot" representing a single instant of time. The use of such frames of speech data is described at length in U.S. Pat. No. 4,720,863 to Li, et al, entitled Method and Apparatus For Text-Independent Speaker Recognition, issued on Jan. 19, 1988, and assigned to ITT Corporation, the assignee herein. See also U.S. Pat. No. 4,837,830 to Wrench, Jr. et al. entitled Multiple Parameter Speaker Recognition System And Methods, issued on Jun. 6, 1989, and also assigned to ITT Corporation.
A further improvement in the analysis and comparison of speech data has been developed by L. Bahler and is manifested in his invention called "Speaker Sorter" for which an application is copending under Serial No. 07/699,217, filed May 13, 1991 and is incorporated herein by reference. Bahler teaches the use of a baseline algorithm for speaker recognition which is non-parametric in nature and makes no assumption about the statistical'distributions of speech features. The reference data used to characterize a given talker's speech patterns are a large set of speech feature vectors, not a set of estimated distribution parameters. A significant advantage of Bahler's methodology is its use of non-parametric methods because the further development of parametric methods--toward more complicated distributions which might approximate true speech more accurately--has the difficulty of estimating an increased number of statistical parameters which such models entail. It is an object of this invention to provide an improved speaker verification system having a low error rate while minimizing verification processing time and/or reducing computer processing power requirements.
SUMMARY OF THE INVENTION
In accordance with the present invention, a speaker verification system includes: an input speech processor for processing speech entered into the system whereby said speech is sampled, digitized and converted into frames, each frame being comprised of multiple speech vector components; an enrollment mechanism whereby one or more speakers may be enrolled into the system and wherein predetermined text spoken by a speaker is processed by the input speech processor and stored by the system; a mechanism responsive to a request for identification from a speaker claiming to be a specified enrolled speaker for generating a prompt phrase comprising one or more "words" derived from the predetermined spoken text entered by the specified enrolled speaker and whereupon the prompt phrase is spoken by the claiming speaker and the spoken prompt phrase is entered into the system and processed by the input speech processor; a mechanism for analyzing such spoken prompt phrase to detect the end points of the "words" comprising such spoken prompt phrase; a verification module for (1) determining nearest-neighbor distances d.sub.i,T and nearest-neighbor distances d.sub.j,E, wherein nearest-neighbor distances d.sub.i,T are computed as the Euclidian distances between each frame of the processed spoken prompt phrase and speech frames from corresponding regions of each occurrence of the same "word" stored during enrollment into the system of the specified enrolled speaker and nearest-neighbor distances d.sub.j,E are computed as the Euclidian distances between each frame of each occurrence of each "word" comprising the prompt phrase and speech frames from corresponding regions of each occurrence of the same "word" in the processed spoken prompt phrase, (2) determining a distance d.sub.T,E between the processed spoken prompt phrase and corresponding "words" entered into the system during enrollment into the system of the specified enrolled speaker, wherein the distance d.sub.T,E is derived from an average of all the nearest-neighbor distances d.sub.i,T and an average of all the nearest-neighbor distances d.sub.j,E (3) determining a verification score from such distance data and (4) determining therefrom whether the claiming speaker is the specified enrolled speaker.
In accordance with a further aspect of the invention, the determination of the nearest-neighbor distances d.sub.i,T and of the nearest-neighbor distances d.sub.j,E by the verification module includes an additional step of weighting each of the distances by a bias value computed to discount the effects of diversity among repeated occurrences of the predetermined spoken text entered into the system by the specified enrolled speaker, and wherein the computation of Euclidean distances is restricted to a range defined by a score limit value.
In accordance with yet a further aspect of the invention, the determination of a verification score by the verification module additionally includes a means for determining a distance d.sub.T,R between the processed spoken prompt phrase and corresponding "words" entered into the system by a set of reference speakers and computed in like manner to that of the distance d.sub.T,E , and the determination of whether the claiming speaker is the specified enrolled speaker is derived from a relationship between the distance d.sub.T,R , the distance d.sub.T,E, and the predetermined threshold value.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram showing a preferred embodiment of the present invention;
FIG. 2 illustrates the methodology for distance measurement which is used by this invention.
DETAILED DESCRIPTION OF THE INVENTION
The structure enabling operation of the invention is shown in the block diagram of FIG. 1. When an identity claim is entered at the keyboard 1, the random prompt generator 2 displays a phrase prompt on the CRT screen 3 for the user to speak into a telephone handset 4. The electrical signal from the handset is amplified and converted to digital form. This conversion samples the signal at a rate of 8000 Hz using 12-bit samples. The sequence of samples is analyzed in 22.4 millisecond frames. The Frontend 5 in FIG. 1 performs this analysis. In this embodiment, the analysis produces a vector of 20 components each frame. The first 10 components of the vector are cepstral coefficients, such as described in B. Gold and C. M. Radar, Digital Processing of Signals, McGraw Hill, New York, 1969, and the last 10 are log area ratios, such as described in V. Viswanathan and J. Makhoul, Quantization Properties of Transmission Parameters in Linear Predictive Systems, IEEE Trans. on Acoustics, Speech and Sig. Proc vol ASSP-23, pp. 309-321, June 1975. Both the cepstral coefficients and log area ratios are derived from standard LPC-10 analysis For a description of such Linear Predictive Coding analysis, see T. Tremain, The Government Standard Linear Predictive Coding Algorithm: LPC-10, Speech Technology, pp. 40-49, April 1982 and J. D. Markel and A. H. Gray, Jr., Linear Prediction of Speech, Spring-Verlag, New York, 1976. The details of the Frontend 5 are not unique or critical to the invention. Other types analysis could be used as well.
The stream of frames from the Frontend 5 is sent to the Word-Recognizer 6 and Speaker-Verifier 7 components of the system. The Word Recognizer 6 marks the end points of each "word" in that stream of data, and in the preferred embodiment, determines whether the spoken verification phrase matches the prompted phrase. In performing that phrase recognition function, the Word Recognizer 6 uses a standard connected-word recognition algorithm, the details of which are not relevant to the invention, The user is rejected if the Word Recognizer 6 determines that the prompted phrase was not spoken. If the phrase is determined to have been spoken as prompted, the Word Recognizer 6 outputs a list containing the starting and ending frame numbers of each word in the spoken phrase. The Speaker Verifier 7 then begins its operation, as described below under Verification Function.
The enrollment process is the same as above, except that phrases determined to have been mis-spoken are reprompted, and an enrollment component replaces the speaker-verifier component. Verification Function.
An important improvement over the prior art is found in the verification functions of the system. To understand those speaker verification functions, first consider the following measure of the Euclidean distance between a test session T and an enrollment session E, as described by Bahler, supra. Let t.sub.j be the .sub.j th frame of T, and e.sub.i be the ith frame of E. The nearest-neighbor distance d.sub.j,E from t.sub.i to E is ##EQU1## and the nearest-neighbor distance d.sub.i,T from e.sub.j to T is ##EQU2## The frame-to-frame distances(.vertline.t.sub.j -e.sub.i .vertline..sup.2) are computed for all pairs of frames t.sub.j and e.sub.j, where j ranges over all the test frames and i ranges over all the enrollment frames. The measure of distance from T to E (i.e., distance d.sub.T,E) is then ##EQU3##
The speaker verifier taught here improves on this prior art distance measure in two ways. First, rather than comparing every frame of the test session with every frame of the enrollment session, the invention only compares test and enrollment frames from the same regions of the same words. For example, a test frame one fourth of the way through the word "Twen" (the vocabulary will be described below) is only compared with enrollment frames which are also approximately one fourth of the way through "Twen". This is illustrated in FIG. 2. The positions of frames within words in the test and enrollment sessions are determined from the word endpoints and supplied by the Word Recognizer 6. Every frame belonging to a word is assigned to a word index and a frame index. For frame i, the word index W(j) identifies the word, and the frame F(i) is a value in the range 0.ltoreq.F(i)<8. The nth frame of an N-frame word is assigned the index F(n)=md[n*(8-1)/(N-1)0], where md[*] represents rounding to the nearest integer value. Test frames with index f are compared with all enrollment frames of the same word with indices 0 and 1 if f=0; or f-1, f, and f+1 if 1.ltoreq.f<7; or 6 and 7 if f=7. The search range for matching enrollment frames is restricted in a similar manner. Equations 1a and 1b then become ##EQU4## Restricting the search range for nearest-neighbor distances in this way has the dual benefit of improving the system's verification accuracy and reducing the amount of computation, compared with searching over all frames. It can also be seen to minimize the verification processing time for a given level of security.
The second improvement over the prior art further affects the computation of nearest-neighbor distances. Each enrollment frame e.sub.i is assigned a bias value b.sub.i and a score-limit value l.sub.i during the enrollment procedure (according to the methodology described below). The bias value is chosen to discount the effects of diversity, such as from speech variations, among the enrollment phrases of a given speaker and the score-limit value is determined to reduce the effect of enrollment speech components lying outside the range within which most such values will be found. Applying these factors, nearest-neighbor distance d.sub.j,E and nearest-neighbor distance d.sub.i,T are again modified to become ##EQU5## where hlim[*]represents hard limiting. ##EQU6##
Referring again to FIG. 1, after the above-described computations of frame-to-frame nearest-neighbor distances are developed by Speaker Verifier 3, distance d.sub.T,E from test phrase T to enrollment session E is then determined in accordance with Equation 2. Verification, the final step in the Speaker Verifier's operation, may be performed based on the relationship of distance d.sub.T,E to a predetermined threshold, but in the preferred embodiment includes an additional step of computing the distance from the test session to the claimed user's enrollment sessions and from the test session to the enrollment sessions of a set of M other speakers called reference speakers.
In an embodiment, twenty reference speakers are used. The set of reference speakers for a given verification test depends on the claimed identity. Reference speakers are selected from the population of such speakers based on similarity of the reference speaker voices to the voice of the claimed user. A suitable algorithm for selecting reference speakers is described in A. Higgins, L. Bahler and J. Porter, Speaker Verification Using Randomized Phrase Prompting, 1991. Digital Signal Processing, Vol. 1, No. 2, April, 1991, published by Academic Press, Inc., p. 89.
The final verification score is then ##EQU7## where C is the claimed speaker, S(C) is the number of enrollment sessions of C, c.sub.i is the claimed speaker's ith enrollment session, S(j) is the number of enrollment sessions of referenced speaker j and r.sup.j.sub.k is referenced speaker j's kth enrollment session. The final verification score is compared with a fixed threshold value that can be adjusted for the desired tradeoff between false-acceptance and false-rejection error rates. The user is rejected if the verification score exceeds the threshold value, and otherwise accepted.
Determination of Bias and Score-Limit Values
As described above, a bias value and a score-limit value are determined during the enrollment process for each frame of each enrollment session. The bias value b.sub.i for frame j of an enrollment session is ##EQU8## and the score-limit value l.sub.j is ##EQU9## where variables W.sub.i, W.sub.1, F.sub.i & F.sub.j are as previously defined for Equations 3(a) and 3(b) .
Enrollment Vocabulary
In the preferred embodiment of my invention, the enrollment speech material consists of "combination lock" phrases. An example is "35-72-41" pronounced "thirty-five, seventy-two, forty-one". Each phrase consists of numbers between 21 and 97. The enrollment vocabulary comprises 56 such numbers starting with the 90 two-digit numbers and eliminating: (1) 12 and the teens; (2) decades (20, 30, etc.); (3) double digits; and (4) numbers ending in 8. There are thus 56.sup.3 or 175,616 possible three "word" prompt phrases such a three-word prompt phrase being the preferred embodiment of the invention. The Word Recognizer 6 matches the phrases using partial-word templates ("Thir-ti-five-Seven-ti-two-Four-ti-one"). By doing this, the entire vocabulary can be represented using only 17 templates. In the preferred embodiment, a verification session will require the speaking of four prompted phrases. An enrollment session consists of 24 phrases which typically will require about three minutes to complete.
The "words" in the prompted verification phrases are drawn from the enrollment vocabulary and, in the preferred emodiment, are combined by choosing a word order at random according to a finite-state syntax which allows many possible word orders. Enrollment phrases are composed of the same "words" and are generated according to the same syntax, but in a non-random way. The set of enrollment phrases is selected to elicit a balanced representation of all the vocabulary "words". The enrollment and verification phrases are spoken in a connected manner, without pauses between the words.