Hot word threshold automatic tuning

The automatic hotword threshold tuning method enhances voice-enabled device performance by using a cascaded detection system to adjust thresholds based on false acceptance and rejection rates, addressing inefficiencies in existing voice recognition systems.

JP2024153632AActive Publication Date: 2024-10-29GOOGLE LLC
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024106150
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2020-06-10
Filing Date
2024-07-01
Publication Date
2024-10-29
Estimated Expiration
2041-03-15

AI Technical Summary

Technical Problem

Existing voice-enabled devices struggle with inaccurate hotword detection, leading to false acceptance and rejection rates that vary significantly due to different acoustic environments and user tolerances, resulting in inefficient power consumption and user frustration.

Method used

A method and system for automatic hotword threshold tuning using a cascaded hotword detection approach with a first and second stage detector, adjusting the detection threshold based on false acceptance and rejection rates to optimize performance for individual devices and environments.

Benefits of technology

The system dynamically adjusts hotword detection thresholds to reduce false acceptance and rejection rates, improving the accuracy and efficiency of voice-enabled devices by tailoring the detection to specific user and environmental conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024153632000001_ABST
    Figure 2024153632000001_ABST
Patent Text Reader

Abstract

To provide a method and a system for hot word threshold automatic tuning.SOLUTION: A method receives audio data characterizing hot words from a user device executing a first stage hot word detector for detecting a hot word in streaming audio, processing audio data by using a second stage hot word detector, determining whether the hot word is detected by the second stage hot word detector, identifying a false acceptance case in the first stage hot word detector when the hot word is not detected, determining whether or not a false acceptance rate based on several false acceptance cases in a false acceptance period satisfies a false acceptance rate threshold, and adjusts a hot word detection threshold of the first stage hot word detector when the false acceptance rate satisfies the false acceptance rate threshold.SELECTED DRAWING: Figure 6
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to hot word threshold auto-tuning. [Background technology]

[0002] A voice-enabled environment (e.g., a home, a workplace, a school, an automobile, etc.) allows a user to speak a query or command to a computer-based system, and the computer-based system responds and answers the query and / or performs a function based on the command. A voice-enabled environment can be implemented using a network of connected microphone devices distributed throughout various rooms or areas of the environment. These devices use hot words to help identify when a given utterance is directed to the system, as opposed to an utterance directed to another individual present in the environment. Thus, the device may operate in a sleep or hibernation state and wake up only when a detected utterance contains a hot word. Typically, a system used to detect hot words in streaming audio generates a probability score that indicates the likelihood that the hot word is present in the streaming audio. When the probability score meets a predefined threshold, the device initiates a wake-up process. Summary of the Invention [Means for solving the problem]

[0003] One aspect of the present disclosure provides a method for hotword threshold auto-tuning. The method includes receiving audio data from a user device running a first-stage hotword detector in data processing hardware, the audio data characterizing hotwords detected by the first-stage hotword detector in streaming audio captured by the user device. The first-stage hotword detector is configured to generate a likelihood score indicative of whether a hotword is present in an audio characteristic of the streaming audio captured by the user device, and detect the hotword in the streaming audio when the likelihood score satisfies a hotword detection threshold of the first-stage hotword detector.

[0004] The method also includes processing, by the data processing hardware, the audio data using a second stage hot word detector to determine whether the hot word is detected in the audio data by the second stage hot word detector. When the hot word is not detected in the audio data by the second stage hot word detector, the method includes identifying, by the data processing hardware, a false acceptance instance in the first stage hot word detector indicating that the first stage hot word detector incorrectly detected the hot word in the streaming audio.

[0005] The method also includes determining, by the data processing hardware, whether a false acceptance rate associated with the first-stage hot word detector of the user device satisfies a false acceptance rate threshold. The false acceptance rate is based on a number of false acceptance instances identified in the first-stage hot word detector within a false acceptance period. When the false acceptance rate associated with the first-stage hot word detector satisfies the false acceptance rate threshold, the method includes adjusting, by the data processing hardware, a hot word detection threshold of the first-stage hot word detector.

[0006] Implementations of the present disclosure may include one or more of the following optional features: In some implementations, the method further includes inhibiting, by the data processing hardware, a wake-up process on the user device for processing the hot word and / or one or more other words following the hot word in the streaming audio when the hot word is not detected in the audio data by the second-stage hot word detector. In some examples, the method further includes determining, by the data processing hardware, whether subsequent audio data characterizing a spoken query following the hot word in the streaming audio is received from the user device when the hot word is detected in the audio data by the second-stage hot word detector. When subsequent audio data characterizing the spoken query is not received from the user device, the method may include identifying, by the data processing hardware, a false acceptance instance in the first-stage hot word detector indicating that the first-stage hot word detector inaccurately detected the hot word in the streaming audio.

[0007] Optionally, the method further includes processing the vocal query by the data processing hardware when subsequent audio characterizing the vocal query is received from the user device. The user device may be configured to, when the first stage hot word detector detects the hot word in the streaming audio, initiate a wake-up process to process the hot word and / or one or more other words following the hot word in the streaming audio. Adjusting the hot word detection threshold of the first stage hot word detector in some examples includes increasing a value of the hot word detection threshold.

[0008] The method may further include, upon receiving audio data characterizing hot words detected in the streaming audio by the first tier hot word detector, receiving in the data processing hardware from the user device a near miss indication indicating that the first tier hot word detector detected a hot word in the streaming audio within a threshold time period after the first tier hot word detector produced a previous confidence score that failed to satisfy a hot word detection threshold by a threshold margin, the previous confidence score indicating whether the hot word was present in a previous audio characteristic of the streaming audio captured by the user device.

[0009] When the hot word is detected in the audio data by the second tier hot word detector, the method may include identifying, by the data processing hardware, a false rejection case in the first tier hot word detector based on the near miss indicator indicating that the first tier hot word detector failed to initially detect the hot word in a previous audio feature of the streaming audio, and determining, by the data processing hardware, whether a false rejection rate associated with the first tier hot word detector of the user device satisfies a false rejection rate threshold. The false rejection rate is based on a number of false rejection cases identified in the first tier hot word detector within a false rejection period. When the false rejection rate associated with the first tier hot word detector satisfies the false rejection rate threshold, the method may include adjusting, by the data processing hardware, a hot word detection threshold of the first tier hot word detector. In some examples, adjusting the hot word detection threshold includes decreasing the hot word detection threshold of the first tier hot word detector.

[0010] Another aspect of the present disclosure provides another method for hotword threshold auto-tuning. The method includes receiving, at data processing hardware of a user device, streaming audio captured by one or more microphones in communication with the data processing hardware. The method also includes generating, by the data processing hardware, a likelihood score indicating whether a hotword is present within an audio characteristic of the streaming audio using a first stage hotword detector. The method includes determining, by the data processing hardware, whether the likelihood score satisfies a hotword detection threshold.

[0011] When the certainty score satisfies the hotword detection threshold, the method includes detecting, by the data processing hardware, a hotword in the streaming audio, and transmitting, by the data processing hardware, audio data characterizing the hotword detected in the streaming audio using the first tier hotword detector to a remote computing device running a second tier hotword detector. The remote computing device is configured to determine whether the hotword is detected in the audio data by the second tier hotword detector, and to identify a false acceptance instance in the first tier hotword detector when the hotword is not detected in the audio data by the second tier hotword detector, indicating that the first tier hotword detector has incorrectly detected the hotword in the streaming audio. When a false acceptance rate based on a number of false acceptance instances identified in the first tier hotword detector within a false acceptance period satisfies the false acceptance rate threshold, the method includes adjusting, by the data processing hardware, a hotword detection threshold of the first tier hotword detector.

[0012] This aspect may include one or more of the following optional features: Adjusting the hotword detection threshold of the first stage hotword detector may include increasing the value of the hotword detection threshold. In some examples, when the confidence score satisfies the hotword detection threshold, the method includes initiating, by the data processing hardware, a wake-up process on the user device to process the hotword and / or one or more other words that follow the hotword in the streaming audio. When the hotword is not detected in the audio data by the second stage hotword detector, the method may include inhibiting, by the data processing hardware, a wake-up process on the user device.

[0013] In some examples, the method further includes determining, by the data processing hardware, when the certainty score satisfies the hot word detection threshold, a near miss indication indicating that a previous certainty score that failed to satisfy the hot word detection threshold by a threshold margin was generated within a threshold period prior to detecting the hot word in the streaming audio by the first stage hot word detector. The method may include transmitting, by the data processing hardware, the near miss indication to a remote computing device.

[0014] The remote computing device may be configured to identify a false rejection case in the first stage hot word detector based on the near miss indicator when the hot word is detected in the audio data by the second stage hot word detector. The false rejection case indicates that the first stage hot word detector was not able to initially detect the hot word in a previous audio feature of the streaming audio. When a false rejection rate based on a number of false rejection cases identified in the first stage hot word detector within a false rejection period satisfies a false rejection threshold, in some implementations, the method includes adjusting, by the data processing hardware, a hot word detection threshold of the first stage hot word detector. Optionally, adjusting the hot word detection threshold includes decreasing a value of the hot word detection threshold.

[0015] Another aspect of the present disclosure provides a system for hotword threshold auto-tuning. The system includes data processing hardware and memory hardware in communication with the data processing hardware. The memory hardware stores instructions that, when executed on the data processing hardware, cause the data processing hardware to perform operations. The operations include receiving, from a user device running a first-stage hotword detector, audio data characterizing hotwords detected by the first-stage hotword detector in streaming audio captured by the user device. The first-stage hotword detector is configured to generate a likelihood score indicative of whether a hotword is present in an audio characteristic of the streaming audio captured by the user device, and detect the hotword in the streaming audio when the likelihood score satisfies a hotword detection threshold of the first-stage hotword detector.

[0016] The operations also include processing the audio data with a second stage hot word detector to determine whether the hot word is detected in the audio data by the second stage hot word detector. When the hot word is not detected in the audio data by the second stage hot word detector, the operations include identifying a false positive instance in the first stage hot word detector indicating that the first stage hot word detector incorrectly detected the hot word in the streaming audio.

[0017] The operations also include determining whether a false acceptance rate associated with a first-stage hot word detector of the user device satisfies a false acceptance rate threshold. The false acceptance rate is based on a number of false acceptance instances identified in the first-stage hot word detector within a false acceptance period. When the false acceptance rate associated with the first-stage hot word detector satisfies the false acceptance rate threshold, the operations include adjusting a hot word detection threshold of the first-stage hot word detector.

[0018] Implementations of the present disclosure may include one or more of the following optional features: In some implementations, the operations further include suppressing a wake-up process on the user device to process the hot word and / or one or more other words following the hot word in the streaming audio when the hot word is not detected in the audio data by the second-stage hot word detector. In some examples, the operations further include determining whether subsequent audio data characterizing a spoken query following the hot word in the streaming audio is received from the user device when the hot word is detected in the audio data by the second-stage hot word detector. When subsequent audio data characterizing the spoken query is not received from the user device, the operations may include identifying a false acceptance instance in the first-stage hot word detector indicating that the first-stage hot word detector inaccurately detected the hot word in the streaming audio.

[0019] Optionally, the operations further include processing the vocal query when subsequent audio characterizing the vocal query is received from the user device. The user device may be configured to, when the first stage hotword detector detects the hotword in the streaming audio, initiate a wake-up process to process the hotword and / or one or more other words that follow the hotword in the streaming audio. Adjusting the hotword detection threshold of the first stage hotword detector in some examples includes increasing a value of the hotword detection threshold.

[0020] The operations may further include, upon receiving audio data characterizing a hotword detected in the streaming audio by the first tier hotword detector, receiving a near miss indication from the user device indicating that the first tier hotword detector detected the hotword in the streaming audio within a threshold time period after the first tier hotword detector generated a previous confidence score that failed to satisfy a hotword detection threshold by a threshold margin, the previous confidence score indicating whether the hotword was present in a previous audio characteristic of the streaming audio captured by the user device.

[0021] When a hot word is detected in the audio data by the second tier hot word detector, the operations may include identifying a false rejection case in the first tier hot word detector based on the near miss indicator indicating that the first tier hot word detector failed to initially detect the hot word in a previous audio feature of the streaming audio, and determining whether a false rejection rate associated with the first tier hot word detector of the user device satisfies a false rejection rate threshold. The false rejection rate is based on a number of false rejection cases identified in the first tier hot word detector within a false rejection period. When the false rejection rate associated with the first tier hot word detector satisfies the false rejection rate threshold, the operations may include adjusting a hot word detection threshold of the first tier hot word detector. In some examples, adjusting the hot word detection threshold includes decreasing the hot word detection threshold of the first tier hot word detector.

[0022] Another aspect of the present disclosure provides another system for hot word threshold auto-tuning. The system includes data processing hardware of a user device and memory hardware in communication with the data processing hardware. The memory hardware stores instructions that, when executed on the data processing hardware, cause the data processing hardware to perform operations. The operations include receiving streaming audio captured by one or more microphones in communication with the data processing hardware. The operations also include generating, using a first stage hot word detector, a likelihood score indicative of whether a hot word is present within an audio characteristic of the streaming audio. The operations include determining whether the likelihood score satisfies a hot word detection threshold.

[0023] When the confidence score satisfies the hotword detection threshold, the operations include detecting the hotword in the streaming audio and transmitting audio data characterizing the hotword detected in the streaming audio using the first tier hotword detector to a remote computing device running a second tier hotword detector. The remote computing device is configured to determine whether the hotword is detected in the audio data by the second tier hotword detector and identify a false acceptance instance in the first tier hotword detector when the hotword is not detected in the audio data by the second tier hotword detector indicating that the first tier hotword detector incorrectly detected the hotword in the streaming audio.

[0024] When a false acceptance rate based on a number of false acceptance cases identified in the first stage hot word detector within a false acceptance period satisfies a false acceptance rate threshold, the operation includes adjusting a hot word detection threshold of the first stage hot word detector.

[0025] This aspect may include one or more of the following optional features: Adjusting the hotword detection threshold of the first tier hotword detector may include increasing the value of the hotword detection threshold. In some examples, when the confidence score satisfies the hotword detection threshold, the operations include initiating a wake-up process on the user device to process the hotword and / or one or more other words that follow the hotword in the streaming audio. When the hotword is not detected in the audio data by the second tier hotword detector, the operations may include inhibiting the wake-up process on the user device.

[0026] In some examples, the operations further include determining a near miss indication when the certainty score satisfies the hotword detection threshold, the near miss indication indicating that a previous certainty score that failed to satisfy the hotword detection threshold by a threshold margin was generated within a threshold period prior to detecting the hotword in the streaming audio by the first stage hotword detector. The operations may include transmitting the near miss indication to a remote computing device.

[0027] The remote computing device may be configured to identify a false rejection case in the first tier hot word detector based on the near miss indicator when the hot word is detected in the audio data by the second tier hot word detector. The false rejection case indicates that the first tier hot word detector was not able to initially detect the hot word in a previous audio feature of the streaming audio. When a false rejection rate based on a number of false rejection cases identified in the first tier hot word detector within a false rejection period satisfies a false rejection threshold, in some implementations, the operation includes adjusting a hot word detection threshold of the first tier hot word detector. Optionally, adjusting the hot word detection threshold includes decreasing a value of the hot word detection threshold.

[0028] The details of one or more implementations of the disclosure are set forth in the accompanying drawings and the description below. Other aspects, features, and advantages will be apparent from the description and drawings, and from the claims. [Brief description of the drawings]

[0029] [Figure 1] FIG. 1 is a schematic diagram of an example system for hot word threshold auto-tuning. [Diagram 2] FIG. 2 is a schematic diagram of exemplary components of a hot word detection threshold adjuster. [Diagram 3] FIG. 13 is a schematic diagram of a hot word detection threshold adjuster that increments a false acceptance count. [Figure 4] FIG. 2 is a schematic diagram of an exemplary false acceptance case. [Figure 5A] FIG. 2 is a schematic diagram of an exemplary false rejection case. [Figure 5B] FIG. 2 is a schematic diagram of an exemplary false rejection case. [Figure 6] 1 is a flow chart of an exemplary configuration of method operations for hotword threshold auto-tuning. [Figure 7] 11 is a flow chart of another exemplary arrangement of method operations for threshold auto-tuning. [Figure 8] FIG. 1 is a schematic diagram of an example computing device that may be used to implement the systems and methods described herein. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0030] Like reference symbols in the various drawings indicate like elements.

[0031] A voice-enabled device (e.g., a user device running a voice assistant) allows a user to speak a query or command aloud, respond to and answer the query, and / or perform a function based on the command. Through the use of "hot words" (also called "keywords", "attention words", "wake-up phase / word", "trigger phase", or "voice action initiation command"), where predetermined words / phrases are reserved by convention to be spoken to attract the attention of a voice-enabled device, the voice-enabled device is able to distinguish between utterances directed to the system (i.e., to initiate a wake-up process to process one or more words following the hot word in the utterance) and utterances directed to an individual in the environment. Typically, a voice-enabled device operates in a sleep state to conserve power and does not process input audio data unless the input audio data follows a spoken hot word. As an example, while in a sleep state, the voice-enabled device captures input audio via one or more microphones and uses a trained hot word detector to detect whether a hot word is present in the input audio. When a hot word is detected in the input audio, the voice-enabled device initiates a wake-up process to process the hot word and / or any other words in the input audio that follow the hot word.

[0032] Hotword detection is like searching for a needle in a haystack because the hotword detector must constantly listen to the streaming audio and trigger precisely and instantly when the presence of a hotword in the streaming audio is detected while ignoring most of the streaming audio. To address the complexity of detecting whether a hotword exists in a continuous audio stream, a neural network is commonly used by the hotword detector. Typically, the neural network generates a likelihood score based on the received streaming audio, indicating whether a hotword exists in the streaming audio. The hotword detector determines whether the likelihood score satisfies a detection threshold. When the likelihood score satisfies the detection threshold, the hotword detector determines that a hotword exists in the streaming audio. The hotword detector may then initiate a wake-up process for the device.

[0033] The hotword detection threshold is conventionally set to a predetermined value that balances the false acceptance rate and the false rejection rate. False acceptance occurs when the hotword detector detects the hotword (i.e., the confidence score meets the hotword detection threshold), but the streaming audio does not actually contain the hotword. Despite false acceptance, the hotword detector will initiate a wake-up process on the voice-enabled device even if the user did not intend to call the device. False rejection, on the other hand, occurs when the streaming audio contains the hotword, but the hotword detector determines that the hotword is not present in the streaming audio (i.e., the confidence score fails to meet the hotword detection threshold). False rejection by the hotword detector is frustrating for the user because the user must subsequently make an attempt to call the voice-enabled device by re-speaking the hotword, usually louder, and / or asking the user to walk closer to the device to ensure that the spoken hotword is not falsely rejected again. Therefore, the selection of hotword detection threshold is very difficult due to the wide variety of devices, environments, and users. Conventionally, detection threshold is not adapted to each individual device. However, each device may encounter significantly different acoustic environments. For example, a device near a television that is often turned on may encounter significantly more false acceptances than the same device with the same hotword detection threshold encounters in a quiet office. Furthermore, each user may have significantly different tolerances for false rejection and false acceptance. That is, one user may tolerate a moderate number of false acceptances, while another user may not tolerate the same number of false acceptances.

[0034] Implementations herein are directed to a hotword detection threshold adjuster system that dynamically adjusts the hotword detection threshold of a user device running a first-tier hotword detector to individually adapt the hotword detector to the environment. As used herein, the term "hotword detection threshold" refers to a value or confidence score that the streaming audio must satisfy in order for the hotword detector to determine / detect the presence of a given hotword in the audio features of the streaming audio and thus trigger a wake-up process on the user device. The first-tier hotword detector of the user device detects hotwords in the streaming audio based on a first confidence score indicating whether a hotword is present in the audio features of the streaming audio. In this case, the first confidence score satisfies a hotword detection threshold associated with the first-tier hotword detector, thereby causing the user device to transmit audio data characterizing the hotwords detected by the first-tier hotword detector to a remote second-tier hotword detector for verification. For example, the user device transmits the audio data over the Internet to a server running the second-tier hotword detector. The second stage hot word detector may utilize a more accurate hot word detection model for detecting the presence of hot words in the audio compared to the hot word detection model utilized by the first stage hot word detector executing on the user device. The second stage hot word detector processes the audio data to determine whether a hot word is detected by the second stage hot word detector. When the hot word is not detected by the second stage hot word detector, the system identifies a false acceptance instance in the first stage hot word detector indicating that the first stage hot word detector inaccurately detected the hot word. The system determines whether a false acceptance rate associated with the first stage hot word detector satisfies a false acceptance rate threshold and adjusts the hot word detection threshold of the first stage hot word detector accordingly.As an example, the system may increase the value of the hot word detection threshold to reduce the sensitivity of the first stage hot word detector so that future false acceptance cases are reduced / eliminated.

[0035] Thus, the system described herein includes a cascaded hotword detection technique using multiple models to improve accuracy and verify and / or validate hotword detection. The system determines the rates of false acceptance and false rejection cases for each device individually and adapts the hotword detection threshold accordingly based on the false acceptance and false rejection rates of the respective devices.

[0036] 1, in some implementations, an exemplary system 100 includes one or more user devices 102, each associated with a respective user 10 and communicating with a remote system 110 via a network 104. Each user device 102 may correspond to a computing device such as a mobile phone, a computer, a smart speaker, a smart appliance, a smart headphone, a wearable, etc., and each user device 102 is equipped with data processing hardware 103 and memory hardware 105. The user devices 102 include or communicate with one or more microphones 106 for capturing speech from the respective user 10. The remote system 110 may be a single computer, multiple computers, or a distributed system (e.g., a cloud environment) with scalable / elastic computing resources 112 (e.g., data processing hardware) and / or storage resources 114 (e.g., memory hardware). In some implementations, the user device 102 receives the trained neural network 130 (e.g., a stored neural network) from the remote system 110 over the network 104 and executes the trained neural network 130 to detect hot words in the streaming audio 118. The trained neural network 130 resides in a first stage hot word detector 120 (also called a hot worder) of the user device 102, which is configured to detect whether hot words are present in the streaming audio 118 without performing semantic analysis or speech recognition processing on the streaming audio 118.

[0037] In the illustrated example, when a user 10 speaks an utterance 119 including a hot word (e.g., "Hey Google") that is captured as streaming audio 118 by the user device 102, a first-stage hot word detector 120 running on the user device 102 is configured to detect the presence of the hot word in the utterance 119 and initiate a wake-up process on the user device 102 to process the hot word and / or one or more other words (e.g., a query or command) that follow the hot word in the utterance 119. That is, the user device 102 may be configured to initiate a wake-up process to process the hot word and / or one or more words that follow the hot word in the streaming audio 118 when the first-stage hot word detector 120 detects the hot word in the streaming audio 118.

[0038] The first tier hotword detector 120 generates (e.g., from the neural network 130) a confidence score 132 indicating whether a hotword is present in the audio features of the streaming audio 118 captured by the user device 102. The first tier hotword detector 120 detects a hotword in the streaming audio 118 when the confidence score 132 satisfies a hotword detection threshold 134 of the first tier hotword detector 120. When the confidence score 132 satisfies the hotword detection threshold 134, the first tier hotword detector 120 sends audio data 136 representing the streaming audio 118 to a second tier hotword detector 140 running on the remote system 110. In some examples, the audio data 136 represents the streaming audio 118 itself, while in other examples, the audio data 136 represents the streaming audio 118 after it has been processed by the first stage hot word detector 120 (e.g., to identify and / or isolate particular audio characteristics of the streaming audio 118 or to convert the streaming audio 118 into a format suitable for transmission and / or processing by the second stage hot word detector 140). By way of example, the audio data 136 may be truncated from the streaming audio 118 to include a segment of interest that includes audio features associated with hot words detected by the first stage hot word detector 120.

[0039] The second stage hot word detector 140, like the first stage hot word detector 120, is configured to detect the presence of hot words in the audio data 136. The second stage hot word detector 140 is different from the first stage hot word detector 120. For example, the second stage hot word detector 140 includes a different neural network that may be more computationally intensive than the neural network 130 of the first stage hot word detector 120. The second stage hot word detector 140 may provide improved accuracy over the first stage hot word detector 120 that is limited by the resources of the user device 102.

[0040] The second tier hot word detector 140 processes the audio data 136 to determine whether a hot word is present within the audio data 136. The second tier hot word detector 140 may generate a confidence score for comparison to a hot word detection threshold, similar to the first tier hot word detector 120, or the second tier hot word detector 140 may determine whether a hot word is present using an entirely different method. When a hot word is not detected in the audio data 136 by the second tier hot word detector 140, the hot word detection threshold adjuster 200, 200a-b (FIG. 2) identifies a false positive instance 210 in the first tier hot word detector 120 indicating that the first tier hot word detector 120 incorrectly detected the hot word in the streaming audio 118.

[0041] 2, the hot word detection threshold adjuster 200 maintains a false acceptance count 220. In response to identifying a false acceptance instance 210, the hot word detection threshold adjuster 200 increments the false acceptance count 220. Based on the false acceptance count 220, the hot word detection threshold adjuster determines a current false acceptance rate 230. The false acceptance rate 230 represents a number of false acceptance instances 210 identified by the hot word detection threshold adjuster 200 within a false acceptance period. For example, the false acceptance period may be one hour, or four hours, or twenty-four hours, etc. The false acceptance count 220 may include the number of false acceptance instances 210 within only the most recent false acceptance period. Thus, the false acceptance rate 230 indicates how often the first stage hot word detector 120 erroneously determines that a hot word is present in the streaming audio 118.

[0042] The hot word detection threshold adjuster 200 may determine whether the false acceptance rate 230 satisfies the false acceptance rate threshold 240. For example, when the false acceptance period is one hour and the false acceptance rate threshold 240 is three per hour, the false acceptance rate 230 satisfies the false acceptance rate threshold 240 when the hot word detection threshold adjuster 200 has identified three or more false acceptance instances 210 within the most recent hour.

[0043] 1, when the false acceptance rate 230 associated with the first-stage hot word detector 120 satisfies the false acceptance rate threshold 240, the hot word detection threshold adjuster 200 adjusts the hot word detection threshold 134 of the first-stage hot word detector 120. In some implementations, the hot word detection threshold adjuster 200 executes on the remote system 110 (i.e., is the hot word detection threshold adjuster 200a) and transmits hot word detection threshold tuning instructions 150 to the first-stage hot word detector 120. The tuning instructions 150, when received by the user device 102, cause the user device 102 to adjust the hot word detection threshold 134 of the first-stage hot word detector 120. In other implementations, the hot word detection threshold adjuster 200 executes on the user device 102 (i.e., is the hot word detection threshold adjuster 200b) and receives an indication 142 of a false acceptance instance 210 from the second-stage hot word detector 140 executing on the remote system 110. In this case, the user device 102 maintains a false acceptance count 220 and determines a current false acceptance rate 230. A hot word detection threshold adjuster 200b provides hot word detection threshold tuning instructions 150 to the first stage hot word detector 120 for adjusting the hot word detection threshold 134 based on the false acceptance rate threshold 240 and the current false acceptance rate 230.

[0044] In some implementations, when the false acceptance rate 230 exceeds the false acceptance rate threshold 240, the hotword detection threshold adjuster 200 increases the value of the hotword detection threshold 134. That is, the confidence score 132 required to detect the presence of a hotword in the streaming audio 118 increases, thereby making false acceptance instances 210 less likely. The hotword detection threshold adjuster 200, in some examples, adjusts or modifies the false acceptance rate threshold 240 based on the adjusted hotword detection threshold 134. In some configurations, a user 10 of the user device 102 may set and / or adjust the false acceptance rate threshold 240.

[0045] In some examples, when the hotword is not detected in the audio data 136 by the second stage hotword detector 140, the remote server 110 inhibits a wake-up process on the user device 102. The wake-up process allows the user device 102 to process the hotword and / or one or more other words (e.g., a query or command) that follow the hotword in the streaming audio 118. In some implementations, the remote system 110 inhibits the wake-up process by sending an inhibit command 162 to the user device 102, causing the user device 102 to inhibit the wake-up process. In other implementations, the remote system 110 inhibits the wake-up process by sending an indicator 164 to the user device 102 indicating that the second stage hotword detector 140 was unable to confirm the presence of the hotword in the audio data 136, thereby causing the user device 102 to inhibit the wake-up process (i.e., remain or return to a sleep state). In yet another implementation, the remote system 110 inhibits the wake-up process by not responding to the user device 102 after receiving the audio data 136 (e.g., by closing the network connection). The lack of response from the remote system 110 may cause the user device 102 to inhibit the wake-up process. That is, the user device 102 initiates the wake-up process only after receiving confirmation from the second stage hot word detector 140 that the hot word was present in the streaming audio 118, in some examples. The user device 102 may also inhibit the wake-up process independently. For example, the user device 102 may automatically inhibit the wake-up process when the query or command following the hot word is empty (i.e., the streaming audio 118 following the hot word does not include a command or query directed to the user device 102).In this case, the user device 102 may detect a false acceptance instance 210 and notify the hot word detection threshold adjuster to increment the false acceptance count 220 .

[0046] 3, in some examples, when a hot word is detected in the audio data 136 by the second tier hot word detector 140, the remote system 110 determines whether subsequent audio data 136 characterizing a spoken query following the hot word in the streaming audio 118 is received from the user device 102. When subsequent audio data 136 characterizing a spoken query is not received from the user device 102, the hot word detection threshold adjuster 200 identifies a false acceptance case 210 in the first tier hot word detector 120 indicating that the first tier hot word detector 120 incorrectly detected the hot word in the streaming audio 118. That is, in some implementations, the hot word detection threshold adjuster 200 identifies the false acceptance case 210 based on the absence of a query or command in the subsequent audio data 136 after the detected hot word. For example, when audio not intended to trigger the wake-up process (e.g., ambient noise in the environment, such as from a television) unintentionally or undesirably triggers hot word detection, in the absence of any subsequent queries or commands (that would occur during an intentional wake-up command), the hot word detection threshold adjuster 200 can identify a false acceptance case 210.

[0047] In some examples, the remote system processes the spoken query when subsequent audio data 136 characterizing the spoken query is received from the user device 102 (i.e., after both the first tier hot word detector 120 and the second tier hot word detector 140 detect the presence of hot words in the streaming audio 118). In these examples, processing the query may include passing the audio data 136 to a speech recognition system to transcribing the spoken query. The remote system 110 may use the transcription to perform natural language understanding and / or provide the transcription to a search engine and / or other application to process the query.

[0048] In some implementations, the remote system 110 does not include the second stage hot word detector 140, but instead executes a query / command processor 430 (FIG. 4) configured to perform speech recognition on the audio data 136 to determine whether the first stage hot word detector 120 correctly detected the presence of a hot word in the streaming audio 118. That is, in some implementations, the first stage hot word detector 120 transmits the audio data 136 to a remote server for processing a subsequent query from the user 10 after detecting the presence of a hot word in the streaming audio 118. In this case, the hot word detection threshold adjuster 200 may identify false acceptance cases 210 in scenarios in which the processor 430 fails to recognize a hot word in the received audio data 136, as well as scenarios in which the processor 430 determines that the subsequent audio data 136 received from the user device 102 is empty (i.e., the subsequent audio data 136 does not include a query or command). In this case, either case will result in the hot word detection threshold adjuster 200 incrementing the false acceptance count 220 .

[0049] 4, a schematic diagram 400 depicts a television 410 emitting playback audio 420 including the utterance "Hey you all!". Due to the phonetic similarity between the utterance "Hey you all" and the hot word "Hey Google", the first stage hot word detector 120 determines a confidence score 132 that satisfies the hot word detection threshold, thereby detecting the presence of the hot word in the streaming audio 118 representing the playback audio 420a from the television 410. The second stage hot word detector 140 may check / verify whether the hot word was correctly detected by the first stage hot word detector 120, as discussed above. The second stage hot word detector 140 may inform the hot word detection threshold adjuster 200 when the second stage hot word detector 140 fails to detect the hot word, resulting in the adjuster 200 identifying a false acceptance instance 210 and incrementing the false acceptance rate 230. Meanwhile, the second stage hot word detector 140 may also erroneously detect a hot word in the utterance "hey u all" and pass the corresponding audio to the query processor 430. In this case, the query processor 430 may perform speech recognition on the audio data and determine that the hot word was erroneously detected by each of the hot word detectors 120, 140. Additionally or alternatively, the processor 430 may determine that after the hot word is erroneously detected, no subsequent audio data 136 containing a query or command is received. In any of these scenarios, the query processor 430 may notify the hot word detection threshold adjuster 200 to identify the false acceptance case 210.

[0050] 1 and 2, in some implementations, the hotword detection threshold adjuster 200 identifies false rejection cases 250 indicating instances when the first stage hotword detector 120 fails to detect the presence of a hotword in the streaming audio 118 when the hotword is present. In response, the hotword detection threshold adjuster 200 increments a false rejection count 260 and determines a current false rejection rate 270. When the false rejection rate 270 satisfies a false rejection threshold 280, the hotword detection threshold adjuster 200 adjusts the hotword detection threshold 134. In this case, the adjuster 200 provides hotword detection threshold tuning instructions 150 to the first stage hotword detector 120 to reduce the hotword detection threshold, thereby increasing the sensitivity of the first stage hotword detector 120 to detect hotwords in the streaming audio 118.

[0051] The hotword detection threshold adjuster 200 may identify a false rejection case 250 in response to the hotword detection threshold adjuster 200 receiving a near miss indicator 510 indicating that the first tier hotword detector 120 detected a hotword in the streaming audio within a threshold period of time after the first tier hotword detector 120 generated a previous confidence score that failed to satisfy the hotword detection threshold by a threshold margin. For example, the first tier hotword detector 120 running on the user device 102 may fail to detect a hotword in a first utterance spoken by the user. In this case, the first tier hotword detector 120 may determine a confidence score equal to 0.7, which fails to satisfy the hotword detection threshold set to 0.75. The near miss threshold may be set to a value (0.65) below the hotword detection threshold, such that the range of values ​​between the near miss threshold (0.65) and the hotword detection threshold (0.75) corresponds to the "threshold margin." As an example, the near miss threshold may be set to 0.65 such that any streaming audio 118 associated with a confidence score equal to or greater than the near miss threshold of 0.65 but less than the hot word detection threshold of 0.75 fails to satisfy the hot word detection threshold by the threshold margin. Continuing with this example, in a subsequent attempt by the user 10 to call the user device 102, the first tier hot word detector 120 accurately detects a hot word in a second utterance spoken by the user 10 within a threshold period (e.g., 5 seconds). Provided that the first tier hot word detector 120 determines a confidence score associated with the first utterance that fails to satisfy the hot word detection threshold by the threshold margin and subsequently detects a hot word in the second utterance within the threshold period, the hot word detection threshold adjuster 200 may receive a near miss indication 510 and identify a false rejection case 250 after confirmation that the second tier hot word detector 140 also detected the presence of a hot word in the second utterance.Notably, although the more accurate second-stage hot word detector 140 could conceivably have detected the presence of hot words in the first utterance, the first-stage hot word detector 120 never transmitted the corresponding audio data 136 to the second-stage hot word detector 140 because the confidence score associated with the first utterance generated by the first-stage hot word detector 120 failed to satisfy the hot word detection threshold. The hot word detection threshold adjuster 200 may determine whether the false rejection rate 270 (based on the false rejection count 260) satisfies the false rejection threshold 280, and if so, adjust the hot word detection threshold 134 of the first-stage hot word detector 120. In some examples, the first stage hot word detector 120 provides a near miss indicator 510 to the hot word detection threshold adjuster 200, which identifies the false positive case 250 only after receiving confirmation that the second stage hot word detector 140 detected the hot word in the audio data 136.

[0052] 5A, as an example of a near miss serving as a proxy for a false positive case 250, diagram 500a depicts user 10 speaking a first utterance 119a ("Hey, Google") that is received at a first stage hot word detector 120 on user device 102 (not shown). In this case, first stage hot word detector 120 generates a confidence score 132 that fails to satisfy hot word detection threshold 134 but satisfies near miss threshold 520. For example, when hot word detection threshold 134 is 0.75 and near miss threshold 520 is 0.65 (i.e., less than but generally close to hot word detection threshold 134), a confidence score of 0.70 (or some other value between 0.65 and 0.75) may fail to satisfy hot word detection threshold 134 by the threshold margin because this confidence score satisfies near miss threshold 520.

[0053] 5B depicts the user 10 uttering / speaking a second utterance 119b ("Hey, Google!") within a threshold period (e.g., 5 seconds, 10 seconds, 30 seconds, etc.) after receiving the first utterance 119a in another attempt to call and wake up the user device. This utterance 119b may be spoken with more force and / or more announcement (because the user device 102 failed to initiate the wake-up process for the previous utterance 119a). In this case, both the first-stage hot word detector 120 and the second-stage hot word detector 140 identify the presence of a hot word in the streaming audio 118 associated with the second utterance 119b. Even though the confidence score 132 for the first utterance 119a calculated by the first stage hot word detector 120 failed to satisfy the hot word detection threshold 134, the hot word detection threshold adjuster 200 receives a near miss indicator 510, which surrogately indicates that the first stage hot word detector 120 erroneously missed capturing a hot word in the streaming audio 118 because the confidence score 132 for the first utterance satisfied the near miss threshold 520 and the second utterance 119b was within the threshold period. After the second stage hot word detector 140 confirms the presence of a hot word in the second utterance 119b, the hot word detection threshold adjuster 200 may identify a false rejection case 250 and increment a false rejection count 260. The hot word detection threshold adjuster 200 may lower the hot word detection threshold 134 of the first stage hot word detector 120 in response to the false rejection rate 270 satisfying the false rejection threshold 280 .

[0054] In some examples, the hotword detection threshold adjuster 200 may adjust the hotword detection threshold 134 of the first-tier hotword detector 120 based on a combined value representing the hotword usage frequency, the false acceptance count 220, and the false rejection count 260 by applying a predefined threshold to the combined value. For example, the combined value is a ratio of false acceptance to false rejection (i.e., because the false acceptance count 220 and the false rejection count 260 are generally inversely correlated). In other examples, the hotword detection threshold adjuster 200 adjusts the hotword detection threshold 134 of the first-tier hotword detector 120 based on information collected from other user devices 102 running the first-tier hotword detector 120. In these examples, the remote system 110 estimates a multivariate distribution of hotword usage frequency, false acceptance count 220 (or false acceptance rate 230), and false rejection count 260 (or false rejection rate 270) from a large population of user devices 102, and identifies outliers in the distribution to trigger threshold tuning of the outliers by the hotword detection threshold adjuster 200. That is, devices with false acceptance counts 220 or false rejection counts 260 that are sufficiently outside the general population may be candidates for threshold tuning.

[0055] 6 is a flow chart of an example configuration of operations of a method 600 for hotword threshold auto-tuning. The method 600 includes, at operation 602, receiving from a user device 102 running a first-stage hotword detector 120 in data processing hardware 112 audio data 136 characterizing hotwords detected by the first-stage hotword detector 120 in streaming audio 118 captured by the user device 102. The first-stage hotword detector 120 is configured to generate a confidence score 132 indicating whether a hotword is present in an audio characteristic of the streaming audio 118 captured by the user device 102, and to detect the hotword in the streaming audio 118 when the confidence score 132 satisfies a hotword detection threshold 134 of the first-stage hotword detector 120.

[0056] At operation 604, the method 600 includes processing, by the data processing hardware 112, the audio data 136 using the second tier hot word detector 140 to determine whether the hot word is detected in the audio data 136 by the second tier hot word detector 140. When the hot word is not detected in the audio data 136 by the second tier hot word detector 140, at operation 606, the method 600 includes identifying, by the data processing hardware 112, a false acceptance instance 210 in the first tier hot word detector 120 indicating that the first tier hot word detector 120 incorrectly detected the hot word in the streaming audio 118.

[0057] The method 600 includes, at operation 608, determining, by the data processing hardware 112, whether a false acceptance rate 230 associated with the first tier hot word detector 120 of the user device 102 satisfies a false acceptance rate threshold 240. The false acceptance rate 230 is based on a number of false acceptance cases 210 identified in the first tier hot word detector 120 within a false acceptance period. When the false acceptance rate 230 associated with the first tier hot word detector 120 satisfies the false acceptance rate threshold 240, the method 600, at operation 610, adjusts, by the data processing hardware 112, the hot word detection threshold 134 of the first tier hot word detector 120.

[0058] 7 is a flow chart of another example configuration of operations of a method 700 for hotword threshold auto-tuning. At operation 702, the method 700 includes receiving, at the data processing hardware 103 of the user device 102, streaming audio 118 captured by one or more microphones 106 in communication with the data processing hardware 103. At operation 704, the method 700 includes generating, by the data processing hardware 103, using a first stage hotword detector 120, a confidence score 132 indicating whether a hotword is present within an audio feature of the streaming audio 118.

[0059] At operation 706, the method 700 includes determining, by the data processing hardware 103, whether the certainty score 132 satisfies the hotword detection threshold 134. When the certainty score 132 satisfies the hotword detection threshold 134, the method 700 includes, at operation 708, detecting, by the data processing hardware 103, hotwords in the streaming audio 118, and, at operation 710, transmitting, by the data processing hardware 103, audio data 136 characterizing the hotwords detected in the streaming audio 118 using the first stage hotword detector 120 to the remote computing device 110 running the second stage hotword detector 140.

[0060] The remote computing device 110 is configured to determine whether a hot word is detected in the audio data 136 by the second tier hot word detector 140 in operation 712. The remote computing device is configured to identify a false acceptance case 210 in the first tier hot word detector 120 indicating that the first tier hot word detector 120 has incorrectly detected a hot word in the streaming audio 118 when the hot word is not detected in the audio data 136 by the second tier hot word detector 140 in operation 714. When a false acceptance rate 230 based on a number of false acceptance cases 210 identified in the first tier hot word detector 120 within a false acceptance period satisfies a false acceptance rate threshold 240, the method 700 includes adjusting, by the data processing hardware 103, a hot word detection threshold 134 of the first tier hot word detector 120 in operation 716.

[0061] 8 is a schematic diagram of an exemplary computing device 800 that may be used to implement the systems and methods described herein. The computing device 800 is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The components shown, their connections and relationships, and their functions are intended to be merely exemplary and are not intended to limit the implementation of the invention described and / or claimed herein.

[0062] Computing device 800 includes a processor 810, a memory 820, a storage device 830, a high-speed interface / controller 840 that connects to memory 820 and a high-speed expansion port 850, and a low-speed interface / controller 860 that connects to a low-speed bus 870 and storage device 830. Each of the components 810, 820, 830, 840, 850, and 860 are interconnected using various buses and may be mounted on a common motherboard or in other manners as desired. The processor 810 can process instructions for execution within the computing device 800, including instructions stored in the memory 820 or on the storage device 830 for displaying graphical information for a graphical user interface (GUI) on an external input / output device, such as a display 880 coupled to the high-speed interface 840. In other implementations, multiple processors and / or multiple buses may be used along with multiple memories and types of memories as desired. Also, multiple computing devices 800 may be connected together (eg, as a server bank, a group of blade servers, or a multi-processor system), with each device providing some portion of the required operations.

[0063] The memory 820 stores information non-transiently within the computing device 800. The memory 820 may be a computer-readable medium, a volatile memory unit, or a non-volatile memory unit. The non-transient memory 820 may be a physical device used to temporarily or permanently store programs (e.g., sequences of instructions) or data (e.g., program state information) for use by the computing device 800. Examples of non-volatile memory include, but are not limited to, flash memory (e.g., typically used for firmware such as boot programs) and read-only memory (ROM) / programmable read-only memory (PROM) / erasable programmable read-only memory (EPROM) / electrically erasable programmable read-only memory (EEPROM). Examples of volatile memory include, but are not limited to, random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), phase change memory (PCM), and disk or tape.

[0064] The storage device 830 is capable of providing mass storage to the computing device 800. In some implementations, the storage device 830 is a computer-readable medium. In various different implementations, the storage device 830 may be a floppy disk device, a hard disk device, an optical disk device, or a tape device, a flash memory or other similar solid-state memory device, or an array of devices including devices in a storage area network or other configuration. In further implementations, a computer program product is tangibly embodied in an information carrier. The computer program product includes instructions that, when executed, perform one or more methods as described above. The information carrier is a computer-readable medium or a machine-readable medium, such as the memory 820, the storage device 830, or a memory on the processor 810.

[0065] The high-speed controller 840 manages the bandwidth-intensive operations of the computing device 800, while the low-speed controller 860 manages the lower bandwidth-intensive operations. Such an allocation of roles is merely exemplary. In some implementations, the high-speed controller 840 is coupled to the memory 820, to the display 880 (e.g., through a graphics processor or accelerator), and to a high-speed expansion port 850 that may accept various expansion cards (not shown). In some implementations, the low-speed controller 860 is coupled to the storage device 830 and to a low-speed expansion port 890. The low-speed expansion port 890, which may include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet), may be coupled to one or more input / output devices, such as a keyboard, a pointing device, a scanner, or (e.g., through a network adapter) a networking device such as a switch or a router.

[0066] Computing device 800 may be implemented in a number of different forms as shown in the figure: For example, computing device 800 may be implemented as a standard server 800a, multiple times within a group of such servers 800a, as a laptop computer 800b, or as part of a rack server system 800c.

[0067] Various implementations of the systems and techniques described herein may be realized as digital electronic and / or optical circuitry, integrated circuits, specially designed ASICs (application specific integrated circuits), computer hardware, firmware, software, and / or combinations thereof. These various implementations may include implementation as one or more computer programs executable and / or interpretable on a programmable system including at least one programmable processor, which may be special purpose or general purpose, coupled to receive data and instructions from and transmit data and instructions to a storage system, at least one input device, and at least one output device.

[0068] A software application (i.e., a software resource) may refer to computer software that causes a computing device to perform a task. In some examples, a software application may be referred to as an "application," an "app," or a "program." Exemplary applications include, but are not limited to, system diagnostic applications, system management applications, system maintenance applications, word processing applications, spreadsheet applications, messaging applications, media streaming applications, social networking applications, and gaming applications.

[0069] These computer programs (also known as programs, software, software applications, or code) contain machine instructions for a programmable processor and may be implemented in a procedural and / or object-oriented high-level programming language and / or in assembly / machine language. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, non-transitory computer-readable medium, apparatus and / or device (e.g., magnetic disk, optical disk, memory, programmable logic device (PLD)) used to provide machine instructions and / or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and / or data to a programmable processor.

[0070] The processes and logic flows described herein can be implemented by one or more programmable processors, also referred to as data processing hardware, which execute one or more computer programs to perform functions by operating on input data and generating output. The processes and logic flows can also be implemented by special purpose logic circuitry, such as an FPGA (field programmable gate array) or an ASIC (application specific integrated circuit). Processors suitable for executing computer programs include, by way of example, both general purpose and special purpose microprocessors, and any one or more processors of any type of digital computer. Generally, a processor receives instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions and one or more memory devices for storing instructions and data. Generally, a computer also includes one or more mass storage devices, such as magnetic disks, magneto-optical disks, or optical disks, for storing data, or is operatively coupled to receive data therefrom or transfer data thereto, or both. However, a computer need not have such devices. Suitable computer-readable media for storing computer program instructions and data include, by way of example, all forms of non-volatile memory, media, and memory devices, including semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks, such as internal hard disks or removable disks; magneto-optical disks; and CD ROM and DVD-ROM disks. The processor and memory can be supplemented by, or incorporated in, special purpose logic circuitry.

[0071] To enable interaction with a user, one or more aspects of the present disclosure can be implemented on a computer having a display device, such as a CRT (cathode ray tube), LCD (liquid crystal display) monitor, or touch screen, for displaying information to the user, and optionally a keyboard and pointing device, such as a mouse or trackball, by which the user can provide input to the computer. Other types of devices can also be used to enable interaction with the user, for example, feedback provided to the user can be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback, and input from the user can be received in any form, including acoustic input, speech input, or tactile input. In addition, the computer can interact with the user by sending documents to and receiving documents from a device being used by the user, for example, by sending a web page to a web browser on the user's client device in response to a request received from the web browser.

[0072] Although several implementations have been described above, it will be understood that various modifications may be made without departing from the spirit and scope of the disclosure. Accordingly, other implementations are within the scope of the following claims. [Explanation of symbols]

[0073] 10 users 100 Systems 102 User Devices 103 Data Processing Hardware 104 Network 105 Memory Hardware 106 Microphone 110 Remote systems, remote servers, remote computing devices 112 Computing resources, data processing hardware 114 Memory Resources 118 Streaming Audio 119 utterances 119a First utterance 119b Second utterance 120 First stage hot word detector 130 trained neural networks 132 Accuracy Score 134 Hotword detection threshold 136 Audio Data 140 Second stage hot word detector 142 signs 150 Hotword detection threshold tuning instructions 162 Restraining Order 164 signs 200 Hotword detection threshold adjuster 200a Hot word detection threshold adjuster 200b Hot Word Detection Threshold Adjuster 210 Cases of Acceptance of Others 220 Stranger Acceptance Count 230 Other Acceptance Rate 240 False Acceptance Rate Threshold 250 Cases of refusal by the person himself 260 Rejected by the person himself 270 Rejection Rate 280 False Rejection Threshold, False Rejection Rate Threshold 400 Schematic 410 Television 420 Playback Audio 420a playback audio 430 Query / Command Processor, Query Processor 500a Schematic 500b Schematic 510 Near miss sign, near miss indicator 520 Near Miss Threshold 600 ways 700 methods 800 Computing devices and systems 800a Server 800b Laptop Computer 800c Rack Server System 810 Processors, Components, and Data Processing Hardware 820 Non-transient memory, components and memory hardware 830 Storage devices, components 840 High Speed ​​Interfaces / Controllers, Components 850 High Speed ​​Expansion Port, Component 860 Low-speed interfaces / controllers, components 870 Slow Bus 880 Display 890 Low Speed ​​Expansion Port

Claims

1. A computer-implemented method (600), when executed on data processing hardware (810), causing the data processing hardware (810) to: receiving, from a user device (102) running a first stage hot word detector (120), audio data (136) characterizing hot words detected by the first stage hot word detector (120) in streaming audio (118) captured by the user device (102), the hot words being detected by the first stage hot word detector (120); generating a confidence score (132) indicative of whether the hotword is present within an audio signature of the streaming audio (118) captured by the user device (102); detecting the hot word in the streaming audio (118) when the confidence score (132) satisfies a hot word detection threshold (134) of the first stage hot word detector (120); and processing the audio data (136) using a second stage hot word detector (140) to determine whether the hot word is detected in the audio data (136) by the second stage hot word detector (140); identifying a false positive instance (210) in the first tier hot word detector (120) when the hot word is not detected in the audio data (136) by the second tier hot word detector (140), indicating that the first tier hot word detector (120) has incorrectly detected the hot word in the streaming audio (118); determining whether a false acceptance rate (230) associated with the first-stage hot word detector (120) of the user device (102) satisfies a false acceptance rate threshold (240), the false acceptance rate (230) being based on a number of false acceptance instances (210) identified in the first-stage hot word detector (120) within a false acceptance period; adjusting the hot word detection threshold (134) of the first stage hot word detector (120) when the false acceptance rate (230) associated with the first stage hot word detector (120) satisfies the false acceptance rate threshold (240); A method (600) performing operations including:

2. 2. The method of claim 1, wherein when the hot word is not detected in the audio data by the second stage hot word detector, the operations further include suppressing a wake-up process on the user device for processing the hot word and / or one or more other words that follow the hot word in the streaming audio.

3. When the hot word is detected in the audio data (136) by the second stage hot word detector (140), the action is: determining whether subsequent audio data (136) characterizing a spoken query following the hotword in the streaming audio (118) is received from the user device (102); identifying the false acceptance instance (210) in the first tier hot word detector (120) indicating that the first tier hot word detector (120) incorrectly detected the hot word in the streaming audio (118) when subsequent audio data (136) characterizing the voiced query is not received from the user device (102); 3. The method (600) of claim 1 or 2, further comprising:

4. 4. The method of claim 3, wherein the operations further comprise processing the spoken query when subsequent audio characterizing the spoken query is received from the user device.

5. 5. The method of claim 1, wherein the user device is configured to, when the first stage hot word detector detects the hot word in the streaming audio, initiate a wake-up process to process the hot word and / or one or more other words that follow the hot word in the streaming audio.

6. 6. The method (600) of any one of claims 1 to 5, wherein adjusting the hot word detection threshold (134) of the first stage hot word detector (120) comprises increasing the value of the hot word detection threshold (134).

7. Upon receiving the audio data (136) characterizing the hot words detected in the streaming audio (118) by the first stage hot word detector (120), the operation comprises: receiving a near miss indication from the user device (102) indicating that the first tier hot word detector (120) detected the hot word in the streaming audio (118) within a threshold time period after the first tier hot word detector (120) produced a previous confidence score (132) that failed to satisfy the hot word detection threshold (134) by a threshold margin, the previous confidence score (132) indicating whether the hot word was present in a previous audio characteristic of the streaming audio (118) captured by the user device (102); when the hot word is detected in the audio data (136) by the second stage hot word detector (140), identifying a false negative case (250) in the first stage hot word detector (120) based on the near miss indicator, the false negative case indicating that the first stage hot word detector (120) was not initially able to detect the hot word in the previous audio features of the streaming audio (118); determining whether a false rejection rate (270) associated with the first-stage hot word detector (120) of the user device (102) satisfies a false rejection rate threshold (280), the false rejection rate (270) being based on a number of false rejection cases (250) identified in the first-stage hot word detector (120) within a false rejection period; adjusting the hot word detection threshold (134) of the first stage hot word detector (120) when the false rejection rate (270) associated with the first stage hot word detector (120) satisfies the false rejection rate threshold (280); 7. The method (600) of any one of claims 1 to 6, further comprising:

8. 8. The method (600) of claim 7, wherein adjusting the hot word detection threshold (134) comprises decreasing the hot word detection threshold (134) of the first stage hot word detector (120).

9. A computer-implemented method (700), when executed on data processing hardware (103) of a user device (102), causing the data processing hardware (103) to: receiving streaming audio (118) captured by one or more microphones (106) in communication with said data processing hardware; generating a confidence score (132) indicative of the presence of hot words in an audio signature of the streaming audio (118) using a first stage hot word detector (120); determining whether the confidence score (132) satisfies a hot word detection threshold (134); When the confidence score (132) satisfies the hot word detection threshold (134), detecting said hotwords in said streaming audio (118); transmitting audio data (136) characterizing the hot words detected in the streaming audio (118) using the first stage hot word detector (120) to a remote computing device (110) running a second stage hot word detector (140), the remote computing device (110) comprising: determining whether the hot word is detected in the audio data by the second stage hot word detector; identifying a false positive instance (210) in the first stage hot word detector (120) when the hot word is not detected in the audio data (136) by the second stage hot word detector (140), indicating that the first stage hot word detector (120) has incorrectly detected the hot word in the streaming audio (118); and adjusting the hot word detection threshold (134) of the first stage hot word detector (120) when a false acceptance rate (230) based on a number of false acceptance cases (210) identified in the first stage hot word detector (120) within a false acceptance period satisfies a false acceptance rate threshold (240); A method (700) performing operations including:

10. 10. The method (700) of claim 9, wherein adjusting the hot word detection threshold (134) of the first stage hot word detector (120) comprises increasing the value of the hot word detection threshold (134).

11. The operation, when the confidence score (132) satisfies the hot word detection threshold (134), initiating a wake-up process on the user device (102) to process the hot word and / or one or more other words following the hot word in the streaming audio (118); inhibiting the wake-up process on the user device (102) when the hot word is not detected in the audio data (136) by the second stage hot word detector (140); 11. The method (700) of claim 9 or 10, further comprising:

12. When the confidence score (132) satisfies the hot word detection threshold (134), the action is: determining a near miss indicator indicating that a previous confidence score (132) that fails to satisfy the hot word detection threshold (134) by a threshold margin was generated within a threshold period prior to detecting the hot word in the streaming audio (118) by the first stage hot word detector (120); transmitting the near-miss indicator to the remote computing device (110), the remote computing device (110) being configured to, when the hot word is detected in the audio data (136) by the second-tier hot word detector (140), identify a false rejection case (250) in the first-tier hot word detector (120) based on the near-miss indicator, the false rejection case (250) indicating that the first-tier hot word detector (120) was not initially able to detect the hot word in a previous audio feature of the streaming audio (118); adjusting the hot word detection threshold (134) of the first stage hot word detector (120) when a false rejection rate (270) based on a number of false rejection cases (250) identified in the first stage hot word detector (120) within a false rejection period satisfies a false rejection threshold (280); 12. The method (700) of any one of claims 9 to 11, further comprising:

13. 13. The method (700) of claim 12, wherein adjusting the hotword detection threshold (134) comprises decreasing a value of the hotword detection threshold (134).

14. A system (800), Data processing hardware (810); memory hardware (820) in communication with the data processing hardware (810), the memory hardware (820) storing instructions that, when executed on the data processing hardware (810), cause the data processing hardware (810) to: receiving, from a user device (102) running a first stage hot word detector (120), audio data (136) characterizing hot words detected by the first stage hot word detector (120) in streaming audio (118) captured by the user device (102), the first stage hot word detector (120) generating a confidence score (132) indicative of whether the hotword is present within an audio signature of the streaming audio (118) captured by the user device (102); detecting the hot word in the streaming audio (118) when the confidence score (132) satisfies a hot word detection threshold (134) of the first stage hot word detector (120); and processing the audio data (136) using a second stage hot word detector (140) to determine whether the hot word is detected in the audio data (136) by the second stage hot word detector (140); identifying a false positive instance (210) in the first tier hot word detector (120) when the hot word is not detected in the audio data (136) by the second tier hot word detector (140), indicating that the first tier hot word detector (120) has incorrectly detected the hot word in the streaming audio (118); determining whether a false acceptance rate (230) associated with the first-stage hot word detector (120) of the user device (102) satisfies a false acceptance rate threshold (240), the false acceptance rate (230) being based on a number of false acceptance instances (210) identified in the first-stage hot word detector (120) within a false acceptance period; adjusting the hot word detection threshold (134) of the first stage hot word detector (120) when the false acceptance rate (230) associated with the first stage hot word detector (120) satisfies the false acceptance rate threshold (240); A memory hardware (820) for performing the operations comprising: A system (800) comprising:

15. 15. The system (800) of claim 14, wherein the operations further include suppressing a wake-up process on the user device (102) for processing the hot word and / or one or more other words that follow the hot word in the streaming audio (118) when the hot word is not detected in the audio data (136) by the second stage hot word detector (140).

16. When the hot word is detected in the audio data (136) by the second stage hot word detector (140), the action is: determining whether subsequent audio data (136) characterizing a spoken query following the hotword in the streaming audio (118) is received from the user device (102); identifying the false acceptance instance (210) in the first tier hot word detector (120) indicating that the first tier hot word detector (120) incorrectly detected the hot word in the streaming audio (118) when subsequent audio data (136) characterizing the voice query is not received from the user device (102); 16. The system (800) of claim 14 or 15, further comprising:

17. 20. The system of claim 16, wherein the operations further include processing the spoken query when subsequent audio characterizing the spoken query is received from the user device.

18. 18. The system (800) of any one of claims 14 to 17, wherein the user device (102) is configured to, when the first stage hot word detector (120) detects the hot word in the streaming audio (118), initiate a wake-up process to process the hot word and / or one or more other words that follow the hot word in the streaming audio (118).

19. 19. The system (800) of any one of claims 14 to 18, wherein adjusting the hot word detection threshold (134) of the first stage hot word detector (120) comprises increasing a value of the hot word detection threshold (134).

20. Upon receiving the audio data (136) characterizing the hot words detected in the streaming audio (118) by the first stage hot word detector (120), the operation comprises: receiving a near miss indication from the user device (102) indicating that the first tier hot word detector (120) detected the hot word in the streaming audio (118) within a threshold time period after the first tier hot word detector (120) produced a previous confidence score (132) that failed to satisfy the hot word detection threshold (134) by a threshold margin, the previous confidence score (132) indicating whether the hot word was present in a previous audio characteristic of the streaming audio (118) captured by the user device (102); identifying a false positive case (250) in the first tier hot word detector (120) indicating that the first tier hot word detector (120) failed to initially detect the hot word in the previous audio features of the streaming audio (118) based on the near miss indicator when the hot word is detected in the audio data (136) by the second tier hot word detector (140); determining whether a false rejection rate (270) associated with the first-stage hot word detector (120) of the user device (102) satisfies a false rejection rate threshold (280), the false rejection rate (270) being based on a number of false rejection cases (250) identified in the first-stage hot word detector (120) within a false rejection period; adjusting the hot word detection threshold (134) of the first stage hot word detector (120) when the false rejection rate (270) associated with the first stage hot word detector (120) satisfies the false rejection rate threshold (280); 20. The system (800) of any one of claims 14 to 19, further comprising:

21. 21. The system (800) of claim 20, wherein adjusting the hot word detection threshold (134) comprises decreasing the hot word detection threshold (134) of the first stage hot word detector (120).

22. A system (100), comprising: Data processing hardware (103) of a user device (102); memory hardware (105) in communication with the data processing hardware (103), the memory hardware (105) storing instructions that, when executed on the data processing hardware (103), cause the data processing hardware (103) to perform operations, the operations including: receiving streaming audio (118) captured by one or more microphones (106) in communication with said data processing hardware; generating a confidence score (132) indicative of the presence of hot words in an audio signature of the streaming audio (118) using a first stage hot word detector (120); determining whether the confidence score (132) satisfies a hot word detection threshold (134); When the confidence score (132) satisfies the hot word detection threshold (134), detecting the hotword in the streaming audio (118); transmitting audio data (136) characterizing the hot words detected in the streaming audio (118) using the first stage hot word detector (120) to a remote computing device (110) running a second stage hot word detector (140), the remote computing device (110) determining whether the hot word is detected in the audio data by the second stage hot word detector; identifying a false positive instance (210) in the first stage hot word detector (120) when the hot word is not detected in the audio data (136) by the second stage hot word detector (140), indicating that the first stage hot word detector (120) has incorrectly detected the hot word in the streaming audio (118); a transmitting step configured to: adjusting the hot word detection threshold (134) of the first stage hot word detector (120) when a false acceptance rate (230) based on a number of false acceptance cases (210) identified in the first stage hot word detector (120) within a false acceptance period satisfies a false acceptance rate threshold (240); A memory hardware (105) for performing operations comprising: A system (100) comprising:

23. 23. The system of claim 22, wherein adjusting the hot word detection threshold of the first stage hot word detector comprises increasing a value of the hot word detection threshold.

24. The operation, when the confidence score (132) satisfies the hot word detection threshold (134), initiating a wake-up process on the user device (102) to process the hot word and / or one or more other words following the hot word in the streaming audio (118); inhibiting the wake-up process on the user device (102) when the hot word is not detected in the audio data (136) by the second stage hot word detector (140); 24. The system (100) of claim 22 or 23, further comprising:

25. When the confidence score (132) satisfies the hot word detection threshold (134), the action is: determining a near miss indicator indicating that a previous confidence score (132) that fails to satisfy the hot word detection threshold (134) by a threshold margin was generated within a threshold period prior to detecting the hot word in the streaming audio (118) by the first stage hot word detector (120); transmitting the near-miss indicator to the remote computing device (110), the remote computing device (110) being configured to identify a false rejection case (250) in the first tier hot word detector (120) based on the near-miss indicator when the hot word is detected in the audio data (136) by the second tier hot word detector (140), the false rejection case (250) indicating that the first tier hot word detector (120) was initially unable to detect the hot word in a previous audio feature of the streaming audio (118); adjusting the hot word detection threshold (134) of the first stage hot word detector (120) when a false rejection rate (270) based on a number of false rejection cases (250) identified in the first stage hot word detector (120) within a false rejection period satisfies a false rejection threshold (280); 25. The system (100) of any one of claims 22 to 24, further comprising:

26. 26. The system (100) of claim 25, wherein adjusting the hotword detection threshold (134) comprises decreasing a value of the hotword detection threshold (134).

Citation Information

Patent Citations

  • Method and Apparatus for Adjusting Detection Threshold for Activating Voice Assistant Feature

    JP2016536648A

  • Dynamic threshold for always listening speech trigger

    JP2019091472A

  • Server-side hotwording

    JP2020507815A

  • System and method for speech validation

    US20160055847A1