Unlock instant, AI-driven research and patent intelligence for your innovation.

Training method and device of dialogue response generation model and dialogue response generation method

A technology for generating models and training methods, applied in character and pattern recognition, special data processing applications, instruments, etc., can solve the problems of incoherent sentences, lack of logic in responses, and inability to meet context-related requirements, so as to improve the quality of responses. , improve the quality of generation, improve the effect of accuracy

Pending Publication Date: 2022-07-05
BEIJING UNIV OF POSTS & TELECOMM
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

" such generic responses that neither correctly reflect document knowledge nor satisfy context-sensitive requirements
[0008] In addition, the existing method of directly generating a reply encodes and integrates the dialogue context information and the document selected in the first stage, and then directly transfers the integration result to the decoder to generate a reply. In this way, the generated reply often lacks logic sex, so it is easy to have the problem of unsound sentences

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
  • Training method and device of dialogue response generation model and dialogue response generation method
  • Training method and device of dialogue response generation model and dialogue response generation method
  • Training method and device of dialogue response generation model and dialogue response generation method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.

[0026] figure 1 It is a schematic flow chart of the method according to the embodiment of the present invention, such as figure 1 As shown, the training method of the dialogue response generation model implemented by this embodiment mainly includes:

[0027] Step 101: Acquire preset sample data and a document library.

[0028] The sample data includes dialogue process data and correct document tags and topic retention tags for each round of dialogue. In this way, during model training, the supervision signal is no longer limited to response information, but can also be trained based on document selection and topic retention. The model improves the quality of the generation of response information.

[0029] Step 102, using the dialogu...

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 response generation model training method and device and a dialogue response generation method.The training method comprises the steps that preset sample data and a document library are obtained, and the sample data comprise dialogue process data and a correct document label and a topic keeping label of each round of dialogue; and traversing each round of dialogue corresponding to the dialogue process data by utilizing a dialogue response generation model, generating response information of the round of dialogue based on dialogue historical data generated before the response information of the round of dialogue and the document library, calculating a loss function value based on the corresponding label in the sample data, and calculating the corresponding label in the sample data by utilizing the loss function value. Parameters of the dialogue response generation model are optimized and adjusted; wherein during generation, the most relevant document used for generating the response information is selected from the document library on the basis of the current topic keeping condition in a secondary correlation mode. By adopting the method, the dialogue reply quality can be improved.

Description

technical field [0001] The invention relates to man-machine dialogue technology, in particular to a training method and device for a dialogue response generation model and a dialogue response generation method. Background technique [0002] Human-computer dialogue system is an important research direction in the field of natural language processing. With the development of deep neural network technology, systems such as Alexa and XiaoIce can have smooth dialogues with people in some fields. In order to make the dialogue system adapt to more fields, inspired by the dialogue of everyone, researchers began to explore adding external knowledge to the dialogue system. Among these external knowledge, documents are readily available and informative, and document-driven dialogue tasks are proposed. In order to make the dialogue more similar to the real dialogue between people, high-quality responses need to meet the requirements of language fluency, contextual relevance, and the ab...

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
IPC IPC(8): G06F16/33G06F16/332G06K9/62
CPCG06F16/3344G06F16/3329G06F18/214
Inventor 王金涛王小捷袁彩霞
Owner BEIJING UNIV OF POSTS & TELECOMM