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

A dual-memory attention-based aspect-level emotion classification model and method

A technology of emotion classification and attention, applied in the field of text emotion classification and natural language processing, can solve problems such as ignoring emotional features, achieve the effect of enhancing robustness and improving accuracy

Active Publication Date: 2021-05-04
UNIV OF ELECTRONICS SCI & TECH OF CHINA
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Among the existing solutions, the cyclic neural network model based on the attention mechanism and the multi-layer model based on the attention mechanism perform better. The reason for the better performance of the former is that with the help of the feature abstraction mechanism of the deep learning model, more accurate attention distribution, and the latter uses the attention captured by the previous layer to help the next layer to calculate a more accurate attention distribution. Very important word-level or phrase-level emotional features

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 dual-memory attention-based aspect-level emotion classification model and method
  • A dual-memory attention-based aspect-level emotion classification model and method
  • A dual-memory attention-based aspect-level emotion classification model and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] The present invention will be further described below in conjunction with the accompanying drawings and embodiments.

[0071] This embodiment provides a RNN encoder-decoder sentiment classification model with dual memory attention, which consists of an encoder, two memory modules, a decoder and a classifier. First, the encoder encodes the word vector corresponding to the input sentence to obtain the hidden layer state in the GRU recurrent neural network and the intermediate vector And constitute two memory modules om and em, which respectively store potential word-level and phrase-level features; secondly, the decoder first performs the first decoding stage on em, and then performs the second decoding stage on om, which The aim is to capture phrase-level and word-level features from the two memories, respectively. In particular, the present invention adopts a special feed-forward neural network attention layer, continuously captures the important emotional features ...

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 aspect-level emotion classification model and method based on dual-memory attention, and belongs to the technical field of text emotion classification. The model of the present invention mainly includes three modules: an encoder composed of a standard GRU cyclic neural network, a GRU cyclic neural network decoder introducing a feedforward neural network attention layer, and a Softmax classifier. The model regards the input sentence as a sequence, and based on the attention of the aspect-level word position in the sentence, two memory modules are respectively constructed from the original text sequence and the hidden layer state of the encoder, and randomly initialized through the feedforward neural network attention layer. Fine-tune the attention distribution of the sentence to capture the important emotional features in the sentence, and build an encoder-decoder classification model based on the learning ability of the GRU recurrent neural network for the sequence to achieve the aspect-level emotion classification ability. The invention can significantly improve the robustness of text sentiment classification and increase the classification accuracy rate.

Description

technical field [0001] The invention belongs to the technical field of text emotion classification, in particular to the technical field of natural language processing, and specifically relates to an aspect-level emotion classification model and method based on a dual-memory attention mechanism and an encoder-decoder structure. Background technique [0002] Sentiment analysis, also known as opinion mining, is a research field that analyzes people's subjective feelings such as opinions, emotions, evaluations, opinions and attitudes towards physical objects such as products, services, organizations, individuals, events, topics and their attributes. Aspect-level sentiment analysis is to analyze the emotional tendency (positive, negative or Neutral), which is a subdivision task of sentiment analysis and one of the fundamental concerns in this field. [0003] Traditional feature representation methods include One-hot, N-Gram, and some effective features designed by domain expert...

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): G06F40/30G06N3/04
CPCG06F40/30G06N3/045
Inventor 刘峤吴培辛曾义夫曾唯智蓝天
Owner UNIV OF ELECTRONICS SCI & TECH OF CHINA