# US 2021/0065709 A1 · Task-oriented dialog suitable for a standalone device

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

- Number: US 2021/0065709 A1
- Document ID: US20210065709A1
- Status: Published application
- Kind: A1
- Application number: 17/005,847
- Filed: 2020-08-28
- Published: 2021-03-04
- Earliest claimed: 2019-08-29
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Thanh Long Duong; Mark Edward Johnson; Vu Cong Duy Hoang; Tuyen Quang Pham; Yu-Heng Hong; Vladislavs Dovgalecs; Guy Bashkansky; Jason Black; Andrew David Bleeker; Serge Le Huitouze
- Web page: https://patentgrep.com/patent/US20210065709A1

## CPC

- G10L 15/22: Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING

## Abstract

Described herein are dialog systems, and techniques for providing such dialog systems, that are suitable for use on standalone computing devices. In some embodiments, a dialog system includes a dialog manager, which takes as input an input logical form, which may be a representation of user input. The dialog, manager may include a dialog state tracker, an execution subsystem, a dialog policy subsystem, and a context stack. The dialog state tracker may generate an intermediate logical form from the input logical form combined with a context from the context stack. The context stack may maintain a history of a current dialog, and thus, the intermediate logical form may include contextual information potentially missing from the input logical form. The execution subsystem may execute the intermediate logical form to produce an execution result, and the dialog policy subsystem may generate an output logical form based on the execution result.

## Claims

### Claim 1

A dialog system comprising:
a dialog state tracker configured to:
access an input logical form representing speech input;
generate an intermediate logical form based on the input logical form and context data describing a conversation history;
an execution subsystem configured to execute the intermediate logical form to produce an execution result;
a dialog policy subsystem configured to generate an output logical form based on the execution result; and
an output pipeline configured to determine an output for a user, based on the output logical form.

### Claim 2 (depends on 1)

The dialog system of claim 1, wherein the dialog state tracker is configured to follow a rules-based process to generate the intermediate logical form based on the input logical form and the context data.

### Claim 3 (depends on 2)

The dialog system of claim 2, wherein:
the input logical form indicates that the speech input includes a follow-up; and
to generate the intermediate logical form, the dialog state tracker is further configured to:
determine a type of the follow-up, based on the input logical form; and
generate the intermediate logical form by applying, to the input logical form and the context data, a rule selected based on the type of the follow-up.

### Claim 4 (depends on 2)

The dialog system of claim 2, wherein:
the input logical form lacks an indication that the speech input includes a follow-up; and
to generate the intermediate logical form, the dialog state tracker is fluffier configured to set the intermediate logical form equal to the input logical form, based on the speech input lacking the follow-up.

### Claim 5 (depends on 1)

The dialog system of claim 1, wherein, to execute the intermediate logical form, the execution subsystem is further configured to:
translate the intermediate logical form to a query;
execute the query against a database; and
select the execution result from a predefined set of execution results based on execution of the query against the database.

### Claim 6 (depends on 5)

The dialog system of claim 5, wherein the dialog policy subsystem is configured to update the context data based on the intermediate logical form and the execution result.

### Claim 7 (depends on 1)

The dialog system of claim 1, wherein the input logical form comprises:
a topic component configured to identify a primary entity in the speech input; and
an action component configured to identify an action to be taken with respect to the primary entity according to the speech input.

### Claim 8 (depends on 1)

The dialog system of claim 1, wherein the dialog state tracker, the execution subsystem, and the dialog policy subsystem are configured to run on a common device.

### Claim 9 (depends on 1)

The dialog system of claim 1, further comprising an input pipeline configured to receive the speech input and to convert the speech input to the input logical form.

### Claim 10 (depends on 9)

The dialog system of claim 9, wherein the input pipeline comprises a Natural Language Understanding subsystem configured to utilize a machine learning model to generate the input logical form based on the speech input.

### Claim 11 (depends on 9)

The dialog system of claim 9, wherein the dialog state tracker, the execution subsystem, the dialog policy subsystem, the input pipeline, and the output pipeline are configured to run on a common device.

### Claim 12

A method comprising:
accessing an input logical form representing speech input;
generating, by applying a rules-based process, an intermediate logical form based on the input logical form and context data describing a conversation history;
executing the intermediate logical form to produce an execution result;
generating an output logical form based on the execution result; and
determining an output for a user, based on the output logical form.

### Claim 13 (depends on 12)

The method of claim 12, further comprising:
producing updated context data by updating the context data based on the intermediate logical fora and the execution result;
accessing a second input logical form representing a second speech input, wherein the second input logical form indicates that the second speech input includes a fallow-up;
determining a type of the follow-up, based on the second input logical form; and
generating a second intermediate logical form by applying, to the second input logical form and the updated context data a rule selected based on the type of the follow-up.

### Claim 14 (depends on 12)

The method of claim 12, further comprising:
updating the context data based on the intermediate logical form and the execution result;
accessing a second input logical form representing a second speech input, wherein the second input logical form lacks an indication that the speech input includes a follow-up; and
based on the second speech input lacking the follow-up:
resetting the context data; and
setting a second intermediate logical form equal to the second input logical form.

### Claim 15 (depends on 12)

The method of claim 12, wherein the input logical form comprises:
a topic component configured to identify a primary entity in the speech input; and
an action component configured to identify an action to be taken with respect to the primary entity according to the speech input.

### Claim 16 (depends on 15)

The method of claim 15, wherein executing the intermediate logical form comprises:
translating the intermediate logical form to a query;
executing the query against a database; and
selecting the execution result from a predefined set of execution results based on execution of the query against the database.

### Claim 17

An embedded device comprising:
an input pipeline configured to convert a speech input into an input logical form
a dialog state tracker configured to generate an intermediate logical form based on the input logical form and context data describing a conversation history;
an execution subsystem configured to execute the intermediate logical form to produce an execution result;
a dialog policy subsystem configured to generate an output logical form based on the execution result; and
an output pipeline configured to determine an output for a user, based on the output logical form.

### Claim 18 (depends on 17)

The embedded device of claim 17, wherein the dialog policy subsystem is further configured to produce updated context data by updating the context data based on the intermediate logical form and the execution result.

### Claim 19 (depends on 18)

The embedded device of claim 18, wherein the dialog state tracker is further configured to:
determine that a second input logical form includes a follow-up;
determine a type of the follow-up, based on the second input logical form; and
generate second intermediate logical form by applying, to the second input logical form and the updated context data, a rule selected based on the type of the follow-up.

### Claim 20 (depends on 18)

The embedded device of claim 18, wherein the dialog state tracker is further configured to:
determine that a second input logical form lacks an indication of a follow-up;
reset the updated context data, based on the second input logical form lacking the indication of the follow-up; and
set a second intermediate logical form equal to the second input logical form, based on the second input logical form lacking the indication of the follow-up.
