Man-machine conversation reply generation method and device

A technology for man-machine dialogue and replying messages, which is applied in special data processing applications, instruments, electrical digital data processing, etc., and can solve problems such as poor system applicability, fluency of reply language, poor relevance and diversity, and inability to satisfy users

Active Publication Date: 2018-05-22
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF8 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In related technologies, the reply generation technology in the human-computer dialogue system mainly adopts the template method, and there is also an end-to-end generation technology based on deep learning, which generates a corresponding

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
  • Man-machine conversation reply generation method and device
  • Man-machine conversation reply generation method and device
  • Man-machine conversation reply generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals designate the same or similar elements or elements having the same or similar functions throughout. The embodiments described below by referring to the figures are exemplary and are intended to explain the present invention and should not be construed as limiting the present invention.

[0037] The method and device for generating a reply in a man-machine dialogue according to an embodiment of the present invention will be described below with reference to the accompanying drawings.

[0038] In the prior art, the man-machine dialogue system generates reply messages according to the user messages in the man-machine dialogue, but the generated reply messages are poor in applicability, and the relevance and diversity of the reply messages are also poor, which cannot meet the needs of users .

[0039] A...

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 man-machine conversation reply generation method and a man-machine conversation reply generation device. The method comprises the steps of acquiring a user message in a man-machine conversation, generating a plurality of keywords for replying the user message, encoding the plurality of keywords by use of an encoder to obtain a first hidden state of the plurality of keywords; sequentially generating a plurality of second hidden states corresponding to text positions of the reply message by use of a decoder according to the first hidden state of the plurality of keywords; sampling according to each of the second hidden states to obtain vocabularies located on the text positions corresponding to the second hidden states; and generating a reply message according to thetext position where each vocabulary is located. According to the man-machine conversation reply generation method and the man-machine conversation reply generation device, the plurality of keywords are generated by acquisition of the user message, the keywords are encoded and decoded, the text vocabularies corresponding to the keywords are acquired through sampling to further generate the reply message, and the problems in the prior art that a specific template is depended on, the generated reply message is poor in applicability, correlation and diversity and the user demand cannot be satisfied are solved.

Description

technical field [0001] The present invention relates to the technical field of artificial intelligence, in particular to a reply generation method and device for man-machine dialogue. Background technique [0002] The development of natural language processing technology has enabled effective communication between humans and computers using natural language through man-machine dialogue systems, and reply generation is an important part of man-machine dialogue systems. In man-machine dialogue systems, the system is based on User's message, generate a sentence of natural language as the system reply. [0003] In related technologies, the reply generation technology in the human-computer dialogue system mainly adopts the template method, and there is also an end-to-end generation technology based on deep learning, which generates a corresponding natural language reply according to the received user's message, but the two methods The applicability of the system is poor, and the...

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): G06F17/30
CPCG06F16/3329G06F16/334
Inventor 陈潮涛李辰姜迪吴华何径舟
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
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