Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A dialog system construction method, semantically controlled answer method and device

A dialogue system and construction method technology, applied in special data processing applications, unstructured text data retrieval, instruments, etc., can solve problems such as insufficient correlation between responses and questions, different semantics, and impact on user experience.

Active Publication Date: 2020-07-03
ZHONGKE DINGFU BEIJING TECH DEV
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Although the dialogue system based on the deep learning model of the prior art can give an answer to an unknown dialogue, since the deep learning model of the prior art uses a probability-based algorithm in the field of statistics to realize the training process , after it is trained, what kind of response to an unknown dialogue is a probabilistic event with uncontrolled semantics. Therefore, the dialogue system based on the deep learning model in the prior art often gives different dialogues to the user. If the same general answer is given, the semantics of the answer cannot be controlled according to the user's dialogue content, and answers with different semantics are given, which leads to insufficient correlation between the answer and the question, and affects the user experience.

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
  • A dialog system construction method, semantically controlled answer method and device
  • A dialog system construction method, semantically controlled answer method and device
  • A dialog system construction method, semantically controlled answer method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0028] The embodiment of the present application provides a method for constructing a dialogue system, figure 2 A structural block diagram of a dialogue system constructed for the embodiment of this application. Among them, the dialog system constructed in the embodiment of the present application includes: a first question-answer model and a second question-answer model for generating answers to questions, wherein the first question-answer model is used to generate the first answer containing part of the answer to the question, and the second question-answer model The question-answer model is used to combine the first answer to generate a second answer including the complete answer content of the question.

[0029] In the embodiment of the present application, the first question-answer model and the second question-answer model are machine learning models, and the machine learning model is an algorithm model constructed based on a machine learning algorithm. The machine lear...

Embodiment 2

[0112] The embodiment of the present application provides a semantically controlled response method, which is applied to the dialogue system constructed by the dialogue system construction method provided in the present application. Figure 9 A flow chart of a semantically controlled answer method provided by the embodiment of this application, such as Figure 9 As shown, the method includes:

[0113] Step S210, when the user inputs a question, obtain guide words from the question, where the guide words are semantically associated with the question.

[0114] In this application, introductory words can be verbs or nouns. Among them, verbs are often used as predicates in a complete sentence, which can express the action or intention of the subject in the sentence, and have a guiding effect on the semantics of the sentence. Therefore, verbs are sentence components that are related to the semantics of the sentence; To express a concept, and the content of the dialogue is often d...

Embodiment 3

[0155] The embodiment of the present application provides a semantically controlled response device, which is applied to the dialogue system constructed by the dialogue system construction method provided in the present application, Figure 12 A structural block diagram of a semantically controlled response device provided in the embodiment of the present application, such as Figure 12 As shown, the device includes:

[0156] The acquisition module 310 is configured to acquire guide words from the question when the user inputs the question, and the guide words are semantically associated with the question.

[0157] The first answer module 320 is configured to use a first question-answer model to generate a first answer to the question according to the guide word, and the first answer is semantically associated with the guide word.

[0158] The second answer module 330 is configured to use a second question-answer model to generate a second answer to the question according to ...

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 dialogue system construction method and a semantic controlled response method and device. A dialogue system comprises a first question-answer model and a second question-answer model. When a user inputs a question, firstly, an introducer associated with question semanteme is obtained from the question; then, the first question-answer model is used for generating a first response to the question, wherein the first response comprises partial response content of the dialogue system to the question; then, the second question-answer model is used for generating a second response to the question, wherein the second response comprises all responses of the dialogue system to the question. The introducer can control the output of a first response model and the output of a second response model, so that the semanteme of the first response and the semanteme of the second response are controlled. Therefore, by means of the semantic controlled response method, the semanticassociation degree of the responses generated for unknown questions and the questions is high; in addition, along with the change of the introducer, the responses generated for the unknown questions can also be changed, so that the diversity of the question responses is improved.

Description

technical field [0001] The present application relates to the technical field of natural language processing, and in particular to a method for constructing a dialogue system, a semantically controlled response method and a device. Background technique [0002] With the development of natural language processing technology, dialogue systems based on natural language processing technology have also been widely used. Commonly used dialogue systems, such as chat robots, can automatically generate corresponding responses according to the chat content input by users. [0003] Dialogue systems can be divided into goal-driven dialogue systems and non-goal-driven dialogue systems according to different application purposes. Among them, the goal-driven dialogue system refers to the dialogue system with clear service goals or service objects, such as customer service robots, weather broadcast robots, etc. Dialogue is a dialogue system in chat mode. [0004] In the prior art, the dia...

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 Patents(China)
IPC IPC(8): G06F16/332G06F16/33
CPCG06F16/3329G06F16/3334G06F16/3344
Inventor 蒋宏飞赵红红晋耀红
Owner ZHONGKE DINGFU BEIJING TECH DEV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products