WO2014014478A1 - Method and system for real-time keyword spotting for speech analytics - Google Patents

Method and system for real-time keyword spotting for speech analytics Download PDF

Info

Publication number
WO2014014478A1
WO2014014478A1 PCT/US2012/047715 US2012047715W WO2014014478A1 WO 2014014478 A1 WO2014014478 A1 WO 2014014478A1 US 2012047715 W US2012047715 W US 2012047715W WO 2014014478 A1 WO2014014478 A1 WO 2014014478A1
Authority
WO
WIPO (PCT)
Prior art keywords
keyword
audio stream
model
predetermined
probability
Prior art date
Application number
PCT/US2012/047715
Other languages
French (fr)
Inventor
Aravind GANAPATHIRAJU
Ananth Nagaraja IYER
Original Assignee
Interactive Intelligence, Inc.
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Interactive Intelligence, Inc. filed Critical Interactive Intelligence, Inc.
Priority to PCT/US2012/047715 priority Critical patent/WO2014014478A1/en
Priority to BR112015017106-0A priority patent/BR112015017106B1/en
Priority to EP17205395.1A priority patent/EP3309778A1/en
Priority to NZ704832A priority patent/NZ704832B2/en
Priority to EP12881416.7A priority patent/EP2875508A4/en
Priority to NZ719961A priority patent/NZ719961B2/en
Priority to CA2882664A priority patent/CA2882664A1/en
Priority to AU2012385479A priority patent/AU2012385479B2/en
Publication of WO2014014478A1 publication Critical patent/WO2014014478A1/en
Priority to AU2018271242A priority patent/AU2018271242A1/en

Links

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/08Speech classification or search
    • G10L2015/088Word spotting

Definitions

  • the present invention generally relates to telecommunication systems and methods, as well as automatic speech recognition systems. More particularly, the present invention pertains to keyword spotting within automatic speech recognition systems.
  • Keyword spotting systems that are currently in use may include: phonetic search, garbage models, and large vocabulary continuous speech recognition (LVCSR). Each of these systems has inherent drawbacks which affect the accuracy and performance of the system.
  • LVCSR large vocabulary continuous speech recognition
  • phonetic decoder In phonetic search systems, a "phonetic decoder" is relied upon which converts an audio stream into one or many possible sequences of phonemes which can be used to identify words. "John says", for example, can be broken down into the phoneme string "jh aa n s eh s". The phonetic decoder hypothesizes a phoneme stream for the audio. This phoneme sequence is compared to the expected phoneme sequence for a keyword and a match is found. Some systems developed with this concept have shown reasonable performance, however, there are many disadvantages for use in a real-time application. Use of a phonetic decoder prior to keyword search clearly needs to be done in two stages. This adds considerable complexity.
  • a phoneme network is commonly used to decode non-keyword audio into a sequence of phonemes.
  • One simple approach to implement this method is to use speech recognizers conforming to the Speech Recognition Grammar Specification (SRGS) and write a grammar as follows:
  • LVCSR systems rely completely on a LVCSR speech recognition engine to provide a word-level transcription of the audio and later perform a text based search on the transcriptions for the keyword.
  • this solution is clearly infeasible for real-time keyword spotting.
  • the accuracy of LVCSR systems is usually tied closely with domain knowledge.
  • the system's vocabulary needs to either be rich enough to contain all possible keywords of interest or be very domain specific. Spotting keywords from multiple languages would mean running multiple recognizers in parallel. A more effective means to increase the efficacy of these methods is desired to make keyword spotters more pervasive in real-time speech analytics systems.
  • a system and method are presented for real-time speech analytics in the speech analytics field.
  • Real time audio is fed along with a keyword model, into a recognition engine.
  • the recognition engine computes the probability of the audio stream data matching keywords in the keyword model. The probability is compared to a threshold where the system determines if the probability is indicative of whether or not the keyword has been spotted.
  • Empirical metrics are computed and any false alarms are identified and rejected.
  • the keyword may be reported as found when it is deemed not to be a false alarm and passes the threshold for detection.
  • a computer-implemented method for spotting predetermined keywords in an audio stream comprising the steps of: a) developing a keyword model for the predetermined keywords; b) comparing the keyword model and the audio stream to spot probable ones of the predetermined keywords; c) computing a probability that a portion of the audio stream matches one of the predetermined keywords from the keyword model; d) comparing the computed probability to a predetermined threshold; e) declaring a potential spotted word if the computed probability is greater than the predetermined threshold; f) computing further data to aid in determination of mismatches; g) using the further data to determine if the potential spotted word is a false alarm; and h) reporting spotted keyword if a false alarm is not identified at step (g).
  • a computer-implemented method for spotting predetermined keywords in an audio stream comprising the steps of: a) developing a keyword model for the predetermined keywords; b) dividing the audio stream into a series of points in an acoustic space that spans all possible sounds created in a particular language; c) computing a posterior probability that a first trajectory of each keyword model for the predetermined keywords in the acoustic space matches a second trajectory of a portion of the series of points in the acoustic space; d) comparing the posterior probability to a predetermined threshold; and e) reporting a spotted keyword if the posterior probability is greater than the predetermined threshold.
  • a system for spotting predetermined keywords in an audio stream comprising: means for developing a keyword model for the predetermined keywords; means for comparing the keyword model and the audio stream to spot probable ones of the predetermined keywords; means for computing a probability that a portion of the audio stream matches one of the predetermined keywords from the keyword model; means for comparing the computed probability to a predetermined threshold; means declaring a potential spotted word if the computed probability is greater than the predetermined threshold; means for computing further data to aid in determination of mismatches; means for using the further data to determine if the potential spotted word is a false alarm; and means for reporting spotted keyword if a false alarm is not identified.
  • Figure 1 is a diagram illustrating the basic components in a keyword spotter.
  • Figure 2 is a diagram illustrating a concatenated HMM model.
  • Figure 3a is a diagram illustrating an abstract visualization of the audio feature space and the triphone models which span this space.
  • Figure 3b is a diagram illustrating monophone models which completely span the same audio feature space.
  • Figure 4 is a diagram illustrating a speech signal showing a spoken keyword surrounded by garbage models.
  • Figure 5 is a table illustrating phoneme level probabilities.
  • Figure 6 is a diagram illustrating the relation between the internal match "Score” and external "Confidence” values.
  • Figure 7 is a diagram illustrating the system behavior with varied confidence settings.
  • Figure 8 is a flowchart illustrating the keyword spotting algorithm utilized in the system.
  • ASR Automatic speech recognition
  • Performance of these systems is commonly evaluated based on the accuracy, reliability, language support, and the speed with which speech can be recognized.
  • the performance of the system is expected to be very high.
  • Superior performance is often quantified by a high detection rate and a low false alarm rate.
  • Industry standard is considered to be around a 70% detection rate at 5 false alarms per keyword per hour of speech, or 5 FA/kw/hr.
  • Factors such as accent, articulation, speech rate, pronunciation, background noise, etc., can have a negative effect on the accuracy of the system.
  • Processing speed is necessary to analyze several hundreds of telephone conversations at once and in real-time.
  • the system is also expected to perform consistently and reliably irrespective of channel conditions and various artifacts introduced by modern telephony channels, especially voice over IP. Keywords from multiple languages also need to be spotted on the same audio source.
  • methodologies disclosed herein may be computer implemented using a great many different forms of data processing equipment, such as digital microprocessors and associated memory executing appropriate software program(s), to name just one non-limiting example.
  • data processing equipment such as digital microprocessors and associated memory executing appropriate software program(s), to name just one non-limiting example.
  • the specific form of the hardware, firmware and software used to implement the presently disclosed embodiments is not critical to the present invention.
  • posterior probability computations for speech recognition systems may be used to increase system effectiveness.
  • Prior systems designed to perform keyword spotting use the log-likelihood measure to match presented audio to the phonemes in a keyword.
  • Phonemes are sub- word units that typically are modeled in ASR systems. Additionally, phonemes can be modeled in isolation or in context of other phonemes. The former are called monophones and the latter are called triphones when the phoneme depends on its previous and next phonemic context.
  • Posterior probability as used in this invention, may be a measure of how well the audio matches to a model when compared to the same audio as it is matched to all other models for a given speech pattern.
  • posterior probability (P) of a model ( ⁇ ,), given an observation vector x may be written as: ; ) P . )
  • Figure 1 is a diagram illustrating the basic components in a keyword spotter, 100.
  • the basic components of a keyword spotter 100 may include User Data/Keywords 105, Keyword Model 110, Knowledge Sources 115 which include an Acoustic Model 120 and a Pronunciation Dictionary/Predictor 125, an Audio Stream 130, a Front End Feature Calculator 135, a Recognition Engine (Pattern Matching) 140, and the Reporting of Found Keywords in Real-Time 145.
  • Keywords may be defined, 105, by the user of the system according to user preference.
  • the keyword model 110 may be formed by concatenating phoneme HMMs. This is further described in the description of Figure 2.
  • the Keyword Model, 110 may be composed based on the keywords that are defined by the user and the input to the keyword model based on Knowledge Sources, 115.
  • Knowledge sources may include an Acoustic Model, 120, and a Pronunciation Dictionary/ Predictor, 125.
  • the Knowledge Sources 115 may store probabilistic models of relations between pronunciations and acoustic events.
  • the Knowledge Sources 115 may be developed by analyzing large quantities of audio data.
  • the acoustic model and the pronunciation dictionary/predictor are made, for example, by looking at a word like "hello” and examining the phonemes that comprise the word. Every keyword in the system is represented by a statistical model of its constituent sub-word units called the phonemes.
  • the phonemes for "hello” as defined in a standard phoneme dictionary are: “hh”, “eh", "I”, and "ow”. Models of the four phonemes are then strung together into one composite model which then becomes the keyword model for the world "hello". These models are language dependent.
  • multiple knowledge sources may be provided.
  • the acoustic model 120 may be formed by statistically modeling the various sounds that occur in a particular language.
  • a phoneme is assumed to be the basic unit of sound.
  • a predefined set of such phonemes is assumed to completely describe all sounds of a particular language.
  • An HMM which encodes the relationship of the observed audio signal and the unobserved phonemes, forms the fundamental theory for most modern speech recognition systems.
  • a phoneme is considered to be composed of three states, representing the beginning, central, and trailing portions of the sound.
  • An HMM is constructed by concatenating these three states.
  • a training process studies the statistical properties of each of these states for all of the phonemes over a large collection of transcribed audio. A relation between the textual properties and the spoken properties is thus formed.
  • the statistics of states may be encoded using a Gaussian mixture model (GMM).
  • GMM Gaussian mixture model
  • a set of these GMMs is termed as an acoustic model.
  • the one described in this application is referred to as a context-independent, or monophone, model.
  • Many other model types may also be used.
  • many modern speech recognition systems may utilize a more advanced acoustic model, which may be context-dependent and capture the complex variations created due to the position of phonemes in conversational speech.
  • Each state of a phoneme is specialized to its left and right neighboring phonemes.
  • Clearly such a scheme would result in a very large number of GMMs in the acoustic model.
  • a context-dependent phoneme is a triphone.
  • the pronunciation dictionary, 125, in Figure 1 may be responsible for decomposing a word into a sequence of phonemes. Keywords presented from the user may be in human readable form, such as grapheme/alphabets of a particular language. However, the pattern matching algorithm may rely on a sequence of phonemes which represent the pronunciation of the keyword.
  • the present invention utilizes a pronunciation dictionary, which may store a mapping between commonly spoken words and their pronunciations. Once the sequence of phonemes is obtained, the corresponding statistical model for each of the phonemes in the acoustic model may be examined. A concatenation of these statistical models may be used to perform keyword spotting for the word of interest. For words that are not present in the dictionary, a predictor, which is based on linguistic rules, may be used to resolve the pronunciations.
  • the audio stream (i.e., what is spoken into the system by the user), 130, may be fed into the front end feature calculator, 135, which may convert the audio stream into a representation of the audio stream, or a sequence of spectral features. Audio analysis may be performed by segmenting the audio signal as a sequence of short (typically 10 ms) windows and extracting spectral domain features. For each window, the feature calculator may calculate a set of 13 Mel Frequency Cepstral Coefficients (MFCC) and their first and second order derivatives. The resulting calculations represent each of these windows as a point in a 39-dimensional space M. This space completely spans all possible sounds created in a particular language.
  • MFCC Mel Frequency Cepstral Coefficients
  • the keyword model , 110 which may be formed by concatenating phoneme hidden Markov models (HMMs), and the signal from the audio stream, 135, may both then be fed into a recognition engine for pattern matching, 140.
  • the task of the recognition engine may be to take a set of keyword models and search through presented audio stream to find if the words were spoken.
  • a spoken word may become a sequence of MFCC vectors forming a trajectory in the acoustic space M. Keyword spotting may now simply become a problem of computing probability of generating the trajectory given the keyword model.
  • This operation may be achieved by using the well-known principle of dynamic programming, specifically the Viterbi algorithm, which aligns the keyword model to the best segment of the audio signal, and results in a match score. If the match score is significant, the keyword spotting algorithm infers that the keyword was spoken and reports a keyword spotted event. [0042]
  • the resulting keywords may then be reported in real-time, 145.
  • the report may be presented as a start and end time of the keyword in the audio stream with a confidence value that the keyword was found.
  • the primary confidence value may be a function of how the keyword is spoken. For example, in the case of multiple pronunciations of a single word, the keyword "tomato" may be spoken as "te-mah- toh" and "te-may-toh". The primary confidence value may be lower when the word is spoken in a less common pronunciation or when the word is not well enunciated. The specific variant of the pronunciation that is part of a particular recognition is also displayed in the report.
  • FIG. 2 is a diagram illustrating a concatenated HMM model.
  • a keyword model may be formed by concatenating phoneme HMMs.
  • the keyword model 200 for the word “rise” is constructed from the monophone models of the phonemes that comprise its pronunciation.
  • the phonemes comprising the pronunciation of "rise” are "r", “ay”, and "z”.
  • Each phoneme has three states present consisting of a beginning portion of sound 210, a central portion of sound 211, and trailing portion of sound 212.
  • the phoneme "r” has a beginning portion of sound 210 shown as “rl” in the model.
  • the central portion of sound 211 is exhibited by “r2” and the trailing portion of sound 212 is exhibited by "r3".
  • the phoneme “ay” has a beginning portion of sound 210 illustrated as “ayl” in the model.
  • the central portion of sound 211 is illustrated by “ay2” and the trailing portion of sound 212 is illustrated by “ay3".
  • the phoneme “z” has a beginning portion of sound 210 illustrated as “zl” in the model.
  • the central portion of sound 211 is exhibited by “z2” and the trailing portion of sound 212 is exhibited by "z3".
  • Each portion of sound has a transition 213 either within the portion itself or between portions.
  • a context dependent keyword model may be constructed by concatenating its triphone models.
  • Figure 3a is a diagram illustrating an abstract visualization of the audio feature space and the triphone models which spans this space. In reality, the audio space is 39-dimensional, but for illustration purposes, a 2-dimensional space is shown.
  • Figure 3b is a diagram illustrating monophone models which completely span the same audio feature space. In light of the observations from Figures 3a and 3b, the keyword spotting algorithm as presented above
  • FIG. 4 is a diagram illustrating a speech signal 400 showing a spoken keyword 410 surrounded by garbage models 405, 415.
  • a keyword is spoken as a part of a continuous speech stream.
  • the garbage model 405 takes precedence, as it matches non- keyword audio portions.
  • the accumulated score during this period is represented by Si in the following equations.
  • the garbage match score is represented by S 2 .
  • the garbage model 415 takes precedence. Instead of explicitly computing the garbage probabilities, Si and S 2 , a constant value e is chosen such that
  • Figure 5 is a table illustrating phoneme level probabilities 500 comparing the phoneme match probabilities of the spoken words "December” and “discover” as compared to the keyword model for "December".
  • a high rate of false alarms may be counted as one of the main problems in a keyword spotting algorithm.
  • keyword spotters have no access to word level contextual information. For example, when searching for the keyword “rise”, the acoustic signal for "rise” is very similar to that of "price”, “rice”, “prize”, “notarize”, etc. These words would thus be treated as a match by the system. This is a similar problem as in substring searches in text where subwords match to the keystring.
  • Anti- words are a set of words that are commonly confused with keywords within the system. In the presented example with the words “price”, “rice”, “prize”, “notarize”, etc., as mentioned above, these words comprise the anti-word set of the keyword "rise”.
  • the system searches for these anti-words in parallel to the keyword and reports a keyword found event only when the keyword match score supersedes the anti-word match score. This feature is an effective method to curb spurious false alarms. The method, however, still requires user intervention and creating large anti-word sets. Other techniques may be purely data driven and thus sometimes more desirable.
  • Mismatch phoneme percentage determines the number of phonemes of the keyword that mismatch the audio signal, even though the overall keyword probability from the Viterbi search was found as a match.
  • the word “December” as shown in Figure 5 may be found to wrongly match instances of "Discover” by the keyword spotter.
  • Phoneme level probabilities are exemplified in Figure 5. Score represents how much the phoneme matches the audio stream. Using the instant example, the more positive the number, the better the match. A score value of "0" would indicate a perfect match. These scores are always negative or zero.
  • the probability for "December” is -0.37, while it is -1.18 for "discover”. It can be noted that all of the phonemes yield lower probabilities when the spoken utterance was "discover" as compared to the spoken utterance
  • the match phoneme percentage measure computes the percentage of phonemes that match the audio signal.
  • the percentage of fit phonemes may be expected to be above a preset threshold for the keyword found event to be reported.
  • the duration penalized probability emphasizes durational mismatches of a keyword with the audio stream. For example, consonants such as “t”, “d”, and “b” have a lower expected duration compared to vowels such as “aa”, “ae”, and “uw”. In the event these consonants match for a longer than expected duration, the keyword match is most likely a false alarm. These events can be the result of poor acoustic model or presence of noise in the signal being analyzed. To capture such a scenario, the duration penalized probability is computed as
  • FIG. 6 is a diagram illustrating the relation between the internal match "Score" and external "Confidence" values. Spotability is a measure of expected accuracy from the system. The primary use of this measure is to guide users in determining a good set of keywords. Other uses include feedback to the recognition engine and controlling the false alarm rate.
  • the diagram in Figure 6 shows the relationship between the match probability, or the "score", as determined by the recognition engine and the confidence values as reported by the system.
  • the solid curve 605 is used if no information about the keyword is known. If Spotability is known, the relationship may be modified by changing the operating score range of the keyword, as shown by the dashed and dotted lines.
  • the dashed line 610 exhibits a low spotability keyword while the dotted line 615 exhibits a high spotability keyword.
  • the value of confidence increases, so does the likelihood of a match where 0.0 is indicative of no match and 1.0 is a match.
  • the minScore becomes more negative, so does the likelihood of a mismatch.
  • the Score approaches 0.0 there is a greater likelihood of a match. Thus, a Score of 0 and a Confidence of 1.0 would indicate a perfect match.
  • FIG. 7 is a diagram illustrating the system behavior with varied confidence settings.
  • the result of changing the operating range based on spotability is a more controlled behavior of the system.
  • an associated spotability measure is presented, such as 70.
  • the internal score range is modified as shown in Figure 7, such that at the default confidence setting (0.5) the system produces 5 false alarms per hour and a detection rate of 70%. If the user wishes a higher accuracy, the confidence setting is lowered, which in turn could possibly create a higher false alarm rate. If the user wishes lower false alarm rate, confidence setting is increased, thus possibly resulting in lower detection rate.
  • the diagram 700 illustrates the behavior of the system as the confidence settings are altered. As the Confidence setting approaches 1.0, the rate of detection decreases until it achieves a value 0.0 at a Confidence setting of 1.0. The rate of false alarms also decreases and approaches 0.0 as the
  • a process 800 for utilizing the keyword spotting algorithm is provided.
  • the process 800 may be operative on any or all elements of the system 100 ( Figure 1).
  • Data is contained within both the Keyword Model 805 and the Audio Stream 810. While the Keyword Model 805 may just be needed once during the data flow process, the Audio Stream 810 is a continuous input of data into the system. For example, the Audio Stream may be a person speaking into the system real-time via a digital telephone.
  • concatenating phoneme HMMs contains the keywords that are user defined according to user preference. For example, a user may define keywords that are industry specific such as "terms”, “conditions”, “premium”, and “endorsement” for the insurance industry. These keywords in the Keyword Model 810 are used for pattern matching with words that are continuously input into the system via the Audio Stream 810. Control is passed to operation 815 and the process 800 continues.
  • probability is computed in the Recognition Engine, 140 ( Figure 1). As previously described, probability scores are used by the system to determine matched phonemes. The percentage of these phonemes is expected to be above the preset threshold for the keyword found event to be report. Control is passed to operation 820 and the process 800 continues.
  • operation 820 it is determined whether or not the computed probability is greater than the threshold. If it is determined that the probability is greater than the threshold, then control is passed to step 825 and process 800 continues. If it is determined that the probability is not greater than the threshold, then the system control is passed to step 815 and process 800 continues.
  • the determination in operation 820 may be made based on any suitable criteria.
  • the threshold may be user set or left at a system default value. As the value of the threshold, or confidence setting, approaches 0.0, the higher the frequency of false alarms which may occur. The rate of detection of the keyword may not be much higher than if the confidence setting was slightly higher with less frequency of false alarms.
  • the system computes empirical metrics, such as comparison to anti-word scores, mismatch phoneme percentage, match phoneme percentage, and/or duration penalized probability, to name just a few non-limiting examples.
  • the metrics are used to compute secondary data and may serve as an additional check before reporting keyword found events. Control is passed operation 830 and the process 800 continues.
  • operation 830 it is determined whether or not the possible matches are identified as false alarms. If it is determined that the possible matches are false alarms, then control is passed to step 815 and process 800 continues. If it is determined that the possible matches are not false alarms, then control is passed to step 835 and process 800 continues.
  • step 815 probability is computed again using a different piece of the audio stream and the process proceeds.
  • the determination in operation 830 may be made based on any suitable criteria.
  • the criteria are based on the probabilities and the empirical metrics that have been calculated by the system.

Landscapes

  • Engineering & Computer Science (AREA)
  • Acoustics & Sound (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Multimedia (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Machine Translation (AREA)
  • Alarm Systems (AREA)
  • Circuits Of Receivers In General (AREA)
  • Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
  • Navigation (AREA)

Abstract

A system and method are presented for real-time speech analytics in the speech analytics field. Real time audio is fed along with a keyword model, into a recognition engine. The recognition engine computes the probability of the audio stream data matching keywords in the keyword model. The probability is compared to a threshold where the system determines if the probability is indicative of whether or not the keyword has been spotted. Empirical metrics are computed and any false alarms are identified and rejected. The keyword may be reported as found when it is deemed not to be a false alarm and passes the threshold for detection.

Description

TITLE
METHOD AND SYSTEM FOR REAL-TIME KEYWORD SPOTTING FOR SPEECH ANALYTICS
BACKGROUND
[0001] The present invention generally relates to telecommunication systems and methods, as well as automatic speech recognition systems. More particularly, the present invention pertains to keyword spotting within automatic speech recognition systems.
[0002] Keyword spotting systems that are currently in use may include: phonetic search, garbage models, and large vocabulary continuous speech recognition (LVCSR). Each of these systems has inherent drawbacks which affect the accuracy and performance of the system.
[0003] In phonetic search systems, a "phonetic decoder" is relied upon which converts an audio stream into one or many possible sequences of phonemes which can be used to identify words. "John says", for example, can be broken down into the phoneme string "jh aa n s eh s". The phonetic decoder hypothesizes a phoneme stream for the audio. This phoneme sequence is compared to the expected phoneme sequence for a keyword and a match is found. Some systems developed with this concept have shown reasonable performance, however, there are many disadvantages for use in a real-time application. Use of a phonetic decoder prior to keyword search clearly needs to be done in two stages. This adds considerable complexity. Such a system would work well in retrieval from stored audio, where real-time processing is not required. Another disadvantage is the rate of error with phoneme recognition. The state-of-the-art speech recognizers, which incorporate complex language models, still produce accuracies in the range of 70-80%. The accuracy decreases further for conversational speech. These errors are further compounded by the phonetic search errors producing degradation in keyword spotting accuracy.
[0004] Another common technique used for keyword spotting is via the use of Garbage models that match to audio any data other than the keyword. A phoneme network is commonly used to decode non-keyword audio into a sequence of phonemes. One simple approach to implement this method is to use speech recognizers conforming to the Speech Recognition Grammar Specification (SRGS) and write a grammar as follows:
[0005] $root = $GARBAGE ("keywordl" | "keyword2") $GARBAGE;
[0006] Since most speech recognizers use phonetic decoding to implement a $GARBAGE rule, these methods have the same disadvantages of the phonetic search, especially from a resource usage standpoint. Another approach to implementation of a garbage model is to treat it as a logical hidden Markov model (HMM) state, and its emitting probability to be a function of all triphone models in the acoustic model, or estimate it iteratively. Both the approaches hinder real-time requirements as they need computation of a large number of probabilities or go through the data in multiple passes.
[0007] LVCSR systems rely completely on a LVCSR speech recognition engine to provide a word-level transcription of the audio and later perform a text based search on the transcriptions for the keyword. Considering the high computational cost of LVCSR engines, this solution is clearly infeasible for real-time keyword spotting. Furthermore, the accuracy of LVCSR systems is usually tied closely with domain knowledge. The system's vocabulary needs to either be rich enough to contain all possible keywords of interest or be very domain specific. Spotting keywords from multiple languages would mean running multiple recognizers in parallel. A more effective means to increase the efficacy of these methods is desired to make keyword spotters more pervasive in real-time speech analytics systems.
SUMMARY
[0008] A system and method are presented for real-time speech analytics in the speech analytics field. Real time audio is fed along with a keyword model, into a recognition engine. The recognition engine computes the probability of the audio stream data matching keywords in the keyword model. The probability is compared to a threshold where the system determines if the probability is indicative of whether or not the keyword has been spotted. Empirical metrics are computed and any false alarms are identified and rejected. The keyword may be reported as found when it is deemed not to be a false alarm and passes the threshold for detection.
[0009] In one embodiment, a computer-implemented method for spotting predetermined keywords in an audio stream is disclosed, comprising the steps of: a) developing a keyword model for the predetermined keywords; b) comparing the keyword model and the audio stream to spot probable ones of the predetermined keywords; c) computing a probability that a portion of the audio stream matches one of the predetermined keywords from the keyword model; d) comparing the computed probability to a predetermined threshold; e) declaring a potential spotted word if the computed probability is greater than the predetermined threshold; f) computing further data to aid in determination of mismatches; g) using the further data to determine if the potential spotted word is a false alarm; and h) reporting spotted keyword if a false alarm is not identified at step (g).
[0010] In another embodiment, a computer-implemented method for spotting predetermined keywords in an audio stream is disclosed, comprising the steps of: a) developing a keyword model for the predetermined keywords; b) dividing the audio stream into a series of points in an acoustic space that spans all possible sounds created in a particular language; c) computing a posterior probability that a first trajectory of each keyword model for the predetermined keywords in the acoustic space matches a second trajectory of a portion of the series of points in the acoustic space; d) comparing the posterior probability to a predetermined threshold; and e) reporting a spotted keyword if the posterior probability is greater than the predetermined threshold.
[0011] In another embodiment, a system for spotting predetermined keywords in an audio stream is disclosed, comprising: means for developing a keyword model for the predetermined keywords; means for comparing the keyword model and the audio stream to spot probable ones of the predetermined keywords; means for computing a probability that a portion of the audio stream matches one of the predetermined keywords from the keyword model; means for comparing the computed probability to a predetermined threshold; means declaring a potential spotted word if the computed probability is greater than the predetermined threshold; means for computing further data to aid in determination of mismatches; means for using the further data to determine if the potential spotted word is a false alarm; and means for reporting spotted keyword if a false alarm is not identified.
BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 is a diagram illustrating the basic components in a keyword spotter. [0013] Figure 2 is a diagram illustrating a concatenated HMM model.
[0014] Figure 3a is a diagram illustrating an abstract visualization of the audio feature space and the triphone models which span this space.
[0015] Figure 3b is a diagram illustrating monophone models which completely span the same audio feature space.
[0016] Figure 4 is a diagram illustrating a speech signal showing a spoken keyword surrounded by garbage models.
[0017] Figure 5 is a table illustrating phoneme level probabilities.
[0018] Figure 6 is a diagram illustrating the relation between the internal match "Score" and external "Confidence" values.
[0019] Figure 7 is a diagram illustrating the system behavior with varied confidence settings.
[0020] Figure 8 is a flowchart illustrating the keyword spotting algorithm utilized in the system.
DETAILED DESCRIPTION
[0021] For the purposes of promoting an understanding of the principles of the invention, reference will now be made to the embodiment illustrated in the drawings and specific language will be used to describe the same. It will nevertheless be understood that no limitation of the scope of the invention is thereby intended. Any alterations and further modifications in the described embodiments, and any further applications of the principles of the invention as described herein are contemplated as would normally occur to one skilled in the art to which the invention relates.
[0022] Automatic speech recognition (ASR) systems analyze human speech and translate them into text or words. Performance of these systems is commonly evaluated based on the accuracy, reliability, language support, and the speed with which speech can be recognized. The performance of the system is expected to be very high. Superior performance is often quantified by a high detection rate and a low false alarm rate. Industry standard is considered to be around a 70% detection rate at 5 false alarms per keyword per hour of speech, or 5 FA/kw/hr. Factors such as accent, articulation, speech rate, pronunciation, background noise, etc., can have a negative effect on the accuracy of the system.
Processing speed is necessary to analyze several hundreds of telephone conversations at once and in real-time. The system is also expected to perform consistently and reliably irrespective of channel conditions and various artifacts introduced by modern telephony channels, especially voice over IP. Keywords from multiple languages also need to be spotted on the same audio source.
[0023] Those skilled in the art will recognize from the present disclosure that the various
methodologies disclosed herein may be computer implemented using a great many different forms of data processing equipment, such as digital microprocessors and associated memory executing appropriate software program(s), to name just one non-limiting example. The specific form of the hardware, firmware and software used to implement the presently disclosed embodiments is not critical to the present invention.
[0024] In the present invention, posterior probability computations for speech recognition systems may be used to increase system effectiveness. Prior systems designed to perform keyword spotting use the log-likelihood measure to match presented audio to the phonemes in a keyword. Phonemes are sub- word units that typically are modeled in ASR systems. Additionally, phonemes can be modeled in isolation or in context of other phonemes. The former are called monophones and the latter are called triphones when the phoneme depends on its previous and next phonemic context. Posterior probability, as used in this invention, may be a measure of how well the audio matches to a model when compared to the same audio as it is matched to all other models for a given speech pattern.
[0025] Use of posterior probabilities in speech recognition has been attempted in the past, primarily by training a neural network. While this method returns an approximation to the posterior probability, it tends to be extremely computationally expensive and requires special training procedures.
[0026] An alternative approach to posterior probability computation for speech recognition may be developed as follows:
[0027] By definition, posterior probability (P) of a model (Γ,), given an observation vector x, may be written as: ; ) P . )
ra: ,r I
[0028] T. /Ί .Γ 7': 1 /Ί7'; Ί
[0029] where P(x | 7",) is the probability of model 7", generating the acoustics x and j is a variable that spans the indices of all models. In the above equation, the term Ρ(Γ,) is held constant for all models, and the formula can be re-written as: i v.
j
[0030] V—" " P ' : 1 ' T ' 1 [0031] This equation is still prohibitively expensive to calculate. The expense may be attributed to the fact that the denominator term is a summation of all models, which can be very large for a context dependent triphone based system (typically tens of thousands of models). To study the impact of the denominator terms, an intuitive and graphical approach may be taken. The denominator as a whole signifies the total probability of models spanning the entire audio space. Therefore, the above equation can be rewritten as: [0033] where M represents a model, V/V7 represents all of the models in the entire audio space, represented as M.
[0034] The above formula does not lose generality. The denominator term is now a summation over any set of models that completely spans the audio feature space.
[0035] Figure 1 is a diagram illustrating the basic components in a keyword spotter, 100. The basic components of a keyword spotter 100 may include User Data/Keywords 105, Keyword Model 110, Knowledge Sources 115 which include an Acoustic Model 120 and a Pronunciation Dictionary/Predictor 125, an Audio Stream 130, a Front End Feature Calculator 135, a Recognition Engine (Pattern Matching) 140, and the Reporting of Found Keywords in Real-Time 145.
[0036] Keywords may be defined, 105, by the user of the system according to user preference. The keyword model 110 may be formed by concatenating phoneme HMMs. This is further described in the description of Figure 2. The Keyword Model, 110, may be composed based on the keywords that are defined by the user and the input to the keyword model based on Knowledge Sources, 115. Such knowledge sources may include an Acoustic Model, 120, and a Pronunciation Dictionary/ Predictor, 125.
[0037] The Knowledge Sources 115 may store probabilistic models of relations between pronunciations and acoustic events. The Knowledge Sources 115 may be developed by analyzing large quantities of audio data. The acoustic model and the pronunciation dictionary/predictor are made, for example, by looking at a word like "hello" and examining the phonemes that comprise the word. Every keyword in the system is represented by a statistical model of its constituent sub-word units called the phonemes. The phonemes for "hello" as defined in a standard phoneme dictionary are: "hh", "eh", "I", and "ow". Models of the four phonemes are then strung together into one composite model which then becomes the keyword model for the world "hello". These models are language dependent. In order to also provide multi-lingual support, multiple knowledge sources may be provided.
[0038] The acoustic model 120 may be formed by statistically modeling the various sounds that occur in a particular language. A phoneme is assumed to be the basic unit of sound. A predefined set of such phonemes is assumed to completely describe all sounds of a particular language. An HMM, which encodes the relationship of the observed audio signal and the unobserved phonemes, forms the fundamental theory for most modern speech recognition systems. A phoneme is considered to be composed of three states, representing the beginning, central, and trailing portions of the sound. An HMM is constructed by concatenating these three states. A training process studies the statistical properties of each of these states for all of the phonemes over a large collection of transcribed audio. A relation between the textual properties and the spoken properties is thus formed. Typically, the statistics of states may be encoded using a Gaussian mixture model (GMM). A set of these GMMs is termed as an acoustic model. Specifically, the one described in this application is referred to as a context-independent, or monophone, model. Many other model types may also be used. For example, many modern speech recognition systems may utilize a more advanced acoustic model, which may be context-dependent and capture the complex variations created due to the position of phonemes in conversational speech. Each state of a phoneme is specialized to its left and right neighboring phonemes. Clearly such a scheme would result in a very large number of GMMs in the acoustic model. One example of a context-dependent phoneme is a triphone.
[0039] The pronunciation dictionary, 125, in Figure 1 may be responsible for decomposing a word into a sequence of phonemes. Keywords presented from the user may be in human readable form, such as grapheme/alphabets of a particular language. However, the pattern matching algorithm may rely on a sequence of phonemes which represent the pronunciation of the keyword. The present invention utilizes a pronunciation dictionary, which may store a mapping between commonly spoken words and their pronunciations. Once the sequence of phonemes is obtained, the corresponding statistical model for each of the phonemes in the acoustic model may be examined. A concatenation of these statistical models may be used to perform keyword spotting for the word of interest. For words that are not present in the dictionary, a predictor, which is based on linguistic rules, may be used to resolve the pronunciations.
[0040] The audio stream (i.e., what is spoken into the system by the user), 130, may be fed into the front end feature calculator, 135, which may convert the audio stream into a representation of the audio stream, or a sequence of spectral features. Audio analysis may be performed by segmenting the audio signal as a sequence of short (typically 10 ms) windows and extracting spectral domain features. For each window, the feature calculator may calculate a set of 13 Mel Frequency Cepstral Coefficients (MFCC) and their first and second order derivatives. The resulting calculations represent each of these windows as a point in a 39-dimensional space M. This space completely spans all possible sounds created in a particular language.
[0041] The keyword model , 110, which may be formed by concatenating phoneme hidden Markov models (HMMs), and the signal from the audio stream, 135, may both then be fed into a recognition engine for pattern matching, 140. The task of the recognition engine may be to take a set of keyword models and search through presented audio stream to find if the words were spoken. In the multidimensional space constructed by the feature calculator, a spoken word may become a sequence of MFCC vectors forming a trajectory in the acoustic space M. Keyword spotting may now simply become a problem of computing probability of generating the trajectory given the keyword model. This operation may be achieved by using the well-known principle of dynamic programming, specifically the Viterbi algorithm, which aligns the keyword model to the best segment of the audio signal, and results in a match score. If the match score is significant, the keyword spotting algorithm infers that the keyword was spoken and reports a keyword spotted event. [0042] The resulting keywords may then be reported in real-time, 145. The report may be presented as a start and end time of the keyword in the audio stream with a confidence value that the keyword was found. The primary confidence value may be a function of how the keyword is spoken. For example, in the case of multiple pronunciations of a single word, the keyword "tomato" may be spoken as "te-mah- toh" and "te-may-toh". The primary confidence value may be lower when the word is spoken in a less common pronunciation or when the word is not well enunciated. The specific variant of the pronunciation that is part of a particular recognition is also displayed in the report.
[0043] Figure 2 is a diagram illustrating a concatenated HMM model. A keyword model may be formed by concatenating phoneme HMMs. For example, the keyword model 200 for the word "rise" is constructed from the monophone models of the phonemes that comprise its pronunciation. The phonemes comprising the pronunciation of "rise" are "r", "ay", and "z". Each phoneme has three states present consisting of a beginning portion of sound 210, a central portion of sound 211, and trailing portion of sound 212. For example, the phoneme "r" has a beginning portion of sound 210 shown as "rl" in the model. The central portion of sound 211 is exhibited by "r2" and the trailing portion of sound 212 is exhibited by "r3". The phoneme "ay" has a beginning portion of sound 210 illustrated as "ayl" in the model. The central portion of sound 211 is illustrated by "ay2" and the trailing portion of sound 212 is illustrated by "ay3". The phoneme "z" has a beginning portion of sound 210 illustrated as "zl" in the model. The central portion of sound 211 is exhibited by "z2" and the trailing portion of sound 212 is exhibited by "z3". Each portion of sound has a transition 213 either within the portion itself or between portions. In a similar fashion, a context dependent keyword model may be constructed by concatenating its triphone models.
[0044] Figure 3a is a diagram illustrating an abstract visualization of the audio feature space and the triphone models which spans this space. In reality, the audio space is 39-dimensional, but for illustration purposes, a 2-dimensional space is shown. Figure 3b is a diagram illustrating monophone models which completely span the same audio feature space. In light of the observations from Figures 3a and 3b, the keyword spotting algorithm as presented above
Figure imgf000012_0001
[0046] becomes
Figure imgf000012_0002
[0048] when M is assumed as the set of monophone models in the first equation, and where Mk represents the monophone models in the second equation. V/V7 is assumed as the set of monophone models. It will be appreciated from the present disclosure that 7", and Mk both span the entire audio space, M, completely. Since the number of GMMs present in the monophone model (Figure 3b) is significantly smaller compared to the triphone model (Figure 3a), computation of posterior probabilities is extremely fast, yet a close representation of the correct value.
[0049] Figure 4 is a diagram illustrating a speech signal 400 showing a spoken keyword 410 surrounded by garbage models 405, 415. A keyword is spoken as a part of a continuous speech stream. In the segment of audio between tD and ts, the garbage model 405 takes precedence, as it matches non- keyword audio portions. The accumulated score during this period is represented by Si in the following equations. Similarly, in the audio segment te to tN, the garbage match score is represented by S2. Here, the garbage model 415 takes precedence. Instead of explicitly computing the garbage probabilities, Si and S2, a constant value e is chosen such that
[0050]
[0051] and ί v
[0052] [0053] The constant e is validated on a large test dataset to realize no significant reduction in performance when compared to explicitly computing the garbage probability. This approximation of using a constant garbage value makes the system significantly faster as compared to traditional keyword spotting algorithms.
[0054] Figure 5 is a table illustrating phoneme level probabilities 500 comparing the phoneme match probabilities of the spoken words "December" and "discover" as compared to the keyword model for "December". A high rate of false alarms may be counted as one of the main problems in a keyword spotting algorithm. Unlike LVCS engines, keyword spotters have no access to word level contextual information. For example, when searching for the keyword "rise", the acoustic signal for "rise" is very similar to that of "price", "rice", "prize", "notarize", etc. These words would thus be treated as a match by the system. This is a similar problem as in substring searches in text where subwords match to the keystring.
[0055] In order to constrain false alarms, the following are a few non-limiting examples of approaches may be used as a secondary check on keyword matches found by the main Viterbi algorithm. Anti- words are a set of words that are commonly confused with keywords within the system. In the presented example with the words "price", "rice", "prize", "notarize", etc., as mentioned above, these words comprise the anti-word set of the keyword "rise". The system searches for these anti-words in parallel to the keyword and reports a keyword found event only when the keyword match score supersedes the anti-word match score. This feature is an effective method to curb spurious false alarms. The method, however, still requires user intervention and creating large anti-word sets. Other techniques may be purely data driven and thus sometimes more desirable.
[0056] Mismatch phoneme percentage determines the number of phonemes of the keyword that mismatch the audio signal, even though the overall keyword probability from the Viterbi search was found as a match. For example, the word "December" as shown in Figure 5, may be found to wrongly match instances of "Discover" by the keyword spotter. Phoneme level probabilities are exemplified in Figure 5. Score represents how much the phoneme matches the audio stream. Using the instant example, the more positive the number, the better the match. A score value of "0" would indicate a perfect match. These scores are always negative or zero. For the phoneme "d", the probability for "December" is -0.37, while it is -1.18 for "discover". It can be noted that all of the phonemes yield lower probabilities when the spoken utterance was "discover" as compared to the spoken utterance
"December". This metric computes the percentage of such misfit phonemes and performs an additional check before reporting keyword found events.
[0057] Analogous to the mismatch phoneme percentage, the match phoneme percentage measure computes the percentage of phonemes that match the audio signal. The percentage of fit phonemes may be expected to be above a preset threshold for the keyword found event to be reported.
[0058] The duration penalized probability emphasizes durational mismatches of a keyword with the audio stream. For example, consonants such as "t", "d", and "b" have a lower expected duration compared to vowels such as "aa", "ae", and "uw". In the event these consonants match for a longer than expected duration, the keyword match is most likely a false alarm. These events can be the result of poor acoustic model or presence of noise in the signal being analyzed. To capture such a scenario, the duration penalized probability is computed as
Figure imgf000014_0001
[0060] where p, represents the probability of phoneme /, d, represents the duration of phoneme /, and D represents a duration threshold determined based upon tests performed on large datasets. The duration penalized score for a keyword may be represented by the average of all its phoneme scores. By doubling the scores for long phonemes, this metric emphasizes mismatches created by spurious phonemes and thus lowering false alarms. [0061] Figure 6 is a diagram illustrating the relation between the internal match "Score" and external "Confidence" values. Spotability is a measure of expected accuracy from the system. The primary use of this measure is to guide users in determining a good set of keywords. Other uses include feedback to the recognition engine and controlling the false alarm rate. The diagram in Figure 6 shows the relationship between the match probability, or the "score", as determined by the recognition engine and the confidence values as reported by the system. By default, the solid curve 605 is used if no information about the keyword is known. If Spotability is known, the relationship may be modified by changing the operating score range of the keyword, as shown by the dashed and dotted lines. The dashed line 610 exhibits a low spotability keyword while the dotted line 615 exhibits a high spotability keyword. As the value of confidence increases, so does the likelihood of a match where 0.0 is indicative of no match and 1.0 is a match. As the minScore becomes more negative, so does the likelihood of a mismatch. As the Score approaches 0.0, there is a greater likelihood of a match. Thus, a Score of 0 and a Confidence of 1.0 would indicate a perfect match.
[0062] Figure 7 is a diagram illustrating the system behavior with varied confidence settings. The result of changing the operating range based on spotability is a more controlled behavior of the system. When a user registers a keyword to be spotted, an associated spotability measure is presented, such as 70. By definition, this means the system results in 70% accuracy with a false alarm rate of 5 per hour. To obtain this behavior from the system, the internal score range is modified as shown in Figure 7, such that at the default confidence setting (0.5) the system produces 5 false alarms per hour and a detection rate of 70%. If the user wishes a higher accuracy, the confidence setting is lowered, which in turn could possibly create a higher false alarm rate. If the user wishes lower false alarm rate, confidence setting is increased, thus possibly resulting in lower detection rate.
[0063] The diagram 700 illustrates the behavior of the system as the confidence settings are altered. As the Confidence setting approaches 1.0, the rate of detection decreases until it achieves a value 0.0 at a Confidence setting of 1.0. The rate of false alarms also decreases and approaches 0.0 as the
Confidence setting approaches 1.0. Conversely, as the rate of detection increases, the Confidence setting approaches 0.0 and the rate of False Alarms (FA/Hr) increases.
[0064] As illustrated in Figure 8, a process 800 for utilizing the keyword spotting algorithm is provided. The process 800 may be operative on any or all elements of the system 100 (Figure 1).
[0065] Data is contained within both the Keyword Model 805 and the Audio Stream 810. While the Keyword Model 805 may just be needed once during the data flow process, the Audio Stream 810 is a continuous input of data into the system. For example, the Audio Stream may be a person speaking into the system real-time via a digital telephone. The Keyword Model 805, which is formed by
concatenating phoneme HMMs, contains the keywords that are user defined according to user preference. For example, a user may define keywords that are industry specific such as "terms", "conditions", "premium", and "endorsement" for the insurance industry. These keywords in the Keyword Model 810 are used for pattern matching with words that are continuously input into the system via the Audio Stream 810. Control is passed to operation 815 and the process 800 continues.
[0066] In operation 815, probability is computed in the Recognition Engine, 140 (Figure 1). As previously described, probability scores are used by the system to determine matched phonemes. The percentage of these phonemes is expected to be above the preset threshold for the keyword found event to be report. Control is passed to operation 820 and the process 800 continues.
[0067] In operation 820, it is determined whether or not the computed probability is greater than the threshold. If it is determined that the probability is greater than the threshold, then control is passed to step 825 and process 800 continues. If it is determined that the probability is not greater than the threshold, then the system control is passed to step 815 and process 800 continues.
[0068] The determination in operation 820 may be made based on any suitable criteria. For example, the threshold may be user set or left at a system default value. As the value of the threshold, or confidence setting, approaches 0.0, the higher the frequency of false alarms which may occur. The rate of detection of the keyword may not be much higher than if the confidence setting was slightly higher with less frequency of false alarms.
[0069] In the event that control is passed back to step 815, probability is then computed again using a different piece of the audio stream and the process proceeds.
[0070] In operation 825, the system computes empirical metrics, such as comparison to anti-word scores, mismatch phoneme percentage, match phoneme percentage, and/or duration penalized probability, to name just a few non-limiting examples. The metrics are used to compute secondary data and may serve as an additional check before reporting keyword found events. Control is passed operation 830 and the process 800 continues.
[0071] In operation 830, it is determined whether or not the possible matches are identified as false alarms. If it is determined that the possible matches are false alarms, then control is passed to step 815 and process 800 continues. If it is determined that the possible matches are not false alarms, then control is passed to step 835 and process 800 continues.
[0072] Once the process returns to step 815, probability is computed again using a different piece of the audio stream and the process proceeds.
[0073] The determination in operation 830 may be made based on any suitable criteria. In some embodiments, the criteria are based on the probabilities and the empirical metrics that have been calculated by the system.
[0074] In operation 835, the system reports the keyword as found and the process ends.
[0075] While the invention has been illustrated and described in detail in the drawings and foregoing description, the same is to be considered as illustrative and not restrictive in character, it being understood that only the preferred embodiment has been shown and described and that all equivalents, changes, and modifications that come within the spirit of the inventions as described herein and/or by the following claims are desired to be protected.
[0076] Hence, the proper scope of the present invention should be determined only by the broadest interpretation of the appended claims so as to encompass all such modifications as well as all relationships equivalent to those illustrated in the drawings and described in the specification.

Claims

1. A computer-implemented method for spotting predetermined keywords in an audio stream, comprising the steps of:
a) developing a keyword model for the predetermined keywords;
b) comparing the keyword model and the audio stream to spot probable ones of the
predetermined keywords;
c) computing a probability that a portion of the audio stream matches one of the
predetermined keywords from the keyword model;
d) comparing the computed probability to a predetermined threshold;
e) declaring a potential spotted word if the computed probability is greater than the
predetermined threshold;
f) computing further data to aid in determination of mismatches;
g) using the further data to determine if the potential spotted word is a false alarm; and h) reporting spotted keyword if a false alarm is not identified at step (g).
2. The method of claim 1, wherein step (a) comprises concatenating phoneme hidden Markov models of predetermined keywords.
3. The method of claim 1, wherein step (a) comprises:
a.l) creating a pronunciation dictionary that defines a sequence of phonemes for each of the predetermined keywords;
a.2) creating an acoustic model that statistically models a relation between textual
properties of the phonemes for each of the predetermined keywords and spoken properties of the phonemes for each of the predetermined keywords; and a.3) concatenating acoustic models for the sequence of phonemes for each of the
predetermined keywords.
4. The method of claim 3, wherein step (a.2) comprises creating a set of Gaussian mixture models.
5. The method of claim 3, wherein step (a.2) comprises creating the acoustic model selected from the group consisting of: context-independent model, context-dependent model, and triphone model.
6. The method of claim 1, wherein step (b) comprises: b.l) converting the audio stream into a sequence of spectral features; and b.2) comparing the keyword models to the sequence of spectral features.
7. The method of claim 6, wherein step (b.l) comprises: b.1.1) converting the audio stream into a sequence of windows; and b. l.2) calculating a set of 13 Mel Frequency Cepstrel Coefficients and their first and second order derivatives for each window.
8. The method of claim 1, wherein step (c) comprises executing a Viterbi algorithm.
9. The method of claim 1, wherein step (c) comprises calculating a posterior probability.
10. The method of claim 9, wherein the posterior probability comprises:
/ *f / -. ,,· ·, . .. . _L_^_
11. The method of claim 1, wherein step (c) comprises: c. l) assigning a constant predetermined probability to the portions of the audio stream that do not match the keyword.
12. The method of claim 1, wherein step (c) comprises computing further data selected from the group consisting of: anti-word match scores, mismatch phoneme percentage, match phoneme percentage, duration penalized probability, and a predetermined Confidence value.
13. The method of claim 12, wherein the predetermined Confidence value is chosen for each of the predetermined keywords so as to achieve a desired false alarm rate and accuracy.
14. The method of claim 1, wherein the audio stream comprises a continuous spoken speech stream.
15. A computer-implemented method for spotting predetermined keywords in an audio stream, comprising the steps of:
a) developing a keyword model for the predetermined keywords;
b) dividing the audio stream into a series of points in an acoustic space that spans all possible sounds created in a particular language;
c) computing a posterior probability that a first trajectory of each keyword model for the predetermined keywords in the acoustic space matches a second trajectory of a portion of the series of points in the acoustic space;
d) comparing the posterior probability to a predetermined threshold; and
e) reporting a spotted keyword if the posterior probability is greater than the
predetermined threshold.
16. The method of claim 15, wherein step (e) comprises:
e.l) declaring a potential spotted word if the posterior probability is greater than the
predetermined threshold;
e.2) computing further data to aid in determination of mismatches;
e.3) using the further data to determine if the potential spotted word is a false alarm; and e.4) reporting spotted keyword if a false alarm is not identified at step (e.3).
17. The method of claim 15, wherein step (a) comprises concatenating phoneme hidden Markov models of predetermined keywords.
18. The method of claim 15, wherein step (a) comprises:
a.l) creating a pronunciation dictionary that defines a sequence of phonemes for each of the predetermined keywords; a.2) creating an acoustic model that statistically models a relation between textual properties of the phonemes for each of the predetermined keywords and spoken properties of the phonemes for each of the predetermined keywords; and a.3) concatenating acoustic models for the sequence of phonemes for each of the predetermined keywords.
19. The method of claim 18, wherein step (a.2) comprises creating a set of Gaussian mixture models.
20. The method of claim 19, wherein step (a.2) comprises creating the acoustic model selected from the group consisting of: context-independent model, context-dependent model, and triphone model.
21. The method of claim 15, wherein step (b) comprises: b. l) converting the audio stream into a sequence of windows; and b.2) calculating a set of 13 Mel Frequency Cepstrel Coefficients and their first and second order derivatives for each window.
22. The method of claim 15, wherein step (c) comprises executing a Viterbi algorithm.
23. The method of claim 15, wherein the posterior probability comprises:
Figure imgf000022_0001
method of claim 15, wherein step (c) comprises: assigning a constant predetermined probability to the portions of the audio stream that do not match the keyword.
25. The method of claim 16, wherein step (e.2) comprises computing further data selected from the group consisting of: anti-word match scores, mismatch phoneme percentage, match phoneme percentage, duration penalized probability, and a predetermined Confidence value.
26. The method of claim 25, wherein the predetermined Confidence value is chosen for each of the predetermined keywords so as to achieve a desired false alarm rate and accuracy.
27. The method of claim 15, wherein the audio stream comprises a continuous spoken speech stream.
28. The method of claim 15, wherein the space comprises a 39-dimensional space.
29. A system for spotting predetermined keywords in an audio stream, comprising:
means for developing a keyword model for the predetermined keywords;
means for comparing the keyword model and the audio stream to spot probable ones of the predetermined keywords; means for computing a probability that a portion of the audio stream matches one of the predetermined keywords from the keyword model; means for comparing the computed probability to a predetermined threshold;
means for declaring a potential spotted word if the computed probability is greater than the predetermined threshold; means for computing further data to aid in determination of mismatches;
means for using the further data to determine if the potential spotted word is a false alarm; and means for reporting spotted keyword if a false alarm is not identified.
30. The system of claim 29, wherein said means for comparing the keyword model and the audio stream to spot probable ones of the predetermined keywords is capable of pattern matching.
31. The system of claim 29, wherein said audio stream is supplied from a telephone conversation.
32. The system of claim 29, wherein said system contains a means for decomposing a word into a sequence of phonemes.
33. The system of claim 29, wherein said means for comparing the keyword model and the audio stream to spot probable ones of the predetermined keywords matches patterns between said keywords and said audio stream.
Figure imgf000025_0001
PCT/US2012/047715 2012-07-20 2012-07-20 Method and system for real-time keyword spotting for speech analytics WO2014014478A1 (en)

Priority Applications (9)

Application Number Priority Date Filing Date Title
PCT/US2012/047715 WO2014014478A1 (en) 2012-07-20 2012-07-20 Method and system for real-time keyword spotting for speech analytics
BR112015017106-0A BR112015017106B1 (en) 2012-07-20 2012-07-20 COMPUTER IMPLEMENTED METHOD TO DETECT PREDETERMINED KEYWORDS
EP17205395.1A EP3309778A1 (en) 2012-07-20 2012-07-20 Method for real-time keyword spotting for speech analytics
NZ704832A NZ704832B2 (en) 2012-07-20 Method and system for real-time keyword spotting for speech analytics
EP12881416.7A EP2875508A4 (en) 2012-07-20 2012-07-20 Method and system for real-time keyword spotting for speech analytics
NZ719961A NZ719961B2 (en) 2012-07-20 Method and system for real-time keyword spotting for speech analytics
CA2882664A CA2882664A1 (en) 2012-07-20 2012-07-20 Method and system for real-time keyword spotting for speech analytics
AU2012385479A AU2012385479B2 (en) 2012-07-20 2012-07-20 Method and system for real-time keyword spotting for speech analytics
AU2018271242A AU2018271242A1 (en) 2012-07-20 2018-11-26 Method and system for real-time keyword spotting for speech analytics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/US2012/047715 WO2014014478A1 (en) 2012-07-20 2012-07-20 Method and system for real-time keyword spotting for speech analytics

Publications (1)

Publication Number Publication Date
WO2014014478A1 true WO2014014478A1 (en) 2014-01-23

Family

ID=49949148

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/US2012/047715 WO2014014478A1 (en) 2012-07-20 2012-07-20 Method and system for real-time keyword spotting for speech analytics

Country Status (5)

Country Link
EP (2) EP2875508A4 (en)
AU (2) AU2012385479B2 (en)
BR (1) BR112015017106B1 (en)
CA (1) CA2882664A1 (en)
WO (1) WO2014014478A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105161096A (en) * 2015-09-22 2015-12-16 百度在线网络技术(北京)有限公司 Speech recognition processing method and device based on garbage models
CN111883113A (en) * 2020-07-30 2020-11-03 云知声智能科技股份有限公司 Voice recognition method and device
US10870706B2 (en) 2015-03-20 2020-12-22 Pfizer Inc. Bifunctional cytotoxic agents containing the CTI pharmacophore
US11403714B1 (en) * 2017-07-31 2022-08-02 United Services Automobile Association (Usaa) Systems and methods for adjusting premium rate based on usage
US12002106B1 (en) 2022-07-27 2024-06-04 United Services Automobile Association (Usaa) Systems and methods for adjusting premium rate based on usage

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040143435A1 (en) * 2003-01-21 2004-07-22 Li Deng Method of speech recognition using hidden trajectory hidden markov models
US20070219797A1 (en) * 2006-03-16 2007-09-20 Microsoft Corporation Subword unit posterior probability for measuring confidence
US20080053295A1 (en) * 2006-09-01 2008-03-06 National Institute Of Advanced Industrial Science And Technology Sound analysis apparatus and program
US20100312550A1 (en) * 2009-06-03 2010-12-09 Lee Gil Ho Apparatus and method of extending pronunciation dictionary used for speech recognition
US20110035190A1 (en) * 2005-05-03 2011-02-10 Aware, Inc. Method and system for real-time signal classification
US20110208521A1 (en) * 2008-08-14 2011-08-25 21Ct, Inc. Hidden Markov Model for Speech Processing with Training Method
US20110218804A1 (en) * 2010-03-02 2011-09-08 Kabushiki Kaisha Toshiba Speech processor, a speech processing method and a method of training a speech processor

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5199077A (en) * 1991-09-19 1993-03-30 Xerox Corporation Wordspotting for voice editing and indexing
US5797123A (en) * 1996-10-01 1998-08-18 Lucent Technologies Inc. Method of key-phase detection and verification for flexible speech understanding
US6073095A (en) * 1997-10-15 2000-06-06 International Business Machines Corporation Fast vocabulary independent method and apparatus for spotting words in speech
JP2007057844A (en) * 2005-08-24 2007-03-08 Fujitsu Ltd Speech recognition system and speech processing system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040143435A1 (en) * 2003-01-21 2004-07-22 Li Deng Method of speech recognition using hidden trajectory hidden markov models
US20110035190A1 (en) * 2005-05-03 2011-02-10 Aware, Inc. Method and system for real-time signal classification
US20070219797A1 (en) * 2006-03-16 2007-09-20 Microsoft Corporation Subword unit posterior probability for measuring confidence
US20080053295A1 (en) * 2006-09-01 2008-03-06 National Institute Of Advanced Industrial Science And Technology Sound analysis apparatus and program
US20110208521A1 (en) * 2008-08-14 2011-08-25 21Ct, Inc. Hidden Markov Model for Speech Processing with Training Method
US20100312550A1 (en) * 2009-06-03 2010-12-09 Lee Gil Ho Apparatus and method of extending pronunciation dictionary used for speech recognition
US20110218804A1 (en) * 2010-03-02 2011-09-08 Kabushiki Kaisha Toshiba Speech processor, a speech processing method and a method of training a speech processor

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
HE ET AL.: "Discriminative leaming in sequential pattern recognition.", SIGNAL PROCESSING MAGAZINE, vol. 25, no. Iss. 5, September 2008 (2008-09-01), pages 14 - 36, XP011233602, Retrieved from the Internet <URL:http://ieeexplore.ieee.org> DOI: doi:10.1109/MSP.2008.926652 *
See also references of EP2875508A4 *

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10870706B2 (en) 2015-03-20 2020-12-22 Pfizer Inc. Bifunctional cytotoxic agents containing the CTI pharmacophore
US11365263B2 (en) 2015-03-20 2022-06-21 Pfizer Inc. Bifunctional cytotoxic agents containing the CTI pharmacophore
CN105161096A (en) * 2015-09-22 2015-12-16 百度在线网络技术(北京)有限公司 Speech recognition processing method and device based on garbage models
CN105161096B (en) * 2015-09-22 2017-05-10 百度在线网络技术(北京)有限公司 Speech recognition processing method and device based on garbage models
US11403714B1 (en) * 2017-07-31 2022-08-02 United Services Automobile Association (Usaa) Systems and methods for adjusting premium rate based on usage
CN111883113A (en) * 2020-07-30 2020-11-03 云知声智能科技股份有限公司 Voice recognition method and device
CN111883113B (en) * 2020-07-30 2024-01-30 云知声智能科技股份有限公司 Voice recognition method and device
US12002106B1 (en) 2022-07-27 2024-06-04 United Services Automobile Association (Usaa) Systems and methods for adjusting premium rate based on usage

Also Published As

Publication number Publication date
NZ719961A (en) 2016-11-25
NZ704832A (en) 2016-11-25
EP2875508A4 (en) 2015-12-30
AU2012385479B2 (en) 2018-12-13
AU2018271242A1 (en) 2018-12-13
EP3309778A1 (en) 2018-04-18
AU2012385479A1 (en) 2015-03-05
BR112015017106A2 (en) 2022-08-30
EP2875508A1 (en) 2015-05-27
CA2882664A1 (en) 2014-01-23
BR112015017106B1 (en) 2023-12-12

Similar Documents

Publication Publication Date Title
US9672815B2 (en) Method and system for real-time keyword spotting for speech analytics
US10157610B2 (en) Method and system for acoustic data selection for training the parameters of an acoustic model
EP2048655B1 (en) Context sensitive multi-stage speech recognition
Hazen et al. Pronunciation modeling using a finite-state transducer representation
AU2013305615B2 (en) Method and system for selectively biased linear discriminant analysis in automatic speech recognition systems
US20140067391A1 (en) Method and System for Predicting Speech Recognition Performance Using Accuracy Scores
WO2001022400A1 (en) Iterative speech recognition from multiple feature vectors
AU2018271242A1 (en) Method and system for real-time keyword spotting for speech analytics
EP2891147B1 (en) Method and system for predicting speech recognition performance using accuracy scores
Williams Knowing what you don't know: roles for confidence measures in automatic speech recognition
Zhang et al. Improved mandarin keyword spotting using confusion garbage model
JP6027754B2 (en) Adaptation device, speech recognition device, and program thereof
Sukkar Subword-based minimum verification error (SB-MVE) training for task independent utterance verification
JP2004139033A (en) Voice synthesizing method, voice synthesizer, and voice synthesis program
Verhasselt et al. The importance of segmentation probability in segment based speech recognizers
Gabriel Automatic speech recognition in somali
JP6199994B2 (en) False alarm reduction in speech recognition systems using contextual information
NZ704832B2 (en) Method and system for real-time keyword spotting for speech analytics
De Mori et al. The use of syllable phonotactics for word hypothesization
NZ719961B2 (en) Method and system for real-time keyword spotting for speech analytics
Ishaq Voice activity detection and garbage modelling for a mobile automatic speech recognition application
Amdal Learning pronunciation variation: A data-driven approach to rule-based lecxicon adaptation for automatic speech recognition
Vorstermans et al. Speaker-Independent Phone Recognition with a Dynamic Programming/Multi-Layer Perceptron System
RU160585U1 (en) SPEECH RECOGNITION SYSTEM WITH VARIABILITY MODEL
Magimai-Doss et al. On the adequacy of baseform pronunciations and pronunciation variants

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 12881416

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2882664

Country of ref document: CA

WWE Wipo information: entry into national phase

Ref document number: 2012881416

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2012385479

Country of ref document: AU

Date of ref document: 20120720

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: 2015000654

Country of ref document: CL

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112015017106

Country of ref document: BR

ENPW Started to enter national phase and was withdrawn or failed for other reasons

Ref document number: 112015017106

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112015017106

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20150716