Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Emotion prediction model training method and device

A prediction model and training method technology, applied in the direction of instrumentation, semantic analysis, semantic tool creation, etc., can solve the problems of large pre-training model parameters, higher requirements for the number of training samples, and poor performance in the target field, so as to improve the accuracy rate, Improve stability and reduce the number of effects

Pending Publication Date: 2022-02-25
ALIBABA GRP HLDG LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, fine-tuning the model in the source domain is prone to overfitting due to the variability of users' expressed emotions in different domains, resulting in poor performance in the target domain when the model is transferred from the source domain to the target domain.
Moreover, due to the large parameters of the pre-training model, fine-tuning consumes a lot of training speed and space, and requires a higher number of training samples.

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
  • Emotion prediction model training method and device
  • Emotion prediction model training method and device
  • Emotion prediction model training method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The present disclosure is described below based on examples, but the present disclosure is not limited only to these examples. In the following detailed description of the disclosure, some specific details are set forth in detail. The present disclosure can be fully understood by those skilled in the art without the description of these detailed parts. In order to avoid obscuring the essence of the present disclosure, well-known methods, procedures, and procedures are not described in detail. Additionally, the drawings are not necessarily drawn to scale.

[0047] The following terms are used in this document.

[0048] Multi-domain Sentiment Analysis System: Given a user's text, understand the user's emotional polarity. The task is characterized by multi-domain, and the text contains multiple domains, including the source domain and the target domain. The source domain often contains a large amount of labeled data, while the target domain has only a small amount or ev...

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 emotion prediction model training method and device. The training method comprises the following steps: acquiring a plurality of unsupervised corpora; and covering at least one emotion expression in the unsupervised corpus, and inputting the corpus before covering and the corpus after covering into an emotion prediction model as training samples. The emotion prediction model is used for performing a word prediction task and a word emotion prediction task for the masked emotion expression in the training sample, and calculating a task error according to a word prediction task result, a word emoition prediction task result and the corpus before masking, and correcting a weight coefficient of the emotion prediction model based on the task error. According to the method, the emotion expression is masked to construct the training samples, and the to-be-trained emotion prediction model is trained by using the training samples, so that the accuracy of an emotion prediction analysis task can be improved, the stability of the model can be improved, and the number of the training samples is greatly reduced.

Description

technical field [0001] The present disclosure relates to the field of natural language processing, in particular, to a training method and device for an emotion prediction model. Background technique [0002] In recent years, pre-trained language models have been widely used in multi-domain sentiment analysis and achieved good results. However, fine-tuning the model in the source domain is prone to overfitting due to the variability of user expressed emotions in different domains, resulting in poor performance in the target domain when transferring the model from the source domain to the target domain. Moreover, due to the large parameters of the pre-trained model, fine-tuning consumes a lot of training speed and space, and requires a higher number of training samples. Contents of the invention [0003] In view of this, the purpose of the present disclosure is to provide a method and device for training an emotion prediction model, so that the weight parameters of the obt...

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/33G06F16/36G06F40/211G06F40/30
CPCG06F16/3344G06F40/211G06F40/30G06F16/36
Inventor 周杰肖文明田俊峰王睿
Owner ALIBABA GRP HLDG 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
Eureka Blog
Learn More
PatSnap group products