Failure detection and handling in automated voice assistant

A meta-assistant system addresses the issue of suboptimal responses from multiple automated assistants by detecting failures and providing effective responses, ensuring user requests are fulfilled.

JP2024153892AActive Publication Date: 2024-10-29GOOGLE LLC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024128859
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2020-11-02
Filing Date
2024-08-05
Publication Date
2024-10-29
Estimated Expiration
2040-12-15

AI Technical Summary

Technical Problem

In situations where multiple automated assistants are running on the same or nearby devices, there is a risk of failure, suboptimal, or incomplete responses to user requests, leading to a degraded user experience.

Method used

Implementing a meta-assistant that detects failures in other automated assistants and provides a response that satisfies the user's request, either by caching user input or proactively intervening when the primary assistant fails.

Benefits of technology

Enhances user experience by ensuring that user requests are accurately and fully addressed, even when other automated assistants fail to do so, through failover mechanisms and proactive intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024153892000001_ABST
    Figure 2024153892000001_ABST
Patent Text Reader

Abstract

To provide a method for detecting and handling failures in automated voice assistants, etc.SOLUTION: A method includes the steps of: executing a first automated assistant in an inactive state; determining, by the first automated assistant while in the inactive state, that a second automated assistant has failed to fulfill a request of the user; processing, according to the determination that the second automated assistant has failed to fulfill the request of the user, cached audio data capturing the verbal utterance of the user that includes the request that the second automated assistant has failed to fulfill, or features of the cached audio data by the first automated assistant to determine a response that fulfills the request of the user; and providing the response that fulfills the request of the user to the user by the first automated assistant.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Background technology]

[0001] A person may engage in human-computer interaction using interactive software applications (also referred to as "digital agents," "interactive personal assistants," "intelligent personal assistants," "assistant applications," "conversational agents," etc.) referred to herein as "automated assistants." For example, a person (which may be referred to as a "user" when interacting with an automated assistant) may provide commands and / or requests to the automated assistant by providing textual (e.g., typed) natural language input, possibly using oral natural language input (i.e., speech) that may be converted to text and then processed, and / or by touch and / or utterance free physical movements (e.g., hand gestures, gaze, facial movements, etc.). The automated assistant responds to the request by providing responsive user interface output (e.g., audible and / or visual user interface output), controlling one or more smart devices, and / or controlling one or more functions of the device implementing the automated assistant (e.g., controlling other applications of the device).

[0002] As described above, many automated assistants are configured to be interacted with through spoken utterances. To protect user privacy and / or conserve resources, the automated assistant refrains from performing one or more automated assistant functions based on all spoken utterances present in audio data detected by a microphone of a client device that (at least partially) implements the automated assistant. Rather, certain processing based on spoken utterances is performed only in response to a determination that a particular condition exists.

[0003] For example, many client devices that include and / or interface with automated assistants include a hot word detection model. When the microphone of such a client device is not deactivated, the client device can use the hot word detection model to continuously process audio data detected by the microphone to generate a predicted output indicating whether one or more hot words (including multi-word phrases), such as "Hey Assistant," "OK Assistant," and / or "Assistant," are present. When the predicted output indicates that a hot word is present, all audio data that follows within a threshold amount of time (and is optionally determined to include voice activity) can be processed by one or more on-device and / or remote automated assistant components, such as a speech recognition component, a voice activity detection component, etc. Additionally, the recognized text (from the speech recognition component) can be processed using a natural language understanding engine, and / or actions can be performed based on the output of the natural language understanding engine. The actions can include, for example, generating and providing a response and / or controlling one or more applications and / or smart devices. However, when the predicted output indicates that the hot word is not present, the corresponding audio data is discarded without any further processing, thereby saving resources and protecting user privacy.

[0004] As automated assistants become more prevalent, it is becoming increasingly common to have multiple different automated assistants running on the same client device, or on different client devices that are located near each other (e.g., in the same room). In some situations, multiple automated assistants may be pre-installed on some client devices, or alternatively, a user may be provided with the option to install one or more new additional automated assistants that may specialize in a particular domain or to perform a particular task.

[0005] In a situation where multiple automated assistants are running on the same client device and / or on different client devices that are near each other, it is possible that a user may make a request to a first automated assistant (e.g., by using a hotword associated with the first automated assistant), but the first automated assistant may fail to process the request or may return suboptimal, inaccurate, or incomplete results in response to the request. However, if the user had made the request to a second automated assistant (e.g., by using a hotword associated with the second automated assistant), the second automated assistant may have correctly processed the request. Summary of the Invention [Means for solving the problem]

[0006] Some implementations disclosed herein are directed to improving device performance and capabilities and improving the user experience provided by automated assistants running on the device by detecting and handling failures in other automated assistants. As described in more detail herein, in response to detecting a failure of another automated assistant to fulfill a user's request, or detecting a non-optimal or inaccurate result provided by another automated assistant in response to a request, in some implementations, the automated assistant suggests to the user to process the request that the other automated assistant failed to fulfill (or failed to fulfill optimally / accurately) and, if requested, provides a response that fulfills the user's request.

[0007] In some implementations, the automated assistant may be peripherally aware of a user's interactions with other automated assistants (e.g., running on the same client device and / or other client devices located nearby) and may offer to handle the user's request in response to a failure by one of the other automated assistants to fulfill the user's request. In some implementations, the offer to handle the user's request may be conditional on the automated assistant determining that there is a sufficiently high likelihood that the automated assistant can provide a response that satisfies the user's request. In other implementations (e.g., in response to a user specifying, via a setting, that the automated assistant should automatically respond to failures), the automated assistant may automatically provide a response that satisfies the user's request in response to a failure by one of the other automated assistants to fulfill the user's request.

[0008] In the example, the user may say a request to a first automated assistant such as, "Okay, assistant 1. Where can I find socks near me?" The first automated assistant may respond, "Sorry, I don't know what stores are near you." In this example, the first automated assistant failed to fulfill the user's request. If the user had first said the request to a second automated assistant, the second automated assistant may have responded, "Here's a list of stores that sell socks near you. Can you take me to one of them?"

[0009] Continuing with the example, the second automated assistant detects a failure of the first automated assistant to fulfill the user's request. In response to detecting the failure, the second automated assistant may automatically provide a response that fulfills the user's request, such as "Let me help you. Here's a list of nearby stores." Alternatively, instead of automatically providing a response that fulfills the user's request, the second automated assistant may automatically provide an indication of the availability of a response that fulfills the user's request, for example, by using a light or display on the client device on which the second automated assistant is executing or by playing a sound (e.g., a chime) on a speaker of the client device on which the second automated assistant is executing.

[0010] In some implementations, a user invokes a first automated assistant by a hot word or another mechanism on the device, for example, by asking, "OK, Assistant 1, where's the best place to eat near here?" The first automated assistant can perform processing of the query, for example, by running a DSP-powered hot word detector, then passing the audio for speech recognition, and performing transcription of the speech through query interpretation and fulfillment.

[0011] In some implementations, when a query is uttered to the first automated assistant, the user's utterance may be cached locally for further processing on the device on which the second automated assistant is executed. In some implementations, only the user input is cached, while in other embodiments, the first automated assistant's response is cached in addition to the user input. If both the first automated assistant and the second automated assistant are running on the same device, the caching may be performed at a layer of meta assistant software running on the device. If the first automated assistant and the second automated assistant are not running on the same device, the second automated assistant may detect queries directed to the first automated assistant (e.g., using a hotword model that detects the first automated assistant's hotwords or using an always-on ASR).

[0012] In some implementations, when two automated assistants are located on the same device, the meta-assistant may enable failover from a first automated assistant to a second automated assistant. The meta-assistant may provide the second automated assistant with access to speech containing user input and / or other features derived from speech, such as automatic speech recognition (ASR) transcriptions, on demand (i.e., in the event of a query failure) or in parallel with the first automated assistant. The meta-assistant may provide the second automated assistant with access to the responses of the first automated assistant.

[0013] In some implementations, when the two automated assistants are located on different devices, there may be no direct communication interface available between the second automated assistant and the shared software stack or meta-assistant. In this case, detection and reaction may occur independently on the software stack for the second automated assistant. In some implementations, the second automated assistant may determine when to start processing the query (e.g., preemptively before observing whether the first automated assistant has failed so that it can intervene with low latency). The second automated assistant may independently determine that the user has triggered the first automated assistant for a query, for example, by listening for the same hot words or by having an always-on voice recognition system that can detect the user's interaction with the assistant. The second automated assistant may use speaker identification to distinguish between the user's voice and the first automated assistant's voice and identify the failed fulfillment of the user's query in the second automated assistant's software stack, rather than in the shared software stack.

[0014] In some implementations, a shared interface may be provided where the main processing stack knows whether the fulfillment of the user's query was successful or not after the first automated assistant has finished processing the user's query. If the fulfillment of the user's query was successful, the second automated assistant does not need to take any further action. On the other hand, if the fulfillment of the user's query was not successful, the meta-assistant may provide the cached speech (or other cached results such as interpretation) to the second automated assistant. In some implementations, the detection of whether the query was successful or not may be done automatically by listening to the provided response and inferring whether it is a mishandled query. For example, the stack may utilize speaker identification on the text-to-speech audio from the first automated assistant, extract the corresponding speech response, process it by a generic ASR system, and then a final NLU-based classification system (e.g., neural network-based or heuristic-based), which interprets a response such as "Sorry, I can't help you with that" as a failure of the first automated assistant.

[0015] In other implementations, the second automated assistant can process the user's utterances in parallel with the first automated assistant and have answers to the user's queries ready in case the first automated assistant fails to respond to the queries successfully or returns non-optimal or inaccurate results in response to the queries. The second automated assistant can provide answers to queries at the time the second automated assistant determines that the first automated assistant fails to respond to the queries successfully or returns non-optimal or inaccurate results in response to the queries. In some implementations, the second automated assistant can step in and provide answers to queries before determining that the first automated assistant fails to respond to the queries successfully or returns non-optimal or inaccurate results in response to the queries (e.g., in response to a meta-assistant's determination that the second automated assistant should take over from the first automated assistant and respond to queries).

[0016] In some implementations, the second automated assistant may passively detect both user input and answers provided by the first automated assistant to allow the second automated assistant to step in and provide answers to multi-turn dialogues where failures may occur after several interactions. In some implementations, the second automated assistant may also respond when it can complement a response to a query provided by the first automated assistant.

[0017] In various implementations, a method implemented by one or more processors may include executing, at least in part, a first automated assistant in an inactive state on a computing device operated by a user; determining, while in the inactive state, by the first automated assistant that a second automated assistant has failed to satisfy a request of the user; in response to determining that the second automated assistant has failed to satisfy the user's request, the first automated assistant processing cached audio data capturing the user's verbal utterance including the request that the second automated assistant failed to satisfy, or features of the cached audio data, to determine a response that satisfies the user's request; and providing, to the user, by the first automated assistant, a response that satisfies the user's request.

[0018] In some implementations, determining that the second automated assistant has failed to satisfy the user's request may include receiving audio data capturing an initial response and using speaker identification on the audio data capturing the initial response to determine that the initial response is provided by the second automated assistant. In some implementations, determining that the second automated assistant has failed to satisfy the user's request may further include processing the audio data capturing the initial response using a hotword detection model to determine that the initial response does not satisfy the user's request. In some implementations, determining that the second automated assistant has failed to satisfy the user's request may further include processing the audio data capturing the initial response using automatic speech recognition to generate text and processing the text using natural language processing techniques to determine that the initial response does not satisfy the user's request.

[0019] In some implementations, the cached audio data further captures an initial response provided to the user by a second automated assistant. In some implementations, the second automated assistant runs on a computing device and the cached audio data is received by the first automated assistant via a meta-assistant running on the computing device. In some implementations, the second automated assistant runs on another computing device and the cached audio data is received by the first automated assistant via one or more microphones of the computing device.

[0020] In some implementations, the first automated assistant causes a response that satisfies the user's request to be provided on another computing device. In some implementations, the first automated assistant causes the response that satisfies the user's request to be displayed on a display of the computing device.

[0021] In some additional or alternative implementations, a computer program product may include one or more computer-readable storage media having program instructions collectively stored on the one or more computer-readable storage media. The program instructions may be executable at least in part on a computing device operated by a user to execute a first automated assistant in an inactive state, determine by the first automated assistant while in the inactive state that a second automated assistant has failed to satisfy a request of the user, and in response to determining that the second automated assistant has failed to satisfy the user's request, process by the first automated assistant cached audio data capturing the user's verbal utterance including the request that the second automated assistant failed to satisfy, or features of the cached audio data, to determine a response that satisfies the user's request, and provide to the user by the first automated assistant an indication of availability of a response that satisfies the user's request.

[0022] In some implementations, the indication of availability is a visual indication provided by the computing device. In some implementations, the program instructions are further executable to receive, by the first automated assistant, a request for a response that satisfies the user's request, and in response to receiving the request for the response that satisfies the user's request, provide, by the first automated assistant to the user, a response that satisfies the user's request.

[0023] In some additional or alternative implementations, a system may include a processor, a computer-readable memory, one or more computer-readable storage media, and program instructions collectively stored on the one or more computer-readable storage media. The program instructions may be executable at least in part on a computing device operated by a user to execute a first automated assistant in an inactive state, determine, while in the inactive state, by the first automated assistant that a second automated assistant has failed to satisfy a request of the user, provide an indication to the user that the first automated assistant is available to satisfy the user's request in response to determining that the second automated assistant has failed to satisfy the user's request, process, by the first automated assistant, cached audio data capturing the user's verbal utterance including the request that the second automated assistant failed to satisfy, or features of the cached audio data, to determine a response that satisfies the user's request, and provide, by the first automated assistant, to the user, the response that satisfies the user's request.

[0024] The above description is provided as a summary of some implementations of the present disclosure. Further descriptions of those and other implementations are provided in more detail below.

[0025] Various implementations may include a non-transitory computer-readable storage medium storing instructions executable by one or more processors (e.g., a central processing unit (CPU), a graphics processing unit (GPU), a digital signal processor (DSP), and / or a tensor processing unit (TPU)) to perform methods such as one or more of the methods described herein. Other implementations may include an automated assistant client device (e.g., a client device including at least an automated assistant interface for interfacing with a cloud-based automated assistant component) that includes a processor operable to execute stored instructions to perform methods such as one or more of the methods described herein. Still other implementations may include a system of one or more servers that includes one or more processors operable to execute stored instructions to perform methods such as one or more of the methods described herein. [Brief description of the drawings]

[0026] [Figure 1A] FIG. 1 illustrates an exemplary process flow demonstrating aspects of the present disclosure according to an implementation. [Figure 1B] FIG. 1 illustrates an exemplary process flow demonstrating aspects of the present disclosure according to an implementation. [Diagram 2] FIG. 1C is a block diagram of an example environment including various components of FIGS. 1A and 1B and in which implementations disclosed herein may be implemented. [Diagram 3] 1 is a flow diagram illustrating an example method for detecting and handling failures in an otherwise automated assistant. [Figure 4] 1 is a flow diagram illustrating an example method for detecting and handling failures in an otherwise automated assistant. [Diagram 5] 1 is a flow diagram illustrating an example method for detecting and handling failures in an otherwise automated assistant. [Figure 6]FIG. 1 illustrates an example architecture of a computing device. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0027] 1A and 1B illustrate an example process flow demonstrating various aspects of the disclosure. A client device 110 includes components depicted in FIG. 1A and encompassed in a box in FIG. 1A representing the client device 110. A machine learning engine 122A can receive audio data 101 corresponding to oral speech detected by one or more microphones of the client device 110 and / or other sensor data 102 corresponding to non-speech body movements (e.g., hand gestures and / or movements, body gestures and / or body movements, gaze, facial movements, mouth movements, etc.) detected by one or more non-microphone sensor components of the client device 110. The one or more non-microphone sensors may include a camera or other visual sensor, a proximity sensor, a pressure sensor, an accelerometer, a magnetometer, and / or other sensors. The machine learning engine 122A processes the audio data 101 and / or other sensor data 102 using a machine learning model 152A to generate a predicted output 103. As described herein, the machine learning engine 122A may be a hot word detection engine 122B or an alternative engine, such as a voice activity detector (VAD) engine, an endpoint detector engine, and / or other engines.

[0028] In some implementations, when the machine learning engine 122A generates the predicted output 103, the predicted output 103 may be stored in the client device's local on-device storage 111, optionally in association with the corresponding audio data 101 and / or other sensor data 102. In some versions of those implementations, the predicted output may be retrieved by the gradient engine 126 for later use in generating a set of gradients 106 (e.g., based on comparing the predicted output to ground truth outputs), such as when one or more conditions described herein are met. The on-device storage 111 may include, for example, read-only memory (ROM) and / or random access memory (RAM). In other embodiments, the predicted output 103 may be provided to the gradient engine 126 in real time.

[0029] Based on determining in block 182 whether the predicted output 103 meets a threshold, the client device 110 can use the assistant actuation engine 124 to make a decision as to whether to initiate a currently dormant automated assistant function (e.g., automated assistant 295 of FIG. 2), whether to refrain from initiating a currently dormant automated assistant function, and / or whether to stop a currently active automated assistant function. The automated assistant function may include speech recognition to generate recognized text, natural language understanding (NLU) to generate NLU output, generating a response based on the recognized text and / or NLU output, sending audio data to a remote server, and / or sending recognized text to a remote server. For example, assuming the predicted output 103 is a probability (e.g., 0.80 or 0.90) and the threshold in block 182 is a threshold probability (e.g., 0.85), if the client device 110 in block 182 determines that the predicted output 103 (e.g., 0.90) meets the threshold (e.g., 0.85), then the assistant actuation engine 124 may initiate functioning of a currently paused automated assistant.

[0030] 1B, the machine learning engine 122A can be a hot word detection engine 122B. In particular, various automated assistant functions, such as an on-device speech recognizer 142, an on-device NLU engine 144, and / or an on-device fulfillment engine 146, are currently paused (i.e., as indicated by the dashed lines). Further, assume that the predicted output 103 generated based on the audio data 101 using the hot word detection model 152B meets a threshold at block 182 and the voice activity detector 128 detects the user's speech directed at the client device 110.

[0031] In some versions of these implementations, the assistant actuation engine 124 activates the on-device speech recognizer 142, the on-device NLU engine 144, and / or the on-device fulfillment engine 146 as functions of the currently dormant automated assistant. For example, the on-device speech recognizer 142 can process the audio data 101 for a spoken utterance including the hotword "OK, assistant" and additional commands and / or phrases following the hotword "OK, assistant" using the on-device speech recognition model 142A to generate recognized text 143A, the on-device NLU engine 144 can process the recognized text 143A using the on-device NLU model 144A to generate NLU data 145A, the on-device fulfillment engine 146 can process the NLU data 145A using the on-device fulfillment model 146A to generate fulfillment data 147A, and the client device 110 can use the fulfillment data 147A to perform 150 one or more actions in response to the audio data 101.

[0032] In other versions of those implementations, the assistant actuation engine 124 does not actuate the on-device speech recognizer 142 and the on-device NLU engine 144, but only actuates the on-device fulfillment engine 146 to process various commands such as "No", "Stop", "Cancel", and / or other commands that can be processed without the on-device speech recognizer 142 and the on-device NLU engine 144. For example, the on-device fulfillment engine 146 processes the audio data 101 using the on-device fulfillment model 146A to generate fulfillment data 147A, and the client device 110 can use the fulfillment data 147A to perform one or more actions 150 in response to the audio data 101. Further, in versions of these implementations, the assistant activation engine 124 can first activate a currently dormant automated function to verify that the determination made in block 182 was correct (e.g., the audio data 101 truly contains the hotword "OK, assistant") by first activating only the on-device speech recognizer 142 to determine that the audio data 101 contains the hotword "OK, assistant"), and / or the assistant activation engine 124 can send the audio data 101 to one or more servers (e.g., remote server 160) to verify that the determination made in block 182 was correct (e.g., the audio data 101 truly contains the hotword "OK, assistant").

[0033] Returning to FIG. 1A , if the client device 110 determines in block 182 that the predicted output 103 (e.g., 0.80) fails to meet the threshold (e.g., 0.85), the assistant actuation engine 124 may refrain from initiating functioning of any currently dormant automated assistants and / or stop functioning of any currently active automated assistants. Further, if the client device 110 determines in block 182 that the predicted output 103 (e.g., 0.80) fails to meet the threshold (e.g., 0.85), the client device 110 may determine whether further user interface input is received in block 184. For example, the further user interface input may be an additional verbal utterance that includes the hot word, a body movement that does not include additional speech that acts as a substitute for the hot word, an actuation of an explicit automated assistant invocation button (e.g., a hardware or software button), a sensed “squeezing” of the client device 110 device (e.g., when squeezing the client device 110 with at least a threshold amount of force invokes an automated assistant), and / or other explicit invocation of an automated assistant. If the client device 110 determines that no further user interface input has been received in block 184 , the client device 110 may stop identifying corrections and end in block 190 .

[0034] However, if the client device 110 determines that there is further user interface input received in block 184, the system may determine in block 186 whether the further user interface input received in block 184 includes a correction (e.g., a user-intervened or user-provided correction) that contradicts the determination made in block 182. If the client device 110 determines in block 186 that the further user interface input received in block 184 does not include a correction, the client device 110 may stop identifying corrections and terminate in block 190. However, if the client device 110 determines in block 186 that the further user interface input received in block 184 includes a correction that contradicts the initial determination made in block 182, the client device 110 may determine the ground truth output 105.

[0035] In some implementations, the gradient engine 126 can generate the gradient 106 based on the predicted output 103 relative to the ground truth output 105. For example, the gradient engine 126 can generate the gradient 106 based on comparing the predicted output 103 to the ground truth output 105. In some versions of those implementations, the client device 110 stores the predicted output 103 and the corresponding ground truth output 105 in a local on-device storage 111, and the gradient engine 126 retrieves the predicted output 103 and the corresponding ground truth output 105 to generate the gradient 106 when one or more conditions are met. The one or more conditions may include, for example, the client device being charging, the client device being at least at a threshold state of charging, the temperature of the client device (based on one or more on-device temperature sensors) being below a threshold, and / or the client device being not being held by a user. In other versions of these implementations, the client device 110 provides the predicted outputs 103 and the ground truth outputs 105 in real time to the gradient engine 126, which generates the gradients 106 in real time.

[0036] Further, the gradient engine 126 can provide the generated gradients 106 to the on-device machine learning training engine 132A. When the on-device machine learning training engine 132A receives the gradients 106, it uses the gradients 106 to update the on-device machine learning model 152A. For example, the on-device machine learning training engine 132A can utilize backpropagation and / or other techniques to update the on-device machine learning model 152A. It is noted that in some implementations, the on-device machine learning training engine 132A can utilize batch techniques to update the on-device machine learning model 152A based on the gradients 106 and additional gradients determined locally on the client device 110 based on the additional corrections.

[0037] Additionally, the client device 110 can transmit the generated gradients 106 to the remote system 160. When the remote system 160 receives the gradients 106, the remote training engine 162 of the remote system 160 uses the gradients 106 and the additional gradients 107 from the additional client devices 170 to update the global weights of the global speech recognition model 152A1. The additional gradients 107 from the additional client devices 170 may each be generated based on the same or similar techniques as described above in connection with the gradients 106 (but based on locally identified corrections specific to those client devices).

[0038] The update delivery engine 164 can provide the updated global weights and / or the updated global speech recognition model itself to the client device 110 and / or other client devices, as indicated by 108, in response to satisfaction of one or more conditions. The one or more conditions can include, for example, a threshold duration and / or an amount of training since the updated weights and / or the updated speech recognition model were last provided. The one or more conditions can additionally or alternatively include, for example, a measured improvement to the updated speech recognition model and / or a threshold duration lapse since the updated weights and / or the updated speech recognition model were last provided. When the updated weights are provided to the client device 110, the client device 110 can replace the weights of the on-device machine learning model 152A with the updated weights. When the updated global speech recognition model is provided to the client device 110, the client device 110 can replace the on-device machine learning model 152A with the updated global speech recognition model.

[0039] In some implementations, the on-device machine learning model 152A is transmitted (e.g., by the remote system 160 or other component) for storage and use at the client device 110 based on the geographic region and / or other properties of the client device 110 and / or the user of the client device 110. For example, the on-device machine learning model 152A may be one of N available machine learning models for a given language, but trained based on corrections that are specific to a particular geographic region, and provided to the client device 110 based on the client device 110 being primarily within a particular geographic region.

[0040] Turning now to FIG. 2, a client device 110 is shown in an implementation in which the various on-device machine learning engines of FIG. 1A and FIG. 1B are included as part of (or communicate with) one or more automated assistant clients 240 (e.g., a first automated assistant, a second automated assistant, and a meta-assistant). Respective machine learning models that interface with the various on-device machine learning engines of FIG. 1A and FIG. 1B are also shown. Other components of FIG. 1A and FIG. 1B are not shown in FIG. 2 for simplicity. FIG. 2 shows an example of how the various on-device machine learning engines of FIG. 1A and FIG. 1B and their respective machine learning models can be utilized by the automated assistant client 240 in performing various actions.

[0041] The client device 110 of FIG. 2 is shown with one or more microphones 211, one or more speakers 212, one or more cameras and / or other visual components 213, and a display 214 (e.g., a touch-sensitive display). The client device 110 may further include pressure sensors, proximity sensors, accelerometers, magnetometers, and / or other sensors used to generate other sensor data in addition to the audio data captured by the one or more microphones 211. The client device 110 at least selectively executes an automated assistant client 240. The automated assistant client 240 includes, in the example of FIG. 2, an on-device hotword detection engine 122B, an on-device speech recognizer 142, an on-device natural language understanding (NLU) engine 144, and an on-device fulfillment engine 146. The automated assistant client 240 further includes an audio capture engine 242 and a visual capture engine 244. The automated assistant client 240 may include additional and / or alternative engines, such as a voice activity detector (VAD) engine, an endpoint detector engine, and / or other engines. In some implementations, one or more instances of the automated assistant client 240 may omit one or more of the elements illustrated in FIG.

[0042] One or more cloud-based automated assistant components 280 may optionally be implemented in one or more computing systems (collectively referred to as "cloud" computing systems) communicatively coupled to client device 110 via one or more local area and / or wide area networks (e.g., the Internet) shown generally at 290. Cloud-based automated assistant components 280 may be implemented, for example, by a cluster of high performance servers.

[0043] In various implementations, an instance of an automated assistant client 240, through its interaction with one or more cloud-based automated assistant components 280, may form what appears from a user's perspective to be a logical instance of an automated assistant 295 with which the user may engage in human-computer interaction (e.g., verbal interaction, gesture-based interaction, and / or touch-based interaction).

[0044] A client device 110 may be, for example, a desktop computing device, a laptop computing device, a tablet computing device, a mobile phone computing device, a computing device in a user's vehicle (e.g., an in-car communication system, an in-car entertainment system, an in-car navigation system), a standalone interactive speaker, a smart appliance such as a smart TV (or a regular TV with a network-connected dongle having automated assistant capabilities), and / or a user's wearable device that includes 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 devices may be provided.

[0045] The one or more vision components 213 may take various forms, such as a monographic camera, a stereographic camera, a LIDAR component (or other laser-based component), a radar component, etc. The one or more vision components 213 may be used by the vision capture engine 244, for example, to capture a vision frame (e.g., an image frame, a laser-based vision frame) of the environment in which the client device 110 is deployed. In some implementations, such a vision frame may be utilized to determine whether a user is near the client device 110 and / or the distance of the user (e.g., the user's face) relative to the client device. Such a determination may be utilized, for example, in determining whether to activate various on-device machine learning engines and / or other engines illustrated in FIG. 2.

[0046] The voice capture engine 242 may be configured to capture the user's speech and / or other audio data captured by the microphone 211. Additionally, the client device 110 may include pressure sensors, proximity sensors, accelerometers, magnetometers, and / or other sensors used to generate other sensor data in addition to the audio data captured by the microphone 211. As described herein, such audio and other sensor data may be utilized by the hotword detection engine 122B and / or other engines to determine whether to initiate one or more currently dormant automated assistant functions, whether to refrain from initiating one or more currently dormant automated assistant functions, and / or whether to stop one or more currently active automated assistant functions. The automated assistant functions may include an on-device speech recognizer 142, an on-device NLU engine 144, an on-device fulfillment engine 146, as well as additional and / or alternative engines. For example, the on-device speech recognizer 142 may utilize an on-device speech recognition model 142A to process audio data capturing an oral utterance to generate recognized text 143A corresponding to the oral utterance. The on-device NLU engine 144 may optionally utilize an on-device NLU model 144A to perform on-device natural language understanding on the recognized text 143A to generate NLU data 145A. The NLU data 145A may include, for example, an intent corresponding to the oral utterance and, optionally, parameters related to the intent (e.g., slot values). Additionally, the on-device fulfillment engine 146 may optionally utilize an on-device fulfillment model 146A to generate fulfillment data 147A based on the NLU data 145A.This fulfillment data 147A may define local and / or remote responses (e.g., answers) to the verbal utterance, interactions with locally installed applications to perform based on the verbal utterance, commands to send (directly or via a corresponding remote system) to Internet of Things (IoT) devices based on the verbal utterance, and / or other resolution actions to perform based on the verbal utterance. The fulfillment data 147A is then provided for local and / or remote fulfillment / execution of the determined actions to resolve the verbal utterance. Execution may include, for example, rendering a local and / or remote response (e.g., visually and / or audibly (optionally utilizing a local text-to-speech module)), interacting with locally installed applications, sending commands to IoT devices, and / or other actions.

[0047] Display 214 may be utilized to display recognized text 143A and / or further recognized text 143B from on-device speech recognizer 122 and / or one or more results from execution 150. Display 214 may also be one of the user interface output components on which visual portions of responses from automated assistant client 240 are rendered.

[0048] In some implementations, the cloud-based automated assistant components 280 may include a remote ASR engine 281 that performs speech recognition, a remote NLU engine 282 that performs natural language understanding, and / or a remote fulfillment engine 283 that generates fulfillment. A remote execution module that performs remote execution based on locally or remotely determined fulfillment data may also be optionally included. Additional and / or alternative remote engines may be included. As described herein, in various implementations, on-device speech processing, on-device NLU, on-device fulfillment, and / or on-device execution may be prioritized at least because of the reduced latency and / or network usage they offer when resolving verbal utterances (due to no client-server round trips being required to resolve verbal utterances). However, one or more cloud-based automated assistant components 280 may be utilized at least selectively. For example, such components may be utilized in parallel with on-device components, and output from such components may be utilized when local components fail. For example, the on-device fulfillment engine 146 may fail in certain circumstances (e.g., due to relatively limited resources of the client device 110), and the remote fulfillment engine 283 may utilize the more robust resources of the cloud to generate fulfillment data in such circumstances. The remote fulfillment engine 283 may be run in parallel with the on-device fulfillment engine 146, and its results may be utilized when the on-device fulfillment fails, or the remote fulfillment engine 283 may be invoked in response to a determination of failure of the on-device fulfillment engine 146.

[0049] In various implementations, the NLU engine (on-device and / or remote) can generate NLU data including one or more annotations of the recognized text and one or more (e.g., all) of the words of the natural language input. In some implementations, the NLU engine is configured to identify and annotate various types of grammatical information in the natural language input. For example, the NLU engine may include a morphology module that may split individual words into morphemes and / or annotate the morphemes, for example, with their classes. The NLU engine may also include a part-of-speech tagger configured to annotate words with their grammatical roles. Also, for example, in some implementations, the NLU engine may additionally and / or alternatively include a dependency parser configured to determine syntactic relationships between words in the natural language input.

[0050] In some implementations, the NLU engine may additionally and / or alternatively include an entity tagger configured to annotate entity mentions in one or more segments, such as references to people (including, e.g., literary characters, celebrities, notable people, etc.), organizations, places (real and fictional), etc. In some implementations, the NLU engine may additionally and / or alternatively include a coreference resolver (not shown) configured to group or "cluster" references to the same entity based on one or more contextual cues. In some implementations, one or more components of the NLU engine may rely on annotations from one or more other components of the NLU engine.

[0051] The NLU engine may further include an intent matcher configured to determine the intent of a user engaging in an interaction with the automated assistant 295. The intent matcher may use various techniques to determine the intent of the user. In some implementations, the intent matcher may be able to access one or more local and / or remote data structures that include, for example, multiple mappings between grammars and response intents. For example, the grammars included in the mappings may be selected and / or learned over time and may represent common intents of users. For example, one grammar "play <artist>"but, <artist>The grammar "play" may be mapped to an intent that invokes a response action to play music by " on the client device 110 by using the grammar "weather | forecast". Another grammar "[weather | forecast] today" may be able to match user queries such as "what's the weather today" and "what's the forecast for today?" In addition to or instead of a grammar, in some implementations the intent matcher may use one or more trained machine learning models, either alone or in combination with one or more grammars. These trained machine learning models may be trained to identify intents, for example, by embedding recognized text from a spoken utterance into a space of reduced dimensionality and then determining which other embeddings (and therefore intents) are closest, using techniques such as Euclidean distance, cosine similarity, etc. <artist>As can be seen in the example grammar for ", some grammars include slots (e.g., <artist>) The slot values ​​may be determined in a variety of ways. In many cases, the user proactively provides the slot values. For example, the grammar "Order me <topping>For "order me a sausage pizza," the user may be more likely to say the phrase "order me a sausage pizza," in which case the slot <topping>are filled automatically. Other slot values ​​may be inferred based on, for example, the user's location, the currently rendered content, the user's preferences, and / or other clues.

[0052] A fulfillment engine (local and / or remote) may be configured to receive the predicted / inferred intent and any associated slot values ​​output by the NLU engine and fulfill (or "resolve") the intent. In various implementations, fulfillment (or "resolution") of the user's intent may cause various fulfillment information (also referred to as fulfillment data) to be generated / obtained, for example, by the fulfillment engine. This may include determining local and / or remote responses (e.g., answers) to the verbal utterance, interactions with locally installed applications to perform based on the verbal utterance, commands to send to Internet of Things (IoT) devices (directly or via a corresponding remote system) based on the verbal utterance, and / or other resolution actions to perform based on the verbal utterance. On-device fulfillment may then initiate local and / or remote fulfillment / execution of the determined actions to resolve the verbal utterance.

[0053] 3 shows a flow diagram illustrating an example method 300 for detecting and handling failures in an automated assistant. For convenience, the operations of method 300 are described with reference to a system that performs the operations. This system of method 300 includes one or more processors and / or other components of a client device. Moreover, although the operations of method 300 are shown in a particular order, this is not intended to be limiting. One or more operations may be reordered, omitted, or added.

[0054] At block 310, the system executes an inactive first automated assistant at least partially on a computing device (eg, a client device) operated by a user.

[0055] In block 320, while in the inactive state, the first automated assistant determines whether the second automated assistant failed to satisfy the user's request. In some implementations, the failure of the second automated assistant to satisfy the user's request detected in block 320 may include a response by the second automated assistant indicating that the user's request cannot be satisfied (e.g., "I'm sorry," "I can't do that," etc.). In other implementations, the failure detected in block 320 may include a response in which the first automated assistant determines that a suboptimal, inaccurate, or incomplete result was provided by the second automated assistant in response to the user's request. In some implementations, the second automated assistant may be running on the client device in parallel with the first automated assistant. In other implementations, the second automated assistant may be running on another client device that is near (e.g., in the same room) the client device on which the first automated assistant is running.

[0056] If, in an iteration of block 320, the first automated assistant determines that the second automated assistant did not fail to satisfy the user's request, the system proceeds to block 330 and the flow ends. On the other hand, if, in an iteration of block 320, the first automated assistant determines that the second automated assistant failed to satisfy the user's request, the system proceeds to block 340.

[0057] Continuing to refer to block 320, in some implementations, in determining whether the second automated assistant failed to fulfill the user's request, the first automated assistant receives audio data capturing the initial response and then uses speaker identification on the audio data capturing the initial response to determine whether the initial response was provided by the second automated assistant (e.g., the initial response was spoken in a voice known to be associated with the second automated assistant). If the first automated assistant determines that the initial response was not provided by the second automated assistant, the system proceeds to block 330 and the flow ends. On the other hand, if the first automated assistant determines that the initial response was provided by the second automated assistant, the first automated assistant determines whether the initial response indicates a failure of the second automated assistant to fulfill the user's request.

[0058] In some implementations, the first automated assistant processes audio data capturing the first response using a hotword detection model to determine whether the first response satisfies the user's request (e.g., by detecting failure hotwords such as "I'm sorry" or "I can't do that"). In other implementations, the first automated assistant processes audio data capturing the first response using automatic speech recognition to generate text, and then processes the text using natural language processing techniques to determine whether the first response satisfies the user's request. In some implementations, natural language processing techniques are used to identify suboptimal, inaccurate, or incomplete results, and based on identifying the suboptimal, inaccurate, or incomplete results, the first automated assistant may determine that the first response fails to satisfy the user's request.

[0059] In response to determining that the second automated assistant failed to satisfy the user's request at block 340, the first automated assistant processes cached audio data capturing the user's verbal utterance including the request that the second automated assistant failed to satisfy, and / or processes features derived from the audio data (e.g., ASR transcription) to determine a response that satisfies the user's request. In some implementations, if at block 340 the first automated assistant is unable to determine a response that satisfies the user's request, the system proceeds to block 330 and the flow ends. In some implementations, the cached audio data further captures the initial response provided to the user by the second automated assistant.

[0060] In some implementations, the second automated assistant runs on the same computing device as the first automated assistant, and the cached audio data and / or features derived from the audio data (e.g., ASR transcription) are received by the first automated assistant via a meta-assistant running on the computing device. In other implementations, the second automated assistant runs on a separate computing device, and the cached audio data is received by the first automated assistant via one or more microphones of the computing device. In other implementations, the second automated assistant runs on a separate computing device, and the first automated assistant receives the cached audio data and / or features derived from the audio data (e.g., ASR transcription) via an application programming interface (API).

[0061] In block 350, the first automated assistant provides the user with a response that satisfies the user's request (determined in block 340). In some implementations, the first automated assistant causes the response that satisfies the user's request to be provided on the computing device on which the first automated assistant is running (e.g., via a speaker or by displaying the response on a display of the computing device). In other implementations, the first automated assistant causes the response that satisfies the user's request to be provided on another computing device (e.g., via a speaker or display).

[0062] 4 shows a flow diagram illustrating an example method 400 for detecting and handling failures in an automated assistant. For convenience, the operations of method 400 are described with reference to a system that performs the operations. This system of method 400 includes one or more processors and / or other components of a client device. Moreover, although the operations of method 400 are shown in a particular order, this is not intended to be limiting. One or more operations may be reordered, omitted, or added.

[0063] At block 410, the system executes an inactive first automated assistant at least partially on a computing device (eg, a client device) operated by a user.

[0064] In block 420, while in the inactive state, the first automated assistant determines whether the second automated assistant failed to satisfy the user's request. In some implementations, the failure of the second automated assistant to satisfy the user's request detected in block 420 may include a response by the second automated assistant indicating that the user's request cannot be satisfied (e.g., "I'm sorry," "I can't do that," etc.). In other implementations, the failure detected in block 420 may include a response in which the first automated assistant determines that a suboptimal, inaccurate, or incomplete result was provided by the second automated assistant in response to the user's request. In some implementations, the second automated assistant may be running on the client device in parallel with the first automated assistant. In other implementations, the second automated assistant may be running on another client device that is near (e.g., in the same room) the client device on which the first automated assistant is running.

[0065] If, in an iteration of block 420, the first automated assistant determines that the second automated assistant did not fail to satisfy the user's request, the system proceeds to block 430 and the flow ends. On the other hand, if, in an iteration of block 420, the first automated assistant determines that the second automated assistant failed to satisfy the user's request, the system proceeds to block 440.

[0066] Continuing to refer to block 420, in some implementations, in determining whether the second automated assistant failed to fulfill the user's request, the first automated assistant receives audio data capturing an initial response and then uses speaker identification on the audio data capturing the initial response to determine whether the initial response was provided by the second automated assistant. If the first automated assistant determines that the initial response was not provided by the second automated assistant, the system proceeds to block 430 and the flow ends. On the other hand, if the first automated assistant determines that the initial response was provided by the second automated assistant, the first automated assistant determines whether the initial response indicates a failure of the second automated assistant to fulfill the user's request.

[0067] In some implementations, the first automated assistant processes the audio data capturing the first response using a hotword detection model to determine whether the first response satisfies the user's request (e.g., by detecting failure hotwords such as "I'm sorry" or "I can't do that"). In other implementations, the first automated assistant processes the audio data capturing the first response using automatic speech recognition to generate text, and then processes the text using natural language processing techniques to determine whether the first response satisfies the user's request.

[0068] In response to determining that the second automated assistant failed to satisfy the user's request at block 440, the first automated assistant processes cached audio data capturing the user's verbal utterance including the request that the second automated assistant failed to satisfy, and / or processes features derived from the audio data (e.g., ASR transcription) to determine a response that satisfies the user's request. In some implementations, if at block 440 the first automated assistant is unable to determine a response that satisfies the user's request, the system proceeds to block 430 and the flow ends. In some implementations, the cached audio data further captures the initial response provided to the user by the second automated assistant.

[0069] In some implementations, the second automated assistant runs on the same computing device as the first automated assistant, and the cached audio data and / or features derived from the audio data (e.g., ASR transcription) are received by the first automated assistant via a meta-assistant running on the computing device. In other implementations, the second automated assistant runs on a separate computing device, and the cached audio data is received by the first automated assistant via one or more microphones of the computing device. In other implementations, the second automated assistant runs on a separate computing device, and the first automated assistant receives the cached audio data and / or features derived from the audio data (e.g., ASR transcription) via an application programming interface (API).

[0070] At block 450, the first automated assistant provides the user with an indication of availability of a response that satisfies the user's request. In some implementations, the indication of availability is a visual indication (e.g., an indication on a display or light) and / or an audio indication (e.g., a chime) provided by the computing device on which the first automated assistant is running.

[0071] In block 460, the first automated assistant determines whether a request for a response that satisfies the user's request is received (e.g., from a user). If, in an iteration of block 460, the first automated assistant determines that a request for a response that satisfies the user's request has not been received, the system proceeds to block 430 and the flow ends. On the other hand, if, in an iteration of block 460, the first automated assistant determines that a request for a response that satisfies the user's request has been received, the system proceeds to block 470.

[0072] In response to receiving the request for a response that satisfies the user's request at block 470, the first automated assistant provides a response that satisfies the user's request (determined at block 440). In some implementations, the first automated assistant causes the response that satisfies the user's request to be provided on the computing device on which the first automated assistant is running (e.g., via a speaker or by displaying the response on a display of the computing device). In other implementations, the first automated assistant causes the response that satisfies the user's request to be provided on another computing device (e.g., via a speaker or display).

[0073] 5 shows a flow diagram illustrating an example method 500 for detecting and handling failures in an automated assistant. For convenience, the operations of method 500 are described with reference to a system that performs the operations. This system of method 500 includes one or more processors and / or other components of a client device. Moreover, although the operations of method 500 are shown in a particular order, this is not intended to be limiting. One or more operations may be reordered, omitted, or added.

[0074] At block 510, the system executes an inactive first automated assistant at least partially on a computing device (eg, a client device) operated by a user.

[0075] In block 520, while in the inactive state, the first automated assistant determines whether the second automated assistant failed to satisfy the user's request. In some implementations, the failure of the second automated assistant to satisfy the user's request detected in block 520 may include a response by the second automated assistant indicating that the user's request cannot be satisfied (e.g., "I'm sorry," "I can't do that," etc.). In other implementations, the failure detected in block 520 may include a response in which the first automated assistant determines that a suboptimal, inaccurate, or incomplete result was provided by the second automated assistant in response to the user's request. In some implementations, the second automated assistant may be running on the client device in parallel with the first automated assistant. In other implementations, the second automated assistant may be running on another client device that is near (e.g., in the same room) the client device on which the first automated assistant is running.

[0076] If, in an iteration of block 520, the first automated assistant determines that the second automated assistant did not fail to satisfy the user's request, the system proceeds to block 530 and the flow ends. On the other hand, if, in an iteration of block 520, the first automated assistant determines that the second automated assistant failed to satisfy the user's request, the system proceeds to block 540.

[0077] Continuing to refer to block 520, in some implementations, in determining whether the second automated assistant failed to fulfill the user's request, the first automated assistant receives audio data capturing an initial response and then uses speaker identification on the audio data capturing the initial response to determine whether the initial response was provided by the second automated assistant. If the first automated assistant determines that the initial response was not provided by the second automated assistant, the system proceeds to block 530 and the flow ends. On the other hand, if the first automated assistant determines that the initial response was provided by the second automated assistant, the first automated assistant determines whether the initial response indicates a failure of the second automated assistant to fulfill the user's request.

[0078] In some implementations, the first automated assistant processes the audio data capturing the first response using a hotword detection model to determine whether the first response satisfies the user's request (e.g., by detecting failure hotwords such as "I'm sorry" or "I can't do that"). In other implementations, the first automated assistant processes the audio data capturing the first response using automatic speech recognition to generate text, and then processes the text using natural language processing techniques to determine whether the first response satisfies the user's request.

[0079] In response to determining that the second automated assistant failed to fulfill the user's request, the first automated assistant provides an indication to the user that the first automated assistant is available to fulfill the user's request, at block 540. In some implementations, the indication is a visual indication (e.g., an indication on a display or light) and / or an audio indication (e.g., a chime) provided by the computing device on which the first automated assistant is executing.

[0080] In block 550, the first automated assistant determines whether instructions to fulfill the request are received from the user. If, in an iteration of block 550, the first automated assistant determines that instructions to fulfill the request have not been received from the user, the system proceeds to block 530 and the flow ends. On the other hand, if, in an iteration of block 550, the first automated assistant determines that instructions to fulfill the request have been received from the user, the system proceeds to block 560.

[0081] In response to receiving an instruction from the user to fulfill the request at block 560, the first automated assistant processes cached audio data capturing the user's verbal utterances including the request that the second automated assistant failed to fulfill and / or processes features derived from the audio data (e.g., ASR transcriptions) to determine a response that fulfills the user's request. In some implementations, the cached audio data that is processed further captures the initial response provided to the user by the second automated assistant.

[0082] In some implementations, the second automated assistant runs on the same computing device as the first automated assistant, and the cached audio data and / or features derived from the audio data (e.g., ASR transcription) are received by the first automated assistant via a meta-assistant running on the computing device. In other implementations, the second automated assistant runs on a separate computing device, and the cached audio data is received by the first automated assistant via one or more microphones of the computing device. In other implementations, the second automated assistant runs on a separate computing device, and the first automated assistant receives the cached audio data and / or features derived from the audio data (e.g., ASR transcription) via an application programming interface (API).

[0083] At block 570, the first automated assistant provides the user with a response that satisfies the user's request (determined at block 560). In some implementations, the first automated assistant causes the response that satisfies the user's request to be provided on the computing device on which the first automated assistant is running (e.g., via a speaker or by displaying the response on a display of the computing device). In other implementations, the first automated assistant causes the response that satisfies the user's request to be provided on another computing device (e.g., via a speaker or display).

[0084] 6 is a block diagram of an example computing device 610 that may optionally be utilized to perform one or more aspects of the techniques described herein. In some implementations, one or more of the client devices, cloud-based automated assistant components, and / or other components may include one or more components of the example computing device 610.

[0085] Generally, the computing device 610 includes at least one processor 614 that communicates with a number of peripheral devices via a bus subsystem 612. These peripheral devices may include, for example, a storage subsystem 624 including a memory subsystem 625 and a file storage subsystem 626, user interface output devices 620, user interface input devices 622, and a network interface subsystem 616. The input and output devices enable user interaction with the computing device 610. The network interface subsystem 616 provides an interface to an external network and is coupled to corresponding interface devices of other computing devices.

[0086] The user interface input devices 622 may include a keyboard, a pointing device such as a mouse, a trackball, a touchpad, or a graphics tablet, a scanner, a touch screen integrated into a display, a voice input device such as a voice recognition system, a microphone, and / or other types of input devices. In general, use of the term "input device" is intended to include all possible types of devices and methods for inputting information into the computing device 610 or a communications network.

[0087] The user interface output devices 620 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 flat panel device such as a cathode ray tube (CRT), a liquid crystal display (LCD), a projection device, or some other mechanism for generating a visible image. The display subsystem may also provide a non-visual display, such as through an audio output device. In general, use of the term "output device" is intended to include all possible types of devices and ways of outputting information from the computing device 610 to a user or to another machine or computing device.

[0088] Storage subsystem 624 stores programming and data structures that provide the functionality of some or all of the modules described herein. For example, storage subsystem 624 may include logic for performing selected aspects of the methods disclosed herein and for implementing the various components illustrated in Figures 1A and 1B.

[0089] These software modules are generally executed by the processor 614 alone or in combination with other processors. The memory subsystem 625 included in the storage subsystem 624 may include several memories including a main random access memory (RAM) 630 for storing instructions and data during execution of the program, and a read-only memory (ROM) 632 in which certain instructions are stored. The file storage subsystem 626 may provide persistent storage for program and data files and may include a hard disk drive, a floppy disk drive with associated removable media, a CD-ROM drive, an optical drive, or a removable media cartridge. Modules implementing the functionality of a particular implementation may be stored by the file storage subsystem 626 in the storage subsystem 624 or other machines that may be accessed by the processor 614.

[0090] The bus subsystem 612 provides a mechanism for allowing the various components and subsystems of the computing device 610 to communicate with each other as intended. Although the bus subsystem 612 is shown diagrammatically as a single bus, alternative implementations of the bus subsystem may use multiple buses.

[0091] The computing device 610 can 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, the description of the computing device 610 shown in Figure 6 is intended only as a specific example intended to illustrate some implementations. Many other configurations of the computing device 610 having more or fewer components than the computing device shown in Figure 6 are possible.

[0092] In situations where the systems described herein may collect or otherwise monitor personal information about a user or utilize personal information and / or monitored information, the user may be given the opportunity to control whether a program or feature collects user information (e.g., information about the user's social network, social actions or activities, occupation, user preferences, or the user's current geographic location) or whether and / or how content that may be more relevant to the user should be received from a content server. Also, certain data may be processed in one or more ways before being stored or used, such that personally identifiable information is removed. For example, the user's identity may be processed such that personally identifiable information cannot be determined about the user, or if geographic location information is obtained, the user's geographic location may be generalized (such as to the level of a city, zip code, or state) and thus the user's specific geographic location cannot be determined. Thus, the user may be able to control how information is collected and / or used about the user.

[0093] Although several implementations have been described and illustrated herein, various other means and / or structures for performing the functions and / or obtaining one or more of the results and / or advantages described herein may be utilized, and each such change and / or modification is deemed to be within the scope of the implementations described herein. More broadly, all parameters, dimensions, materials, and configurations described herein are intended to be exemplary, and the actual parameters, dimensions, materials, and / or configurations will depend on the particular application or applications in which the teachings are used. Those skilled in the art will recognize or be able to ascertain using no more than routine experimentation many equivalents to the specific implementations described herein. Thus, the implementations described above are presented merely as examples, and it will be understood that within the scope of the appended claims and their equivalents, implementations may be practiced otherwise than as specifically described and claimed. Implementations of the present disclosure are directed to each individual feature, system, article, material, kit, and / or method described herein. Furthermore, any combination of two or more such features, systems, articles, materials, kits, and / or methods is within the scope of the disclosure, if such features, systems, articles, materials, kits, and / or methods are not mutually inconsistent. [Explanation of symbols]

[0094] 101 Audio Data 102 Other sensor data 103 Predicted Output 105 Ground Truth Output 106 Gradient 107 Additional Slope 110 Client Devices 111 On-device storage 122A Machine Learning Engine 122B Hotword Detection Engine 124 Assistant Engine 126 Gradient Engine 128 Voice Activity Detector 132A On-device Machine Learning Training Engine 142 On-device speech recognizer 142A On-device voice recognition model 143A Recognized Text 143B More recognized text 144 On-device NLU engine 144A On-device NLU model 145A NLU Data 146 On-Device Fulfillment Engine 146A On-Device Fulfillment Model 147A Performance Data 150 Run 152A Machine Learning Model 152A1 Global speech recognition model 152B Hotword Detection Model 160 Remote Server, Remote System 162 Remote Training Engine 164 Update Distribution Engine 170 additional client devices 211 Microphone 212 Speaker 213 Visual Components 214 Display 240 Automated Assistant Clients 242 Audio Capture Engine 244 Visual Capture Engine 280 Cloud-Based Automated Assistant Components 281 Remote ASR Engine 282 Remote NLU Engine 283 Remote Fulfillment Engine 295 Automated Assistants 300 ways 400 ways 500 ways 610 Computing Devices 612 Bus Subsystem 614 processor 616 Network Interface Subsystem 620 User Interface Output Device 622 User Interface Input Devices 624 Storage Subsystem 625 Memory Subsystem 626 File Storage Subsystem 630 RAM 632 ROM< / topping> < / topping> < / artist> < / artist> < / artist> < / artist>

Claims

1. 1. A method implemented by one or more processors, comprising: executing, at least in part, a first automated assistant in an inactive state on a computing device operated by a user; determining, by the first automated assistant while in the inactive state, that a second automated assistant has failed to satisfy the user's request; In response to determining that the second automated assistant failed to satisfy the request of the user, the first automated assistant processes cached audio data capturing the user's verbal utterances including the request that the second automated assistant failed to satisfy, or features of the cached audio data, to determine a response that satisfies the request of the user; and providing, by the first automated assistant, to the user, the response that satisfies the request of the user.

2. determining that the second automated assistant has failed to satisfy the request of the user, receiving audio data capturing an initial response; and determining that the initial response is provided by the second automated assistant using speaker identification on the audio data capturing the initial response.

3. 3. The method of claim 2, wherein determining that the second automated assistant has failed to satisfy the request of the user further comprises processing the audio data capturing the first response using a hotword detection model to determine that the first response does not satisfy the request of the user.

4. The step of determining that the second automated assistant failed to satisfy the request of the user further comprises: processing the audio data capturing the initial response using automatic speech recognition to generate text; and processing the text using natural language processing techniques to determine that the initial response does not satisfy the request of the user.

5. 5. The method of claim 1, wherein the cached audio data further captures an initial response provided to the user by the second automated assistant.

6. the second automated assistant executing on the computing device; 6. The method of claim 1, wherein the cached audio data is received by the first automated assistant via a meta-assistant running on the computing device.

7. the second automated assistant running on another computing device; 7. The method of claim 1, wherein the cached audio data is received by the first automated assistant via one or more microphones of the computing device.

8. 8. The method of claim 1, wherein the first automated assistant causes the response that satisfies the request of the user to be provided on another computing device.

9. 9. The method of claim 1, wherein the first automated assistant causes the response that satisfies the request of the user to be displayed on a display of the computing device.

10. 1. A method implemented by one or more processors, comprising: executing, at least in part, a first automated assistant in an inactive state on a computing device operated by a user; determining, by the first automated assistant while in the inactive state, that a second automated assistant has failed to satisfy the user's request; In response to determining that the second automated assistant failed to satisfy the request of the user, processing, by the first automated assistant, cached audio data capturing the verbal utterance of the user including the request that the second automated assistant failed to satisfy, or features of the cached audio data, to determine a response that satisfies the request of the user; and providing to the user by the first automated assistant an indication of availability of the response that satisfies the request of the user.

11. determining that the second automated assistant has failed to satisfy the request of the user, receiving audio data capturing an initial response; determining that the initial response is provided by the second automated assistant using speaker identification on the audio data capturing the initial response; 11. The method of claim 10, further comprising: processing the audio data capturing the initial response using a hotword detection model to determine that the initial response does not satisfy the request of the user.

12. 12. The method of claim 10 or claim 11, wherein the cached audio data further captures an initial response provided to the user by the second automated assistant.

13. the second automated assistant executing on the computing device; 13. The method of claim 10, wherein the cached audio data is received by the first automated assistant via a meta-assistant running on the computing device.

14. the second automated assistant running on another computing device; 14. The method of claim 10, wherein the cached audio data is received by the first automated assistant via one or more microphones of the computing device.

15. 15. The method of any one of claims 10 to 14, wherein the indication of availability is a visual indication provided by the computing device.

16. The program instructions are: receiving, by the first automated assistant, a request for the response that satisfies the request of the user; 16. The computer program product of claim 15, further executable in response to receiving the request for the response that satisfies the request of the user, by the first automated assistant to provide to the user the response that satisfies the request of the user.

17. 1. A method implemented by one or more processors, comprising: executing, at least in part, a first automated assistant in an inactive state on a computing device operated by a user; determining, by the first automated assistant while in the inactive state, that a second automated assistant has failed to satisfy the user's request; in response to determining that the second automated assistant failed to fulfill the request of the user, providing an indication to the user that the first automated assistant is available to fulfill the request of the user; In response to receiving an instruction from the user to satisfy the request, processing, by the first automated assistant, cached audio data capturing the user's verbal utterances including the request that the second automated assistant failed to satisfy, or features of the cached audio data, to determine a response that satisfies the request of the user; and providing, by the first automated assistant, to the user, the response that satisfies the request of the user.

18. determining that the second automated assistant has failed to satisfy the request of the user, receiving audio data capturing an initial response; determining that the initial response is provided by the second automated assistant using speaker identification on the audio data capturing the initial response; 20. The method of claim 17, further comprising: processing the audio data capturing the initial response using a hotword detection model to determine that the initial response does not satisfy the request of the user.

19. the second automated assistant executing on the computing device; 19. The method of claim 17 or claim 18, wherein the cached audio data is received by the first automated assistant via a meta-assistant running on the computing device.

20. the second automated assistant running on another computing device; 20. The method of any one of claims 17 to 19, wherein the cached audio data is received by the first automated assistant via one or more microphones of the computing device.

21. A computer program product comprising instructions which, when executed by one or more processors, cause the one or more processors to perform the method of any one of claims 1 to 20.

22. A computer-readable storage medium comprising instructions that, when executed by one or more processors, cause the one or more processors to perform the method of any one of claims 1 to 20.

23. A client device comprising one or more processors for carrying out the method of any one of claims 1 to 20.

24. 21. A system comprising a processor, a computer readable memory, one or more computer readable storage media, and program instructions collectively stored on the one or more computer readable storage media, the program instructions being executable to perform the method of any one of claims 1 to 20.

Citation Information

Patent Citations

  • Apparatus and program and the like

    JP2019124855A

  • Keyword extracting program, keyword extracting method and keyword extracting apparatus

    JP2020067790A

  • Agent device, control method of agent device, and program

    JP2020154082A

  • Method, apparatus, and computer-readable medium for propagating cropped images over a web socket connection in a networked collaboration workspace

    US20190065010A1

  • Information processing device, information processing method, and information processing system

    WO2020003730A1