An intention recognition algorithm based on an embedding method

A technology of recognition algorithm and intent, applied in the field of intent recognition algorithm, it can solve the problems of unlearned words or learning, waste of memory space, inaccuracy, etc., achieving less memory space, accuracy advantage, good stability and robustness Effect

Pending Publication Date: 2019-06-25
上海凯岸信息科技有限公司
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

There are mainly four shortcomings in the existing technology: the final effect of intent recognition is greatly affected by the quality of word vectors, compared with the quality of word vectors, the classification algorithm selected has little influence on the final effect; due to the training of word vectors It is generally performed on a general data set, so words in a specific field may not appear in the word vector or the meaning of a word in

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
  • An intention recognition algorithm based on an embedding method
  • An intention recognition algorithm based on an embedding method
  • An intention recognition algorithm based on an embedding method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The technical solution provided by the present invention does not use pre-trained word vectors on the general data set, but maps the user's input text and intent to the same vector space based on data in its own specific field, so that the user's input text and user intent The similarity comparison can be performed in the same space, thus transforming the classification problem into a sorting problem.

[0013] There are two key points of innovation in the present invention: one is to transform the intent classification problem into the intent ranking problem by mapping sentences and intents to the same vector space. The second is to modify the loss function in the paper, so that the new loss function has better stability and robustness.

[0014] like figure 1 As shown, firstly, all the sentences in the corpus are mapped to a new vector space through the neural network. The dimension of the network input layer is the number of words after word segmentation of all senten...

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 an intention recognition algorithm based on an embedding method. The algorithm comprises the steps of based on the data in the specific field, mapping the input text and intention of the user to the same vector space, enabling the input text and intention of the user to be subjected to similarity comparison in the same space, and converting a classification problem into a sorting problem; converting the intention classification problem into an intention sorting problem by mapping statements and intentions to the same vector space; modifying the loss function in the paper, so that the new loss function has better stability and robustness. The invention provides an intention recognition algorithm based on an embedding method. The word vectors pre-trained on the general data set need to occupy the memory space of more than 1 GB, and the model provided by the scheme of the invention only needs about 100 MB memory space due to the fact that only the concerned words and intentions are embedded, so that the occupied memory space is smaller.

Description

technical field [0001] The invention relates to machine learning algorithms, in particular to an intention recognition algorithm based on an embedding method. Background technique [0002] At present, the intention recognition algorithm in intelligent customer service generally selects a pre-trained word vector, converts and maps the user's input text into a word vector, uses the pre-trained word vector to represent the user's input sentence, and then uses the traditional machine learning algorithm Or deep learning algorithm for classification, converting intent recognition into a multi-classification problem. There are mainly four shortcomings in the existing technology: the final effect of intent recognition is greatly affected by the quality of word vectors, compared with the quality of word vectors, the classification algorithm selected has little influence on the final effect; due to the training of word vectors It is generally performed on a general data set, so words...

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): G06F16/35G06K9/62G06N3/04G06N3/08
Inventor 孙晓明
Owner 上海凯岸信息科技有限公司
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