Open domain dialogue generation method based on multi-granularity feature decoupling

An open-field, multi-granularity technology, applied in neural learning methods, biological neural network models, instruments, etc., can solve the problems of low interpretability of dialogues, unable to capture the semantics of dialogue categories well, and achieve good semantic categories, easily distinguishable effects

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

AI Technical Summary

Problems solved by technology

[0003] The main purpose of the present invention is to propose an open domain dialogue generation method based on multi-granularity feature decoupling, aiming to solve the technical problem that the existing models cannot capture the category semantics of the dialogue well, and the interpretability of the generated dialogue is not high

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
  • Open domain dialogue generation method based on multi-granularity feature decoupling
  • Open domain dialogue generation method based on multi-granularity feature decoupling
  • Open domain dialogue generation method based on multi-granularity feature decoupling

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0068] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0069] refer to figure 1 , figure 1 It is a schematic flow chart of the first embodiment of the open domain dialog generation method based on multi-granularity feature decoupling in the present invention.

[0070] In the embodiment of the present invention, the open-domain dialogue generation method based on multi-granularity feature decoupling is applied to a dialogue generation device, and the open-domain dialogue generation method based on multi-granularity feature decoupling includes:

[0071] Step S10, obtaining a data set and a dialogue category; wherein, the data set includes M training pairs, one training pair includes a dialogue reference reply and a dialogue question corresponding to the dialogue reference reply, and the dialogue category is the category information of the training pair;

[0072] In this e...

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 an open domain dialogue generation method based on multi-granularity feature decoupling. The open domain dialogue generation method comprises the steps of obtaining a data set and a dialogue category; randomly selecting a plurality of first training pairs in the data set to input a conditional variation auto-encoder CVAE model, and obtaining prior Gaussian distribution corresponding to the dialogue category; inputting a second training pair in the data set into an advanced conditional variation auto-encoder A-CVAE model to obtain reconstruction expectation loss and KL divergence; according to the reconstruction expectation loss, the KL divergence and the prior Gaussian distribution corresponding to the first training pair, obtaining total loss; performing reverse gradient optimization on the A-CVAE model according to the total loss to obtain a trained A-CVAE model; obtaining a to-be-replied dialogue question; and inputting the to-be-replied dialogue question into the training A-CVAE model to generate a dialogue reply. The technical problems that an existing model cannot well capture category semantics of dialogues and the generated dialogues are not high in interpretability can be solved.

Description

technical field [0001] The invention relates to the technical field of man-machine dialogue, in particular to an open domain dialogue generation method based on multi-granularity feature decoupling. Background technique [0002] Human-computer dialogue is mainly divided into task-oriented and non-task-oriented dialogue application systems. Although these two deep learning black-box models of human-computer dialogue have made continuous progress in dialogue quality, the end-to-end model still lacks interpretability, suggesting that the model is programmatically unverifiable and incomprehensible. In response to the above problems, the prior art proposes to use a deep hidden variable model to improve the interpretability of dialogue generation by decoupling hidden variables into different feature representations. However, because the above-mentioned dialogue model is unsupervised training, it cannot effectively capture the specific semantic information of the dialogue. Therefo...

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): G06F40/35G06F16/35G06F40/216G06K9/62G06N3/08
CPCG06F40/35G06F40/216G06F16/355G06N3/084G06F18/241G06F18/214
Inventor 王烨廖靖波于洪王国胤张晓霞刘立
Owner CHONGQING UNIV OF POSTS & TELECOMM
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products