Machine learning model training method, intention recognition method, related device and equipment

An intent and model technology, applied in the field of equipment, intent recognition methods and related devices, can solve problems such as poor intent recognition accuracy

Pending Publication Date: 2020-05-12
HUAWEI TECH CO LTD
View PDF6 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

By applying the machine learning model, this method has better generalization ability, does not need to enumerate all possible statements, and can directly predict the category of intent classification, but the accuracy of intent recognition is poor

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
  • Machine learning model training method, intention recognition method, related device and equipment
  • Machine learning model training method, intention recognition method, related device and equipment
  • Machine learning model training method, intention recognition method, related device and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0155] The terms involved in this application are introduced below.

[0156] The training sample set is a collection of all samples used to train the machine learning model. One or more training samples that can be used in a training process (that is, an update process of model parameters). Each training sample includes training text and the real intent of the training text, that is, the training sample is marked with the real intent. All the real intentions in the training sample pool constitute the "real intent set" in this paper, that is to say, each real intention in the real intent set has a training sample. A "zero-sample intent set" herein refers to a set of intents that do not have corresponding training samples. The intersection of the true intent set and the zero-sample intent set is the empty set.

[0157] Texts such as "training text" and "text to be recognized" in this article are expressions of written language, which can be a sentence or a combination of mult...

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 embodiment of the invention discloses a machine model training method, an intention recognition method and related devices in the field of artificial intelligence. The method comprises the following steps: training a capsule network model according to a training sample, wherein the training process comprises the steps of iteratively adjusting a current weight coefficient corresponding to a first prediction vector according to the similarity between a first activation vector and the first prediction vector, wherein the first activation vector is the weighted sum of a plurality of predictionvectors, and represents the probability that the intention of the training text is predicted as a first real intention; and the first prediction vector represents a contribution of the first semanticfeature to the first real intent. Furthermore, the weight coefficient corresponding to the prediction vector with the large similarity with the first activation vector is increased; therefore, the semantic features corresponding to the prediction vectors with the large similarity with the first activation vectors are screened out, the semantic features corresponding to the prediction vectors withthe small similarity with the first activation vectors are filtered out, the semantic features with the high correlation degree are screened out to form the intention, and the accuracy of intention recognition of the model is improved.

Description

technical field [0001] The present application relates to the technical field of machine learning, and in particular to a training method of a capsule network model for recognizing intent, a training method of a combined machine learning model for recognizing intent, an intent recognition method, and related devices and equipment. Background technique [0002] With the development of artificial intelligence technology, dialogue systems have been applied to more and more electronic devices, such as mobile phones, smart assistants, smart speakers, smart vehicle equipment, smart robots, etc. The dialogue system provides users with an interactive way to directly talk to the machine through voice, which is more convenient and flexible than traditional click or touch methods. In the process of interacting with the machine through dialogue, accurately identifying the intention behind the user's utterance is the key to the correct execution of the dialogue process. If the intent re...

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): G06F40/30G06F16/332G10L15/26
CPCG10L15/26
Inventor 晏小辉
Owner HUAWEI 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