# US 2025/0094714 A1 · Structured dialogue segmentation and state tracking

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

- Number: US 2025/0094714 A1
- Document ID: US20250094714A1
- Status: Published application
- Kind: A1
- Application number: 18/368,491
- Filed: 2023-09-14
- Published: 2025-03-20
- Earliest claimed: 2023-09-14
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Tara Lynn SAFAVI; Sarkar Snigdha Sarathi DAS; Chirag SHAH; Jennifer Lynay NEVILLE; Mengting WAN; Longqi YANG; Reid Marlow ANDERSEN; Georg Ludwig Wilhelm BUSCHER
- Web page: https://patentgrep.com/patent/US20250094714A1

## CPC

- G06F 40/289: Phrasal analysis, e.g. finite state techniques or chunking
- G06F 16/3329: Natural language query formulation
- G06F 40/35: Discourse or dialogue representation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods for open-domain dialogue segmentation and state tracking are provided. In particular, a computing device may obtain and analyze a dialogue in near real-time, generate a structured prompt template for a state prediction model based on the dialogue, and generate a structured output using the state prediction model based on the structured prompt template. The structured output includes a turn summary and state labels for each dialogue turn.

## Claims

### Claim 1

A method for open-domain dialogue segmentation and state tracking, the method comprising:
obtaining and analyzing a dialogue in near real-time, the dialogue being an open-domain dialogue;
generating a structured prompt template for a state prediction model based on the dialogue; and
generating a structured output using the state prediction model based on the structured prompt template, the structured output including a turn summary and state labels for each dialogue turn.

### Claim 2 (depends on 1)

The method of claim 1, wherein the state labels for each dialogue turn include a segment boundary label, a user intent label, and a dialogue domain label for each dialogue turn.

### Claim 3 (depends on 1)

The method of claim 1, wherein the structured prompt template includes labeling instructions, a structured valid state list, and a turn-by-turn structured dialogue in a structured representation format.

### Claim 4 (depends on 3)

The method of claim 3, wherein generating the structured prompt template for the state prediction model based on the dialogue comprises:
generating the labeling instructions, wherein the labeling instructions include segmentation instructions and pre-analytical recollection (PAR) instructions.

### Claim 5 (depends on 4)

The method of claim 4, wherein the segmentation instructions are designed to instruct the state prediction model to segment the dialogue into one or more segments that are topically related, wherein each dialogue segment of the one or more segments is contiguous subsequences of utterances that are topically related.

### Claim 6 (depends on 4)

The method of claim 4, wherein the segmentation instructions are designed to instruct the state prediction model to identify a segment boundary when no topical relation between a dialogue turn and its preceding context could be identified.

### Claim 7 (depends on 4)

The method of claim 4, wherein the segmentation instructions are designed to instruct the state prediction model to use same user intent and dialogue domain for dialogue turns within the same dialogue segment.

### Claim 8 (depends on 4)

The method of claim 4, wherein the PAR instructions are designed to instruct the state prediction model to summarize each dialogue turn before determining state labels of the corresponding dialogue turn.

### Claim 9 (depends on 4)

The method of claim 4, wherein the PAR instructions are designed to instruct the state prediction model to refer back to the prior contextual segments when determining state labels of the corresponding dialogue turn.

### Claim 10 (depends on 3)

The method of claim 3, wherein generating the structured prompt template for the state prediction model based on the dialogue comprises:
generating the structured valid state list by formatting one or more valid state values associated with the dialogue into a structured representation.

### Claim 11 (depends on 3)

The method of claim 3, wherein generating the structured prompt template for the state prediction model based on the dialogue comprises:
generating the turn-by-turn structured dialogue by converting the dialogue into a structured representation at a turn level.

### Claim 12 (depends on 11)

The method of claim 11, wherein the structured representation is in a hierarchical Extensible Markup Language (XML)-structured format.

### Claim 13 (depends on 1)

The method of claim 1, wherein the state prediction model is a generative large language model (LLM) or a multimodal large language model (MLLM).

### Claim 14

A method for open-domain dialogue segmentation and state tracking, the method comprising:
obtaining and analyzing a dialogue, the dialogue being an open-domain dialogue;
determining a segmentation prediction using a state prediction model by segmenting the dialogue into one or more segments that are topically related and determining a user intent and a dialogue domain for each segment, each segment including contiguous subsequences of one or more dialogue turns that are topically related; and
generating a structured output based on the segmentation prediction using the state prediction model, the structured output including a turn summary and state labels for each dialogue turn.

### Claim 15 (depends on 14)

The method of claim 14, wherein the state labels for each dialogue turn include a segment boundary label, a user intent label, and a dialogue domain label for the corresponding dialogue turn, and wherein the segment boundary label indicates whether there is a topical relation between the corresponding dialogue turn and a context of a preceding dialogue turn.

### Claim 16 (depends on 15)

The method of claim 15, further comprising:
storing the segmentation prediction including the one or more segments and the user intent and the dialogue domain for each segment.

### Claim 17 (depends on 14)

The method of claim 14, wherein generating the structured output based on the segmentation prediction using the state prediction model comprises applying the same user intent and dialogue domain for dialogue turns within the same dialogue segment.

### Claim 18 (depends on 14)

The method of claim 14, further comprising:
obtaining a subsequent dialogue turn of the dialogue;
determining whether the subsequent dialogue turn belongs to the same dialogue segment as a preceding dialogue turn based on the segmentation prediction; and
updating the structured output to include a turn summary and state labels for the subsequent dialogue turn.

### Claim 19 (depends on 18)

The method of claim 18, wherein determining whether the subsequent dialogue turn belongs to the same dialogue segment as a preceding dialogue turn based on the segmentation prediction comprises determining whether the subsequent dialogue turn is topically related to a context of the preceding dialogue turn based on the segmentation prediction.

### Claim 20 (depends on 18)

The method of claim 18, wherein updating the structured output to include a turn summary and state labels for the subsequent dialogue turn comprises:
in response to determining that the subsequent dialogue turn belongs to the same dialogue segment as the preceding dialogue, applying the same state labels for the subsequent dialogue turn as the preceding dialogue turn; and
in response to determining that the subsequent dialogue turn does not belong to the same dialogue segment as the preceding dialogue, determining state labels for the subsequent dialogue turn based on context of one or more proceeding segments of the dialogue and the structured output of one or more proceeding dialogue turns.
