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

Knowledge and emotion integrated end-to-end dialogue method based on variational auto-encoder

A self-encoder, encoder technology, used in instrumentation, semantic analysis, text database clustering/classification, etc.

Active Publication Date: 2022-06-10
ZHEJIANG LAB
View PDF13 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010]The current end-to-end model can generate readable replies based on historical dialogue records, but the richness of the generated dialogue needs to be strengthened

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
  • Knowledge and emotion integrated end-to-end dialogue method based on variational auto-encoder
  • Knowledge and emotion integrated end-to-end dialogue method based on variational auto-encoder
  • Knowledge and emotion integrated end-to-end dialogue method based on variational auto-encoder

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0044] Consultant: So you mean that you are not satisfied with your current situation

[0045] Consultant: You said that you are not working hard now, but did you ever work hard before?

[0046] The emotional label is a question, and the input for splicing is:

[0047] After splicing the dialogue, convert it into a vector of integer indices. Knowledge and replies are also transformed into vectors of integer indices in the same way.

[0048] (2) Build a model consisting of a variational autoencoder module and a copy module; the variational autoencoder module includes an encoder and a decoder; the encoder is used to encode the emotional label and the semantic information of the dialogue to obtain the dialogue encoding matrix; the decoder includes an encoding end and a decoding end, which are used to combine knowledge to generate a knowledge encoding matrix, and then combine the knowledge encoding matrix to autoregressively generate a decoding vector and predict an emotiona...

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 knowledge and emotion integrated end-to-end dialogue method based on a variational auto-encoder, and the method comprises the steps: collecting emotion labels, dialogues, knowledge and replies, and carrying out the preprocessing of the information as training data; a model composed of a variational auto-encoder module and a copying module is built, and training is carried out; and preprocessing test data, inputting the test data into the trained model for prediction, obtaining a reply, and continuously carrying out end-to-end dialogue. An encoding module of the variational auto-encoder module encodes the emotion tag and semantic information of the input dialogue. A decoding module of the variational auto-encoder module fuses knowledge and emotions for generating content. A copy module generates a reply output in combination with the content generated by the decoder, the input dialogue and knowledge. According to the method, a variational auto-encoder structure is adopted to generate rich replies; introducing an emotion label for controlling the emotion type of the reply; information is copied from input dialogues and knowledge, so that the generated reply has richness and controllability.

Description

technical field [0001] The invention belongs to the field of natural language processing, in particular to a text generation and dialogue system, in particular to an end-to-end dialogue method based on a variational autoencoder and integrating knowledge and emotion. Background technique [0002] In 1950, Alan Turing proposed the Turing test in "Computing Machinery and Intelligence" as a way to test whether a robot can chat like a human. The Turing test can be expressed as separating the tester from the testee (a person and a machine), and asking the testee random questions through some devices (such as a keyboard). After multiple tests, if more than 30% of the testers cannot determine whether the subject is a human or a machine, then the machine has passed the test and is considered to have artificial intelligence. Turing proposed a standard for testing whether chatbots possess intelligence. It can be considered as the beginning of research on chatbots. [0003] In 1966, ...

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/332G06F16/33G06F16/35G06F40/30G06N3/04
CPCG06F16/3329G06F16/3344G06F16/35G06F40/30G06N3/04
Inventor 谢冰宋伟朱世强袭向明金天磊周元海
Owner ZHEJIANG LAB