Unlock instant, AI-driven research and patent intelligence for your innovation.

Cross-domain text sentiment classification method based on parameter migration and attention sharing mechanism

A sharing mechanism and sentiment classification technology, applied in text database clustering/classification, neural learning methods, unstructured text data retrieval, etc., to avoid overfitting and improve the accuracy of sentiment classification

Active Publication Date: 2021-08-31
SHANXI UNIV OF FINANCE & ECONOMICS
View PDF11 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Existing methods mainly address two problems: (1) determine which parameters can be shared in the model? (2) How to share model parameters? That is, which method is used to realize the migration of model parameters

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
  • Cross-domain text sentiment classification method based on parameter migration and attention sharing mechanism
  • Cross-domain text sentiment classification method based on parameter migration and attention sharing mechanism
  • Cross-domain text sentiment classification method based on parameter migration and attention sharing mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0090] Attached below Figure 1-Figure 6 To further describe the present invention.

[0091] Such as figure 1 As shown, the framework of the present invention is mainly divided into the following five steps, which need to be gradually implemented to finally realize the task of sentiment classification of unlabeled data in the target field. The implementation process mainly includes the following steps:

[0092] Below at first provide basic symbol mark and definition of the present invention:

[0093] D is a document set, x ∈ D is a document, and s is a sentence in document x. word w i is a real-valued vector, that is, E is the word vector matrix, Y={positive, negative} is the label space. (x, y) is the training sample, and y∈Y is the emotion category label.

[0094] D. S is the source domain, and the set of labeled samples in the target domain, is the test set in the target domain. D. T is the target domain, and for D S word-level attention in for D S Sent...

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 provideds a method and a system based on a parameter migration and attention sharing mechanism for a cross-domain text sentiment classification task. In particular, the present architecture includes a source domain network and a target domain network. Firstly, a hierarchical attention network with a pre-training language model is constructed on training data, and the pre-training language model comprises a global vector for word representation and a bidirectional encoder language model. Secondly, in model migration, a word and sentence level parameter migration mechanism is introduced, and network parameters are migrated from a source domain network to a target domain network by adopting a parameter migration and fine tuning technology. Finally, emotional attention can serve as a bridge for connecting emotional transmission of different fields, a word and sentence level attention mechanism is introduced, and cross-field emotional attention is shared from the two levels. Experiments show that the method provided by the invention achieves an optimal result on an Amazon cross-domain sentiment classification data set.

Description

technical field [0001] The invention relates to the field of natural language processing text sentiment analysis, and proposes a cross-domain text sentiment classification method based on a parameter migration and attention sharing mechanism. Background technique [0002] Traditional text sentiment classification methods assume that the fields used for training and testing are independent and identically distributed. However, under practical conditions, there are distributional differences between different domains. Cross-domain text sentiment classification uses source domain data resources to achieve sentiment classification tasks in the target domain. In order to effectively solve the problem of insufficient data labeling in specific domains, cross-domain sentiment classification extends the application of transfer learning in text-based social media, which can improve the classification effect of text sentiment classification tasks with insufficient data sources. Furth...

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/35G06F40/205G06F40/30G06N3/04G06N3/08
CPCG06F16/355G06F40/30G06F40/205G06N3/04G06N3/084
Inventor 赵传君
Owner SHANXI UNIV OF FINANCE & ECONOMICS