Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

An Attribute-Level Sentiment Analysis Method Based on Hierarchical Attention Mechanism and Gate Mechanism

A technology of emotion analysis and attention, applied in the field of emotion analysis, can solve problems such as inability to achieve recognition, achieve the effects of deepening relevance, enriching information, and improving the accuracy of emotion analysis

Active Publication Date: 2022-06-03
SHENZHEN POLYTECHNIC +1
View PDF10 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, simple splicing cannot achieve the effect of identifying important words for attribute words in the context
Second, in most attribute-level sentiment analysis work, the results of the attention mechanism between context and attribute words are directly used as the expression of context and attribute words. This paper argues that this approach ignores the role of the original context and attribute word representation to a certain extent

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
  • An Attribute-Level Sentiment Analysis Method Based on Hierarchical Attention Mechanism and Gate Mechanism
  • An Attribute-Level Sentiment Analysis Method Based on Hierarchical Attention Mechanism and Gate Mechanism
  • An Attribute-Level Sentiment Analysis Method Based on Hierarchical Attention Mechanism and Gate Mechanism

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0083]

[0086]

[0089]

[0094]

[0096]

[0097]

[0098] P

[0101]

[0105] Step 501, obtain context representation 1, attribute word representation and gate mechanism-based top and bottom based on hierarchical attention

[0106]

[0107]

[0108]

[0109]

[0110]

[0111]

[0112] where is the parameter vector, α, β, γ are the attribute word representation, the context representation 1 and

[0116] x=W

[0117]

[0122]

[0123]

[0124] Where C is the total number of sentiment classifications, this paper C=3, i.e. positive, neutral and negative, g

[0129]

[0131] The present invention uses the average accuracy to measure the attribute-level sentiment score based on the hierarchical attention mechanism and the gate mechanism

[0132]

[0133] Where TP is represented as a positive example for the true category, and the predicted category is also a positive example; TN is represented as a negative example for the true category, and the predicted category is

[0136] In order...

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 attribute-level sentiment analysis method based on a hierarchical attention mechanism and a gate mechanism, aiming to make full use of the relationship between the context and the attribute words, so that the context and the attribute words are fully associated; the context and the attribute words are highlighted In order to improve the accuracy of attribute-level sentiment analysis; to enrich the information in the context and attribute word representation, the solution is to preprocess the comment corpus, and obtain the context word embedding matrix and attribute word embedding through the GloVe word vector index Matrix; input the context and attribute words into the GRU to obtain the hidden state of the context and the hidden state of the attribute words; obtain the context vector representation 1, the attribute word vector representation and the context vector representation 2 through self-attention; splicing to obtain the overall vector representation, and through classification The device obtains the distribution of the emotional polarity corresponding to the attribute word in the context, analyzes the difference, and adjusts the parameters in the model; it belongs to the field of emotional analysis in natural semantic processing.

Description

An attribute-level sentiment analysis method based on hierarchical attention mechanism and gate mechanism technical field The present invention relates to a kind of sentiment analysis method, specifically, is a kind of based on hierarchical attention mechanism and gate mechanism Attribute-level sentiment analysis method; belongs to the field of sentiment analysis in natural semantic processing. Background technique [0002] In recent years, with the development of the Internet, a large number of consumer platforms and social network platforms have gradually entered people's Life. Consumers often leave a comment about the pros and cons of the product after consuming on the consumer platform, and netizens will also leave a comment. view on an event. For businesses, these comments with emotional information, whether for enterprises or the government Words are of great value, and companies can understand the shortcomings of products by analyzing consumer reviews, so as t...

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): G06F16/33G06F16/35G06F40/289G06K9/62G06N3/04G06N3/08
CPCG06F16/3344G06F16/35G06F40/289G06N3/049G06N3/08G06N3/047G06N3/048G06N3/045G06F18/2415G06F18/241
Inventor 赵洪雅黎海辉魏东平李瑾
Owner SHENZHEN POLYTECHNIC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products