# US 2021/0287673 A1 · Parallel hypothetical reasoning to power a multi-lingual, multi-turn, multi-domain virtual assistant

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

- Number: US 2021/0287673 A1
- Document ID: US20210287673A1
- Status: Published application
- Kind: A1
- Application number: 17/197,959
- Filed: 2021-03-10
- Published: 2021-09-16
- Earliest claimed: 2020-03-10
- Assignees: MeetKai, Inc.
- Applicants: MeetKai, Inc.
- Inventors: James Kaplan
- Web page: https://patentgrep.com/patent/US20210287673A1

## CPC

- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G06F 40/35: Discourse or dialogue representation
- G06N 5/04: Inference or reasoning models
- G10L 15/1815: {Semantic context, e.g. disambiguation of the recognition hypotheses based on word meaning}
- G10L 15/1822: {Parsing for meaning understanding}
- G10L 15/28: Constructional details of speech recognition systems
- G10L 2015/223: {Execution procedure of a spoken command}
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A virtual assistant system comprising an interface configured to receive user input and provide a response to the user and a processor configured to run machine executable code. A memory storing non-transitory machine executable code configured to process the user input to generate two or more primary interpretations and one or more secondary interpretations based on one or more of the two or more primary interpretations. The code is also configured to process the primary interpretations and alternative interpretations to generate results which lead to two or more terminal states and then score the two or more terminal states to rank the two or more terminal states such that a top ranked terminal state is the top result, which is presented to the user. A transceiver may communicate over a network to a second device configured to assist the virtual assistant system in generating the top result for the user.

## Claims

### Claim 1

A method for providing virtual assistance comprising:
receiving a user input comprising a user request for action or information;
generating two or more primary interpretations for the user input by processing the user input to generate the two or more primary interpretations of the user input, the two or more primary interpretations comprising unique possible transcriptions for the user input;
generating one or more secondary interpretations for one or more of the two or more primary interpretations by processing one or more of the primary interpretations to form alternative interpretations;
determining one or more primary actions responsive to the two or more primary interpretations and the one or more secondary interpretations;
preparing one or more results from executing the one or more primary actions;
determining whether one or more secondary actions exist responsive to at least one of the one or more primary actions;
if the one or more secondary actions exist, continuing to process the two or more of the primary interpretations, the one or more secondary interpretations, the one or more primary actions, and the one or more secondary actions until no further additional actions can be predicted;
upon one or more additional actions not existing, designating the one or more results for which no additional actions are predicted as one or more terminal result;
scoring the one or more terminal results;
designating the terminal result with the highest score as a top result; and
outputting at least the top result to the user or taking an action defined by the top result.

### Claim 2 (depends on 1)

The method of claim 1 wherein scoring is based on one or more of the following factors:
a first scoring factor based on a conversational state, the conversational state comprising the one or more primary interpretations, the one or more secondary interpretations, the one or more actions, the one or more results;
a second scoring factor based on a user profile, the user profile comprising user preferences and user history stored on the one or more servers;
a third scoring factor based on auxiliary metadata, the auxiliary metadata comprising data stored on the one or more servers not related to user preferences and not related to user history.

### Claim 3 (depends on 1)

The method of claim 1 wherein the user input is speech spoken by the user.

### Claim 4 (depends on 1)

The method of claim 1 wherein the generating two or more primary interpretations for the user input occurs concurrently in parallel.

### Claim 5 (depends on 1)

The method of claim 1 further comprising requesting the user for clarification to which of the one or more primary interpretations or one or more secondary interpretations are correct.

### Claim 6 (depends on 1)

The method of claim 1 wherein the method is performed by an artificial intelligence layer operating on an operating system of a user device.

### Claim 7 (depends on 1)

The method of claim 1 wherein outputting at least the top result to the user or taking an action defined by the top result comprises one or more of the following: playing a song, initiating a phone call, providing information to the user, playing a video, sending a text message, recording a video, transmitting information from a user device, and controlling a light.

### Claim 8

A virtual assistant system comprising:
a user interface configured to receive input from a user and provide a response to the user;
a processor configured to run machine executable code;
a memory storing non-transitory machine executable code, the machine executable code configured to:
process the user input to generate two or more primary interpretations, the two or more primary interpretations comprising unique possible transcriptions for the user input;
generate one or more secondary interpretations based on one or more of the two or more primary interpretations by processing one or more of the primary interpretations to form alternative interpretations;
process the primary interpretations and alternative interpretations to generate results which lead to two or more terminal states;
score the two or more terminal states to rank the two or more terminal states such that a top ranked terminal state is the top result; and
present the top result to the user or perform the top result for the user.

### Claim 9 (depends on 8)

The system of claim 8 wherein the user interface comprises a microphone and a speaker.

### Claim 10 (depends on 8)

The system of claim 8 further comprising a transceiver configured to communicate over a network to a second device configured to execute second virtual assistant machine executable code to assist the virtual assistant system in generating the top result for the user.

### Claim 11 (depends on 8)

The system of claim 8 wherein the virtual assistant system is a smartphone.

### Claim 12 (depends on 8)

The system of claim 8 wherein numerous terminal states are presented to the user for consideration and selection by the user.

### Claim 13 (depends on 8)

The system of claim 8 wherein performing the top result comprises one of the following actions: displaying text, displaying image, playing music, playing a video, performing a transaction, and turning a device on/off.

### Claim 14 (depends on 8)

The system of claim 8 wherein the machine executable code is further configured to:
present feedback to the user requesting additional information regarding one or more of the following: primary interpretations, alternative interpretations, result, and terminal states; and
responsive to receiving additional information from the user, processing the additional information to generate additional alternative interpretations or re-score the two or more terminal states.

### Claim 15

A method for providing virtual assistance comprising:
receiving a user input comprising a request for action or information;
generating two or more interpretations of the user input by processing the user input, the two or more interpretations comprising unique possible transcriptions for the user input;
matching at least one of the two or more interpretations to one or more primary agents based on the one or more primary agents being configured to process the at least one interpretation;
selecting, by the one or more primary agents, one or more skills configured to process least one of the two or more interpretations;
generating one or more results, by processing with the one or more skills, the at least one of the two or more interpretations;
determining whether one or more secondary agents may be matched to the one or more results for further processing of the results by one or more of the secondary agents;
if one or more secondary agents are matched, continuing to process the one or more results to generate additional results;
designating at least one of the one or more results and at least one of the additional results as two or more terminal results;
scoring the two or more terminal results;
designating the terminal result with the highest score as a top result; and
outputting at least the top result to the user or taking an action defined by the top result.

### Claim 16 (depends on 15)

The method of claim 15 wherein an agent is a software module or routine executable to carry out parallel hypothetical reasoning.

### Claim 17 (depends on 15)

The method of claim 15 wherein a skill is a software module or routine executable to perform a task or generate a result in response to a single user query.

### Claim 18 (depends on 15)

The method of claim 15 further comprising generating one or more secondary interpretations for at least one of the primary interpretations.

### Claim 19 (depends on 15)

The method of claim 15 wherein receiving user input comprises receiving speech from the user and converting the speech to a digital signal.
