# US 2022/0293125 A1 · Multiple state digital assistant for continuous dialog

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0293125 A1
- Document ID: US20220293125A1
- Status: Published application
- Kind: A1
- Application number: 17/330,862
- Filed: 2021-05-26
- Published: 2022-09-15
- Earliest claimed: 2021-03-11
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Sreeneel MADDIKA; Ahmed Serag El Din HUSSEN ABDELAZIZ; Chaitanya MANNEMALA; Srikanth VISHNUBHOTLA; Garrett L. WEINBERG
- Web page: https://patentgrep.com/patent/US20220293125A1

## CPC

- G06F 3/167: {Audio in a user interface, e.g. using voice commands for navigating, audio feedback}
- G10L 25/78: Detection of presence or absence of voice signals (switching of direction of transmission by voice frequency in two-way loud-speaking telephone systems H04M9/10)
- G06V 40/171: {Local features and components; Facial parts (eye characteristics G06V40/18); Occluding parts, e.g. glasses; Geometrical relationships}
- G06V 40/20: Movements or behaviour, e.g. gesture recognition (recognition of facial expressions G06V40/16)
- G10L 15/18: using natural language modelling
- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L 21/0208: Noise filtering
- G10L 25/51: for comparison or discrimination
- G10L 15/222: {Barge in, i.e. overridable guidance for interrupting prompts}
- G10L 2021/02082: {the noise being echo, reverberation of the speech}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06V: IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING

## Abstract

Systems and processes for operating an intelligent automated assistant are provided. For example, a first speech input is received from a user. In response to receiving the first speech input, a response is provided. A first output is provided corresponding to a digital assistant in a first state, and a second speech input is received from the user. A first plurality of values is obtained. Based on the first plurality of values, a first confidence level corresponding to the second speech input is obtained. In accordance with a determination that the first confidence level exceeds a first threshold confidence level, a second output is provided corresponding to the digital assistant in a second state. The second speech input continues to be received.

## Claims

### Claim 1

An electronic device, comprising:
one or more processors;
a memory; and
one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including instructions for:
receiving, from a user, a first speech input;
in response to receiving the first speech input, providing a response based on the first speech input; and
providing a first output corresponding to a digital assistant in a first state;
receiving, from the user, a second speech input;
obtaining a first plurality of values;
obtaining, based on the first plurality of values, a first confidence level corresponding to the second speech input;
in accordance with a determination that the first confidence level exceeds a first threshold confidence level:
providing a second output corresponding to the digital assistant in a second state; and
continuing to receive the second speech input.

### Claim 2 (depends on 1)

The device of claim 1, the one or more programs further comprising instructions for:
in accordance with a determination that the electronic device is configured for echo cancellation:
initiating the obtaining of the first plurality of values in response to a detected end of the first speech input; and
in accordance with a determination that the electronic device is not configured for echo cancellation:
initiating the obtaining of the first plurality of values in response to a detected end of the provided response.

### Claim 3 (depends on 1)

The device of claim 1, the one or more programs further comprising instructions for:
in accordance with a determination that the second speech input is associated with a minimum threshold duration:
determining, for each value of the first plurality of values, whether a respective value satisfies at least one rule; and
in accordance with a determination that a respective value satisfies at least one rule, increasing the first confidence level.

### Claim 4 (depends on 1)

The device of claim 1, wherein obtaining a first plurality of values comprises:
detecting a user gaze directed at a display of the electronic device;
determining whether the user gaze is directed at a displayed digital assistant object; and
obtaining a respective value of the first plurality values based on the determination whether the user gaze is directed at the displayed digital assistant object.

### Claim 5 (depends on 1)

The device of claim 1, wherein obtaining a first plurality of values comprises:
detecting a lip movement associated with the user;
determining whether the lip movement corresponds to the first speech input; and
obtaining a respective value of the first plurality values based on the determination.

### Claim 6 (depends on 1)

The device of claim 1, wherein obtaining a first plurality of values comprises:
detecting a direction associated with a user gaze; and
obtaining a respective value of the first plurality values based on the determined direction.

### Claim 7 (depends on 1)

The device of claim 1, wherein obtaining a first plurality of values comprises:
detecting positional information associated with the electronic device; and
obtaining a respective value of the first plurality values based on the positional information.

### Claim 8 (depends on 1)

The device of claim 1, wherein obtaining a first plurality of values comprises:
determining whether speech is detected at the electronic device; and
obtaining a respective value of the first plurality values based on the determination that speech is detected at the electronic device.

### Claim 9 (depends on 1)

The device of claim 1, the one or more programs further comprising instructions for:
in accordance with a determination that the first confidence level exceeds a first threshold confidence level:
obtaining a second plurality of values;
obtaining, based on the first plurality of values and the second plurality of values, a second confidence level corresponding to the second speech input;
in accordance with a determination that the second confidence level exceeds a second threshold confidence level:
continuing to receive the second speech input; and
in accordance with a determination that the second confidence level does not exceed a second threshold confidence level:
ceasing to receive the second speech input.

### Claim 10 (depends on 9)

The device of claim 9, wherein obtaining a second plurality of values comprises:
identifying a user intent associated with a predetermined duration of the second speech input;
determining, based on the user intent, whether the second speech input is directed to a digital assistant; and
obtaining a respective value of the second plurality values based on the determination whether the second speech input is directed to a digital assistant.

### Claim 11 (depends on 9)

The device of claim 9, wherein obtaining a second plurality of values comprises:
retrieving a first speaker profile associated with the first speech input;
obtaining a second speaker profile associated with the second speech input;
comparing the first speaker profile to the second speaker profile; and
obtaining a respective value of the second plurality values based on the comparison.

### Claim 12 (depends on 9)

The device of claim 9, wherein obtaining a second plurality of values comprises:
obtaining, based on a speech recognition output, a lattice embedding;
determining a user intent based on the lattice embedding; and
obtaining a respective value of the second plurality values based on the user intent.

### Claim 13 (depends on 9)

The device of claim 9, wherein obtaining a second plurality of values comprises:
identifying a result candidate based on the second speech input;
in response to identifying the result candidate:
obtaining an updated first plurality of values and an updated second plurality of values; and
obtaining, based on the updated first plurality of values and the updated second plurality of values, an updated second confidence level corresponding to the second speech input.

### Claim 14 (depends on 1)

The device of claim 1, wherein providing a first output corresponding to a digital assistant in a first state comprises displaying a digital assistant object in a first state, the one or more programs further comprising instructions for:
in accordance with a determination that the first confidence level does not exceed the first threshold confidence level:
maintaining display of the digital assistant object in the first state;
obtaining a second plurality of values associated with a predetermined duration of the second speech input; and
obtaining, based on the first plurality of values and the second plurality of values, a second confidence level corresponding to the second speech input.

### Claim 15 (depends on 14)

The device of claim 14, the one or more programs further comprising instructions for:
in accordance with a determination that the second confidence level exceeds a second threshold confidence level:
displaying the digital assistant object in a second state; and
while displaying the digital assistant object in the second state, continuing to receive the second speech input.

### Claim 16 (depends on 14)

The device of claim 14, the one or more programs further comprising instructions for:
displaying an affordance, wherein the affordance is associated with contextual information; and
in accordance with a determination that the second speech input is associated with the contextual information, increasing the second confidence level.

### Claim 17 (depends on 16)

The device of claim 16, wherein the contextual information includes a first semantic representation, the one or more programs further comprising instructions for:
obtaining a second semantic representation associated with the second speech input; and
in accordance with a determination that the first semantic representation corresponds to the second semantic representation, increasing the second confidence level.

### Claim 18 (depends on 16)

The device of claim 16, wherein the contextual information includes at least one predefined word, the one or more programs further comprising instructions for:
identifying at least one word included in the second speech input; and
in accordance with a determination that the at least one predefined word corresponds to the at least one identified word, increasing the second confidence level.

### Claim 19 (depends on 1)

The device of claim 1, wherein providing a first output corresponding to a digital assistant in a first state comprises at least one of displaying a digital assistant object in a first state and providing an audible output.

### Claim 20

A computer-implemented method, comprising:
at an electronic device with one or more processors and memory:
receiving, from a user, a first speech input;
in response to receiving the first speech input, providing a response based on the first speech input; and
providing a first output corresponding to a digital assistant in a first state;
receiving, from the user, a second speech input;
obtaining a first plurality of values;
obtaining, based on the first plurality of values, a first confidence level corresponding to the second speech input;
in accordance with a determination that the first confidence level exceeds a first threshold confidence level:
providing a second output corresponding to the digital assistant in a second state; and
continuing to receive the second speech input.

### Claim 21

A non-transitory computer-readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by one or more processors of a first electronic device, cause the first electronic device to:
receive, from a user, a first speech input;
in response to receiving the first speech input, provide a response based on the first speech input; and
provide a first output corresponding to a digital assistant in a first state;
receive, from the user, a second speech input;
obtain a first plurality of values;
obtain, based on the first plurality of values, a first confidence level corresponding to the second speech input;
in accordance with a determination that the first confidence level exceeds a first threshold confidence level:
provide a second output corresponding to the digital assistant in a second state; and
continue to receive the second speech input.
