The present application is a national stage application under 35 U.S.C. § 371 of PCT Application No. PCT/US2012/058613, filed Oct. 4, 2012, which is herein incorporated by reference in its entirety.
The invention generally relates to automatic speech recognition (ASR), and more specifically, to client-server ASR on mobile devices.
An automatic speech recognition (ASR) system determines a semantic meaning of a speech input. Typically, the input speech is processed into a sequence of digital speech feature frames. Each speech feature frame can be thought of as a multi-dimensional vector that represents various characteristics of the speech signal present during a short time window of the speech. For example, the multi-dimensional vector of each speech frame can be derived from cepstral features of the short time Fourier transform spectrum of the speech signal (MFCCs)—the short time power or component of a given frequency band—as well as the corresponding first- and second-order derivatives (“deltas” and “delta-deltas”). In a continuous recognition system, variable numbers of speech frames are organized as “utterances” representing a period of speech followed by a pause, which in real life loosely corresponds to a spoken sentence or phrase.
The ASR system compares the input utterances to find statistical acoustic models that best match the vector sequence characteristics and determines corresponding representative text associated with the acoustic models. More formally, given some input observations A, the probability that some string of words W were spoken is represented as P(W|A), where the ASR system attempts to determine the most likely word string:
Given a system of statistical acoustic models, this formula can be re-expressed as:
where P(A|W) corresponds to the acoustic models and P(W) reflects the prior probability of the word sequence as provided by a statistical language model.
The acoustic models are typically probabilistic state sequence models such as hidden Markov models (HMMs) that model speech sounds using mixtures of probability distribution functions (Gaussians). Acoustic models often represent phonemes in specific contexts, referred to as PELs (Phonetic Elements), e.g. triphones or phonemes with known left and/or right contexts. State sequence models can be scaled up to represent words as connected sequences of acoustically modeled phonemes, and phrases or sentences as connected sequences of words. When the models are organized together as words, phrases, and sentences, additional language-related information is also typically incorporated into the models in the form of a statistical language model.
The words or phrases associated with the best matching model structures are referred to as recognition candidates or hypotheses. A system may produce a single best recognition candidate the recognition result or multiple recognition hypotheses in various forms such as an N-best list, a recognition lattice, or a confusion network. Further details regarding continuous speech recognition are provided in U.S. Pat. No. 5,794,189, entitled “Continuous Speech Recognition,” and U.S. Pat. No. 6,167,377, entitled “Speech Recognition Language Models,” the contents of which are incorporated herein by reference.
Recently, ASR technology has advanced enough to have applications that are implemented on the limited footprint of a mobile device. This can involve a somewhat limited stand-alone ASR arrangement on the mobile device, or more extensive capability can be provided in a client-server arrangement where the local mobile device does initial processing of speech inputs, and possibly some local ASR recognition processing, but the main ASR processing is performed at a remote server with greater resources, then the recognition results are returned for use at the mobile device.
U.S. Pat. Publication 20110054899 describes a hybrid client-server ASR arrangement for a mobile device in which speech recognition may be performed locally by the device and/or remotely by a remote ASR server depending on one or more criteria such as time, policy, confidence score, network availability, and the like.
Embodiments of the present invention are directed to a mobile device and corresponding method for automatic speech recognition (ASR). A local controller determines if a remote ASR processing condition is met, transforms the speech input signal into a selected one of multiple different speech representation types, and sends the transformed speech input signal to a remote server for remote ASR processing. A local ASR arrangement performs local ASR processing of the speech input including processing any speech recognition results received from the remote server.
The local controller may transform the speech input signal and send the transformed speech input signal independently of whether or not the remote ASR processing condition is met. Or the local controller may transform the speech input signal and send the transformed speech input signal only if the remote ASR processing condition is met. The local controller may suspend transforming the speech input signal and sending the transformed speech input signal if it determines that the remote ASR condition is not met.
Even if the remote ASR processing condition is met, the local ASR arrangement may continue the local ASR processing. Or if the remote ASR processing condition is met, the local ASR arrangement processes may suspend local ASR processing except for processing speech recognition results received from the remote server.
The local controller may determine if the remote ASR processing condition is met while the local ASR arrangement is performing the local ASR processing. In that case, after the local controller determines that the remote ASR processing condition is met, it may start sending the transformed speech signal to the remote server starting from the beginning of the speech input signal. Or the local controller may determine if the remote ASR processing condition is met after the local ASR arrangement produces a recognition result.
The local controller may select one of the speech representation types based on different bandwidth characteristics of the speech representation types. The different speech recognition types may include one or more of ASR feature vectors, lossy compressed speech, lossless compressed speech, and uncompressed speech. The recognition results from the remote server may include one or more of unformatted recognition text, formatted recognition text, and a semantic interpretation.
The remote ASR processing condition may be a function of one or more of recognition confidence associated with local ASR processing of the speech input signal, connection condition between the mobile device and the remote server, projected accuracy benefit associated with the remote ASR processing (e.g., based on a metadata function reflecting one or both of application state and dialog context), a local ASR processing latency characteristic, a remote ASR processing latency characteristic, and a recognition cost characteristic.
Determining if the remote ASR processing condition is met may reflect an adaptation process based on speech recognition operation over time. For example, the adaptation process may be an automatic unsupervised adaptation process.
Various embodiments of the present invention are directed to hybrid ASR for a mobile device using a client-server arrangement. A local controller decides when to spend a speech input on to the remote server for recognition depending on such criteria as local recognition confidence score, condition of the data connection, etc. In addition, the local controller further selects a specific type of speech representation to send to the remote server, for example, based on bandwidth characteristics of the different types of speech representations.
In specific embodiments, the local controller 104 may transform the speech input signal and send the transformed speech input signal independently of whether or not the remote ASR processing condition is met. For example,
Once the remote ASR server 106 has completed processing of the transformed speech input signal, it returns its recognition results back to the local device 100, step 207, for further processing by the local ASR processing arrangement 102. Different specific embodiments may have different specific arrangements as to exactly what is done in this regard. For example, if the remote ASR processing condition is met, the local ASR arrangement 102 may continue the local ASR processing including additional processing of the recognition results from the remote ASR server 106 to produce its final recognition output interpretation 108. Or if the remote ASR processing condition is met, the local ASR arrangement 102 processes may suspend local ASR processing except for processing speech recognition results received from the remote ASR server 106 so that the output interpretation 108 is based solely on the remote recognition results.
In some other specific embodiments, the local controller 104 may transform the speech input signal and send the transformed speech input signal only if the remote ASR processing condition is met.
In such an embodiment, the local controller may determine if the remote ASR processing condition is met, step 306 while the local ASR arrangement 102 is performing the local ASR processing. In that case, after the local controller 104 determines that the remote ASR processing condition is met, it may start sending the transformed speech signal to the remote server, step 304, starting from the beginning of the speech input signal. Or the local controller 104 may determine if the remote ASR processing condition is met, step 306, after the local ASR arrangement 102 produces a local recognition result, for example, based on the local recognition results and its confidence.
In any embodiment, the local controller 104 may select one of the speech representation types based on different bandwidth characteristics of the speech representation types. For example, one specific embodiment may be based on three different types of speech representations:
In cases where the type of speech representation is anything less than an uncompressed waveform, some embodiments may send the uncompressed waveform later for adaptation and assessment purposes. For any of the various different speech representation types, it may be advantageous to do some local signal enhancement on the mobile device 100 before sending the speech signal to the remote ASR server 106. Examples of specific such enhancement techniques include without limitation noise suppression/reduction, de-reverberation, beam-forming and echo compensation. It can be advantageous to perform such signal enhancement techniques on the mobile device 100 before sending the speech representation signal through lossy compression. This is known to make such signal enhancement techniques more effective as well as allowing reduced compression loss. In addition, such enhancement techniques are highly likely to be performed—if available on the mobile device 100—for the local ASR arrangement 102 anyways. And in the specific case of beam-forming, performing it locally on the mobile device 100 allows sending the beam-formed speech representation signal to the remote ASR server over a signal channel, whereas by contrast, performing such signal beam-forming on the remote ASR server 106 would require transmitting over multiple channels.
In specific embodiments, the remote ASR processing condition may be a function of one or more of recognition confidence associated with local ASR processing of the speech input, a connection condition between the mobile device and the remote server, a projected accuracy benefit associated with the remote ASR processing, a local ASR processing latency characteristic, a remote ASR processing latency characteristic, and/or a recognition cost characteristic.
For example, an estimate of the accuracy benefit associated with the remote ASR processing should take into account the consideration that if both the local ASR arrangement 102 and the remote ASR server 106 are likely to arrive at the same recognition conclusion, then there is no accuracy benefit to sending the speech input on to the remote server 106. An estimate of the accuracy improvement due to remote ASR processing may also take into account one or more of the following:
It is worth noting that accuracy per se can only be ascertained from user feedback or manual review (e.g. transcription of the audio). But for the purpose of a remote ASR processing condition, it can be predicted whether and how-often the remote recognition result from the remote ASR server 106 will be significantly different from the local recognition result of the local ASR arrangement 102 based on comparing previous local and remote recognition results produced under similar conditions (application state, dialog context, SNR, etc.). It can be assumed that when the recognition results are likely to differ, then the remote ASR server 106 is expected to be of higher accuracy and thus preferred. This decision as to the remote ASR processing condition can be highly adaptive without supervision (i.e., automatically) so as to take into account available metadata. This adaptation can be useful to allow the system to adjust to changes in the current operating environment, such as changes in load on the remote ASR server 106. Adaptation can also be very “fine-grained”, that is, it can be dependent on specific characteristics of the speaker, the mobile device 100, or state of the current dialog. This adaptation depends on comparing recognition results from the remote ASR server 106 with local recognition results from the mobile device 100. But on those trials where the system decides not to send the speech to the remote ASR server 106, the server side recognition results would not normally be available. Hence, in order to collect information to support this adaptation, the system may sometimes send utterances which it would not normally send. It would do this relatively rarely (perhaps only 1% of the utterances), and it could mark these utterances for low priority processing on the remote ASR server 106.
The remote ASR processing condition may be a function of other conditions such as a local ASR processing latency characteristic (i.e., an estimate of the recognition speed of the local ASR arrangement 102). This may be influenced by such factors as computational characteristics of the local mobile device 100 (e.g., number of cores, CPU speed, memory, etc.) and/or load condition at the mobile device 100 (e.g., CPU and memory utilization by the operating system and other running applications at the time when the recognition is about to start). Another consideration may be a remote ASR processing latency characteristic (i.e. latency until a recognition result is received at the mobile device 100). This may be influenced by such factors as data channel conditions and server load (if the remote servers are currently very busy, then don't send). Ideally embodiments seek to not only reduce response latency, but also reduce its variability. Large latency variances can be detrimental to usability for similar or same commands or command categories. For some applications, it may be acceptable for the system to have somewhat higher overall response latency, but prefer to have lower variance in the average latency time.
The remote ASR processing condition also may be a function of one or more recognition cost characteristics such as user's data plan billing status (don't send when the user has used most of their data allowance for the month), server load (if the remote servers are currently very busy, then don't send), and battery status (when the battery is low, sending is more expensive) In the latter case, the local controller 104 might decide to entirely forego sending a speech signal to the remote ASR server 106, or it might do the opposites—end the speech on to the remote ASR server 106 and entirely omit processing by the local ASR arrangement 102.
The local controller 104 may initially determine if the remote ASR processing condition is met at the beginning of speech input, and in some embodiments may reassess that during the course of a speech input. That is, before speech input began, the local controller 104 might decide not to send a new speech input to the remote ASR server 106, and then during the course of recognition or after, local confidence information might cause the local controller 104 to start streaming speech representations to the remote ASR server 106, including a block of data representing the entire speech input from the beginning of the utterance. And conversely, at the beginning of a speech input the local controller 104 may decide to stream speech representations to the remote ASR server 106, but by the end of the speech input the overall recognition confidence may be high, and the local controller 104 might then stop the server side recognition. Some embodiments may also randomly choose some speech inputs to send to the remote ASR server 106 for checking the reliably of the recognition benefit estimate, in which case, we can the local recognition result from the local ASR arrangement 102 may be used without waiting for the result from remote ASR server 106.
Embodiments of the invention may be implemented in whole or in part in any conventional computer programming language such as VHDL, SystemC, Verilog, ASM, etc. Alternative embodiments of the invention may be implemented as pre-programmed hardware elements, other related components, or as a combination of hardware and software components.
Embodiments can be implemented in whole or in part as a computer program product for use with a computer system. Such implementation may include a series of computer instructions fixed either on a tangible medium, such as a computer readable medium (e.g., a diskette, CD-ROM, ROM, or fixed disk) or transmittable to a computer system, via a modem or other interface device, such as a communications adapter connected to a network over a medium. The medium may be either a tangible medium (e.g., optical or analog communications lines) or a medium implemented with wireless techniques (e.g., microwave, infrared or other transmission techniques). The series of computer instructions embodies all or part of the functionality previously described herein with respect to the system. Those skilled in the art should appreciate that such computer instructions can be written in a number of programming languages for use with many computer architectures or operating systems. Furthermore, such instructions may be stored in any memory device, such as semiconductor, magnetic, optical or other memory devices, and may be transmitted using any communications technology, such as optical, infrared, microwave, or other transmission technologies. It is expected that such a computer program product may be distributed as a removable medium with accompanying printed or electronic documentation (e.g., shrink wrapped software), preloaded with a computer system (e.g., on system ROM or fixed disk), or distributed from a server or electronic bulletin board over the network (e.g., the Internet or World Wide Web). Of course, some embodiments of the invention may be implemented as a combination of both software (e.g., a computer program product) and hardware. Still other embodiments of the invention are implemented as entirely hardware, or entirely software (e.g., a computer program product).
Although various exemplary embodiments of the invention have been disclosed, it should be apparent to those skilled in the art that various changes and modifications can be made which will achieve some of the advantages of the invention without departing from the true scope of the invention.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/US2012/058613 | 10/4/2012 | WO | 00 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2014/055076 | 4/10/2014 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
4712189 | Mohri | Dec 1987 | A |
5054082 | Smith et al. | Oct 1991 | A |
5148471 | Metroka et al. | Sep 1992 | A |
5297183 | Bareis et al. | Mar 1994 | A |
5544228 | Wagner et al. | Aug 1996 | A |
5594789 | Seazholtz et al. | Jan 1997 | A |
5632002 | Hashimoto et al. | May 1997 | A |
5774857 | Newlin | Jun 1998 | A |
5855003 | Ladden et al. | Dec 1998 | A |
5943648 | Tel | Aug 1999 | A |
5953700 | Kanevsky et al. | Sep 1999 | A |
5956683 | Jacobs et al. | Sep 1999 | A |
5960399 | Barclay et al. | Sep 1999 | A |
6078886 | Dragosh et al. | Jun 2000 | A |
6088732 | Smith et al. | Jul 2000 | A |
6094680 | Hokanson | Jul 2000 | A |
6098041 | Matsumoto | Aug 2000 | A |
6119087 | Kuhn et al. | Sep 2000 | A |
6173259 | Bijl et al. | Jan 2001 | B1 |
6188985 | Thrift et al. | Feb 2001 | B1 |
6195641 | Loring et al. | Feb 2001 | B1 |
6216013 | Moore et al. | Apr 2001 | B1 |
6282268 | Hughes et al. | Aug 2001 | B1 |
6282508 | Kimura et al. | Aug 2001 | B1 |
6327568 | Joost | Dec 2001 | B1 |
6363348 | Besling et al. | Mar 2002 | B1 |
6366886 | Dragosh et al. | Apr 2002 | B1 |
6374226 | Hunt et al. | Apr 2002 | B1 |
6408272 | White et al. | Jun 2002 | B1 |
6424945 | Sorsa | Jul 2002 | B1 |
6434523 | Monaco | Aug 2002 | B1 |
6453290 | Jochumson | Sep 2002 | B1 |
6456974 | Baker et al. | Sep 2002 | B1 |
6487534 | Thelen et al. | Nov 2002 | B1 |
6560590 | Shwe et al. | May 2003 | B1 |
6594628 | Jacobs et al. | Jul 2003 | B1 |
6604075 | Brown et al. | Aug 2003 | B1 |
6604077 | Dragosh et al. | Aug 2003 | B2 |
6615171 | Kanevsky et al. | Sep 2003 | B1 |
6615172 | Bennett et al. | Sep 2003 | B1 |
6671669 | Garudadri et al. | Dec 2003 | B1 |
6738743 | Sharma et al. | May 2004 | B2 |
6760705 | Dvorak | Jul 2004 | B2 |
6832380 | Lau et al. | Dec 2004 | B1 |
6912588 | Jardin et al. | Jun 2005 | B1 |
6963759 | Gerson | Nov 2005 | B1 |
7003463 | Maes et al. | Feb 2006 | B1 |
7024363 | Comerford et al. | Apr 2006 | B1 |
7050977 | Bennett | May 2006 | B1 |
7058643 | Vailaya | Jun 2006 | B2 |
7058890 | George et al. | Jun 2006 | B2 |
7099824 | Kushida et al. | Aug 2006 | B2 |
7137126 | Coffman et al. | Nov 2006 | B1 |
7366673 | Ruback et al. | Apr 2008 | B2 |
7389234 | Schmid et al. | Jun 2008 | B2 |
7418382 | Maes | Aug 2008 | B1 |
7519536 | Maes et al. | Apr 2009 | B2 |
7610204 | Ruback et al. | Oct 2009 | B2 |
7729916 | Coffman et al. | Jun 2010 | B2 |
8082153 | Coffman et al. | Dec 2011 | B2 |
8332227 | Maes et al. | Dec 2012 | B2 |
8370159 | Lee | Feb 2013 | B2 |
8868425 | Maes et al. | Oct 2014 | B2 |
8898065 | Newman et al. | Nov 2014 | B2 |
8930194 | Newman et al. | Jan 2015 | B2 |
9196252 | Ruback et al. | Nov 2015 | B2 |
20020065660 | Cooklev et al. | May 2002 | A1 |
20020077811 | Koenig et al. | Jun 2002 | A1 |
20020091515 | Garudadri | Jul 2002 | A1 |
20020091527 | Shiau | Jul 2002 | A1 |
20030004720 | Garudadri et al. | Jan 2003 | A1 |
20030046074 | Ruback et al. | Mar 2003 | A1 |
20030120486 | Brittan et al. | Jun 2003 | A1 |
20030125955 | Arnold et al. | Jul 2003 | A1 |
20030139924 | Balasuriya | Jul 2003 | A1 |
20040010409 | Ushida et al. | Jan 2004 | A1 |
20040083109 | Halonen et al. | Apr 2004 | A1 |
20050049860 | Junqua et al. | Mar 2005 | A1 |
20050131704 | Dragosh et al. | Jun 2005 | A1 |
20060149551 | Ganong et al. | Jul 2006 | A1 |
20060195323 | Monne et al. | Aug 2006 | A1 |
20060235684 | Chang | Oct 2006 | A1 |
20070011010 | Dow et al. | Jan 2007 | A1 |
20070276651 | Bliss et al. | Nov 2007 | A1 |
20070286099 | Stocklein et al. | Dec 2007 | A1 |
20080027723 | Reding et al. | Jan 2008 | A1 |
20080126490 | Ahlenius | May 2008 | A1 |
20080133124 | Sarkeshik | Jun 2008 | A1 |
20080154612 | Evermann et al. | Jun 2008 | A1 |
20080154870 | Evermann et al. | Jun 2008 | A1 |
20080189111 | Ruback et al. | Aug 2008 | A1 |
20090051649 | Rondel | Feb 2009 | A1 |
20090204410 | Mozer et al. | Aug 2009 | A1 |
20090253463 | Shin et al. | Oct 2009 | A1 |
20090287477 | Maes | Nov 2009 | A1 |
20100049521 | Ruback et al. | Feb 2010 | A1 |
20110010168 | Yu | Jan 2011 | A1 |
20110015928 | Odell et al. | Jan 2011 | A1 |
20110054899 | Phillips et al. | Mar 2011 | A1 |
20110060587 | Phillips et al. | Mar 2011 | A1 |
20120030712 | Chang | Feb 2012 | A1 |
20120035932 | Jitkoff et al. | Feb 2012 | A1 |
20120179457 | Newman | Jul 2012 | A1 |
20120179463 | Newman et al. | Jul 2012 | A1 |
20120179464 | Newman et al. | Jul 2012 | A1 |
20120179469 | Newman et al. | Jul 2012 | A1 |
20120179471 | Newman et al. | Jul 2012 | A1 |
20130006620 | Maes et al. | Jan 2013 | A1 |
20130151250 | VanBlon | Jun 2013 | A1 |
20140343948 | Maes et al. | Nov 2014 | A1 |
Number | Date | Country |
---|---|---|
1764945 | Apr 2006 | CN |
101971251 | Feb 2011 | CN |
0 450 610 | Oct 1991 | EP |
0 654 930 | May 1995 | EP |
2325112 | Nov 1998 | GB |
09-098221 | Apr 1997 | JP |
10-207683 | Aug 1998 | JP |
10-214258 | Aug 1998 | JP |
10-228431 | Aug 1998 | JP |
WO 9747122 | Dec 1997 | WO |
Entry |
---|
PCT/US2012/058613, dated May 27, 2013, International Search Report. |
International Preliminary Report on Patentability for PCT/US2012/058613 dated Apr. 16, 2015. |
Gopalakrishnan, P.S., “Compression of acoustic features for speech recognition in network environments,” Proceedings of the 1998 International Conference on Acoustics, Speech and Signal Processing, May 12-15, 1998, vol. 2, pp. 977-980. |
Number | Date | Country | |
---|---|---|---|
20150279352 A1 | Oct 2015 | US |