Emotion classification continuous learning method based on iterative network combination and storage medium

A technology of emotion classification and learning method, which is applied in the field of text-based emotion classification, can solve problems such as task catastrophic forgetting and occupying large storage resources, so as to ensure continuous learning performance and resource cost advantages, save network resources, and improve network training efficiency Effect

Pending Publication Date: 2021-11-02
SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when the BERT model is applied to the continuous learning of emotion classification tasks, there are mainly technical defects in the following aspects: first, the old emotion classification model that has spent a lot of time training is abandoned; second, the old emotion classification model and The data of the old tasks needs to be stored continuously, which takes up a lot of storage resources; 3. If the old sentiment classification model trained before is used again to adapt to the updated data, the model will catastrophically forget the tasks in the old domain

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 classification continuous learning method based on iterative network combination and storage medium
  • Emotion classification continuous learning method based on iterative network combination and storage medium
  • Emotion classification continuous learning method based on iterative network combination and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] The continuous learning method for emotion classification based on iterative network combination proposed by the present application includes the following steps: using BERT as the network model for the training data from multiple data sources to establish the original network 2; For new tasks; use BERT as the network model, adapt the original network 2 to the new task, and obtain the fine-tuning network 4; obtain the original combination parameters in the original network 2, and train the fine-tuning network 4 to obtain the fine-tuning combination parameters; freeze the original combination parameters and the fine-tuning combination Parameters; linearly combine the original network 2 and the fine-tuning network 4 to obtain the intermediate network 3; initialize the weight combination parameters of the intermediate network 3 to obtain the combination initialization parameters; obtain the original combination parameters and fine-tuning combination parameters in the interme...

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 sentiment classification continuous learning method based on iterative network combination and a storage medium, and the method comprises the steps: linearly combining an original network and a fine tuning network, and carrying out the initialization of weight combination parameters of an intermediate network; retraining the intermediate network based on the original combination parameter, the fine tuning combination parameter and the combination initialization parameter to obtain an optimized weight combination parameter; equivalently converting the intermediate network into a final combined network, wherein the final combined network is used as a new original network when learning a next new task; taking the optimized weight combination parameter as an original combination parameter of the original network of the next new task. According to the continuous learning method based on sentiment classification disclosed by the invention, the problem of catastrophic forgetting of previous knowledge in the sentiment classification continuous learning process of the BERT model is avoided under the condition that the network scale is not increased.

Description

technical field [0001] The present application relates to the technical field of text-based emotion classification, in particular to a continuous learning method and storage medium for emotion classification based on iterative network combination. Background technique [0002] Pre-trained language models, such as GPT, BERT, XLNet, etc., have been proposed and applied to many natural language processing tasks, including sentiment classification tasks. BERT was originally designed to pre-train deep bidirectional representations from unlabeled text, by jointly using the left and right contexts of all layers for prediction. [0003] However, when the BERT model is applied to the continuous learning of emotion classification tasks, there are mainly technical defects in the following aspects: first, the old emotion classification model that has spent a lot of time training is abandoned; second, the old emotion classification model and The data of old tasks needs to be stored cont...

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): G06F16/33G06F16/35G06N3/04G06N3/08
Inventor 汪书鹏刘俊浩杨敏姜青山
Owner SHENZHEN INST OF ADVANCED TECH CHINESE ACAD OF SCI
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