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

Neural network-based dialogue semantic intention prediction method and learning training method

A neural network and neural network model technology, applied in the field of dialogue semantic intent prediction, learning and training, can solve problems such as the inability to use real-time experience online for autonomous learning, the lack of deep semantic information related to tasks, and the inability to obtain initialization vector representations, etc., to achieve high The effect of semantic intent prediction, saving time and economic cost, and improving the accuracy of description

Inactive Publication Date: 2018-08-03
北京十三科技有限公司
View PDF3 Cites 52 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The LSTM neural network model needs to rely on the original word vector input. For the semantic intent recognition task in chat robots, it is difficult to obtain large-scale corpus for training word vectors (especially human-machine dialogue). initialization vector representation
[0012] The LSTM neural network model only takes each word vector of a sentence (instead of each sentence text in several consecutive sentences) as input, and inputs it into the corresponding Cell unit in time series, lacking deep semantic information related to the task, so , the model does not fully characterize the chat text
[0013] The LSTM neural network model uses a supervised learning training algorithm to optimize the adjustment of network weights. Therefore, it is necessary to manually identify and label a large number of data samples, which will bring huge time and labor costs.
[0014] The LSTM neural network model adopts the offline learning and training method to realize the optimization and adjustment of the network weights. Therefore, it is impossible to use real-time experience to learn independently online. The network weights can only be updated after collecting a certain number of samples and going through the offline learning and training process again.

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
  • Neural network-based dialogue semantic intention prediction method and learning training method
  • Neural network-based dialogue semantic intention prediction method and learning training method
  • Neural network-based dialogue semantic intention prediction method and learning training method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0067] The present invention provides a "Q-LSTM neural network-based chat robot dialogue semantic intent prediction method", its model framework is as attached figure 2 As shown, it includes the design of modules such as input vector generation, Q-LSTM neural network, random intent selection, tentative dialog generation, human dialog acquisition, intent matching check, and input status update. The design steps of each module are as follows:

[0068] Step 1, input vector generation module design.

[0069] Carry out preprocessing such as word segmentation on a large amount of data collection (labeled corpus) collected in advance;

[0070] Generate a vocabulary for non-repetitive words in the statistical corpus;

[0071] At a certain moment t, the sentence text of a certain length I in a certain time segment τ of the human interlocutor (said before or just said) is expressed in a one-hot vector space according to the vocabulary to form a sentence matrix S τ , as a certain set ...

Embodiment 2

[0149] The learning and training process of the "Q-LSTM neural network-based chat robot dialog semantic intent prediction method" provided by the present invention is shown in the attached Figure 5 As shown, the specific steps are:

[0150] Step 1. Collect and organize human chat sequence dialogue data.

[0151] According to the service field to be applied by the chat robot, through some public social platforms, a large number of sequence sample data of actual conversations between people and between machines and people are collected, and after basic semantic processing, a dialogue database is established.

[0152] Step 2, sequence dialogue data preprocessing and semantic intent labeling.

[0153] For the database generated in step (1), firstly use some keywords and template rules to preprocess the data, and filter out some unintentional data; then carry out semantic preprocessing and semantic intent labeling of sequence dialogue data samples, the specific steps are as follo...

Embodiment 3

[0178] With the intelligent customer service (chat robot) of real estate intermediary as the application background, based on the chat record data basis of the customer service person-person and man-machine dialogue of a certain domestic large-scale real estate intermediary agency in a certain city, according to the above-mentioned implementation of the present invention provided A "Semantic Intent Prediction Method for Chat Robot Dialogue Based on Q-LSTM Neural Network", the specific steps are as follows:

[0179] Step 1. Collect and organize human chat sequence dialogue data. Using the customer service platform of a large domestic real estate agency in a certain city, collected two months of human-human and human-computer conversation and chat record data about 30,000 sets of sequence sentences, and the number of sentences in each set of sequence sentences does not exceed 10 , the number of participles included in each sentence does not exceed 30, and after basic semantic pr...

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 neural network-based chat robot dialogue semantic intention prediction method and a learning training method. The prediction method is used for a chat robot to predict a possibly continuous dialogue intention or point of interest (one of multiple dialogue intentions or points of interest) of a dialogist according to a sequence (said) statement eigenvector of the human dialogist; and by heuristically selecting an output dialogue of the chat robot and taking an answer of the dialogist as a verification feedback of a previous intention prediction result, online reinforcement learning and self-updating of an algorithm are realized, the accuracy of dialogue intention prediction is continuously improved, the round number of chat can be increased, and the interest of thedialogist can be enhanced.

Description

technical field [0001] The present disclosure relates to the technical field of semantic analysis, in particular to a neural network-based dialog semantic intent prediction method and a learning and training method. Background technique [0002] Through chatbots, people communicate with computers in natural language. In the process of chatting with the robot, a large amount of data containing rich user information is generated, which contains the user's potential needs and intentions. Intent recognition aims to judge whether the text or performance behavior posted by a user has a certain directional intention (such as consumption, leisure, knowledge, etc.), and accurately identifying user intentions can make chatbots more intelligent and enhance user experience; at the same time , and can also recommend consumer products in a targeted manner to better serve users. [0003] Conventional intent recognition uses template-matching-based methods and guided classification-based ...

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/27G06F17/30G06N3/08
CPCG06N3/08G06F16/3329G06F40/30
Inventor 张宇
Owner 北京十三科技有限公司
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