Supercharge Your Innovation With Domain-Expert AI Agents!

Multi-task learning-based reply diversity multi-round dialogue generation method and system

A multi-task learning and diverse technology, applied in neural learning methods, biological neural network models, instruments, etc., can solve the problem of low quality of reply text, and achieve the effect of improving text quality and enhancing decoding ability.

Pending Publication Date: 2021-10-26
HEFEI UNIV OF TECH +1
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Aiming at the deficiencies in the prior art, the present invention provides a method, system, storage medium and electronic device for generating multi-round dialogues with reply diversity based on multi-task learning, which solves the problem of low quality reply texts generated in existing multi-round dialogue generation. technical issues

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
  • Multi-task learning-based reply diversity multi-round dialogue generation method and system
  • Multi-task learning-based reply diversity multi-round dialogue generation method and system
  • Multi-task learning-based reply diversity multi-round dialogue generation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0061] First aspect, such as figure 1 As shown, the embodiment of the present invention provides a multi-task learning-based reply diversity multi-round dialogue generation method, the method first builds a multi-task learning model, and the multi-task learning model includes a pre-trained multi-round dialogue model and VAE Model, the multi-turn dialogue model includes an utterance-level encoder, an inter-utterance encoder, and a first decoder; including:

[0062] Obtain and preprocess the historical information of multiple rounds of dialogue;

[0063] Input each sentence sequence vector in the multi-round dialogue history information after preprocessing into the utterance-level encoder, and obtain the utterance-level encoding vector corresponding to the multi-round dialogue history information;

[0064] inputting the utterance-level encoding vector into the inter-utterance encoder to obtain a hidden vector containing the entire dialogue history information of the multiple ro...

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 provides a multi-task learning-based reply diversity multi-round dialogue generation method and system, a storage medium and electronic equipment, and relates to the technical field of multi-round dialogue generation. According to the invention, firstly, a multi-task learning model is constructed, the multi-task learning model comprises a pre-trained multi-round dialogue model and a VAE model, and the multi-round dialogue model comprises an utterance-level encoder, an inter-utterance encoder and a first decoder; the method also includes sequentially inputting each sentence sequence vector in the preprocessed multi-round dialogue historical information into the utterance-level encoder and the inter-utterance encoder to obtain a hidden vector containing the whole multi-round dialogue historical information; inputting the hidden vector into a first decoder, loading parameters of the first decoder from parameters of a second decoder in the VAE model, and obtaining a reply sentence sequence. VAE model decoder parameters are shared with the multi-round dialogue generation model, the decoding capability of a decoder in the multi-round dialogue generation model is enhanced, and the text quality of generated replies is improved.

Description

technical field [0001] The present invention relates to the technical field of multi-round dialog generation, in particular to a method, system, storage medium and electronic device for generating multi-round dialog with reply diversity based on multi-task learning. Background technique [0002] Applications of deep learning in multi-turn dialogue generation mainly include neural language models, sequence-to-sequence models, attention mechanisms, and hierarchical sequence-to-sequence models. [0003] Early models were mostly based on non-hierarchical structures (including neural language models and sequence-to-sequence models). However, in a non-hierarchical framework, either directly splicing historical utterances and queries or receiving utterances sequentially as input weakens the dependency between queries and replies and introduces noise. Most of the recent multi-turn dialogue generation models are implemented based on the hierarchical sequence-to-sequence model framew...

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): G06F40/35G06F40/126G06F40/242G06N3/04G06N3/08
CPCG06F40/35G06F40/126G06F40/242G06N3/08G06N3/044
Inventor 孙晓王佳敏汪萌
Owner HEFEI UNIV OF TECH
Features
  • R&D
  • 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