Speaker-dependent follow-up actions and warm words

Speaker-dependent warm words in voice-enabled environments ensure only the authorized user can control long-term actions, enhancing accuracy and security by associating warm words with specific voices, preventing unauthorized access.

JP7554936B2Active Publication Date: 2024-09-20GOOGLE LLC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023535766
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-12-10
Filing Date
2021-11-17
Publication Date
2024-09-20
Estimated Expiration
2041-11-17

AI Technical Summary

Technical Problem

Existing voice-enabled environments struggle with accurately identifying and verifying the speaker of commands in a multi-user setting, leading to potential misuse of long-term actions by unauthorized users.

Method used

Implementing speaker-dependent warm words, where a set of warm words is associated with a specific user, allowing only that user to control long-term actions by recognizing and verifying their voice, thereby preventing unauthorized access.

Benefits of technology

Enhances accuracy and security in controlling long-term actions by ensuring only the authorized user can activate warm words, reducing false positives and improving user experience by preventing unauthorized control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007554936000005
    Figure 0007554936000005
  • Figure 0007554936000009
    Figure 0007554936000009
  • Figure 0007554936000008
    Figure 0007554936000008
Patent Text Reader

Abstract

The method (500) includes receiving audio data (402) corresponding to an utterance (106) spoken by a user (102) including a command (118) for a digital assistant (105) to perform a long-term operation, activating a set of one or more warm words (112) associated with each action for controlling the long-term operation, and associating the activated set of one or more warm words only with the user. While the digital assistant is performing the long-term operation, the method includes receiving additional audio data corresponding to the additional utterance, identifying one of the warm words from the activated set of warm words, and performing speaker verification (400) on the additional audio data. The method further includes, when the additional utterance is spoken by the same user associated with the activated set of one or more warm words, performing a respective action associated with the identified one of the warm words for controlling the long-term operation.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to speaker-dependent follow-up actions and warm words. [Background technology]

[0002] A voice-enabled environment allows a user to simply speak a query or command out loud, and the digital assistant processes the query to answer the query and / or execute the command. A voice-enabled environment (e.g., at home, at work, at school, etc.) may be implemented using a network of connected microphone devices distributed throughout various rooms and / or areas of the environment. Through such a network of microphones, a user has the ability to verbally query a digital assistant from essentially anywhere in the environment, without the need to place a computer or other device in front of or even near the user. For example, while cooking in the kitchen, a user may ask the digital assistant to "set a timer for 20 minutes," in response to which the digital assistant confirms (e.g., in the form of a synthesized voice output) that the timer has been set, and then alerts the user (e.g., in the form of an alarm from an audio speaker or other audible alarm) after the timer has expired for 20 minutes. Often, there are many users in a given environment who query / command a digital assistant to perform various actions. Such users may register a voice profile with the digital assistant so that the user can be identified to achieve a more personalized experience for the user. For example, one of several different users of the digital assistant may speak the command "Play my music playlist," and in response, the digital assistant may identify the particular user by matching voice characteristics with a voice profile for that user and then stream the music playlist for that particular user through an audio speaker. Summary of the Invention [Means for solving the problem]

[0003] One aspect of the present disclosure provides a method for activating speaker-dependent warm words. The method includes receiving, in the data processing hardware, audio data corresponding to an utterance spoken by a user and captured by an assistant-enabled device associated with the user. The utterance includes a command for the digital assistant to perform a long-term operation. After receiving the audio data corresponding to the utterance, the method includes activating, by the data processing hardware, a set of one or more warm words associated with a respective action for controlling the long-term operation, and associating, by the data processing hardware, the activated set of one or more warm words only with the user who spoke the utterance. While the digital assistant is performing the long-term operation, the method also includes receiving, in the data processing hardware, additional audio data corresponding to an additional utterance captured by the assistant-enabled device, identifying, by the data processing hardware, in the additional audio data, one of the warm words from the activated set of one or more warm words, and performing, by the data processing hardware, speaker verification on the additional audio data to determine whether the additional utterance was spoken by the same user associated with the activated set of one or more warm words. The method further includes performing, by the data processing hardware, a respective action associated with the identified one of the warm words for controlling operation over time when additional utterances are spoken by the same user associated with the activated set of one or more warm words.

[0004] Implementations of the present disclosure may include one or more of the following optional features. In some implementations, activating a set of one or more warm words includes activating and executing, for each corresponding warm word in the set of one or more activated warm words, a respective warm word model on the assistant-enabled device associated with the user. In such implementations, identifying, in the additional audio data, one of the warm words from the set of one or more activated warm words includes detecting one of the warm words in the additional audio data using the respective warm word model activated for the corresponding one of the warm words without performing speech recognition on the additional audio data. Detecting one of the warm words in the additional audio data may include extracting audio features of the additional audio data, generating a warm word confidence score by processing the extracted audio features using the respective warm word model activated for the corresponding one of the warm words, and determining that the additional audio data corresponding to the additional utterance includes the corresponding one of the warm words when the warm word confidence score meets a warm word confidence threshold.

[0005] In some examples, activating the set of one or more warm words includes running a voice recognizer on the assistant-enabled device. The voice recognizer is biased to recognize one or more warm words in the set of one or more activated warm words. In such examples, identifying one of the warm words from the set of one or more activated warm words in the additional audio data includes recognizing one of the warm words in the additional audio data using a voice recognizer running on the assistant-enabled device.

[0006] In some implementations, after receiving the audio data corresponding to the utterance spoken by the user, the method also includes performing speaker identification on the audio data by the data processing hardware to identify the user who spoke the utterance. The speaker identification includes extracting a first speaker discrimination vector representing the characteristics of the utterance spoken by the user from the audio data corresponding to the utterance spoken by the user, and determining whether the extracted speaker discrimination vector matches any enrolled speaker vector stored on the assistant-enabled device. Each enrolled speaker vector is associated with a different respective enrolled user of the assistant-enabled device. When the first speaker discrimination vector matches one of the enrolled speaker vectors, the method includes identifying the user who spoke the utterance as a respective enrolled user associated with one of the enrolled speaker vectors that matches the extracted speaker discrimination vector. In such an implementation, the utterance spoken by the user further includes a hot word preceding a command for the digital assistant to perform a long-lasting action, and the first speaker discrimination vector includes a text-dependent speaker discrimination vector extracted from a portion of the audio data including the hot word, and each enrolled speaker vector includes a text-dependent enrolled speaker vector extracted from one or more audio samples of a respective enrolled user who speaks the hot word. In an additional implementation, performing speaker verification on the additional audio data includes extracting a second speaker discrimination vector representing characteristics of the additional utterance from the additional audio data corresponding to an additional utterance of one of the warm words, and determining whether the extracted second speaker discrimination vector matches a reference speaker vector for each enrolled user identified as the user who spoke the utterance. Here, when the extracted second speaker discrimination vector matches the reference speaker vector, the method includes determining that the additional utterance was spoken by the same user associated with the set of one or more activated warm words. In such implementations, the reference speaker vectors may include enrolled speaker vectors associated with each enrolled user.Additionally or alternatively, the reference speaker vector includes a text-dependent speaker vector extracted from one or more audio samples of each enrolled user who speaks an identified one of the warm words.

[0007] In some examples, when the first speaker discrimination vector does not match any of the enrolled speaker vectors, identifying the user who spoke the utterance as a guest user of the assistant-enabled device and performing speaker verification on the additional audio data includes extracting a second speaker discrimination vector representing the characteristics of the additional utterance from the additional audio data, and determining whether the second speaker discrimination vector matches the first speaker discrimination vector representing the characteristics. In such examples, the method includes determining that the additional utterance was spoken by the same user associated with the set of one or more activated warm words when the first speaker discrimination vector and the extracted second speaker discrimination vector match. In an additional implementation, when the additional utterance was spoken by a user different from the user associated with the set of one or more activated warm words, the method includes inhibiting, by the data processing hardware, the implementation of a respective action associated with the identified one of the warm words for controlling long-term operation.

[0008] In some examples, when the additional utterance is spoken by a user different from the user associated with the set of one or more activated warm words, the method includes prompting, by the data processing hardware, the user associated with the set of one or more activated warm words to allow the implementation of the respective action associated with the identified one of the warm words for controlling the long-term operation. The method also includes receiving, in the data processing hardware, a confirmation from the user permitting the implementation of the respective action, and implementing, by the data processing hardware, the respective action associated with the identified one of the warm words for controlling the long-term operation. Prompting the user may include identifying the different user who spoke the additional utterance. In some implementations, the method further includes determining, by the data processing hardware, when the digital assistant has stopped implementing the long-term operation, and deactivating, by the data processing hardware, the set of one or more warm words.

[0009] Another aspect of the present disclosure provides a system for activating speaker-dependent warm words. The system includes data processing hardware and memory hardware in communication with the data processing hardware. The memory hardware stores instructions that, when executed by the data processing hardware, cause the data processing hardware to perform an operation including receiving audio data corresponding to an utterance spoken by a user and captured by an assistant-enabled device associated with the user. The utterance includes a command for the digital assistant to perform a long-term operation. After receiving the audio data corresponding to the utterance, the operation includes activating a set of one or more warm words associated with respective actions for controlling the long-term operation, and associating the activated set of one or more warm words only with the user who spoke the utterance. While the digital assistant is performing the long-term operation, the operations also include receiving additional audio data corresponding to the additional utterance captured by the assistant-enabled device, identifying, within the additional audio data, one of the warm words from the set of one or more activated warm words, and performing speaker verification on the additional audio data to determine whether the additional utterance was spoken by the same user associated with the set of one or more activated warm words. The operations further include performing a respective action associated with the identified one of the warm words for controlling the long-term operation when the additional utterance is spoken by the same user associated with the set of one or more activated warm words.

[0010] Implementations of the present disclosure may include one or more of the following optional features. In some implementations, activating a set of one or more warm words includes activating and executing, for each corresponding warm word in the set of one or more activated warm words, a respective warm word model on the assistant-enabled device associated with the user. In such implementations, identifying, in the additional audio data, one of the warm words from the set of one or more activated warm words includes detecting one of the warm words in the additional audio data using the respective warm word model activated for the corresponding one of the warm words without performing speech recognition on the additional audio data. Detecting one of the warm words in the additional audio data may include extracting audio features of the additional audio data, generating a warm word confidence score by processing the extracted audio features using the respective warm word model activated for the corresponding one of the warm words, and determining that the additional audio data corresponding to the additional utterance includes the corresponding one of the warm words when the warm word confidence score meets a warm word confidence threshold.

[0011] In some examples, activating the set of one or more warm words includes running a voice recognizer on the assistant-enabled device. The voice recognizer is biased to recognize one or more warm words in the set of one or more activated warm words. In such examples, identifying one of the warm words from the set of one or more activated warm words in the additional audio data includes recognizing one of the warm words in the additional audio data using a voice recognizer running on the assistant-enabled device.

[0012] In some implementations, the operation further includes, after receiving the audio data corresponding to the utterance spoken by the user, performing speaker identification on the audio data to identify the user who spoke the utterance. The speaker identification includes extracting a first speaker discrimination vector representing the characteristics of the utterance spoken by the user from the audio data corresponding to the utterance spoken by the user, and determining whether the extracted speaker discrimination vector matches any enrolled speaker vector stored on the assistant-enabled device. Each enrolled speaker vector is associated with a different respective enrolled user of the assistant-enabled device. When the first speaker discrimination vector matches one of the enrolled speaker vectors, the operation includes identifying the user who spoke the utterance as a respective enrolled user associated with one of the enrolled speaker vectors that matches the extracted speaker discrimination vector. In such an implementation, the utterance spoken by the user further includes a hot word preceding a command for the digital assistant to perform a long-lasting action, and the first speaker discrimination vector includes a text-dependent speaker discrimination vector extracted from a portion of the audio data including the hot word, and each enrolled speaker vector includes a text-dependent enrolled speaker vector extracted from one or more audio samples of a respective enrolled user who speaks the hot word. In an additional implementation, performing speaker verification on the additional audio data includes extracting a second speaker discrimination vector representing characteristics of the additional utterance from the additional audio data corresponding to an additional utterance of one of the warm words, and determining whether the extracted second speaker discrimination vector matches a reference speaker vector for each enrolled user identified as the user who spoke the utterance. Here, when the extracted second speaker discrimination vector matches the reference speaker vector, the operation includes determining that the additional utterance was spoken by the same user associated with the set of one or more activated warm words. In such implementations, the reference speaker vectors may include enrolled speaker vectors associated with each enrolled user.Additionally or alternatively, the reference speaker vector includes a text-dependent speaker vector extracted from one or more audio samples of each enrolled user who speaks an identified one of the warm words.

[0013] In some examples, when the first speaker discrimination vector does not match any of the enrolled speaker vectors, identifying the user who spoke the utterance as a guest user of the assistant-enabled device and performing speaker verification on the additional audio data includes extracting a second speaker discrimination vector representing the characteristics of the additional utterance from the additional audio data, and determining whether the second speaker discrimination vector matches the first speaker discrimination vector representing the characteristics. In such examples, the operation includes determining that the additional utterance was spoken by the same user associated with the set of one or more activated warm words when the first speaker discrimination vector and the extracted second speaker discrimination vector match. In an additional implementation, when the additional utterance is spoken by a user different from the user associated with the set of one or more activated warm words, the operation includes inhibiting implementation of a respective action associated with the identified one of the warm words for controlling the long-term operation.

[0014] In some examples, when the additional utterance is spoken by a user different from the user associated with the set of one or more activated warm words, the operation includes prompting the user associated with the set of one or more activated warm words to allow the implementation of the respective action associated with the identified one of the warm words for controlling the long-term operation. The operation also includes receiving a confirmation from the user permitting the implementation of the respective action, and implementing the respective action associated with the identified one of the warm words for controlling the long-term operation. Prompting the user may include identifying the different user who spoke the additional utterance. In some implementations, the operation further includes determining when the digital assistant has stopped implementing the long-term operation, and deactivating the set of one or more warm words.

[0015] 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 become apparent from the description and drawings, and from the claims. [Brief description of the drawings]

[0016] [Figure 1A] FIG. 1 is a schematic diagram of an exemplary system including a user using speaker dependent warm words to control behavior over time. [Figure 1B] FIG. 1 is a schematic diagram of an exemplary system including a user using speaker dependent warm words to control behavior over time. [Figure 1C] FIG. 1 is a schematic diagram of an exemplary system including a user using speaker dependent warm words to control behavior over time. [Diagram 2] 1 is an exemplary data store for storing registered user data. [Diagram 3] 1 is an exemplary GUI rendered on the screen of a user device. [Figure 4A] FIG. 2 is a schematic diagram of a speaker identification process. [Figure 4B] FIG. 2 is a schematic diagram of a speaker verification process. [Diagram 5] 1 is a flowchart of an exemplary arrangement of operations for a method for activating speaker dependent warm words. [Figure 6] FIG. 1 is a schematic diagram of an example computing device that can be used to implement the systems and methods described herein. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0017] Like reference numbers in the various drawings indicate like elements.

[0018] The manner in which a user interacts with an assistant-enabled device is designed to be primarily, but not exclusively, through voice input. Thus, the assistant-enabled device must have some manner of distinguishing when a given utterance in the surrounding environment is directed to the device, rather than directed to an individual in the environment, or originating from a non-human source (e.g., a television or music player). One manner of achieving this is to use hot words that are reserved by agreement between users in the environment as predetermined words to be spoken to attract the attention of the device. In the exemplary environment, the hot word used to attract the attention of the assistant is the word "OK computer". Thus, each time the word "OK computer" is spoken, the word is captured by the microphone and communicated to a hot word detector, which implements speech understanding techniques to determine whether the hot word has been spoken, and if so, waits for a subsequent command or query. Thus, utterances directed to an Assistant-enabled device take the general form [HOTWORD][QUERY], where "HOTWORD" is "OK computer" in this example, and "QUERY" can be any question, command, declaration, or other request that can be voice recognized, analyzed, and acted upon by the system alone, or in conjunction with a server over a network.

[0019] In the case where a user gives some hot word-based commands to an assistant-enabled device such as a mobile phone or a smart speaker, the interaction between the user and the phone or speaker may be awkward. The user may say, "ok computer, play my homework playlist." The phone or speaker may start playing the first song on the playlist. The user may want to proceed to the next song and may say, "ok computer, next." To proceed to yet another song, the user may say, "ok computer, next" again. To alleviate the need to keep repeating hot words before speaking a command, the assistant-enabled device may be configured to recognize / detect a limited set of hot phrases or warm words to directly trigger the respective action. In this example, the warm word "next" serves the dual purpose of hot word and command, so instead of saying "ok computer, next," the user may simply say "next" to wake up the assistant-enabled device and trigger the performance of the respective action.

[0020] A set of warm words may be active to control long-term actions. In this specification, a long-term action refers to an application or event that the digital assistant performs for an extended duration and that can be controlled by the user while the application or event is ongoing. For example, when the digital assistant sets a timer for 30 minutes, the timer is a long-term action from the time the timer is set until the timer ends or until the resulting alert is acknowledged after the timer ends. In this case, a warm word such as "stop the timer" may be active to allow the user to stop the timer by simply speaking "stop the timer" without first speaking the hot word. Similarly, a command to instruct the digital assistant to play music from a streaming music service while the digital assistant is streaming music from the streaming music service through a playback device is a long-term action. In this case, the active set of warm words may be "pause", "pause music", "volume up", "volume down", "next", "previous", etc. to control the playback of the music that the digital assistant is streaming through the playback device. Long-term actions may include multi-step dialogue queries such as "make a reservation at a restaurant," in which different sets of warm words are active depending on the given stage of the multi-step dialogue. For example, the digital assistant 105 may prompt the user to select from a list of restaurants, which may activate a set of warm words including respective identifiers (e.g., restaurant names or numbers in the list) for selecting a restaurant from the list, and may prompt to complete the action of making a reservation at that restaurant.

[0021] One challenge with warm words is to limit the number of simultaneously active words / phrases so that quality and efficiency do not decrease. For example, several false positives, which indicate when an Assistant-enabled device incorrectly detects / recognizes one of the active words, will greatly increase the number of simultaneously active warm words. Furthermore, a user who gives a command to start a long-running operation cannot prevent others from speaking an active warm word to control the long-running operation.

[0022] Implementations herein are directed to activating a set of one or more warm words associated with an ongoing long-term operation that is speaker-dependent on the user who spoke the command for the digital assistant to perform the long-term operation. That is, the warm words that are active are associated with a high probability of being spoken by the user after the initial command to control the long-term operation. Thus, while the digital assistant is performing a long-term operation commanded by a user, only that user is allowed to speak any of the active warm words to trigger the respective actions to control the long-term operation. That is, if someone other than that user speaks one of the warm words, the implementation of the respective actions to control the long-term operation is inhibited or requires approval by the user. In other words, any processing of warm words captured in the streaming audio is limited to the voice of the user who issued the initial command for the digital assistant to perform the long-term operation. The warm word detector and speaker identification operate on the assistant-enabled device and may be low power consumption.

[0023] By associating active warm words with a particular user's voice so that the warm words are speaker-dependent, the accuracy of triggering the respective action upon detection of the warm word is improved since only the particular user is permitted to speak the warm word. Furthermore, the processing cost is improved since the number of times the assistant-enabled device wakes up and potentially connects to the server is reduced, reducing the number of false positives. Furthermore, the user's experience with the digital assistant is improved since others cannot override the user's command to initiate the execution of a long-term action unless the user gives explicit permission.

[0024] 1A and 1B show exemplary systems 100, 100a, 100b for activating warm words associated with respective actions for controlling long-term operations and associating warm words 112 with a user 102 who spoke an initial command for controlling long-term operations. Briefly, as described in more detail below, in response to an utterance 106 of "ok computer, play music" spoken by a user 102, an assistant-enabled device 104 starts playing music 122. While the assistant-enabled device 104 is performing a long-term operation of the music 122 as playback audio from the speaker 18, the assistant-enabled device 104 can detect / recognize an active warm word 112 of "next" spoken by the user 102 as an instruction to proceed to an action for controlling a long-term operation, for example, the next song in a playlist associated with the music 122.

[0025] The system 100a, 100b includes an assistant-enabled device (AED) 104 running a digital assistant 105 with which a user 102 can interact through voice. In this illustrated example, the AED 104 corresponds to a smart speaker. However, the AED 104 may include other computing devices such as, but not limited to, a smartphone, a tablet, a smart display, a desktop / laptop, a smart watch, a smart appliance, headphones, or a vehicle infotainment device. The AED 104 includes data processing hardware 10 and memory hardware 12 that stores instructions that, when executed on the data processing hardware 10, cause the data processing hardware 10 to perform operations. The AED 104 includes an array of one or more microphones 16 configured to capture acoustic sounds, such as voices, directed to the AED 104. The AED 104 may also include or communicate with an audio output device (e.g., a speaker) 18 that may output audio, such as music 122 and / or synthesized voice from the digital assistant 105.

[0026] FIG. 1A shows a user 102 speaking an utterance 106, "ok computer, play music," in the vicinity of an AED 104. A microphone 16 of the AED 104 receives the utterance 106 and processes audio data 402 corresponding to the utterance 106. Initial processing of the audio data 402 may include filtering the audio data 402 and converting the audio data 402 from an analog signal to a digital signal. After the AED 104 processes the audio data 402, the AED may store the audio data 402 in a buffer of the memory hardware 12 for further processing. With the audio data 402 in the buffer, the AED 104 may use a hot word detector 108 to detect whether the audio data 402 includes a hot word. The hot word detector 108 is configured to identify hot words included in the audio data 402 without performing voice recognition on the audio data 402.

[0027] In some implementations, the hot word detector 108 is configured to identify hot words in an initial portion of the utterance 106. In this example, the hot word detector 108 may determine that the utterance 106, "ok computer, play music" includes the hot word 110, "ok computer" if the hot word detector 108 detects acoustic features specific to the hot word 110 in the audio data 402. The acoustic features may be Mel-frequency cepstral coefficients (MFCCs), which are a representation of the short-term power spectrum of the utterance 106, or may be Mel-scale filter bank energies for the utterance 106. For example, the hot word detector 108 may detect that the utterance 106, "ok computer, play music" includes the hot word 110, "ok computer" based on generating MFCCs from the audio data 402 and classifying the MFCCs as including MFCCs similar to MFCCs specific to the hot word "ok computer" stored in a hot word model of the hot word detector 108. As another example, the hot word detector 108 may detect that the utterance 106 "ok computer, play music" contains the hot word 110 "ok computer" based on generating mel-scale filter bank energy from the audio data 402 and classifying the mel-scale filter bank energy as containing mel-scale filter bank energy similar to the mel-scale filter bank energy specific to the hot word "ok computer" stored in a hot word model of the hot word detector 108.

[0028] When the hot word detector 108 determines that the audio data 402 corresponding to the utterance 106 includes the hot word 110, the AED 104 may trigger a wake-up process to begin voice recognition on the audio data 402 corresponding to the utterance 106. For example, a voice recognizer 116 running on the AED 104 may perform voice recognition or semantic interpretation on the audio data 402 corresponding to the utterance 106. The voice recognizer 116 may perform voice recognition on the portion of the audio data 402 that follows the hot word 110. In this example, the voice recognizer 116 may identify the words “play music” in the command 118.

[0029] In some implementations, the speech recognizer 116 is located on the server 120 in addition to or instead of the AED 104. When the hot word detector 108 triggers the AED 104 to wake up in response to detecting the hot word 110 in the utterance 106, the AED 104 may transmit audio data 402 corresponding to the utterance 106 to the server 120 over the network 132. The AED 104 may transmit the portion of the audio data 402 that includes the hot word 110 for the server 120 to verify the presence of the hot word 110. Alternatively, the AED 104 may transmit only the portion of the audio data 402 that corresponds to the portion of the utterance 106 after the hot word 110 to the server 120. The server 120 executes the speech recognizer 116 to perform speech recognition and returns a transcription of the audio data 402 to the AED 104. The AED 104 identifies words in the utterance 106, and the AED 104 performs semantic interpretation to identify voice commands, if any. The AED 104 (and / or server 120) may identify a command for the digital assistant 105 to perform the long-running action of "play music." In the illustrated example, the digital assistant 105 begins performing the long-running action of playing music 122 as playback audio from the speaker 18 of the AED 104. The digital assistant 105 may stream the music 122 from a streaming service (not shown), or the digital assistant 105 may instruct the AED 104 to play music stored on the AED 104.

[0030] The AED 104 (and / or the server 120) may include an action identifier 124 and a warm word selector 126. The action identifier 124 may be configured to identify one or more long-term actions that the digital assistant 105 is currently performing. For each long-term action that the digital assistant 105 is currently performing, the warm word selector 126 may select a corresponding set of one or more warm words 112 associated with a respective action for controlling the long-term action. In some examples, the warm word selector 126 accesses a registry or table (e.g., stored on the memory hardware 12) that associates the identified long-term action with a corresponding set of one or more warm words 112 that are highly correlated with the long-term action. For example, if the long-term action corresponds to a timer setting function, the associated set of one or more warm words 112 available for the warm word selector 126 to activate includes the warm word 112 "stop the timer" to instruct the digital assistant 105 to stop the timer. Similarly, for the long-running action of "call [contact name]", the set of associated warm words 112 includes the warm words 112 of "hang up" and / or "end call" to end the ongoing call. In the illustrated example, for the long-running action of playing music 122, the set of associated one or more warm words 112 available for the warm word selector 126 to activate includes the warm words 112 of "next", "pause", "previous", "volume up", and "volume down", which are associated with respective actions to control the playback of music 122 from the speaker 18 of the AED 104. Thus, the warm word selector 126 may activate such warm words 112 while the digital assistant 105 is performing the long-running action and deactivate such warm words 112 after the long-running action is completed. Similarly, different warm words 112 may be activated / deactivated depending on the state of the ongoing long-running action.For example, if the user speaks "pause" to pause playback of the music 122, the warm word selector 126 may activate the warm word 112 for "play" to resume playback of the music 122. In some configurations, instead of accessing the registry, the warm word selector 126 inspects code associated with a long-running application (e.g., a music application running in the foreground or background of the AED 104) to identify which warm words 112, if any, the developer of the application would like the user 102 to be able to speak to interact with the application, and the respective actions for each warm word 112. The warm words 112 in the registry also pertain to follow-up queries that the user 102 (or a typical user) tends to make following a given query, e.g., "ok computer, next track."

[0031] In some implementations, after activating a set of one or more warm words 112 that correlate to a long-term action, an associator 160 running on the AED 104 (or server 120) associates the activated set of one or more warm words 112 only with the user 102 who spoke the utterance 106 with the command 118 for the digital assistant 105 to perform the long-term action. That is, the associator 160 configures the activated set of warm words 112 to be dependent on the voice of the particular user 102 who gave the initial command 118 to initiate the long-term action. As will become apparent, by making the set of activated warm words 112 dependent on the voice of a particular user 102, the AED 104 (e.g., via the digital assistant 105) will only perform the respective action associated with one of the active warm words 112 when the active warm word is spoken by a particular user 102, thereby inhibiting performance of the respective action (or at least requiring approval from the particular user 102) when the warm word 112 is spoken by a different speaker.

[0032] In order for the associator 160 to associate the set of one or more activated warm words 112 only with the user 102 who spoke the utterance 106 initiating the command 118, the associator 160 must first resolve the identity of the user 102 who spoke the utterance 106. In some scenarios, the user 102 is identified as a registered user 200 of the AED 104 who is authorized to access or control various functions of the AED 104 and the digital assistant 105. The AED 104 may have multiple different registered users 200, each with a registered user account indicating specific permissions or rights regarding the functions of the AED 104. For example, the AED 104 may operate in a multi-user environment, such as a home with multiple family members, whereby each family member corresponds to a registered user 200 with permissions to access a different respective set of resources. To illustrate, a father speaking the command "Play my music playlist" would cause the digital assistant 105 to stream music from the rock music playlist associated with the father, rather than a different music playlist created by another registered user 200 in the household, such as a teenage daughter, whose playlist includes pop music, and associated with that user 200.

[0033] FIG. 2 illustrates an exemplary data store that stores enrolled user data / information for each of a plurality of enrolled users 200a-n of the AED 104. Here, each enrolled user 200 of the AED 104 may agree to a voice enrollment process to obtain a respective enrolled speaker vector 154 from audio samples of a plurality of enrollment phrases spoken by the enrolled user 200. For example, a speaker discrimination model 410 (FIGS. 4A and 4B) may generate one or more enrolled speaker vectors 154 from audio samples of enrollment phrases spoken by each enrolled user 200, and the one or more enrolled speaker vectors 154 are combined, e.g., averaged or accumulated, to form a respective enrolled speaker vector 154. One or more of the enrolled users 200 may perform a voice enrollment process using the AED 104, with the microphone 16 capturing audio samples of such users speaking enrollment utterances, and the speaker discrimination model 410 generating a respective enrolled speaker vector 154 from the audio samples. The model 410 may be executed on the AED 104, the server 120, or a combination thereof. Additionally, one or more of the enrolled users 200 may enroll with the AED 104 by providing the AED 104 with authority and authentication credentials for an existing user account, where the existing user account may store the enrolled speaker vector 154 obtained from a previous voice enrollment process with another device also linked to the user account.

[0034] In some examples, the enrolled speaker vector 154 for the enrolled user 200 includes a text-dependent enrolled speaker vector. For example, the text-dependent enrolled speaker vector may be extracted from one or more audio samples of each enrolled user 200 speaking a predefined term, such as the hot word 110 (e.g., “ok computer”) used to awaken the AED 104 from a sleep state. In other examples, the enrolled speaker vector 154 for the enrolled user 200 is text-independent obtained from one or more audio samples of each enrolled user 200 speaking phrases of different lengths with different terms / words. In such examples, the text-independent enrolled speaker vector may be obtained over time from audio samples obtained from voice interactions the user 102 has with the AED 104 or other devices linked to the same account.

[0035] FIG. 2 also shows that the AED 104 (and / or the server 120) optionally stores one or more other text-dependent speaker vectors 158, each extracted from one or more audio samples of each enrolled user 200 speaking a particular term or phrase. For example, the enrolled user 200a may include a text-dependent speaker vector 158 for each of one or more warm words 112 that may be spoken to cause the AED 104 to perform a respective action to control long-term operation or perform some other command when active. Thus, the text-dependent speaker vector 158 for each enrolled user 200 represents the speech characteristics of each enrolled user 200 speaking a particular warm word 112. As described in more detail below with reference to FIG. 4B, the stored text-dependent speaker vector 158 for each enrolled user 200 associated with a particular warm word 112 may be used to verify each enrolled user 200 speaking a particular warm word 112 to instruct the AED 104 to perform an action to control long-term operation.

[0036] 4A, in some examples, the associator 160 resolves the identity of the user 102 who spoke the utterance 106 by implementing a speaker identification process 400a. The speaker identification process 400a may be executed on the data processing hardware 12 of the AED 104. The process 400a may also be executed on the server 120. The speaker identification process 400a identifies the user 102 who spoke the utterance 106 by first extracting a first speaker discrimination vector 411 representing characteristics of the utterance 106 from audio data 402 corresponding to the utterance 106 spoken by the user 102. Here, the speaker identification process 400a may execute a speaker discrimination model 410 configured to receive the audio data 402 as an input and generate the first speaker discrimination vector 411 as an output. The speaker discrimination model 410 may be a neural network model trained under machine or human supervision to output the speaker discrimination vector 411. The speaker discrimination vector 411 output by the speaker discrimination model 410 may include an N-dimensional vector having values ​​corresponding to speech features of the utterance 106 associated with the user 102. In some examples, the speaker discrimination vector 411 is a d-vector. In some examples, the first speaker discrimination vector 411 includes a set of speaker discrimination vectors each associated with a different user who is also authorized to speak the set of activated warm words. For example, in addition to the user 102 who spoke the utterance 106, the other authorized users may include other individuals who were present when the user 102 spoke the utterance 106 that emitted the long-lasting behavior and / or individuals added / designated by the user 102 as authorized.

[0037] After the first speaker discrimination vector 411 is output from the model 410, the speaker identification process 400a determines whether the extracted speaker discrimination vector 411 matches any of the enrolled speaker vectors 154 stored on the AED 104 (e.g., in the memory hardware 12) for the enrolled users 200a-n (FIG. 2) of the AED 104. As described above with reference to FIG. 2, the speaker discrimination model 410 may generate the enrolled speaker vectors 154 for the enrolled users 200 during a voice enrollment process. Each enrolled speaker vector 154 may be used as a reference vector corresponding to a voiceprint or unique identifier that represents the voice characteristics of the respective enrolled user 200.

[0038] In some implementations, the speaker identification process 400a uses a comparator 420 that compares the first speaker discrimination vector 411 to a respective enrolled speaker vector 154 associated with each enrolled user 200a-n of the AED 104. Here, the comparator 420 may generate a score for each comparison indicating the likelihood that the utterance 106 corresponds to the identification of the respective enrolled user 200, and the identification is accepted when the score meets a threshold. When the score does not meet the threshold, the comparator may reject the identification. In some implementations, the comparator 420 calculates a respective cosine distance between the first speaker discrimination vector 411 and each enrolled speaker vector 154, and determines that the first speaker discrimination vector 411 matches one of the enrolled speaker vectors 154 when the respective cosine distance meets a cosine distance threshold.

[0039] In some examples, the first speaker discrimination vector 411 is a text-dependent speaker discrimination vector extracted from a portion of the audio data that includes the hot word 110, and each enrolled speaker vector 154 is also text-dependent on the same hot word 110. The use of a text-dependent speaker vector may improve accuracy in determining whether the first speaker discrimination vector 411 matches any of the enrolled speaker vectors 154. In other examples, the first speaker discrimination vector 411 is a text-independent speaker discrimination vector extracted from the entire audio data that includes both the hot word 110 and the command 118, or from a portion of the audio data that includes the command 118.

[0040] When the speaker identification process 400a determines that the first speaker discrimination vector 411 matches one of the enrolled speaker vectors 154, the process 400a identifies the user 102 who spoke the utterance 106 as the respective enrolled user 200 associated with one of the enrolled speaker vectors 154 that matches the extracted speaker discrimination vector 411. In the illustrated example, the comparator 420 determines the match based on the respective cosine distances between the first speaker discrimination vector 411 and the enrolled speaker vector 154 associated with the first enrolled user 200a satisfying a cosine distance threshold. In some scenarios, the comparator 420 identifies the user 102 as the respective first enrolled user 200a associated with the enrolled speaker vector 154 that has the shortest respective cosine distance from the first speaker discrimination vector 411, provided that this shortest respective cosine distance also satisfies the cosine distance threshold.

[0041] Conversely, when the speaker identification process 400a determines that the first speaker discrimination vector 411 does not match any of the enrolled speaker vectors 154, the process 400a may identify the user 102 who spoke the utterance 106 as a guest user of the AED 104. Thus, the associator 160 may associate a set of one or more activated warm words 112 with the guest user and use the first speaker discrimination vector 411 as a reference speaker vector representing the phonetic features of the guest user's voice. In some examples, the guest user may enroll in the AED 104, and the AED 104 may store the first speaker discrimination vector 411 as the respective enrolled speaker vector 154 for the newly enrolled user.

[0042] In the example shown in FIG. 1A, the associator 160 associates a set of one or more activated warm words 112 with a first registered user 200a named Barb. In some examples, the AED 104 notifies the identified user 102 (e.g., Barb) associated with the set of one or more activated warm words 112 that the warm words 112 are active and that the user 102 can speak any of the warm words 112 to command the AED 104 to perform a respective action to control long-term operation. For example, the digital assistant 105 may generate a synthesized voice 123 for audible output from the speaker 18 of the AED 104 stating, "Barb, you can speak music playback control without saying 'ok computer'." In an additional example, the digital assistant 105 may provide a notification to a user device 50 (e.g., a smartphone) linked to the identified user's user account to inform the identified user 102 (e.g., Verb) which warm words 112 are currently active to control long-term behavior.

[0043] A graphical user interface (GUI) 300 (FIG. 3) running on the user device 50 may display active warm words 112 and associated respective actions for controlling long-term actions. Each warm word itself may serve as a descriptor identifying a respective action. FIG. 3 shows an exemplary GUI 300 displayed on the screen of the user device 50 to inform the user 102 which warm words 112 are active for the user 102 to speak to control long-term actions and which warm words 113 are inactive and therefore unavailable to be spoken by the user 102 to control long-term actions. Specifically, the GUI 300 renders the active warm words 112 "next", "pause", "previous", "volume up", and "volume down", and the inactive warm word 113 "play". If the user 102 were to pause the playback of music, the warm word for "play" could be the active warm word 112 and the warm word for "pause" could be the inactive warm word 113. Each warm word 112 is associated with a respective action for controlling the playing of music 122 from the speaker 18 of the AED 104 .

[0044] Additionally, the GUI 300 may render to display an identifier of the long-running action (e.g., "Playing Track 1"), an identifier of the AED 104 (e.g., smart speaker) currently performing the long-running action, and / or an identification of the active user 102 (e.g., Verb) that initiated the long-running action. In some implementations, the identification of the active user 102 includes an image 304 of the active user 102. Thus, by identifying the active user 102 and the active warm words 112, the GUI 300 reveals the active user 102 as the "controller" of the long-running action, who may speak any of the active warm words 112 displayed within the GUI 300 to perform respective actions to control the long-running action. As previously mentioned, the set of active warm words 112 depends on the voice of Verb 102, since Verb 102 gave the initial command 118 of "play music" to initiate the long-running action. By making the set of active warm words 112 dependent on the voice of Barb 102, the AED 104 (e.g., via the digital assistant 105) will only implement each action associated with one of the active warm words 112 when the active warm word 112 is spoken by Barb 102, and will suppress implementation of each action (or at least require approval from Barb 102) when the active warm word 112 is spoken by a different speaker.

[0045] The user device 50 may also render graphical elements 302 displayed within the GUI 300 for performing respective actions associated with each active warm word 112 to play the music 122 from the speaker 18 of the AED 104. In the illustrated example, the graphical elements 302 are associated with playback controls for the long-running action of playing the music 122 that, when selected, cause the device 50 to perform the respective action. For example, the graphical elements 302 may include playback controls for performing an action associated with the warm word "next" 112, performing an action associated with the warm word "pause" 112, performing an action associated with the warm word "previous" 112, performing an action associated with the warm word "turn up the volume" 112, and performing an action associated with the warm word "turn down the volume" 112. The GUI 300 may receive user input instructions via any one of touch, voice, gesture, gaze, and / or an input device (e.g., a mouse or stylus) to control the playback of the music 122 from the speaker 18 of the AED 104. For example, the user 102 may provide a user input instruction indicating a selection of a “next” control (e.g., by touching a graphical button in the GUI 300 that universally represents “next”) to cause the AED 104 to perform an action to advance to the next song in a playlist associated with the music 122.

[0046] 1A and 1B, by activating a set of warm words by the warm word selector 126, the AED 104 activates and executes on the AED 104 a respective warm word model 114 for each corresponding warm word 112 in the set of one or more activated warm words 112. Here, the warm word model 114 may be stored on the memory hardware 12 of the AED 104 or on the server 120. If stored on the server, the AED 104 may request the server 120 to retrieve the warm word model 114 for the corresponding warm word 112 and provide the retrieved warm word model 114 so that the AED 104 may activate the warm word model 114. As described in more detail below, an active warm word model 114 running on the AED 104 may detect an utterance 146 of a corresponding active warm word 112 in streaming audio captured by the AED 104 without performing speech recognition on the captured audio. Additionally, a single warm word model 114 may be able to detect all of the active warm words 112 in the streaming audio. Thus, a warm word model 114 may detect a set of active warm words, and different warm word models 114 may detect different sets of active warm words.

[0047] In an additional implementation, by activating a set of warm words 112 by the warm word selector 126, the AED 104 runs the speech recognizer 116 on the AED 104 in a low power and low fidelity state. Here, the speech recognizer 116 is limited or biased to recognize only one or more warm words 112 that are active when spoken in the speech captured by the AED 104. Because the speech recognizer 116 only recognizes a limited number of terms / phrases, the number of parameters of the speech recognizer 116 may be dramatically reduced, thereby reducing the memory requirements and the number of calculations required to recognize active warm words in the speech. Thus, the low power and low fidelity characteristics of the speech recognizer 116 may be suitable for execution on a digital signal processor (DSP). In such an implementation, the speech recognizer 116 running on the AED 104 may recognize the speech 146 of the active warm words 112 in the streaming audio captured by the AED 104 instead of using the warm word model 114.

[0048] 1B, while the digital assistant 105 is performing a long-term action of playing music 122, the user 102 speaks an utterance 146 that includes one of the warm words 112 from the set of one or more activated warm words 112. In the illustrated example, the user 102 speaks the active warm word 112 "next." Without performing speech recognition on the captured audio, the AED 104 can apply the activated warm word model 114 on the set of one or more activated warm words 112 to identify whether the utterance 146 includes any active warm words 112. The active warm words 112 can be "next," "pause," "previous," "volume up," and "volume down." The AED 104 compares the audio data corresponding to the utterance 146 with the activated warm word models 114 corresponding to the active warm words 112 of "next," "pause," "previous," "turn up the volume," and "turn down the volume," and determines, without performing speech recognition on the audio data, that the activated warm word model 114 for the warm word "next" 112 detected the warm word "next" 112 in the utterance 146. Based on identifying the warm word "next" 112 corresponding to the command to proceed to the next song, the AED 104 performs a speaker verification process 400b on the audio data corresponding to the utterance 146 to determine whether the utterance 146 was spoken by the same user 102 associated with the set of one or more activated warm words 112. If the speaker verification process 400b on the audio data corresponding to the utterance 146 indicates that the utterance 146 was spoken by the same user 102 associated with a set of one or more activated warm words 112, the AED 104 may proceed to implement the respective actions associated with the identified warm words 112 for controlling long-term operation.Conversely, if the speaker verification process 400b for the audio data corresponding to the utterance 146 indicates that the utterance 146 was not spoken by the same user 102 associated with the set of one or more activated warm words 112, the AED 104 may inhibit performance of the respective action (or at least require approval from the particular user 102 (e.g., in FIG. 1C )) when the warm word 112 is spoken by a different speaker.

[0049] In some implementations, the AED 104 identifies a warm word 112 that is not in the set of one or more activated warm words 112, but whose model is still stored in the warm word model 114. In this case, the AED 104 may provide an indication to the user device 50 to display in the GUI 300 that the warm word is not in the set of one or more activated warm words 112 (e.g., is inactive). For example, the user 102 may say "play" while music 122 is playing. The AED 104 may identify the warm word 112 "play". Because the warm word 112 "play" is not in the set of one or more activated warm words 112, the AED 104 does not perform any action. However, the user device 50 may display an indication in the GUI 300 that the warm word "play" is an inactive warm word 113 and indicate that the active warm words 112 are "next", "pause", "previous", "volume up", and "volume down".

[0050] The warm word model 114 may detect that the associated utterance 146 includes one of the warm words 112 from the set of one or more activated warm words 112 by extracting audio features of the audio data associated with the utterance 146. Each activated warm word model 114 may generate a corresponding warm word confidence score by processing the extracted audio features and comparing the corresponding warm word confidence score to a warm word confidence threshold. For example, the warm word model 114 may collectively generate a corresponding warm word confidence score for each of the active warm words 112: "play", "next", "pause", "previous", "volume up", and "volume down". In some implementations, the speech recognizer 116 generates a warm word confidence score for each portion of the processed audio data associated with the utterance 146. If the warm word confidence score meets the threshold, the warm word model 114 determines that the audio data corresponding to the utterance 146 includes a warm word 112 in the set of one or more activated warm words 112. For example, if the warm word confidence score generated by the warm word model 114 (or the speech recognizer 116) is 0.9 and the warm word confidence threshold is 0.8, the AED 104 determines that the audio data corresponding to the utterance 146 contains the warm word 112.

[0051] In some implementations, if the warm word confidence score is within a range below the threshold, the digital assistant 105 may generate a synthetic voice 123 for audible output from the speaker 18 of the AED 104 requesting that the user 102 confirm or repeat the warm word 112. In such implementations, if the user 102 confirms that he or she spoke the warm word 112, the AED may use the audio data to update the corresponding warm word model 114.

[0052] 4B , in response to identifying that the additional audio data 402 corresponding to the additional utterance 146 includes one of the warm words 112 from the set of activated warm words 112, the associator 160 resolves the identity of the user 102 who spoke the utterance 146 by performing a speaker verification process 400b. The speaker verification process 400b may be executed on the data processing hardware 12 of the AED 104. The process 400b may also be executed on the server 120 instead of or in addition to being executed on the AED 104. The speaker verification process 400b identifies the user 102 who spoke the utterance 146 by first extracting a second speaker discrimination vector 412 representative of the characteristics of the utterance 146 from the audio data 402 corresponding to the utterance 146 spoken by the user 102. Here, the speaker identification process 400b may execute a speaker discrimination model 410 configured to receive the audio data 402 as an input and generate a second speaker discrimination vector 412 as an output. As discussed above in FIG. 4A, the speaker discrimination model 410 may be a neural network model trained under machine or human supervision to output the speaker discrimination vector 412. The second speaker discrimination vector 412 output by the speaker discrimination model 410 may include an N-dimensional vector having values ​​corresponding to phonetic features of the utterance 146 associated with the user 102. In some examples, the speaker discrimination vector 412 is a d-vector.

[0053] After the second speaker discrimination vector 412 is output from the speaker discriminator model 410, the speaker identification process 400b determines whether the extracted speaker discrimination vector 412 matches a reference speaker vector 155 associated with the first enrolled user 200a stored on the AED 104 (e.g., in the memory hardware 12). The reference speaker vector 155 associated with the first enrolled user 200a may include each enrolled speaker vector 154 associated with the first enrolled user 200a. In another example, the reference speaker vector 155 includes a text-dependent speaker vector 158 extracted from one or more audio samples of each enrolled user 200a speaking the active warm word 112 identified in the additional audio data 402 corresponding to the utterance 146.

[0054] As described above with reference to FIG. 2, the speaker discrimination model 410 may generate an enrolled speaker vector 154 for the enrolled user 200 during a voice enrollment process. Each enrolled speaker vector 154 may be used as a reference vector corresponding to a voiceprint or unique identifier that represents the voice characteristics of the respective enrolled user 200. Furthermore, during enrollment, the enrolled user 200a may train a text-dependent speaker vector 158 for each of one or more warm words 112 that may be spoken to cause the AED 104 to perform a respective action to control long-term operation or perform some other command when active. For example, the text-dependent speaker vector 158 for the enrolled user 200a represents the voice characteristics of the enrolled user 200a speaking the respective warm words 112 of "play", "pause", "next", "previous", "volume up", and "volume down".

[0055] In some implementations, the speaker identification process 400b uses a comparator 420 that compares the second speaker discrimination vector 412 with a reference speaker vector 155 associated with a first enrolled user 200a of the enrolled users 200. Here, the comparator 420 may generate a score for the comparison indicative of the likelihood that the utterance 146 corresponds to the identification of the first enrolled user 200a, and the identification is accepted when the score meets a threshold. When the score does not meet the threshold, the comparator 420 may reject the identification. In some implementations, the comparator 420 calculates the respective cosine distances between the second speaker discrimination vector 412 and the reference speaker vector 155 associated with the first enrolled user 200a, and determines that the second speaker discrimination vector matches the reference speaker vector 155 when the respective cosine distances meet a cosine distance threshold.

[0056] When the speaker verification process 400b determines that the second speaker discrimination vector 412 matches the reference speaker vector 155 associated with the first enrolled user 200a, the process 400b identifies the user 102 who spoke the utterance 146 as the first enrolled user 200a associated with the reference speaker vector 155. In the illustrated example, the comparator 420 determines the match based on the respective cosine distances between the second speaker discrimination vector 412 and the reference speaker vector 155 associated with the first enrolled user 200a satisfying a cosine distance threshold. In some scenarios, the comparator 420 identifies the user 102 as the respective first enrolled user 200a associated with the reference speaker vector 155 having the shortest respective cosine distance from the second speaker discrimination vector 412, provided that this shortest respective cosine distance also satisfies the cosine distance threshold.

[0057] 4A above, in some implementations, the speaker identification process 400a determines that the first speaker discrimination vector 411 does not match any of the enrolled speaker vectors 154, identifies the user 102 who spoke the utterance 106 as a guest user of the AED 104, and associates the set of one or more activated warm words 112 with the user 102. Thus, the speaker verification process 400b may first determine whether the user 102 who spoke the utterance 106 was identified by the speaker identification process 400a as an enrolled user 200 or as a guest user. When the user 102 is a guest user, the comparator 420 compares the second speaker discrimination vector 412 with the first speaker discrimination vector 411 obtained during the speaker identification process 400a. Here, the first speaker discrimination vector 411 represents the characteristics of the utterance 106 spoken by the guest user 102, and is therefore used as a reference vector to verify whether the utterance 146 was spoken by the guest user 102 or another user. Here, the comparator 420 may generate a score for the comparison indicating the likelihood that the utterance 146 corresponds to the identification of the guest user 102, and when the score meets a threshold, the identification is accepted. When the score does not meet the threshold, the comparator 420 may reject the identification of the guest user who spoke the utterance 146. In some implementations, the comparator 420 calculates respective cosine distances between the first speaker discrimination vector 411 and the second speaker discrimination vector 412, and determines that the first speaker discrimination vector 411 matches the second speaker discrimination vector 412 when the respective cosine distances meet a cosine distance threshold.

[0058] Returning to FIG. 1B , when the speaker verification process 400b verifies the speaker of the utterance 146, the AED 104 (e.g., via the digital assistant 105) only proceeds to perform the respective action of advancing to the next song / track associated with the active warm word "next" 112. In other words, after the word "next" 112 is detected in the additional audio 402 corresponding to the additional utterance 146, the AED must verify that the additional utterance 146 was spoken by the same user 102 associated with the set of one or more activated warm words before performing the respective action associated with the detected warm word "next" 112 of advancing to the next song in the playlist associated with the music 122. If the speaker verification process 400b cannot verify that the additional utterance 146 was spoken by the same speaker who spoke the utterance 106, the AED will refrain from performing the respective action (or at least require approval from the user 102) when the warm word "next" 112 is spoken by a different speaker.

[0059] 1C, another exemplary system 100c shows another user 103 speaking an utterance 147 including an active warm word 112 of "stop" from a set of one or more activated warm words 112 while the digital assistant 105 is performing a long-lasting operation of playing music 122. Without performing speech recognition on the audio data corresponding to the utterance 147, the AED 104 may compare the activated warm word model 114 for the set of one or more activated warm words 112 with the audio data to identify whether the utterance 147 includes any active warm words 112. The active warm words 112 may include "play", "next", "stop", "previous", "volume up", and "volume down". In the illustrated example, the AED 104 determines that the activated warm word model 114 for the warm word 112 of "stop" detects the warm word 112 of "stop" in the utterance 147 without performing speech recognition on the audio data 402. Based on identifying the warm word 112 "stop," the AED 104 performs a speaker verification process 400b on the audio data corresponding to the utterance 147 to determine whether the utterance 147 was spoken by the same user 102 (e.g., Barb) associated with the set of one or more activated warm words 112.

[0060] In the illustrated example, performing a speaker verification process 400b on audio data 402 corresponding to the utterance 147 indicates that the utterance 147 was not spoken by Barb 102. For example, the discriminative speaker vector model 410 of the speaker verification process 400b of FIG. 4B may generate a second speaker discrimination vector 412 characteristic of the utterance 147, and the comparator 420 may determine that the second speaker discrimination vector 412 does not match the reference speaker vector 155 associated with the first enrolled user 200a (e.g., Barb). Thus, the speaker verification process 400b determines that the utterance 147 was spoken by a different user 103 other than the user 102 (e.g., Barb) associated with the set of one or more activated warm words 112. In some implementations, when the utterance 147 is spoken by the different user 103, the AED 104 inhibits the performance of each action associated with the identified warm word 112 of "stop" for controlling the long-running action of playing music 122. In another implementation, in response to the verification process 400b determining that the utterance 147 was spoken by someone other than the verb 102, the AED 104 requests approval from the verb 102 to perform each action associated with the identified warm word 112 of "stop." As an example, the digital assistant 105 requests approval from the verb 102 by generating a synthesized voice 123 for audible output from the speaker 18 of the AED 104 prompting the verb 102 to allow or deny the performance of each action associated with the warm word 112 of "stop." For example, the digital assistant 105 may generate a synthesized voice 123 for audible output from the speaker 18 of the AED 104 asking, "Barb, someone else has requested an action to stop playing the song, would you like to accept?" In response, Barb 112 speaks an utterance 148 that includes a confirmation 119. The confirmation 119 by the user 102 may be a "yes" to allow the respective action to be performed, or a "no" to deny the respective action from being performed.

[0061] In the illustrated example, the verb 102 speaks a confirmation 119 of "yes" corresponding to authorizing performance of the respective action associated with the warm word "stop" 112. In some implementations, the AED 104 also performs a speaker verification process 400b on the audio data corresponding to the utterance 148 to verify that the confirmation 119 was spoken by an authorized user 102 (e.g., verb) associated with the set of one or more activated warm words 112. Based on receiving the confirmation 119 of "yes" from the verb 102 authorizing performance of the respective action "stop" and the speaker verification process 400b performed on the audio data corresponding to the utterance 148 indicating that the utterance 148 was spoken by the verb 102, the AED 104 may proceed to perform the respective action associated with the identified warm word "stop" 112 spoken by a different user 103 for controlling operation over time. Conversely, when the speaker verification process 400b performed on the audio data corresponding to the utterance 148 indicates that the utterance 148 was not spoken by Barb 102, or alternatively, when the confirmation 119 spoken by Barb 102 was "No," the AED 104 may inhibit performance of the respective action of "Stop" such that the music playback 122 from the AED 104 continues uninterrupted.

[0062] Additionally or alternatively, the digital assistant 105 may provide a notification to the user device 50 linked to the user account of the verb 102, prompting the verb 102 to allow or deny the performance of each action associated with the warm word 112 of "stop". For example, the GUI 300 displayed on the user device 50 may render a prompt as a notification to allow the verb 102 to allow or deny the performance of each action associated with the warm word 112 of "stop". As an example, the GUI 300 renders graphical elements / buttons that the verb 102 may select to allow or deny the performance of each action. For example, the verb 102 may provide a user input indication indicating the selection of a graphical element / button for a confirmation 119 of "yes" corresponding to allowing the performance of each action associated with the warm word 112 of "stop" (e.g., by touching a graphical element for "yes" in the GUI 300). In response to receiving a user input indication indicating a selection of a graphical element / button for a "yes" confirmation 119 by the verb 102, the AED 104 may proceed to perform the respective actions associated with the identified "stop" warm word 112 spoken by the different users 103 for controlling long-term operation. Conversely, the verb 102 may provide a user input indication indicating a selection of a graphical element / button for a "no" confirmation 119 to decline to perform the respective actions associated with the "stop" warm word 112 (e.g., by touching a "no" graphical element in the GUI 300), thereby causing the AED 104 to refrain from performing the respective actions.

[0063] In some implementations, identifying which user 102, 103 spoke the utterance 147 may help Verb 102 decide whether to allow or deny the action (e.g., when one or more users 102 are in the room with Verb 102). Continuing with the example shown in FIG. 1C, prompting Verb 102 to allow or deny the performance of the respective action associated with the warm word 112 "Stop" further includes identifying the different user 103 who spoke the utterance 147. Now, when the AED 104 performs a speaker verification process 400b on the audio data 402 corresponding to the utterance 147, the speaker verification process 400b may identify the user 103 as the second enrolled user 200b (e.g., Ed). For example, the process 400b may determine that the speaker discrimination vector 412 characteristic of the utterance 147 spoken by the user 103 matches the respective enrolled speaker vector 154 stored on the AED 104 for the second enrolled user 200b. Thus, when the user 103 is identified as one of the enrolled users 200, the digital assistant 105 may similarly generate a synthesized voice 123 for audible output from the speaker 18 of the AED 104 prompting the user 102, "Barb, do you want to allow Ed's request to stop the music? Is Ed allowed to control the music playback settings?" In response, Barb 102 speaks an utterance 148 that includes a confirmation 119 of "yes." In some implementations, Barb 102 allows Ed 103's request to stop playing the music 122 but denies Ed 103 future control of the action over time. Verb 102 may also have the ability to allow Ed 102 to control long term behavior for a given period of time (eg, an hour, a day, etc.).

[0064] 5 is a flowchart of an example configuration of operations for a method 500 for activating a set of one or more warm words 112 associated with a long-term action. At operation 510, the method 500 includes receiving, at the data processing hardware 10, audio data 402 corresponding to an utterance 106 spoken by a user 102 and captured by an assistant-enabled device (AED) 104 associated with the user 102. The utterance 106 includes a command for the digital assistant 105 to perform a long-term action. The long-term action may include setting a timer for a specified amount of time or playing music from a streaming service. The AED 104 may identify the user 102 who spoke the utterance 106 by performing a speaker identification process 400a.

[0065] At operation 520, the method 500 includes activating, by the data processing hardware 10, a set of one or more warm words 112 after receiving the audio data 402 corresponding to the utterance 106, and associating, by the data processing hardware 10, the activated set of one or more warm words 112 with only the user 102 who spoke the utterance 106. Each warm word 112 in the set of one or more warm words 112 is associated with a respective action for controlling a long-term operation. For example, the respective actions for the long-term operation of playing music 122 as playback audio from the speaker 18 of the AED 104 may include one or more of returning to a previous song in a playlist, playing a music playlist, pausing a music playlist, skipping to a next song in a playlist, and adjusting a volume level of the speaker 18.

[0066] At operation 530, the method 500 also includes receiving, at the data processing hardware 10, additional audio data 402 corresponding to the additional utterance 146 captured by the AED 104 while the digital assistant 105 is performing the long-term operation. The AED 104 identifies, in the additional audio data 402, one of the warm words 112 from the set of one or more activated warm words 112. The AED 104 may identify that one of the warm words 112 from the set of one or more activated warm words 112 is present in the additional audio data 402 without performing speech recognition on the captured audio. For example, the AED 104 may compare the audio data 402 corresponding to the utterance 106 to the activated warm word model 114 corresponding to the set of one or more activated warm words 112.

[0067] At operation 540, the method 500 further includes performing, by the data processing hardware 10, speaker verification 400b on the additional audio data 402 to determine whether the additional utterance 146 was spoken by the same user 102 associated with the set of one or more activated warm words 112. When the additional utterance 146 was spoken by the same user 102 associated with the set of one or more activated warm words 112, the method 500 includes performing, by the data processing hardware 10, a respective action associated with the identified one of the warm words 112 for controlling long-term operation. When the speaker verification 400 indicates that the additional utterance 146 was not spoken by the same user 102 associated with the set of one or more activated warm words 112, the AED 104 may inhibit performance of the respective action.

[0068] 6 is a schematic diagram of an exemplary computing device 600 that may be used to implement the systems and methods described herein. Computing device 600 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 here, their connections and relationships, and their functionality are meant to be exemplary only and are not meant to limit the implementation of the invention described and / or claimed herein.

[0069] Computing device 600 includes a processor 610, a memory 620, a storage device 630, a high-speed interface / controller 640 that connects to memory 620 and a high-speed expansion port 650, and a low-speed interface / controller 660 that connects to a low-speed bus 670 and storage device 630. Each of components 610, 620, 630, 640, 650, and 660 may be interconnected using various buses and mounted on a common motherboard or in other manners as appropriate. Processor 610 may process instructions executed within computing device 600, including instructions stored in memory 620 or on storage device 630, to display graphical information for a graphical user interface (GUI) on an external input / output device, such as a display 680 coupled to high-speed interface 640. In another implementation, multiple processors and / or multiple buses may be used, along with multiple memories and multiple types of memories as appropriate. Furthermore, multiple computing devices 600 may be connected, each performing a different portion of the required operations (eg, as a bank of servers, a group of blade servers, or a multi-processor system).

[0070] The memory 620 stores information in the computing device 600 non-transiently. The memory 620 may be a computer-readable medium, a volatile memory unit, or a non-volatile memory unit. The non-transient memory 620 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 600. Examples of non-volatile memory include, but are not limited to, flash memory (e.g., commonly 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), as well as disks or tapes.

[0071] The storage device 630 can provide mass storage for the computing device 600. In some implementations, the storage device 630 is a computer-readable medium. In various different implementations, the storage device 630 can be a floppy disk device, a hard disk device, an optical disk device, or an array of devices including a tape device, a flash memory or other similar solid-state memory device, or a device in a storage area network or other configuration. In additional implementations, the computer program product is tangibly embodied in an information carrier. The computer program product includes instructions that, when executed, perform one or more methods, such as those described above. The information carrier is a computer-readable or machine-readable medium, such as the memory 620, the storage device 630, or a memory on the processor 610.

[0072] The high-speed controller 640 manages bandwidth-intensive operations for the computing device 600, and the low-speed controller 660 manages less bandwidth-intensive operations. Such allocation of responsibilities is merely exemplary. In some implementations, the high-speed controller 640 is coupled to the memory 620, to the display 680 (e.g., through a graphics processor or accelerator), and to a high-speed expansion port 650 that may accept various expansion cards (not shown). In some implementations, the low-speed controller 660 is coupled to the storage device 630 and to a low-speed expansion port 690. The low-speed expansion port 690 may include various communication ports (e.g., USB, Bluetooth, Ethernet, wireless Ethernet) and may be coupled to one or more input / output devices such as a keyboard, pointing device, scanner, or may be coupled to a networking device such as a switch or router, for example, through a network adapter.

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

[0074] 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 be special purpose or general purpose and may include implementations as one or more computer programs executable and / or interpretable on a programmable system including at least one programmable processor that may be coupled to receive data and instructions from and send data and instructions to a storage system, at least one input device, and at least one output device.

[0075] 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.

[0076] Such computer programs (also referred to as programs, software, software applications, or code) include machine instructions for a programmable processor and may be implemented in a high-level procedural and / or object-oriented programming language and / or 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.

[0077] The processes and logic flows described herein may 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 to generate output. The processes and logic flows may 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 kind of digital computer. In general, 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 carrying out instructions and one or more memory devices for storing instructions and data. In general, 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 from or transfer data to a mass storage device, or both. However, a computer need not have such devices. Computer-readable media suitable for storing computer program instructions and data include all forms of non-volatile memory, media, and memory devices, including, by way of example, 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 may be supplemented by, or incorporated in, special purpose logic circuitry.

[0078] To achieve interaction with a user, one or more aspects of the present disclosure may 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 a pointing device, such as a mouse or trackball, by which the user may provide input to the computer. Other types of devices may also be used to achieve interaction with the user, for example, feedback provided to the user may be any form of sensory feedback, such as visual feedback, auditory feedback, or tactile feedback, and input from the user may be received in any form, including acoustic, speech, or tactile input. Furthermore, the computer may interact with the user by sending documents to and receiving documents from a device used by the user, for example, by sending a web page to the web browser in response to a request received from the web browser on the user's client device.

[0079] Although several implementations have been described, 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]

[0080] 10 Data Processing Hardware 12 Memory Hardware 16 Microphones 18 Speaker 50 user devices 100 Systems 100a System 100b System 102 users 104 Assistant Enabled Device (AED) 105 Digital Assistant 106 utterances 108 Hotwords Detector 110 Hot Words 112 Warm Words 114 Warm Word Model 116 Voice Recognizer 118 Commands 120 Servers 122 Music 123 Synthetic Voice 124 Action Classifier 126 Warm Word Selector 132 Network 154 registered speaker vectors 158 Text-Dependent Speaker Vectors 160 Correlator 200 Registered Users 300 Graphical User Interface (GUI) 400a Speaker Identification Process 400b Speaker Verification Process 402 Audio Data 410 Speaker Discrimination Model 411 First speaker discrimination vector 412 Second speaker discrimination vector 420 Comparator 600 computing devices 600a Standard Server 600b Laptop Computer 600c Rack Server System 610 Processor 620 Memory 630 Storage Devices 640 High Speed ​​Interface / Controller 650 High Speed ​​Expansion Port 660 Low Speed ​​Interface / Controller 670 Slow Bus 680 Display 690 Low Speed ​​Expansion Port

Claims

1. A method (500) for activating speaker dependent warm words (112), comprising: Receiving audio data (402) in the data processing hardware (10) corresponding to an utterance spoken by a user and captured by an assistant-enabled device (104) associated with the user, the utterance including a command (118) for a digital assistant (105) to perform a long-term action; After receiving the audio data (402) corresponding to the utterance, activating, by the data processing hardware (10), a set of one or more warm words (112) each associated with a respective action for controlling the long-term operation, the warm words (112) serving the dual purpose of hot words (110) and commands (118), such that the user may simply speak the warm words (112) to awaken the assistant-enabled device (104) and trigger the performance of the respective action; associating, by said data processing hardware (10), a set of one or more activated warm words (112) exclusively with said user who spoke said utterance; While the digital assistant (105) is performing the long-term action, Receiving additional audio data (402) corresponding to additional utterances captured by the assistant-enabled device (104) in the data processing hardware (10); identifying, by said data processing hardware (10), within said additional audio data (402), one of said warm words (112) from said set of one or more activated warm words (112); performing, by the data processing hardware (10), speaker verification on the additional audio data (402) to determine whether the additional utterances were spoken by the same user (102) associated with the set of one or more activated warm words (112); performing, by the data processing hardware (10), the respective action associated with the identified one of the warm words (112) for controlling the long-term operation when the additional utterance is spoken by the same user (102) associated with the set of one or more activated warm words (112); A method (500) comprising:

2. the step of activating the set of one or more warm words (112) includes, for each corresponding warm word (112) in the set of one or more activated warm words (112), activating a respective warm word model (114) to execute on the assistant-enabled device (104) associated with the user; 2. The method of claim 1, wherein identifying, within the additional audio data, one of the warm words from the set of one or more activated warm words comprises detecting the one of the warm words in the additional audio data using the respective warm word model activated for a corresponding one of the warm words without performing speech recognition on the additional audio data.

3. said step of detecting said one of said warm words (112) in said additional audio data (402) further comprising: extracting audio features from the additional audio data (402); generating a warm word confidence score by processing extracted audio features using the respective warm word models (114) activated for a corresponding one of the warm words (112); determining that the additional audio data (402) corresponding to the additional utterance includes a corresponding one of the warm words (112) when the warm word confidence score meets a warm word confidence threshold; The method (500) of claim 2, comprising:

4. The step of activating the set of one or more warm words (112) includes executing a speech recognizer (116) on the assistant-enabled device (104), the speech recognizer (116) being biased to recognize the one or more warm words (112) in the set of one or more activated warm words (112); The method (500) of any one of claims 1 to 3, wherein the step of identifying, in the additional audio data (402), one of the warm words (112) from the set of one or more activated warm words (112) includes a step of recognizing the one of the warm words (112) in the additional audio data (402) using the voice recognizer (116) running on the assistant-enabled device (104).

5. After receiving the audio data (402) corresponding to the utterance spoken by the user, the data processing hardware (10) extracting from the audio data (402) corresponding to the utterance spoken by the user a first speaker discrimination vector (411) representative of characteristics of the utterance spoken by the user; A step of determining whether the extracted speaker discrimination vector matches any enrolled speaker vector (154) stored on the assistant-enabled device (104), each enrolled speaker vector (154) being associated with a different respective enrolled user (200) of the assistant-enabled device (104); when the first speaker discrimination vector (411) matches one of the enrolled speaker vectors (154), identifying the user who spoke the utterance as the respective enrolled user (200) associated with one of the enrolled speaker vectors (154) that matches the extracted speaker discrimination vector; The method (500) of any one of claims 1 to 4, further comprising the step of performing speaker identification on the audio data (402) to identify the user who spoke the utterance by:

6. the utterance spoken by the user further includes the hot word (110) preceding the command (118) for the digital assistant (105) to perform the long-term action; the first speaker discrimination vector (411) comprises a text-dependent speaker discrimination vector extracted from a portion of the audio data (402) that includes the hot word (110); 6. The method of claim 5, wherein each enrolled speaker vector comprises a text-dependent enrolled speaker vector extracted from one or more audio samples of the respective enrolled user speaking the hotword.

7. said step of performing speaker verification on said additional audio data (402) further comprising: extracting a second speaker discrimination vector from the additional audio data (402) corresponding to the additional utterance of the one of the warm words (112), the second speaker discrimination vector being representative of characteristics of the additional utterance; determining whether the extracted second speaker discrimination vector matches a reference speaker vector (155) for each enrolled user (200) identified as the user who spoke the utterance; determining that the additional utterance was spoken by the same user (102) associated with the activated set of one or more warm words (112) when the extracted second speaker discrimination vector matches the reference speaker vector (155); 7. The method (500) of claim 5 or 6, comprising:

8. 8. The method of claim 7, wherein the reference speaker vectors include the enrolled speaker vectors associated with the respective enrolled users.

9. 8. The method of claim 7, wherein the reference speaker vector comprises a text-dependent speaker vector extracted from one or more audio samples of the respective enrolled users speaking an identified one of the warm words.

10. When the first speaker discrimination vector (411) does not match any of the enrolled speaker vectors (154), identifying the user who spoke the utterance as a guest user (102) of the assistant-enabled device (104); and said step of performing speaker verification on said additional audio data (402) further comprising: extracting from said additional audio data (402) a second speaker discrimination vector (412) representative of said additional speech features; determining whether the second speaker discrimination vector (412) matches the first speaker discrimination vector (411) representing the feature; determining that the additional utterance was spoken by the same user (102) associated with the set of one or more activated warm words (112) when the first speaker discrimination vector and the extracted second speaker discrimination vector match; 10. The method (500) of any one of claims 5 to 9, comprising:

11. The method (500) of any one of claims 1 to 10, further comprising the step of inhibiting, by the data processing hardware (10), performance of a respective action associated with an identified one of the warm words (112) for controlling the long-term behavior when the additional utterance is spoken by a user (103) different from the user associated with the set of one or more activated warm words (112).

12. when the additional utterance is spoken by a user (103) different from the user associated with the set of one or more activated warm words (112); prompting, by the data processing hardware (10), the user associated with the set of one or more activated warm words (112) to authorize the performance of a respective action associated with an identified one of the warm words (112) for controlling the long-term operation; receiving, in said data processing hardware (10), a confirmation (119) from said user authorizing the execution of said respective action; implementing, by said data processing hardware (10), a respective action associated with an identified one of said warm words (112) for controlling said long-term operation; 12. The method (500) of any one of claims 1 to 11, further comprising:

13. 13. The method (500) of claim 12, wherein the step of prompting the user includes identifying the different user (103) who spoke the additional utterance.

14. Determining, by the data processing hardware (10), when the digital assistant (105) has stopped performing the long-term action; deactivating, by said data processing hardware (10), said set of one or more warm words (112); 14. The method (500) of any one of claims 1 to 13, further comprising:

15. Data processing hardware (10); a memory hardware (12) in communication with the data processing hardware (10), the memory hardware (12) being configured to, when executed on the data processing hardware (10), Receiving audio data (402) corresponding to an utterance spoken by a user and captured by an assistant-enabled device (104) associated with the user, the utterance including a command (118) for a digital assistant (105) to perform a long-term action; After receiving the audio data (402) corresponding to the utterance, Activating a set of one or more warm words (112) each associated with a respective action for controlling the long-term operation, the warm words (112) serving the dual purpose of hot words (110) and commands (118), such that the user can simply speak the warm words (112) to awaken the assistant-enabled device (104) and trigger the performance of the respective action; associating a set of one or more activated warm words (112) with only the user who spoke the utterance; While the digital assistant (105) is performing the long-term action, receiving additional audio data (402) corresponding to additional utterances captured by the assistant-enabled device (104); identifying, within the additional audio data (402), one of the warm words (112) from the set of one or more activated warm words (112); performing speaker verification on the additional audio data (402) to determine whether the additional utterances were spoken by the same user (102) associated with the set of one or more activated warm words (112); performing a respective action associated with an identified one of the warm words (112) for controlling the long-term behavior when the additional utterance is spoken by the same user (102) associated with the set of one or more activated warm words (112); a memory hardware (12) for storing instructions for performing operations including A system (100) comprising:

16. Activating the set of one or more warm words (112) includes, for each corresponding warm word (112) in the set of one or more activated warm words (112), activating a respective warm word model (114) to run on the assistant-enabled device (104) associated with the user; 16. The system of claim 15, wherein identifying, within the additional audio data, the one of the warm words from the set of one or more activated warm words comprises detecting the one of the warm words in the additional audio data using the respective warm word model activated for a corresponding one of the warm words without performing speech recognition on the additional audio data.

17. Detecting the one of the warm words (112) in the additional audio data (402) extracting audio features from the additional audio data (402); generating a warm word confidence score by processing extracted audio features using the respective warm word models activated for a corresponding one of the warm words (112); determining that the additional audio data (402) corresponding to the additional utterance includes a corresponding one of the warm words (112) when the warm word confidence score meets a warm word confidence threshold; 17. The system (100) of claim 16, comprising:

18. Activating the set of one or more warm words (112) includes executing a speech recognizer (116) on the assistant-enabled device (104), wherein the speech recognizer (116) is biased to recognize the one or more warm words (112) in the set of one or more activated warm words (112); 18. The system (100) of claim 15, wherein identifying the one of the warm words (112) from the set of one or more activated warm words (112) in the additional audio data (402) includes recognizing the one of the warm words (112) in the additional audio data (402) using the voice recognizer (116) running on the assistant-enabled device (104).

19. After the operation receives the audio data (402) corresponding to the utterance spoken by the user, extracting from the audio data (402) corresponding to the utterance spoken by the user a first speaker discrimination vector (411) representative of characteristics of the utterance spoken by the user; Determining whether the extracted speaker discrimination vector matches any enrolled speaker vector (154) stored on the assistant-enabled device (104), each enrolled speaker vector (154) being associated with a different respective enrolled user (200) of the assistant-enabled device (104); when the first speaker discrimination vector (411) matches one of the enrolled speaker vectors (154), identifying the user who spoke the utterance as the respective enrolled user (200) associated with one of the enrolled speaker vectors (154) that matches the extracted speaker discrimination vector; 19. The system (100) of claim 15, further comprising performing speaker identification on the audio data (402) to identify the user who spoke the utterance by:

20. the utterance spoken by the user further includes the hot word (110) preceding the command (118) for the digital assistant (105) to perform the long-term action; the first speaker discrimination vector (411) comprises a text-dependent speaker discrimination vector extracted from a portion of the audio data (402) that includes the hot word (110); 20. The system (100) of claim 19, wherein each enrolled speaker vector (154) comprises a text-dependent enrolled speaker vector (154) extracted from one or more audio samples of the respective enrolled user (200) speaking the hot word (110).

21. performing the speaker verification on the additional audio data (402); extracting from the additional audio data (402) corresponding to the additional utterance of the one of the warm words (112) a second speaker discrimination vector (412) representative of the additional utterance; determining whether the extracted second speaker discrimination vector matches a reference speaker vector (155) for each enrolled user (200) identified as the user who spoke the utterance; determining that the additional utterance was spoken by the same user (102) associated with the set of one or more activated warm words (112) when the extracted second speaker discrimination vector (412) matches the reference speaker vector (155); 21. The system (100) of claim 19 or 20, comprising:

22. 22. The system (100) of claim 21, wherein the reference speaker vector (155) comprises the enrolled speaker vector (154) associated with each of the enrolled users (200).

23. 22. The system (100) of claim 21, wherein the reference speaker vector (155) comprises a text-dependent speaker vector (158) extracted from one or more audio samples of the respective enrolled users (200) speaking an identified one of the warm words (112).

24. When the first speaker discrimination vector (411) does not match any of the enrolled speaker vectors (154), identifying the user who spoke the utterance as a guest user (102) of the assistant-enabled device (104); and performing the speaker verification on the additional audio data (402); extracting from the additional audio data (402) a second speaker discrimination vector (412) representative of the additional speech features; determining whether the second speaker discrimination vector (412) matches the first speaker discrimination vector (411) representing the feature; determining that the additional utterance was spoken by the same user (102) associated with the set of one or more activated warm words (112) when the first speaker discrimination vector and the extracted second speaker discrimination vector match; 24. The system (100) according to any one of claims 19 to 23, comprising:

25. 25. The system (100) of any one of claims 15 to 24, wherein the operations further include inhibiting implementation of a respective action associated with an identified one of the warm words (112) for controlling the long-term behavior when the additional utterance is spoken by a user (103) different from the user associated with the activated set of one or more warm words (112).

26. the action being when the additional utterance is spoken by a user (103) different from the user associated with the set of one or more activated warm words (112); prompting the user associated with the activated set of one or more warm words (112) to authorize the performance of a respective action associated with an identified one of the warm words (112) for controlling the long-term behavior; receiving a confirmation (119) from the user authorizing the performance of the respective action; performing a respective action associated with an identified one of said warm words (112) for controlling said long-term behavior; 26. The system (100) of any one of claims 15 to 25, further comprising:

27. 27. The system (100) of claim 26, wherein prompting the user includes identifying the different user (103) who spoke the additional utterance.

28. The operation, Determining when the digital assistant has stopped performing the long-term action; and deactivating said set of one or more warm words (112); 28. The system (100) of any one of claims 15 to 27, further comprising:

Citation Information

Patent Citations

  • Contextual Hot Words

    JP2020503568A

  • User registration method, device and electronic device

    JP2020516935A

  • Speaker Diarization

    JP2020527739A

  • Method and system for controlling home assistant devices

    WO2019128550A1

  • Speech interaction method, device and system

    WO2020135811A1