Text independent speaker recognition

By combining TD and TI speaker recognition models and dynamic weight adjustment, the deficiencies in spoken discourse recognition efficiency and security of automated assistants in existing technologies are solved, and flexible, accurate and efficient speaker identity verification and response are achieved.

CN118609546APending Publication Date: 2024-09-06GOOGLE LLC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410858728.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2018-12-03
Filing Date
2019-12-02
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Existing automated assistants have efficiency and security issues in spoken word recognition, especially in text-independent (TI) speaker recognition, which is computationally resource-intensive and relies on a large amount of storage space, making it difficult to effectively implement on client devices. At the same time, text-related ( TD) speaker identification relies on specific words or phrases, limiting the flexibility and accuracy of identification.

Method used

Using a method that combines TD and TI speaker recognition models, the speaker identity is verified through a combination of TD user measurements and TI user measurements, and weights are dynamically adjusted to improve the robustness and accuracy of identification, and between the client or remote computing device Allocate computing resources among them to optimize performance. At the same time, users are authenticated using outdated TI speaker recognition models to reduce latency in update embedding generation, and update embeddings are stored client-side for improved security.

Benefits of technology

It improves the accuracy and efficiency of speaker identification, reduces the waste of computing and network resources, enhances data security, reduces the occurrence of misjudgments and missed misjudgments, and enables flexible recognition and customized responses to almost any spoken utterance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118609546A
    Figure CN118609546A
Patent Text Reader

Abstract

The invention relates to text independent speaker recognition. An automated assistant may utilize a text-independent speaker recognition model to verify that a particular user has spoken a spoken utterance and / or to identify a user that has spoken a spoken utterance. Embodiments may include automatically updating speaker embedding of a particular user based on previous utterances of the particular user. Additionally or alternatively, embodiments may include verifying that a particular user has spoken a spoken utterance using an output generated by both the text-independent speaker recognition model and the text-related speaker recognition model. In addition, embodiments may additionally or alternatively include prefetching content of several users associated with a spoken utterance prior to determining which user has spoken the spoken utterance.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] Description of the case

[0002] This application is a divisional application of Chinese invention patent application No. 201980020775.6, with a filing date of December 2, 2019. Background Art

[0003] Automated assistants (also referred to as "personal assistants," "mobile assistants," etc.) can be interacted with by users via a variety of client devices, such as smartphones, tablet computers, wearable devices, automotive systems, standalone personal assistant devices, and the like. The automated assistant receives input from the user, including verbal natural language input (i.e., utterances), and can respond by performing an action, by controlling another device, and / or by providing responsive content (e.g., visual and / or auditory natural language output). The automated assistant interacting via the client device can be implemented via the client device itself and / or via one or more remote computing devices (e.g., computing devices in the cloud) in network communication with the client device.

[0004] The automated assistant can convert audio data corresponding to the user's spoken utterance into corresponding text (or other semantic representations). For example, the audio data can be generated based on the detection of the user's spoken utterance via one or more microphones of a client device including the automated assistant. The automated assistant can include a speech recognition engine that attempts to recognize various characteristics of the spoken utterance captured in the audio data, such as the sounds (e.g., phonemes) produced by the spoken utterance, the order of pronunciation, the rhythm of the voice, the intonation, etc. In addition, the speech recognition engine can identify the text words or phrases represented by such characteristics. The automated assistant can then further process the text (e.g., using a natural language understanding engine and / or a dialog state engine) to determine the response content of the spoken utterance. The speech recognition engine can be implemented by a client device and / or one or more automated assistant components that are remote from the client device but in network communication with the client device. Summary of the invention

[0005] The technology described herein relates to text-independent (TI) speaker recognition based on the processing of audio data that captures spoken utterances. However, it should be understood that, in addition to or in lieu of providing responsive content, other actions may be performed / caused to be performed, such as controlling other devices, such as, but not limited to, smart locks, smart alarm systems, smart switches, and / or smart thermostats. In such examples, other devices may be controlled only in response to verifying that a specific authorized user has spoken a specific spoken utterance. With the user's permission, speaker recognition may be used to verify that the user has spoken a specific spoken utterance. In response to verifying that the user has spoken a specific spoken utterance, content may be provided in response to the specific spoken utterance, wherein the content is both responsive to the specific spoken utterance and customized for the user. Speaker recognition may include using a speaker recognition model to process audio data that captures spoken utterances to generate an output, and comparing the output with a speaker embedding for the user (e.g., an embedding associated with a user profile of the user). For example, if the distance metric between the generated output and the user's speaker embedding meets a threshold, the user may be verified as the user who has spoken a specific spoken utterance. A speaker embedding for a user may be generated based on outputs generated based on processing one or more instances of audio data including a spoken utterance from the user. For example, a speaker embedding may be based on an average (or other combination) of multiple different embeddings, each embedding generated based on processing a corresponding instance of audio data including a corresponding spoken utterance from the user.

[0006] In text-dependent (TD) speaker recognition, a user's speaker embedding is generated based on a spoken utterance that includes only one or more specific words and / or one or more specific phrases. Furthermore, in use, the user must speak the one or more specific words / phrases in order to generate an output using a TD speaker recognition model that sufficiently matches the speaker embedding. As an example, the one or more specific words / phrases in TD speaker recognition can be limited to one or more invocation phrases configured to invoke an automated assistant. The invocation phrase of the automated assistant contains one or more hot words / trigger words, such as, "Hey, assistant", "OK, assistant", and / or "assistant".

[0007] In contrast, in TI speaker recognition, the spoken utterances processed using the TI speaker recognition model are not limited to specific words and / or specific phrases. In other words, the TI speaker recognition model can be used to process audio data based on almost any spoken utterance to generate an output that can be effectively compared with the TI speaker embedding of a specific user to determine whether the spoken utterance is from the specific user. In addition, in various embodiments, the speaker embedding of a user utilized in TI speaker recognition is generated based on spoken utterances that include different words and / or phrases.

[0008] In various embodiments, one or more speaker embeddings for a particular user are stored at a client device associated with the particular user (e.g., the client device is associated with a user profile for the particular user, and the locally stored speaker embeddings are associated with the user profile). In addition, multiple users may be associated with the same client device, and thus multiple speaker embeddings for several particular users may be stored at the client device (e.g., the client device is associated with user profiles for several particular users, each of which includes at least one speaker embedding for the associated particular user). Storing speaker embeddings at the client device (as opposed to storing speaker embeddings at a remote computing device such as a server) may help protect data security. In various embodiments, TD speaker recognition may occur at the client device. On the other hand, TI speaker recognition may be computationally expensive (e.g., processor and / or memory resources), and / or rely on TI speaker recognition models that require a large amount of storage space. Therefore, in many embodiments, TI speaker recognition may be better suited for remote computing devices (e.g., one or more servers), which may take advantage of their more robust resources. Additionally or alternatively, in many embodiments, TI speaker recognition may occur at the client device. For example, when TI speaker recognition is performed at a client device, incremental verification results can be transmitted from the client device to a server. In addition, in various embodiments, TI speaker embeddings can be stored locally at the client device and transmitted to a remote computing device along with audio data capturing a spoken utterance to enable the use of the TI speaker embeddings to verify (by the remote computing device) the speaker of the utterance. In various embodiments, speaker embeddings received at a remote computing device along with audio data and utilized in TI speaker recognition can be deleted from the remote computing device immediately after they are used in the speaker recognition process, thereby protecting data security and reducing the opportunity for malicious actors to access speaker embeddings for the purpose of exploiting the speaker embeddings to gain unauthorized access to content or control of the device.

[0009] Some embodiments disclosed herein relate to at least selectively utilizing both a TD speaker recognition model and a TI speaker recognition model in speaker recognition. For example, a TD speaker recognition model can be used to process a call portion of audio data that captures spoken utterances to generate a TD output. The TD output can then be compared with a TD speaker embedding for a given user to generate a TD user measurement for the given user. For example, the TD user measurement can be based on the distance between the TD output and the TD speaker embedding (in the embedding space). In addition, a TI speaker recognition model can be used to process at least an additional portion of the audio data that captures spoken utterances to generate a TI output. The TI output can then be compared with a TI speaker embedding for a given user to generate a TI user measurement for the given user. For example, the TI user measurement can be based on the distance between the TI output and the TI speaker embedding (in the embedding space).

[0010] TD user measurements and TI user measurements can be used at least selectively in combination to determine whether a given user is the speaker of a spoken utterance. For example, the TD user measurements and TI user measurements can be compared to respective thresholds, can be averaged (or otherwise combined) and compared to thresholds, and / or can be otherwise considered in combination when determining whether a given user is the speaker of a spoken utterance. Utilizing both TD and TI user measurements can increase the robustness and / or accuracy of speaker identification. This can mitigate misjudgments that could compromise (e.g., data) security, and / or mitigate missed judgments that could result in the corresponding user needing to provide the spoken utterance again - preventing computing and network resources from being wasted in reprocessing and transmitting the spoken utterance.

[0011] In some embodiments, the TI speaker recognition model is used for speaker recognition only when the TD user measurement fails to meet a threshold. For example, if the TD user measurement for a given user indicates with high confidence that the given user is the speaker of the verbal input, the TI speaker recognition can be bypassed. This can save computing resources by preventing the execution of TI speaker recognition when only TD speaker recognition identifies the speaker with high confidence. In some embodiments, when both TI user measurements and TD user measurements are used in speaker recognition, the corresponding weights of the two measurements can be dynamically determined based on one or more features of the request for which the speaker is being identified. Such features can include, for example, the length of the spoken utterance of the request (e.g., the overall length, or at least the length of any non-invocation portion of the request), and / or the magnitude of the TD user measurement. For example, the TI user measurement can be weighted more heavily for a request of "OK, assistant, what's going on" than for a request of "OK, assistant, what are my next five calendar entries." Such heavier weighting may be based at least in part on the fact that "what are my next five calendar entries" is longer (in terms of duration and / or terms / characters) than "what happened" - because processing longer audio data using the TI speaker recognition model may result in the generation of more accurate TI user measurements. As another example, when the TD user measurement indicates high confidence, the TI user measurement may be weighted much less than when the TD user measurement does not indicate high confidence. Such dynamic weighting of TI and TD user measurements may mitigate false positives and / or missed positives by shifting the weighting in a manner that is more likely to result in accurate speaker recognition.

[0012] The examples described above are described for embeddings and measurements associated with a single user. However, as described herein, in various cases, a client device may be associated with multiple users, each with a separate speaker embedding (e.g., each user with a corresponding TI speaker embedding and a corresponding TD speaker embedding). In these cases, the corresponding TD user measurements and the corresponding TI user measurements for each of the multiple users may be used to identify which of the multiple users spoke the spoken utterance.

[0013] Some embodiments disclosed herein additionally or alternatively involve initiating the determination of the response content of each of the multiple users associated with the request, wherein the initiation occurs before completing the determination (e.g., using the TI speaker recognition model) of which of the multiple users has spoken the spoken utterance captured in the audio data of the request. Then, in response to determining that a specific user has spoken the spoken utterance captured in the audio data of the request, the response content of the specific user can be presented in response to the request. Initiating the determination of the response content of each of the multiple users can enable the response content to be generated before it has been determined which of the multiple users has spoken the spoken utterance. Therefore, compared with waiting to identify the specific user before initiating the generation of the response content of the specific user, the response content of the specific user can be generated and / or presented (or an action can be performed) with a reduced delay. Optionally, if a specific user is identified before completing the generation of the response content of other users, the generation of the response content of other users can be stopped to prevent the use of any other computing and / or network resources when continuing to generate such response content of other users.

[0014] In addition, in various embodiments, initiation of determining the response content for each of the multiple users associated with the request occurs only in response to the initially determined TD measurements of the multiple users that meet one or more thresholds. For example, as described herein, in various cases, the TD measurement can be generated before the TI measurement and / or can be included (or at least indicated) in the received request. If the TD measurements of two of the three users associated with the request meet the threshold, the generation of the response content of these two users can be preemptively initiated (while for the other user whose TD measurement does not meet the threshold, it is not preemptively initiated). If only one user's TD measurement meets the threshold, the generation of the response content can optionally be preemptively initiated only for the one user. If the TD measurements of all three users associated with the request meet the threshold, the generation of the response content of all three users can be preemptively initiated.

[0015] Some embodiments additionally or alternatively involve automatically generating an updated version of a TI speaker embedding for a given user using an updated TI speaker recognition model. In some of these embodiments, a request is received from a client device, wherein the request includes audio data capturing a spoken input of a given user and includes a version of a speaker embedding for the given user. In some versions of these embodiments, in response to determining that the version of the speaker embedding was generated using an outdated TI speaker recognition model, an updated version of the speaker embedding for the given user is generated. For example, based on a version identifier of the version of the speaker embedding included in the request, it can be determined that the version of the speaker embedding has been generated using an outdated TI speaker recognition model. The outdated version of the speaker embedding can still be used to identify the given user as having spoken the spoken input included in the audio data of the request, and to generate response content that is responsive to the spoken input and customized for the given user. By processing at least a portion of the audio data using an outdated version of the TI speaker recognition model to generate an output, and comparing the generated output with the outdated version of the speaker embedding, the outdated version of the speaker embedding can be utilized when identifying the given user. The response content can be transmitted to the client device in response to the request, so that the response content (or a transformation thereof) is presented at the client device. Utilizing an outdated version of the TI speaker recognition model enables speaker recognition to be performed on requests that include outdated speaker embeddings without waiting for updated speaker embeddings to be generated. This can continue to support outdated speaker embeddings despite the deployment of an updated speaker embedding model. In addition, this can alleviate delays in generating responses to requests that include outdated speaker embeddings, because outdated speaker embeddings can be used to identify the speaker and optionally transmit content customized for the identified speaker - rather than needing to wait for updated speaker embeddings to be generated to authenticate the user (where the generation of updated speaker embeddings may introduce undesirable delays). In addition, the technology ensures that the latest version of the TI speaker embeddings for a given user is used most of the time, while dispersing the computational load associated with generating and providing updated speaker embeddings for all users. In addition, since the version of the TI speaker embedding is only generated when a request including content is received from a given user, updated versions of the TI speaker embeddings are not automatically generated and provided to users who no longer use or rarely use the assistant system.

[0016] An updated version of the speaker embedding may be generated based on past instances of audio data that are stored (with user permission) and each instance captures a past spoken utterance determined to be spoken by the user. In some of those various embodiments, the past instances of audio data selected for generating speaker embeddings are selected based on one or more criteria that seek to increase the robustness of the embedding (thereby ensuring robust TI speaker recognition based on the speaker embedding). For example, a collection of audio data instances may be selected based on including collectively diverse utterances (e.g., voice diversity, word diversity, and / or other diverse features), one or more instances of audio data may be selected based on including utterances having at least a threshold length, and so on. In addition, utilizing past instances of audio data that meet one or more criteria may result in a more robust embedding. In addition, utilizing past instances may alleviate the need for the user to provide multiple enrollment utterances again, which may be time-consuming and may unnecessarily consume resources, such as computing resources when processing enrollment utterances and / or network resources when transmitting audio data corresponding to enrollment utterances. Once generated, the updated speaker embedding may be transmitted to a client device so that the client device locally stores the updated speaker embedding for transmission with future requests. When generating updated speaker embeddings in response to a request that is determined to include an outdated speaker embedding, the updated speaker embedding can optionally be transmitted after transmitting response content generated in response to the request and using the outdated TI speaker embedding. As mentioned above, using an outdated TI speaker recognition model can enable generating response content (or actions) to be provided quickly and with reduced latency while the generation of updated TI speaker embeddings is still ongoing.

[0017] The above description is provided as an overview of various embodiments disclosed herein. Those various embodiments as well as additional embodiments will be described in more detail herein.

[0018] In some embodiments, a method implemented by one or more processors is provided, the method comprising: receiving an automated assistant request from a client device and via a network, the request comprising: a text-independent (TI) speaker embedding for a specific user of the client device, and audio data capturing a spoken input of the specific user, wherein the audio data is captured via one or more microphones of the client device. The method further comprises determining that the TI speaker embedding was generated using an outdated version of a TI speaker recognition model. The method further comprises, in response to determining that the speaker embedding was generated using the outdated version of the TI speaker recognition model: processing at least a portion of the audio data using the outdated version of the TI speaker recognition model to generate a TI output. The method further comprises determining whether the specific user spoke the spoken input by comparing the TI output to the speaker embedding of the specific user. The method further includes, in response to determining that the particular user spoke the verbal input: performing one or more actions based on the audio data; processing previous audio data that captured the particular user's previous verbal input using an updated version of the TI speaker recognition model to generate an updated speaker embedding; and transmitting the updated speaker embedding for the particular user to the client device so that the client device locally stores the updated speaker embedding for transmission with future automated assistant requests.

[0019] These and other implementations of the technology disclosed herein may include one or more of the following features.

[0020] In some implementations, the one or more processors implementing the method are at one or more computing devices remote from the client device, and further include: in response to transmitting the updated speaker embedding for the particular user to the client device: deleting all instances of the updated speaker embedding from the one or more computing devices.

[0021] In some embodiments, processing at least a portion of the audio data using an outdated version of the TI speaker recognition model to generate a TI output includes: processing an additional portion of the audio data (the additional portion being a portion other than a call phrase portion of the audio data) using the outdated version of the TI speaker recognition model to generate the TI output.

[0022] In some embodiments, processing at least a portion of the audio data using an outdated version of the TI speaker recognition model to generate a TI output includes processing a call phrase portion of the audio data and an additional portion of the audio data using the outdated version of the TI speaker recognition model to generate the TI output.

[0023] In some embodiments, processing the previous audio data that captures the previous oral input of the specific user using an updated version of the TI speaker recognition model to generate an updated speaker embedding includes: processing multiple instances of the previous audio data using the updated version of the TI speaker recognition model to generate the updated speaker embedding, wherein each of the instances of the previous audio data captures the previous oral input of the specific user.

[0024] In some implementations, the method further includes selecting the multiple instances of the previous audio data based on the multiple instances of the previous audio data satisfying one or more criteria.

[0025] In some embodiments, the one or more criteria include one or more of the following: a length criterion for each of the multiple instances of the previous audio data; and a diversity criterion for the multiple instances of the previous audio data. In some versions of these embodiments, the method further includes replacing the previous audio data instance in the instance of the previous audio data with the audio data that captures the verbal input of the specific user by: determining the length of each instance of the previous audio data in the multiple previous audio data. The method further includes determining the length of the audio data that captures the verbal input of the specific user. The method further includes comparing the length of the audio data with the length of each instance of the previous audio data. The method further includes replacing the instance of the previous audio data with the audio data of the shortest length in response to determining that the audio data is longer than one or more instances of the previous audio data based on the comparison.

[0026] In some implementations, determining that the TI speaker embedding was generated using an outdated version of the TI speaker recognition model is based at least in part on a version identifier of the TI speaker embedding, the version identifier included in the automated assistant request.

[0027] In some implementations, performing one or more actions based on the audio data includes controlling one or more peripheral devices based on the audio data.

[0028] In some implementations, performing one or more actions based on the audio data includes generating responsive content customized for the particular user and based on the audio data, and causing the client device to present an output based on the responsive content. In some versions of these implementations, the method further includes completing generating the updated speaker embedding after causing the client device to present an output based on the responsive content.

[0029] In some embodiments, the automated assistant request further includes a text-dependent (TD) user measure, the TD user measure being generated locally at the client device using a TD speaker recognition model stored locally at the client device and using a TD speaker embedding stored locally at the client device, the TD speaker embedding being for the specific user, and wherein determining whether the specific user spoke the spoken input by comparing the TI output to the speaker embedding for the specific user further includes: determining the TI user measure by comparing the TI output to the speaker embedding; and using both the TD user measure and the TI user measure to determine whether the specific user spoke the spoken input. In some versions of these embodiments, the method further includes using both the TD user measure and the TI user measure to determine whether the specific user spoke the spoken input by: determining a specific user probability measure by combining the TD user measure and the TI user measure, the specific user probability measure indicating a probability that the specific user spoke the spoken input; and determining whether the specific user spoke the spoken input by determining whether the specific user meets a threshold. In some versions of these embodiments, in response to determining that the speaker embedding was generated using the outdated version of the TI speaker recognition model, the method further includes determining that both a first user profile and a second user profile are associated with the automated assistant request. The method further includes initiating generation of first response content that is customized for the first user and responsive to the spoken input in response to determining that both the first user profile and the second user profile are associated with the automated assistant request. The method further includes initiating generation of second response content that is customized for the second user and responsive to the spoken input. The method further includes, before completing generation of the first response content and the second response content, processing at least the portion of the audio data using the TI speaker recognition model to generate a TI output. The method further includes determining whether the particular user is the first user and whether the particular user spoke the spoken input by comparing the TI output to the speaker embedding of the first user. The method further includes, in response to determining that the particular user spoke the spoken input, further including transmitting the first response content to the client device instead of transmitting the second response content to the client device.

[0030] In some embodiments, a method implemented by one or more processors is provided, the method comprising receiving an automated assistant request from a client device and via a network, the request comprising: audio data capturing a user's spoken input, wherein the audio data is captured at one or more microphones of the client device, and text-dependent (TD) user measurements, the TD user measurements being generated locally at the client device using a TD speaker recognition model stored locally at the client device and using a TD speaker embedding stored locally at the client device, the TD speaker embedding being for a specific user. The method further comprises processing at least a portion of the audio data using a text-independent (TI) speaker recognition model to generate a TI output. The method further comprises determining a TI user measurement by comparing the TI output with a TI speaker embedding, the TI speaker embedding being associated with the automated assistant request and for the specific user. The method further comprises determining whether the specific user spoke the spoken input using both the TD user measurement and the TI user measurement. The method further comprises, in response to determining that the spoken input was spoken by the specific user: generating response content that is responsive to the spoken utterance and customized for the specific user. The method further includes transmitting the responsive content to the client device such that the client device presents output based on the responsive content.

[0031] These and other implementations of the technology disclosed herein may include one or more of the following features.

[0032] In some implementations, the automated assistant request received from the client device via the network further includes the TI speaker embedding for the particular user.

[0033] In some embodiments, using both the TD user measure and the TI user measure to determine whether the particular user spoke the verbal input includes: determining a particular user probability measure by combining the TD user measure and the TI user measure, the particular user probability measure indicating the probability that the particular user spoke the verbal input. The method further includes determining whether the particular user spoke the verbal input by determining whether the particular user probability measure meets a threshold. In some versions of these embodiments, combining the TD user measure and the TI user measure includes utilizing a first weight of the TD user measure in the combination and utilizing a second weight of the TI user measure in the combination. In some versions of these embodiments, the method further includes determining the first weight and the second weight based on the length of the audio data or the verbal input.

[0034] In some embodiments, the method further comprises determining the first weight and the second weight based on a magnitude of the TD user measurement.

[0035] In some embodiments, the method further includes determining that the TD user measure fails to meet a threshold, wherein processing the portion of the audio data to generate the TI output, determining the TI user measure, and using both the TD user measure and the TI user measure to determine whether the particular user spoke the verbal input are performed only in response to determining that the TD user measure fails to meet the threshold.

[0036] In some implementations, a method implemented by one or more processors is provided, the method comprising receiving an automated assistant request from a client device and via a network, the request comprising audio data capturing a spoken input, wherein the audio data is captured at one or more microphones of the client device. The method further comprises determining that both a first user profile and a second user profile are associated with the automated assistant request. The method further comprises, in response to determining that both the first user profile and the second user profile are associated with the automated assistant request, initiating generation of first response content customized for the first user and responsive to the spoken input. The method further comprises initiating generation of second response content customized for the second user and responsive to the spoken input. The method further comprises, before completing generation of the first response content and the second response content, processing at least a portion of the audio data using a text-independent (TI) speaker recognition model to generate a TI output. The method further comprises determining that the first user spoke the spoken input by comparing a first user speaker embedding corresponding to the first user profile with the TI output. The method further comprises, in response to determining that the first user spoke the spoken input, transmitting the first response content to the client device instead of transmitting the second response content to the client device.

[0037] These and other implementations of the technology disclosed herein may include one or more of the following features.

[0038] In some implementations, determining that the first user spoke the verbal input occurs before completing generating the second response content customized for the second user, and further includes, in response to determining that the first user spoke the verbal input, stopping generating the second response content customized for the second user.

[0039] In some implementations, the method further includes determining that a third user profile is associated with the automated assistant request in addition to the first user profile and the second user profile. The method further includes, in response to determining that the third user profile is associated with the automated assistant request, initiating generation of third response content customized for the third user and responsive to the spoken input.

[0040] In some implementations, determining that the first user spoke the spoken input is further based on a text-dependent (TD) user measure for the first user profile, the TD user measure included in the automated assistant request.

[0041] In some implementations, the automated assistant request further includes a first text-dependent (TD) measure for the first user profile and a second TD measure for the second user profile, and wherein initiating the generating of the first response content and wherein initiating the generating of the second response content is further responsive to the first TD measure and the second TD measure failing to satisfy one or more thresholds.

[0042] In addition, some embodiments include one or more processors (e.g., central processing units (CPUs), graphics processing units (GPUs), and / or tensor processing units (TPUs)) of one or more computing devices, wherein the one or more processors are operable to execute instructions stored in an associated memory, and wherein the instructions are configured to cause any of the methods described herein to be performed. Some embodiments also include one or more non-transitory computer-readable storage media storing computer instructions that can be executed by one or more processors to perform any of the methods described herein.

[0043] It should be understood that all combinations of the foregoing concepts and additional concepts described in more detail herein are considered to be part of the subject matter disclosed herein. For example, all combinations of the claimed subject matter appearing at the end of this disclosure are considered to be part of the subject matter disclosed herein. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is a block diagram illustrating an example environment in which various embodiments may be implemented.

[0045] Figure 2 is a flow chart illustrating an example process according to implementations disclosed herein.

[0046] Figure 3 is another flow chart illustrating another example process according to implementations disclosed herein.

[0047] Figure 4is another flow chart illustrating another example process according to implementations disclosed herein.

[0048] Figure 5 is a block diagram illustrating an example architecture of a computing device. DETAILED DESCRIPTION

[0049] With the user's permission, speaker recognition can be used to verify that the user has spoken a specific spoken utterance. In response to verifying that the user has spoken a specific spoken utterance, content can be provided in response to the specific spoken utterance, wherein the content is both responsive to the specific spoken utterance and customized for the user. Speaker recognition can include using a speaker recognition model to process audio data that captures the spoken utterance to generate an output, and comparing the output with a speaker embedding for the user (e.g., an embedding associated with a user profile of the user). For example, if a distance metric between the generated output and the user's speaker embedding meets a threshold, the user can be verified as the user who has spoken a specific spoken utterance. A speaker embedding for the user can be generated based on the output, the output being generated based on processing one or more instances of audio data including spoken utterances from the user. For example, a speaker embedding can be based on an average (or other combination) of multiple different embeddings, each of which is generated based on processing of a corresponding audio data instance including a corresponding spoken utterance from the user.

[0050] In TD speaker recognition, a user's speaker embedding is generated based on a spoken utterance that includes only one or more specific words and / or one or more specific phrases. In addition, in use, the user must speak the one or more specific words / phrases in order to generate an output that fully matches the speaker embedding using the TD speaker recognition model. As an example, the one or more specific words / phrases in TD speaker recognition can be limited to one or more invocation phrases configured to invoke an automated assistant. The invocation phrase of the automated assistant contains one or more hot words / trigger words, such as, "Hey, assistant", "OK, assistant", and / or "assistant".

[0051] In contrast, in TI speaker recognition, the spoken utterances processed using the TI speaker recognition model are not limited to specific words and / or specific phrases. In other words, the TI speaker recognition model can be used to process audio data based on almost any spoken utterance to generate an output that can be effectively compared with the TI speaker embedding of a specific user to determine whether the spoken utterance is from the specific user. In addition, in various embodiments, the speaker embedding of a user utilized in TI speaker recognition is generated based on spoken utterances that include different words and / or phrases.

[0052] As described herein, in some embodiments, a spoken utterance may include an invocation phrase and a subsequent portion following the invocation phrase, wherein the automated assistant may generate response content based on the subsequent portion of the spoken utterance. For example, "Hey, assistant, what's my name" includes an invocation phrase of "Hey, assistant" and an additional portion of "What's my name". In many embodiments, the automated assistant may generate response content in response to the additional portion, and the response content is customized for a specific user based on verifying that the specific user spoke the spoken utterance. For example, based on determining the name of the requesting user stored in the "What's my name" request, and based on verifying that the spoken utterance is from a user with a stored name of "Susan", a response of "Susan" may be generated in response to "Hey, assistant, what's my name". In some embodiments, when determining whether the output generated using the TI speaker recognition model matches the speaker embedding of a given user, both the invocation phrase portion and the additional portion of the spoken utterance may be processed by the TI speaker recognition model. In some other embodiments, only the additional portion (or a smaller portion of the additional portion) of the audio data may be processed using the TI speaker recognition model. Furthermore, in various cases, the spoken utterance lacked any invocation phrase, and thus the portion of the audio data processed using the TI speaker recognition model did not include any portion that included an invocation phrase.

[0053] In various embodiments, one or more speaker embeddings for a particular user are stored at a client device associated with the particular user (e.g., the client device is associated with a user profile for the particular user, and the locally stored speaker embeddings are associated with the user profile). In addition, multiple users may be associated with the same client device, and thus multiple speaker embeddings for several particular users may be stored at the client device (e.g., the client device is associated with user profiles for several particular users, each of which includes at least one speaker embedding for the associated particular user). Storing speaker embeddings at the client device (as opposed to storing speaker embeddings at a remote computing device such as a server) may help protect data security. In various embodiments, TD speaker recognition may occur at the client device. On the other hand, TI speaker recognition may be computationally expensive (e.g., processor and / or memory resources), and / or rely on TI speaker recognition models that require a large amount of storage space. Therefore, in many cases, TI speaker recognition may be better suited for remote computing devices (e.g., one or more servers), which may take advantage of their more robust resources. Additionally, in various embodiments, TI speaker embeddings may be stored locally at the client device and transmitted to a remote computing device along with the audio data capturing the spoken utterance to enable verification (by the remote computing device) of the speaker of the utterance using the TI speaker embeddings. In various embodiments, speaker embeddings received at the remote computing device along with the audio data and utilized in TI speaker recognition may be deleted from the remote computing device immediately after they are used in the speaker recognition process, thereby protecting data security.

[0054] In many embodiments, a remote computing device can receive an automated assistant request from a client device. The automated assistant request can include various information, including: audio data capturing the spoken utterance (e.g., the audio data can be streamed in the request), one or more TI speaker embeddings, one or more TD speaker embeddings, one or more measurements determined using the one or more speaker embeddings (e.g., TD speaker measurements determined locally at the client device transmitting the request), a version indication of a TI speaker recognition model used to generate the TI speaker embeddings, a version indication of a TD speaker recognition model used to generate the TD speaker embeddings, and / or additional information used by the automated assistant in speaker recognition, automatic speech recognition (ASR), natural language understanding (NLU), and / or other processes.

[0055] One or more stored previous utterances of a particular user may be used to generate a speaker embedding, thereby registering the particular user in a speaker recognition system using the stored previous utterances. According to many embodiments, a particular user may be automatically registered (and / or registered with the explicit permission of the user) in a speaker recognition system. For example, an automated assistant may generate an updated speaker embedding in response to determining that the received speaker embedding is generated using an outdated version of a TI speaker recognition model. In many embodiments, when the system is generating an updated version of a speaker embedding, the system may use an outdated version of a speaker recognition model to verify the user (and generate a response content customized for the user). In various embodiments, the updated speaker embedding is generated based on past instances of stored audio data (with the permission of the user), and each instance captures a past spoken utterance determined to be spoken by the user. In some of these different embodiments, the past instances of audio data selected for generating speaker embeddings are selected based on one or more criteria that seek to increase the robustness of the embedding. For example, a collection of audio data instances may be selected based on utterances that include collective diversity (e.g., voice diversity, word diversity, and / or other diversity features), one or more instances of audio data may be selected based on utterances that include at least a threshold length, and the like.

[0056] In various embodiments, a speaker recognition system can verify whether a spoken utterance is spoken by a particular user by combining a TI user metric (generated using a TI speaker recognition model) with a TD user metric (generated using a TD speaker recognition model). For example, an automated assistant request can include audio data based on a spoken utterance, a TI speaker embedding for a particular user, and a TD user metric determined by processing a call phrase portion of the spoken utterance using a TD speaker recognition model to generate an output and comparing the output to the TD speaker embedding. Additionally or alternatively, the automated assistant request can include the TD speaker embedding itself, and the TD user metric can be determined at a remote computing device. In various embodiments, the audio data can be processed using a TI speaker recognition model to generate additional outputs, which can be compared to the TI speaker embedding to generate a TI user metric. The TD user metric and the TI user metric can be combined to verify whether a particular user spoke a spoken utterance. In various embodiments, the respective weights of the TD and TI user metrics can be dynamically determined for a given automated assistant request based on one or more features of the given automated assistant request.

[0057] Additionally or alternatively, a speaker recognition system according to various embodiments may initiate generation of response content customized for several users associated with a client device while the TI speaker recognition model is used to determine which user spoke the spoken utterance. For example, three users may be associated with a client device. In addition to capturing audio data of a spoken utterance of one of the three users, an automated assistant request may include speaker embeddings for each of the three users. Before determining which user spoke the utterance, the system may initiate generation of response content customized for each of the three users. Once the system determines which user spoke the utterance by processing each of the three speaker embeddings using the TI speaker recognition model, the system may transmit to the client device response content customized for the user who spoke the utterance without transmitting response content customized for the other two users.

[0058] In many embodiments, automatically generating an updated speaker embedding for a particular user using stored prior utterances of the user (i.e., automatically enrolling the user in an updated version of the TI speaker recognition system) can prevent a lengthy enrollment process in which the user must speak one or more enrollment utterances before response content can be generated for the user. Such an enrollment process requires the transmission of audio data corresponding to those utterances, which consumes network resources, and may require providing various prompts to the user, which further consumes network resources as well as client device resources. Additionally or alternatively, automatic enrollment of a user according to embodiments described herein can be able to immediately verify the user based on an outdated version of the TI speaker recognition model, thereby enabling responsive content to be provided more quickly without first requiring the user to re-enroll using an updated version of the TI speaker recognition model and / or without first waiting for an updated speaker embedding to be generated using the stored utterances. In other words, for automated assistant requests that include outdated versions of speaker embeddings, the delay in providing responsive content to the user can be minimized.

[0059] Additionally or alternatively, verifying the identity of a speaker using user measurements generated using a TI speaker recognition model and user measurements generated using a TD speaker recognition model can ensure that content is customized for the user who spoke the verbal input, thereby mitigating the erroneous provision of content to another user, which could result in a compromise of data security, and / or mitigating the erroneous execution of unauthorized actions, such as controlling a smart lock or smart home alarm system. Additionally or alternatively, erroneously providing content to another user may waste system resources because the user who spoke the verbal utterance needs to speak the input again in an attempt to obtain content customized for him / her. In many embodiments, if the TD user measurement indicates a confidence threshold level, the TI speaker recognition model is not used to process the audio data, thereby preventing unnecessary use of resources to determine the TI user measurement in some cases.

[0060] In many embodiments, pre-fetching response content customized for a number of users reduces latency in generating and / or transmitting response content based on an automated assistant request by initiating generation of content for N users before a particular one of the N users has been identified as the source of a spoken utterance of an automated assistant request.

[0061] Turning now to the attached drawings, Figure 1 An example environment 100 is shown in which various embodiments may be implemented. The example environment 100 includes one or more client devices 102. Each client device may execute a respective instance of an automated assistant client 104. One or more cloud-based automated assistant components 114 (such as a speaker recognition module 120 and / or a natural language processor 122) may be implemented on one or more computing systems (collectively referred to as cloud computing systems) that are communicatively coupled to the client devices 102 via one or more local area networks and / or wide area networks (e.g., the Internet), generally indicated as 112.

[0062] In various embodiments, an instance of automated assistant client 104, by virtue of its interaction with one or more cloud-based automated assistant components 114, may form what appears to be a logical instance of automated assistant 110 from the user's perspective, with which the user may engage in a conversation. One such instance of automated assistant 110 is Figure 1 104 is depicted with dashed lines in FIG. 10. It should therefore be understood that each user interacting with an automated assistant client 104 executing on a client device 102 may actually be interacting with their own logical instance of the automated assistant 110. For the sake of brevity and simplicity, the term "automated assistant" used herein to "serve" a particular user may generally refer to a combination of an automated assistant client 104 operated by a user and one or more cloud-based automated assistant components 114 (which may be shared among multiple automated assistant clients 104). It should also be understood that in some embodiments, the automated assistant 110 may respond to requests from any user, regardless of whether the user is actually "served" by a particular instance of the automated assistant 110. Additionally or alternatively, one or more users may be associated with a client device. For example, five users living in the same household may all share one client device (such as an independent interactive speaker), and user features (such as speaker embeddings) associated with each of the three users may be stored on the client device.

[0063] The client device 102 may include, for example, one or more of a desktop computing device, a laptop computing device, a tablet computing device, a touch-sensitive computing device (e.g., a computing device that can receive input via touch from a user), a mobile phone computing device, a computing device in a user's vehicle (e.g., an in-vehicle communication system, an in-vehicle entertainment system, an in-vehicle navigation system), a stand-alone interactive speaker, a smart appliance such as a smart television, and / or a wearable device of a user including a computing device (e.g., a user's watch with a computing device, a user's glasses with a computing device, a virtual or augmented reality computing device). Additional and / or alternative client computing devices may be provided.

[0064] In various embodiments, client device 102 may include one or more sensors (not shown), which may come in various forms. The sensors may sense various types of input to automated assistant 110, such as verbal, textual, graphical, physical (e.g., touch on a display device including a touch-sensitive projector and / or a touch-sensitive screen of a computing device), and / or visual (e.g., gesture) based input. Some client devices 102 may be equipped with one or more digital cameras configured to capture and provide signals indicative of movement detected in a field of view. Additionally or alternatively, some client devices may be equipped with sensors that detect acoustic (or pressure) waves, such as one or more microphones.

[0065] The client device 102 and / or the cloud-based automated assistant component 114 can communicate with one or more devices (not shown). The devices can include any of a variety of devices, including: Internet of Things devices, such as smart appliances, smart thermostats, smart coffee machines, smart locks, etc. The devices are linked to the client device 102 (and / or a specific user of the client device 102) and to each other. For example, the device can be linked to a profile assigned to the client device 102 (and optionally other client devices), and / or can be linked to a profile assigned to the user of the client device 102. In general, the client device 102, other client devices, and devices can define a coordinated ecosystem of devices. In various embodiments, the devices are linked to each other via a device topology representation, which can be user-created and / or automatically created, and can define various assistant client devices, various smart devices, identifiers of each device, and / or other attributes of each device. For example, the identifier of the device may specify the room (and / or other area) of the structure in which the device is located (e.g., living room, kitchen), and / or may specify a nickname and / or alias for the device (e.g., couch light, front door lock, bedroom talker, kitchen assistant, etc.). In this way, the identity of the device may be the name, alias, and / or location of the corresponding device that a user may associate with the corresponding device.

[0066] In many implementations, automated assistant 110 can participate in a conversational session with one or more users via user interface input and output devices of one or more client devices 102. In some implementations, automated assistant 110 can participate in a conversational session with a user in response to user interface input provided by the user via one or more interface input devices of one of client devices 102. In some of these implementations, the user interface input is explicitly directed to automated assistant 110. For example, a user can say a predetermined invocation phrase, such as "OK, assistant" or "Hey, assistant," to cause automated assistant 110 to begin actively listening.

[0067] In some embodiments, the automated assistant 110 may participate in a conversational session in response to a user interface input, even if the user interface input is not explicitly directed to the automated assistant 110. For example, the automated assistant 110 may examine the content of the user interface input and participate in the conversational session in response to certain terms present in the user interface input and / or based on other clues. In many embodiments, the automated assistant 110 may utilize speech recognition to convert the user's speech into text and respond to the text accordingly, for example, by providing visual information, by providing search results, by providing general information and / or taking one or more responsive actions (e.g., playing media, launching a game, ordering food, etc.). In some embodiments, the automated assistant 110 may additionally or alternatively respond to the speech without converting the speech into text. For example, the automated assistant 110 may convert the speech input into an embedding, into an entity representation (indicating the entity present in the speech input) and / or other "non-text" representation, and operate on such non-text representation. Therefore, the embodiments described herein as operating based on text converted from speech input may additionally and / or alternatively operate directly on the speech input and / or other non-text representations of the speech input.

[0068] Each of the client computing devices 102 and the computing devices operating the cloud-based automated assistant component 114 may include one or more memories for storing data and software applications, one or more processors for accessing data and executing applications, and other components to facilitate network communications. The operations performed by one or more computing devices 102 and / or the automated assistant 110 may be distributed across multiple computer systems. The automated assistant 110 may be implemented, for example, as a computer program running on one or more computers running in one or more locations, the computers being coupled to each other via a network.

[0069] As described above, in various embodiments, client computing devices 102 can operate automated assistant clients 104. In various embodiments, each automated assistant client 102 can include a speech capture / text to speech (TTS) / speech to text (STT) engine 106, a speaker recognition module 107, and additional engines and / or modules (not shown). In other embodiments, one or more aspects of the speech capture / TTS / STT engine 106 and / or the speaker recognition module 107 can be implemented separately from the automated assistant client 104.

[0070] Each speech capture / TTS / STT engine may be configured to perform one or more functions: for example, capturing a user's speech via a microphone; converting the captured audio into text (and / or other representations or embedding); and / or converting text into speech. For example, in some embodiments, because the client device 102 may be relatively limited in terms of computing resources (e.g., processor cycles, memory, battery, etc.), the speech capture / TTS / STT engine local to each client device 102 may be configured to convert a limited number of different spoken phrases (particularly phrases that invoke the automated assistant 110) into text (or other forms). Other speech input may be sent to a cloud-based automated assistant component 114, which may include a cloud-based TTS engine 116 and / or a cloud-based STT engine 118.

[0071] The cloud-based STT engine 118 can be configured to utilize the nearly unlimited resources of the cloud to convert the audio data captured by the voice capture / TTS / STT engine 106 into text (which can then be provided to the natural language processor 122). The cloud-based TTS engine 116 can be configured to utilize the nearly unlimited resources of the cloud to convert the text data (e.g., the natural language response formulated by the automated assistant 110) into computer-generated speech, which is output to the client device 102 for direct output, for example, using one or more speakers. In other embodiments, the text data (e.g., the natural language response) generated by the automated assistant 110 can be provided to the voice capture / TTS / STT engine 106, which can then convert the text data into computer-generated speech, which is output locally.

[0072] The automated assistant 110 (e.g., cloud-based automated assistant component 114) may include a natural language processor, a TTS engine 116, an STT engine 118, a speaker recognition module 120, and other components, some of which are described in more detail below. In some embodiments, one or more engines and / or modules of the automated assistant 110 may be omitted, combined, and / or implemented in a component separate from the automated assistant 110. In some embodiments, to protect data security, one or more components of the automated assistant 110, such as the natural language processor 122, the TTS engine 116, the STT engine 118, the speaker recognition module 120, etc., may be implemented at least partially on the client device 102 (e.g., excluding the cloud).

[0073] In some implementations, the automated assistant 110 generates responsive content in response to various inputs generated by a user of the client device 102 during a human-machine conversation session with the automated assistant 110. The automated assistant 110 may provide the responsive content (e.g., when separate from the user's client device, over one or more networks) for presentation to the user as part of the conversation session. For example, the automated assistant 110 may generate responsive content in response to free-form natural language input provided via the client device 102. As used herein, free-form input formulated by a user is not limited to a set of options presented for the user to select.

[0074] Natural language processor 122 of automated assistant 110 processes natural language input generated by a user via client device 102 and can generate annotated output for use by one or more components of automated assistant 110. For example, natural language processor 122 can process natural language free-form input generated by a user via one or more user interface input devices of client device 102. The generated annotated output includes one or more annotations of the natural language input and, optionally, one or more (e.g., all) terms of the natural language input.

[0075] In some implementations, the natural language processor 122 is configured to recognize and annotate various types of grammatical information in the natural language input. For example, the natural language processor 122 may include a part-of-speech tagger configured to annotate terms with their grammatical roles. Also, for example, in some implementations, the natural language processor 122 may additionally and / or alternatively include a dependency parser (not shown) configured to determine syntactic relationships between terms in the natural language input.

[0076] In some embodiments, the natural language processor 122 may additionally and / or alternatively include an entity tagger (not shown) configured to annotate entity references in one or more segments, such as references to people (including, for example, literary characters, celebrities, public figures, etc.), organizations, places (real and fictional), etc. The entity tagger of the natural language processor 122 may annotate references to entities at a high level of granularity (e.g., capable of identifying all references to an entity class such as a person) and / or at a low level of granularity (e.g., capable of identifying all references to a specific entity such as a specific person). The entity tagger may rely on the content of the natural language input to resolve a specific entity, and / or may optionally communicate with a knowledge graph or other entity database to resolve a specific entity.

[0077] In some implementations, the natural language processor 122 may additionally and / or alternatively include a coreference resolver (not shown) that is configured to group or "cluster" references to the same entity based on one or more context clues. For example, the coreference resolver may be used to resolve the term "there" in the natural language input "I like the imaginary cafe, we ate there last time" to "imaginary cafe."

[0078] In many embodiments, one or more components of the natural language processor 122 can rely on annotations from one or more components of the natural language processor 122. For example, in some embodiments, a named entity tagger can rely on annotations from a coreference resolver and / or a dependency parser to annotate all mentions of a particular entity. Also, for example, in some embodiments, a coreference resolver can rely on annotations from a dependency parser to cluster references to the same entity. In many embodiments, when processing a particular natural language input, one or more components of the natural language processor 122 can determine one or more annotations using relevant previous inputs and / or other relevant data outside of the particular natural language input.

[0079] In many implementations, automated assistant 110 can include speaker recognition module 107 of automated assistant client 104, cloud-based speaker recognition module 120, speaker embedding module 108, speaker recognition model 124 (such as a TI speaker recognition model and / or a TD speaker recognition model), and audio data capturing one or more user's previous utterances 126. Speaker recognition module 107 of automated assistant client 104 can determine automated assistant requests for transmission to one or more cloud-based components, such as cloud-based speaker recognition module 120. In many implementations, the automated assistant request can include one or more speaker embeddings 108 (e.g., TI speaker embeddings, TD speaker embeddings, speaker embeddings for multiple users associated with the client device 102, etc.), audio data that captures spoken input (e.g., audio data captured by speech capture / TTS / STT module 106), one or more TD speaker recognition models, one or more TI speaker recognition models, one or more measurements determined by processing the audio data that captures spoken input using speaker recognition models stored locally at the client device (e.g., a measurement indicating a probability that a particular user uttered a spoken utterance, etc.), and one or more user profiles containing information about one or more users associated with the client device.

[0080] In many embodiments, the cloud-based speaker recognition module 120 can be utilized to automatically generate (and / or generate with explicit user permission) updated speaker embeddings based on audio data capturing the user's previous utterance 126. In many embodiments, the cloud-based speaker recognition model 120 can use the user scores generated by the TI speaker recognition model and the user scores generated by the TD speaker recognition model to verify whether a particular user has spoken a spoken utterance. Additionally or alternatively, the cloud-based speaker recognition model 120 can be used to pre-fetch content for several users associated with a client device while using the TI speaker recognition model to determine the identity of the user who spoke the utterance.

[0081] Now turn Figure 2 , a flowchart is provided showing a process 200 for generating updated speaker embeddings using an updated version of a TI speaker recognition model according to various embodiments disclosed herein. For convenience, the operations of the flowchart are described with reference to a system that performs the operations. This system may include one or more components, such as one or more processors (e.g., a CPU, a GPU, and / or a TPU). Although the operations of process 200 are shown in a particular order, this is not intended to be limiting. One or more operations may be reordered, omitted, and / or added.

[0082] At block 202, the system receives an automated assistant request from a client device. In many implementations, the automated assistant request includes audio data of a TI speaker embedding and captured spoken utterances for a particular user. In several implementations, the spoken utterances are captured by one or more microphones of the client device.

[0083] At block 204, the system determines whether an outdated version of the TI speaker recognition model generated the TI speaker embedding received as part of the automated assistant request. If so, the system proceeds to block 206 and processes the audio data using the outdated version of the TI speaker recognition model to generate an output. If the system determines that the current version of the TI speaker recognition model generated the speaker embedding, the process can use the current version of the TI speaker recognition model to verify that the particular speaker spoke the utterance, and the process can end.

[0084] In box 208, the system determines whether the particular user has spoken the spoken utterance. If so, the system proceeds to box 210. When determining whether the particular user has spoken the spoken utterance, the system may process the audio data using an outdated TI speaker recognition model to generate an output. The system may compare the generated output with the TI speaker embedding for the particular user to determine whether the particular user has spoken the spoken utterance. In many embodiments, the system may process the entire spoken utterance. In several embodiments, the system may process only a portion of the spoken utterance. For example, the system may process only the subsequent portion after the call phrase portion of the spoken utterance to generate an output that is compared with the speaker embedding. However, if the system determines that the particular user did not speak the spoken utterance, then, in some embodiments, the system may determine that the spoken utterance was provided by a guest user, and the system may generate response content that is not customized for any particular user.

[0085] At block 210, the system generates responsive content customized for the particular user based on the audio data. In many implementations, the system causes the client device to present output based on the responsive content. For example, the system may present content including details of one or more calendar events for a day for the particular user in response to the spoken utterance "Assistant, what do I have scheduled today?"

[0086] At block 212, the system generates an updated speaker embedding by processing previous audio data that captures previous spoken input of the particular user using the updated version of the TI speaker recognition model. In some embodiments, one or more instances of the previous audio data for the particular user may be stored at a remote computing device (e.g., in a database associated with a server). In some embodiments, one or more instances of the previous audio data for the particular user may be stored at a client device and transmitted as part of an automated assistant request.

[0087] In various embodiments, instances of prior audio data may be selected based on one or more criteria, such as length, diversity, and / or other criteria. For example, instances of prior audio data may be selected based on each instance having at least a threshold length (e.g., based on the number of words and / or the length of time a user spoke a spoken utterance). Moreover, for example, instances of prior audio data may be additionally or alternatively selected by analyzing words, phonemes, etc. in a prior utterance to increase the diversity between instances of prior audio data. In other words, instances of prior audio data may be selected to reduce the number of overlapping words and / or sounds between instances of prior audio data.

[0088] At block 214, the system transmits the updated speaker embedding to the client device. In many implementations, the client device can store the updated speaker embedding locally for transmission with future automated assistant requests. In many implementations, after the updated version of the speaker embedding has been transmitted to the client device, it can be deleted at the remote computing device to aid in data security.

[0089] Now turn Figure 3 , a flowchart is provided showing a process 300 for determining whether a particular user has spoken an utterance based on outputs generated by a TI speaker recognition model and outputs generated by a TD speaker recognition model according to various embodiments disclosed herein. For convenience, the operations of the flowchart are described with reference to a system that performs the operations. This system may include one or more components, such as one or more processors (e.g., a CPU, a GPU, and / or a TPU). Although the operations of process 300 are shown in a particular order, this is not intended to be limiting. One or more operations may be reordered, omitted, and / or added.

[0090] At block 302, the system receives an automated assistant request from a client device. In many embodiments, the automated assistant request includes audio data capturing a spoken utterance and a TD user measure for a particular user. In many embodiments, the spoken utterance may be captured by one or more microphones of the client device. In many embodiments, the TD user measure may be generated locally on the client device by processing a call phrase portion of the spoken utterance using a TD speaker recognition model to generate an output and comparing the output to a TD speaker embedding.

[0091] At block 304, the system processes the audio data using the TI speaker recognition model to generate an output. In many embodiments, the system may process the entire spoken utterance. In several embodiments, the system may process only a portion of the spoken utterance. For example, the system may process only a subsequent portion after the call phrase portion of the spoken utterance to generate an output that is compared with the speaker embedding.

[0092] At block 306 , the system determines a TI user measure by comparing the output generated using the TI speaker recognition model to the TI speaker embedding for the particular user.

[0093] In box 308, the system determines whether a particular user has spoken a spoken word. If so, the system proceeds to box 310. In many embodiments, the system may use TI user measurements and TD user measurements to determine whether a particular user has spoken a spoken word. For example, the TI user measurement value and the TD user measurement value may be concatenated, and if the concatenation is above a threshold, the particular user has spoken a spoken word. Additionally or alternatively, the TD user measurement and / or the TI user measurement may be weighted. For example, if the TD user measurement and / or the TI user measurement indicate that the probability that the user has spoken a spoken word is very high, the user measurement may be more heavily weighted (e.g., if the TI user measurement indicates that the user has spoken a spoken word with 95% certainty, the TI user measurement may be more heavily weighted than the TD user measurement). On the contrary, the TI user measurement and / or the TD user measurement indicating that the user has spoken a spoken word with a lower probability may be more heavily weighted (e.g., the TI user measurement indicating that the user has spoken a spoken word with a 10% probability may be more heavily weighted than the TD user measurement). In many embodiments, if the user measurement is above or below a threshold, other user measurements may be ignored. Additionally or alternatively, if the TD user measure is above or below a threshold, only the TD user measure is calculated and the TI user measure is ignored. As another example of weighting the TD user measure and the TI user measure, in various embodiments, when at least a portion (e.g., a non-call portion) of the spoken utterance has at least a threshold length (e.g., 4 seconds and / or 3 words), the weighting of the TI user measure can be greater than when the at least a portion is not at least the threshold length.

[0094] At block 310 , the system generates response content that is responsive to the spoken utterance and customized for the particular user.

[0095] At block 312, the system transmits the response content to the client device. In many implementations, transmitting the response content to the client device causes the client device to render an output based on the response content. The rendered content may include the response content itself, or a transformation of the response content (e.g., the response content may include text, and the rendered content may include speech generated for the text (e.g., generated using a text-to-speech processor)).

[0096] Now turn Figure 4, a flowchart is provided illustrating a process 400 of pre-fetching response content of several users of a client device before determining which user has spoken a spoken utterance according to various embodiments disclosed herein. For convenience, the operations of the flowchart are described with reference to a system that performs the operations. This system may include one or more components, such as one or more processors (e.g., CPUs, GPUs, and / or TPUs). Although the operations of process 400 are shown in a particular order, this is not intended to be limiting. One or more operations may be reordered, omitted, and / or added.

[0097] At block 402, the system receives an automated assistant request from a client device. In many implementations, the automated assistant request includes audio data capturing a spoken utterance.

[0098] At block 404, the system determines that both the first user profile and the second user profile are associated with the automated assistant request. In many embodiments, the system may determine that in addition to the first user profile and the second user profile, a third user profile (and optionally a fourth, fifth, etc.) is associated with the automated assistant request. In many embodiments, a user profile may be associated with one or more automated assistant clients. For example, a family of five may have a first client device and a second client device. Each person in the family of five may be associated with both the first client device and the second client device. In many embodiments, each user profile includes a speaker embedding for the user, and the speaker embeddings for all users associated with the automated assistant may be transmitted as part of the automated assistant request. In some embodiments, only a subset of all available speaker embeddings are transmitted as part of the automated assistant request. For example, based on the TD measurements of two of the five available speaker embeddings satisfying a threshold and the TD measurements of the other three not satisfying, the two available speaker embeddings may be transmitted.

[0099] At block 406 , the system initiates generating first response content customized for the first user and responsive to the spoken utterance.

[0100] At block 408, the system initiates generating second response content that is customized for the second user and responsive to the spoken utterance. In many implementations, generating response content can also be initiated for any additional users associated with the automated assistant request. For example, generating third response content can be initiated, where the third response content is customized for a third user profile indicated in the request and responsive to the spoken utterance.

[0101] At block 410, before completing generating the first response content and generating the second response content, the system processes the audio data using the TI speaker recognition model to generate an output. In other words, when the system pre-fetches the response content customized for the first user and pre-fetches the response content customized for the second user, the system can use the TI speaker recognition model to identify the speaker. Additionally or alternatively, the system can pre-fetch the response content customized for any additional users associated with the client device (e.g., pre-fetching the response content customized for the third user).

[0102] At block 412, the system determines which user spoke the spoken utterance. For example, the system can determine that the first user spoke the spoken utterance by comparing the output generated at block 410 with the first user speaker embedding.

[0103] At block 414, the system transmits the response content to the client device of the user determined to have spoken the spoken utterance at block 412, instead of transmitting the response content for other users. For example, if at block 412 the system determines that the first user spoke the spoken utterance, the system transmits the response content customized for the first user to the client device, instead of transmitting the response content customized for the second user (and not transmitting the response content for any additional users). Additionally or alternatively, the system causes the client device to present an output based on the response content for the determined user. For example, if at block 412 the system determines that the first user spoke the spoken utterance, the system causes the client device to present an output based on the first response content.

[0104] Figure 5 is a block diagram of an exemplary computing device 510 that may optionally be used to perform one or more aspects of the techniques described herein. In some implementations, one or more of the client computing devices and / or other components may include one or more components of the exemplary computing device 510.

[0105] The computing device 510 typically includes at least one processor 514 that communicates with a number of peripheral devices via a bus subsystem 512. These peripheral devices may include a storage subsystem 524 (including, for example, a memory subsystem 525 and a file storage subsystem 526), ​​a user interface output device 520, a user interface input device 522, and a network interface subsystem 516. The input and output devices allow a user to interact with the computing device 510. The network interface subsystem 516 provides an interface to an external network and is coupled to corresponding interface devices in other computing devices.

[0106] The user interface input device 522 may include a keyboard, a pointing device (such as a mouse, trackball, touch pad, or graphics tablet), a scanner, a touch screen incorporated into a display, an audio input device (such as a voice recognition system, a microphone, and / or other types of input devices). In general, the use of the term "input device" is intended to include all possible types of devices and ways to input information into the computing device 510 or over a communication network.

[0107] The user interface output device 520 may include a display subsystem, a printer, a fax machine, or a non-visual display (such as an audio output device). The display subsystem may include a cathode ray tube ("CRT"), a flat panel device such as a liquid crystal display ("LCD"), a projection device, or some other mechanism for creating a visual image. The display subsystem may also provide a non-visual display such as via an audio output device. Typically, the use of the term "output device" is intended to include all possible types of devices and methods for outputting information from the computing device 510 to a user or to another machine or computing device.

[0108] The storage subsystem 524 stores programming and data structures that provide the functionality of some or all of the modules described herein. For example, the storage subsystem 524 may include a computer program that executes Figure 2-4 selected aspects of one or more processes and methods for implementing Figure 1 The logic of the various components depicted in .

[0109] These software modules are typically executed by processor 514 alone or in combination with other processors. The memory 525 used in the storage subsystem 524 may include multiple memories, including a main random access memory ("RAM") 530 for storing instructions and data during program execution and a read-only memory ("ROM") 532 in which fixed instructions are stored. The file storage subsystem 526 can provide persistent storage for program and data files, and can include a hard disk drive, a floppy disk drive and associated removable media, a CD-ROM drive, an optical drive, or a removable media cartridge. Modules that implement the functionality of certain embodiments may be stored by the file storage subsystem 526 in the storage subsystem 524, or in other machines accessible to the processor 514.

[0110] The bus subsystem 512 provides a mechanism for the various components and subsystems of the computing device 510 to communicate with each other as intended. Although the bus subsystem 512 is schematically shown as a single bus, alternative implementations of the bus subsystem may use multiple busses.

[0111] The computing device 510 may be of various types, including a workstation, a server, a computing cluster, a blade server, a server farm, or any other data processing system or computing device. Due to the ever-changing nature of computers and networks, Figure 5 The description of the computing device 510 depicted in FIG. 5 is intended only as a specific example for the purpose of illustrating some embodiments. Many other configurations of the computing device 510 may have more Figure 5 The computing device depicted may have more or fewer components.

[0112] Although several embodiments have been described and shown herein, various other means and / or structures for performing functions and / or obtaining results and / or one or more advantages described herein may be utilized, and each of these changes and / or modifications is considered to be within the scope of the embodiments described herein. More generally, all parameters, dimensions, materials, and configurations described herein are intended to be exemplary, and actual parameters, dimensions, materials, and / or configurations will depend on one or more specific applications for which the teachings are used. Those skilled in the art will recognize or be able to determine many equivalents of the specific embodiments described herein using only routine experiments. It will therefore be understood that the foregoing embodiments are given only by way of example, and within the scope of the appended claims and their equivalents, the embodiments may be practiced in a manner different from that specifically described and claimed. The embodiments of the present disclosure relate to each individual feature, system, article, material, kit, and / or method described herein. In addition, if such features, systems, articles, materials, kits, and / or methods are not mutually contradictory, any combination of two or more such features, systems, articles, materials, kits, and / or methods is included within the scope of the present disclosure.

Claims

1. A method implemented by one or more processors, the method comprising: An automated assistant request is received from a client device and via a network, the automated assistant request comprising: capturing audio data of a user's spoken input, wherein the audio data is captured at one or more microphones of the client device, and a text-dependent (TD) user measure generated locally at the client device using a TD speaker recognition model stored locally at the client device and using a TD speaker embedding stored locally at the client device, the TD speaker embedding being for a particular user; processing at least a portion of the audio data using a text-independent (TI) speaker identification model to generate a TI output; determining a TI user measure by comparing the TI output to a TI speaker embedding associated with the automated assistant request and for the particular user; using both the TD user measurement and the TI user measurement to determine whether the particular user spoke the spoken input; In response to determining that the spoken input was spoken by the particular user: generating responsive content that is responsive to the spoken input and customized for the particular user; and The responsive content is transmitted to the client device to cause the client device to render an output based on the responsive content.

2. The method according to claim 1, wherein: The automated assistant request received from the client device via the network further includes the TI speaker embedding for the particular user.

3. The method according to claim 1 or claim 2, wherein: Using both the TD user measurement and the TI user measurement to determine whether the particular user spoke the spoken input comprises: determining a specific user probability measure by combining the TD user measure and the TI user measure, the specific user probability measure indicating a probability that the specific user spoke the spoken input; and A determination is made as to whether the particular user spoke the spoken input by determining whether the particular user probability measure satisfies a threshold.

4. The method according to claim 3, wherein: Combining the TD user measurements and the TI user measurements includes utilizing a first weight of the TD user measurements in the combining and utilizing a second weight of the TI user measurements in the combining.

5. The method according to claim 4, further comprising: The first weight and the second weight are determined based on a length of the audio data or the spoken input.

6. The method according to claim 4 or claim 5, further comprising: The first weight and the second weight are determined based on a magnitude of the TD user measurement.

7. The method according to any one of claims 1 to 6, further comprising: Determining that the TD user measurement fails to meet a threshold; Wherein, processing the portion of the audio data to generate a TI output, determining the TI user measure, and determining whether the particular user spoke the verbal input using both the TD user measure and the TI user measure are performed only in response to determining that the TD user measure fails to satisfy the threshold.

8. A method implemented by one or more processors, the method comprising: An automated assistant request is received from a client device and via a network, the automated assistant request comprising: capturing audio data of the spoken input, wherein the audio data is captured at one or more microphones of the client device; determining that a first user profile and a second user profile are associated with the automated assistant request; In response to determining that the first user profile and the second user profile are associated with the automated assistant request: initiating generation of first response content customized for the first user and responsive to the verbal input; initiating generation of second response content customized for a second user and responsive to the verbal input; Prior to completing generating the first response content and the second response content, processing at least a portion of the audio data using a text-independent (TI) speaker recognition model to generate a TI output; determining that the first user spoke the spoken input by comparing a first user speaker embedding corresponding to the first user profile with the TI output; In response to determining that the first user spoke the verbal input: The first response content is transmitted to the client device, while the second response content is not transmitted to the client device.

9. The method according to claim 8, wherein: Determining that the first user spoke the verbal input occurs before completing the generation of the second response content customized for the second user, the method further comprising: In response to determining that the first user spoke the verbal input: Stop generating the second response content customized for the second user.

10. The method according to claim 8 or claim 9, further comprising: determining that a third user profile is associated with the automated assistant request in addition to the first user profile and the second user profile; In response to determining that the third user profile is associated with the automated assistant request: Generating third response content customized for the third user and responsive to the spoken input is initiated.

11. The method according to any one of claims 8 to 10, wherein: Determining that the first user spoke the spoken input is further based on a text-dependent (TD) user measure for the first user profile, the TD user measure included in the automated assistant request.

12. The method according to any one of claims 8 to 11, wherein: The automated assistant request further includes a first text-dependent (TD) measure for the first user profile and a second TD measure for the second user profile, and wherein initiating generation of the first response content and initiating generation of the second response content are further responsive to the first TD measure and the second TD measure failing to satisfy one or more thresholds.

13. A set of one or more automated assistant servers, comprising a memory storing instructions and one or more processors that execute the instructions to perform the method according to any one of claims 1 to 12.