Method and apparatus for generating dialogue state

US12229519B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12229519-B2
Application numberUS-202217806086-A
CountryUS
Kind codeB2
Filing dateJun 9, 2022
Priority dateJun 30, 2021
Publication dateFeb 18, 2025
Grant dateFeb 18, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A method for generating a dialogue state includes: acquiring a target dialogue state of a previous round of dialogue and dialogue information of a current round of dialogue; generating an initial dialogue state of the current round of dialogue according to the target dialogue state of the previous round of dialogue and the dialogue information of the current round of dialogue; and generating a target dialogue state of the current round of dialogue according to the initial dialogue state of the current round of dialogue and the dialogue information of the current round of dialogue.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for generating a dialogue state, performed by a terminal, comprising: acquiring a target dialogue state of a previous round of dialogue and dialogue information of a current round of dialogue; generating an initial dialogue state of the current round of dialogue according to the target dialogue state of the previous round of dialogue and the dialogue information of the current round of dialogue; wherein generating the initial dialogue state of the current round of dialogue according to the target dialogue state of the previous round of dialogue and the dialogue information of the current round of dialogue, comprises: acquiring a first dialogue state generation model; and obtaining the initial dialogue state of the current round of dialogue by inputting the target dialogue state of the previous round of dialogue and the dialogue information of the current round of dialogue into the first dialogue state generation model; generating a target dialogue state of the current round of dialogue according to the initial dialogue state of the current round of dialogue and the dialogue information of the current round of dialogue; wherein generating the target dialogue state of the current round of dialogue according to the initial dialogue state of the current round of dialogue and the dialogue information of the current round of dialogue, comprises: acquiring a second dialogue state generation model; and obtaining the target dialogue state of the current round of dialogue by inputting the initial dialogue state of the current round of dialogue and the dialogue information of the current round of dialogue into the second dialogue state generation model; wherein the first dialogue state generation model and the second dialogue state generation model are Transformer encoder-decoder pre-training models; and the first dialogue state generation model and the second dialogue state generation model comprise L transformer blocks respectively; wherein the dialogue information of the current round of dialogue and the target dialogue state of the previous round of dialogue are inputted into the first dialogue state generation model, and bidirectional encoding and decoding is performed by L transformer blocks to generate the initial dialogue state of the current round of dialogue, and the initial dialogue state of the current round of dialogue and the dialogue information of the current round of dialogue are inputted into the second dialogue state generation model, and bidirectional encoding and decoding is performed by the L transformer blocks to generate the target dialogue state of the current round of dialogue. 2. The method of claim 1 , wherein model parameters of the first dialogue state generation model are the same as model parameters of the second dialogue state generation model. 3. An electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein, the memory is stored with instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is configured to: acquire a target dialogue state of a previous round of dialogue and dialogue information of a current round of dialogue; generate an initial dialogue state of the current round of dialogue according to the target dialogue state of the previous round of dialogue and the dialogue information of the current round of dialogue; and generate a target dialogue state of the current round of dialogue according to the initial dialogue state of the current round of dialogue and the dialogue information of the current round of dialogue; wherein the at least one processor is further configured to: acquire a first dialogue state generation model; and obtain the initial dialogue state of the current round of dialogue by inputting the target dialogue state of the previous round of dialogue and the dialogue information of the current round of dialogue into the first dialogue state generation model; acquire a second dialogue state generation model; and obtain the target dialogue state of the current round of dialogue by inputting the initial dialogue state of the current round of dialogue and the dialogue information of the current round of dialogue into the second dialogue state generation model; wherein the first dialogue state generation model and the second dialogue state generation model are Transformer encoder-decoder pre-training models; and the first dialogue state generation model and the second dialogue state generation model are Transformer encoder-decoder pre-training models; and the first dialogue state generation model and the second dialogue state generation model comprise L transformer blocks respectively; wherein the dialogue information of the current round of dialogue and the target dialogue state of the previous round of dialogue are inputted into the first dialogue state generation model, and bidirectional encoding and decoding is performed by L transformer blocks to generate the initial dialogue state of the current round of dialogue, and the initial dialogue state of the current round of dialogue and the dialogue information of the current round of dialogue are inputted into the second dialogue state generation model, and bidirectional encoding and decoding is performed by the L transformer blocks to generate the target dialogue state of the current round of dialogue. 4. The electronic device of claim 3 , wherein model parameters of the first dialogue state generation model are the same as model parameters of the second dialogue state generation model. 5. A non-transitory computer-readable storage medium stored with computer instructions, wherein, the computer instructions are configured to enable a computer to perform a method for generating a dialogue state, the method comprising: acquiring a target dialogue state of a previous round of dialogue and dialogue information of a current round of dialogue; generating an initial dialogue state of the current round of dialogue according to the target dialogue state of the previous round of dialogue and the dialogue information of the current round of dialogue; wherein generating the initial dialogue state of the current round of dialogue according to the target dialogue state of the previous round of dialogue and the dialogue information of the current round of dialogue, comprises: acquiring a first dialogue state generation model; and obtaining the initial dialogue state of the current round of dialogue by inputting the target dialogue state of the previous round of dialogue and the dialogue information of the current round of dialogue into the first dialogue state generation model; generating a target dialogue state of the current round of dialogue according to the initial dialogue state of the current round of dialogue and the dialogue information of the current round of dialogue; wherein generating the target dialogue state of the current round of dialogue according to the initial dialogue state of the current round of dialogue and the dialogue information of the current round of dialogue, comprises: acquiring a second dialogue state generation model; and obtaining the target dialogue state of the current round of dialogue by inputting the initial dialogue state of the current round of dialogue and the dialogue information of the current round of dialogue into the second dialogue state generation model; wherein the first dialogue state generation model and the second dialogue state generation model are Transformer encoder-decoder pre-training models; and the first dialogue state generation model and the second dialogue state generation model comprise L transformer blocks respectively; wherein the dialogue information of

Assignees

Inventors

Classifications

  • Combinations of networks · CPC title

  • Learning methods · CPC title

  • Phrasal analysis, e.g. finite state techniques or chunking · CPC title

  • G06F40/35Primary

    Discourse or dialogue representation · CPC title

  • Natural language query formulation · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12229519B2 cover?
A method for generating a dialogue state includes: acquiring a target dialogue state of a previous round of dialogue and dialogue information of a current round of dialogue; generating an initial dialogue state of the current round of dialogue according to the target dialogue state of the previous round of dialogue and the dialogue information of the current round of dialogue; and generating a …
Who is the assignee on this patent?
Beijing Baidu Netcom Sci & Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F40/35. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Feb 18 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).