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

Dialogue system construction method and semantic controlled response method and device

A dialogue system and construction method technology, applied in special data processing applications, instruments, electrical digital data processing, etc., can solve problems such as uncontrollable semantics of responses, insufficient correlation between responses and questions, and different semantics

Active Publication Date: 2018-03-13
ZHONGKE DINGFU BEIJING TECH DEV
View PDF5 Cites 26 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
  • Dialogue system construction method and semantic controlled response method and device
  • Dialogue system construction method and semantic controlled response method and device
  • Dialogue system construction method and semantic controlled response 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 This is a structural block diagram of a dialogue system constructed in the embodiment of the present application. Wherein, the dialogue system constructed in the embodiment of the present application includes: a first question answering model and a second question answering model for generating answers to questions, wherein the first question answering model is used for generating a first answer containing partial answer content to the question, and the second question answering model The question answering model is used to generate a second answer containing the complete answer content of the question in combination with the first answer.

[0029] In the embodiment of the present application, the first question answering model and the second question answering model are machine learning models, and the machine learning model is an algorithm model constructed based ...

Embodiment 2

[0111] The embodiment of the present application provides a semantically controlled response method, which is applied to a dialog system constructed by the method for constructing a dialog system provided by the present application, Figure 9 A flowchart of a semantically controlled response method provided in the embodiment of the present application, such as Figure 9 As shown, the method includes:

[0112] In step S210, when the user inputs a question, a guide word is obtained from the question, and the guide word is semantically associated with the question.

[0113] In this application, guide 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 guide the semantics of the sentence. Therefore, verbs are sentence components that are related to sentence semantics; in addition, nouns are often used in sentences. Expresses a concept through which the con...

Embodiment 3

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

[0155] The obtaining module 310 is configured to obtain a guide word from the question when the user inputs a question, where the guide word is semantically associated with the question.

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

[0157] The second answering module 330 is configured to use a second question answering model to generate a second answer to the question acco...

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 method and device for semantically controlled response. Background technique [0002] With the development of natural language processing technology, dialogue systems established 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 target-driven dialogue systems and non-target-driven dialogue systems according to different application purposes. Among them, the goal-driven dialogue system refers to a dialogue system with clear service goals or service objects, such as customer service robots, weather broadcasting robots, etc.; non-object-driven dialogue systems refer to those developed w...

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): G06F17/30
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