A xlnet-based intelligent speech dialogue intent recognition method

A recognition method and technology of intelligent speech, applied in speech recognition, speech analysis, instruments, etc., can solve the problems of huge corpus and computing resources, the model does not converge or over-fit, and the effect is not good, so as to improve the intention recognition rate, Intent identification is accurate and the effect of improving the correlation measurement

Active Publication Date: 2020-07-28
浙江百应科技有限公司
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The introduction of the XLNet model has refreshed the achievements of nlp technology in various data sets. However, there are still many problems in the use of XLNet technology in the field of speech recognition.
[0003] First of all, based on the XLNet model, the script and model parameters in the demo are completely reused, and the demo script and model parameters are completely reused. In the actual scene, the model parameters are not adjusted according to the data distribution of the own, resulting in poor results; secondly, because of retraining the entire The corpus and computing resources required by the network are too large, causing the entire model to fail to converge or overfit when individuals or companies choose to retrain the entire network

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 xlnet-based intelligent speech dialogue intent recognition method
  • A xlnet-based intelligent speech dialogue intent recognition method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The technical solutions of the present invention will be further described below in conjunction with the accompanying drawings, but the present invention is not limited to these embodiments.

[0030] The embodiment of the present invention proposes an XLNet-based intelligent voice dialogue intent recognition method, such as figure 1 shown, including the following steps:

[0031] S1: Mark the standard questions of dialogue nodes and extended similar questions as corpus and organize them into text samples;

[0032] S2: Split the text sample into a training set and a validation set;

[0033] S3: Input the training set into the model, initialize the original relevant weights, set the number of iterations and step size, and add Triplet loss to the loss function, fix the other layers of the network, and only train the last two layers of the XLNet model again until the model converges ;

[0034] S4: Evaluation of indicators such as offline accuracy, the verification model i...

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 an XLNet-based intelligent voice conversation intention recognition method. The method comprises the following steps of S1, marking and sorting a standard question of a conversation node and a plurality of extended similar questions as corpora into a text sample; S2, splitting the text sample into a training set and a verification set; S3, inputting the training set into anXLNet model, initializing an original correlation weight, setting the iteration number and the step length, adding Triplet loss in a loss function, and fixing other layers of a network; S4, verifyingthe XLNet model on the verification set by the offline accuracy; S5, pre-loading the XLNet model, providing an interface for receiving a to-be-recognized voice and converting the to-be-recognized voice into text input, and outputting a classification category related to a conversation text; S6, adding corresponding threshold calculation and classification probability calculation in an online service; and S7, obtaining a text title of relevant classification through a configuration file during classification activation. According to the intention recognition method, the intention recognition rate is greatly improved; and a demo script is rewritten, so that the intention recognition rate is improved.

Description

technical field [0001] The invention relates to the field of speech recognition, in particular to an XLNet-based intelligent speech dialogue intention recognition method. Background technique [0002] With the rapid development of big data and machine computing power, deep learning technology has made many major breakthroughs in vision and speech. In the field of speech recognition, more and more intelligent voice robots are put into practical use. Whether a voice robot is intelligent or not depends on whether the intention recognition during the dialogue is accurate. The introduction of the XLNet model has refreshed the achievements of nlp technology in various data sets. However, there are still many problems in the use of XLNet technology in the field of speech recognition. [0003] First of all, based on the XLNet model, the script and model parameters in the demo are completely reused, and the demo script and model parameters are completely reused. In the actual scene,...

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): G10L15/06G10L15/26
CPCG10L15/063G10L15/26
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