Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Dialogue generation method and device applied to multi-round dialogue system, equipment and medium

A dialogue system and user technology, applied in neural learning methods, special data processing applications, biological neural network models, etc., can solve the problems of fixed response library, insufficient flexibility, large task space, etc., to achieve good understanding ability and ensure smoothness Sexuality, guaranteeing the effect of logic

Pending Publication Date: 2022-06-03
SICHUAN XW BANK CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

But on the other hand, limited by the size of the model, the existing related technologies are only applied to a single round of dialogue, and the multi-round dialogue with greater actual demand has less practical application.
[0005] Therefore, the existing methods based on matching or retrieval have a strong dependence on the domain knowledge base, which is usually a closed domain knowledge base. The limitation is that when encountering knowledge outside the domain, the quality of the response text given by the system is greatly reduced. , and its response library is relatively fixed, lacks flexibility, cannot play a guiding role in the dialogue, and is difficult to complete task-oriented dialogues, so most of them are only used in single-round dialogue scenarios
Although the generation-based method can avoid the strong dependence on the knowledge base, the training of the model in the open knowledge field often requires extremely large data sets, and the implementation cost and speed are much higher than those of the retrieval system. On the other hand, the generative system has a larger task space and lacks control over the overall intention and historical information during the dialogue interaction process, which leads to logic confusion and mismatched dialogue content in the interaction.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Dialogue generation method and device applied to multi-round dialogue system, equipment and medium
  • Dialogue generation method and device applied to multi-round dialogue system, equipment and medium
  • Dialogue generation method and device applied to multi-round dialogue system, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0085] like figure 1 , figure 2 As shown, the present invention is a dialogue generation method applied to a multi-round dialogue system, such as figure 1 As shown, the method includes:

[0086] Obtain the first round of dialogue of the user, and use the semantic understanding model to perform feature extraction on the first round of dialogue to obtain the semantic feature representation of the content of the first round of dialogue;

[0087] According to the semantic feature representation, the encoder is used to extract deeper semantic information from the semantic feature representation to generate the first round of intermediate variables;

[0088] According to the first round of intermediate variables, use the intention feature calculation network to extract the first round of intermediate variables to obtain the intention feature representation;

[0089] The intent feature representation and the first round of intermediate variables are decoded respectively, and the ...

Embodiment 2

[0163] like image 3 As shown, the difference between this embodiment and Embodiment 1 is that this embodiment provides a dialogue generation device applied to a multi-round dialogue system, and the device supports the method described in Embodiment 1 and applied to a multi-round dialogue system. Dialogue generation method; the device includes:

[0164] an acquisition unit, configured to acquire the input text of each round of dialogue of the user according to each round of dialogue of the user;

[0165] The semantic vector representation unit is used for extracting the features of the N-th dialogue by using the semantic understanding model according to the acquired user's N-th dialogue to obtain the semantic vector representation of the N-th dialogue content;

[0166] an intermediate variable generation unit, configured to extract deeper semantic information from the semantic vector representation by using an encoder to generate an intermediate variable according to the sema...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a dialogue generation method and device applied to a multi-round dialogue system, equipment and a medium, and the method comprises the steps: obtaining a first round of dialogue of a user, carrying out the feature extraction of the first round of dialogue through a semantic understanding model, and obtaining the semantic feature representation of the content of the first round of dialogue; deep semantic information is extracted from the semantic feature representation by using an encoder, and a first round of intermediate variable is generated; extracting the first round of intermediate variables by using an intention feature calculation network to obtain intention feature representation; respectively decoding the intention feature representation and the first round of intermediate variable, inputting a decoding result into the generative network, completing response by the generative network, generating a response text of the first round of dialogue content, and returning the response text to complete the generation of the first round of dialogue; and waiting and obtaining the next round of conversation, and repeating the steps until the user triggers the ending condition, so that the multi-round conversation is ended. The method is suitable for a dialogue scene of multi-round interaction, response generation is achieved based on the current dialogue content and the historical dialogue records, and multi-round interaction is completed.

Description

technical field [0001] The invention relates to the field of dialogue systems, belongs to the natural language processing technology, and in particular relates to a dialogue generation method, device, equipment and medium applied to a multi-round dialogue system. Background technique [0002] Dialogue-based systems in the prior art mainly include the following two categories: [0003] The first type is a dialogue system based on matching or retrieval, patent application numbers CN113806509A, CN113901188A, methods based on matching or retrieval: the prior art relies on an almost completely closed domain knowledge base. The mechanism matches similar candidate sentences in the knowledge base, and finally outputs the reply sentence corresponding to the candidate sentence with the highest similarity through similarity calculation. Although this type of method has low implementation cost and strong operability, it is easily limited by the knowledge base in practical applications....

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/332G06F40/289G06F40/30G06N3/04G06N3/08
CPCG06F16/3329G06F40/30G06F40/289G06N3/08G06N3/044
Inventor 徐万珺
Owner SICHUAN XW BANK CO LTD
Features
  • Generate Ideas
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More