首页> 外文期刊>Computational intelligence and neuroscience >Interactive Dual Attention Network for Text Sentiment Classification
【24h】

Interactive Dual Attention Network for Text Sentiment Classification

机译:用于文本情感分类的交互式双注意力网络

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Text sentiment classification is an essential research field of natural language processing. Recently, numerous deep learning-based methods for sentiment classification have been proposed and achieved better performances compared with conventional machine learning methods. However, most of the proposed methods ignore the interactive relationship between contextual semantics and sentimental tendency while modeling their text representation. In this paper, we propose a novel Interactive Dual Attention Network (IDAN) model that aims to interactively learn the representation between contextual semantics and sentimental tendency information. Firstly, we design an algorithm that utilizes linguistic resources to obtain sentimental tendency information from text and then extract word embeddings from the BERT (Bidirectional Encoder Representations from Transformers) pretraining model as the embedding layer of IDAN. Next, we use two Bidirectional LSTM (BiLSTM) networks to learn the long-range dependencies of contextual semantics and sentimental tendency information, respectively. Finally, two types of attention mechanisms are implemented in IDAN. One is multihead attention, which is the next layer of BiLSTM and is used to learn the interactive relationship between contextual semantics and sentimental tendency information. The other is global attention that aims to make the model focus on the important parts of the sequence and generate the final representation for classification. These two attention mechanisms enable IDAN to interactively learn the relationship between semantics and sentimental tendency information and improve the classification performance. A large number of experiments on four benchmark datasets show that our IDAN model is superior to competitive methods. Moreover, both the result analysis and the attention weight visualization further demonstrate the effectiveness of our proposed method.
机译:文本情感分类是自然语言处理的一个重要研究领域。最近,人们提出了许多基于深度学习的情感分类方法,与传统的机器学习方法相比,取得了更好的性能。然而,大多数提出的方法在对文本表示进行建模时忽略了上下文语义与情感倾向之间的交互关系。在本文中,我们提出了一种新的交互式双注意力网络(IDAN)模型,旨在交互式学习上下文语义和情感倾向信息之间的表示。首先,我们设计了一种算法,利用语言资源从文本中获取情感倾向信息,然后从BERT(Bidirectional Encoder Representations from Transformers)预训练模型中提取词嵌入作为IDAN的嵌入层。接下来,我们使用两个双向LSTM(BiLSTM)网络分别学习上下文语义和情感倾向信息的长程依赖关系。最后,在IDAN中实现了两种类型的注意力机制。一种是多头注意力,它是BiLSTM的下一层,用于学习上下文语义和情感倾向信息之间的交互关系。另一个是全局关注,旨在使模型专注于序列的重要部分,并生成用于分类的最终表示。这两种注意力机制使IDAN能够交互式地学习语义和情感倾向信息之间的关系,提高分类性能。在四个基准数据集上的大量实验表明,我们的IDAN模型优于竞争方法。此外,结果分析和注意力权重可视化都进一步证明了所提方法的有效性。

著录项

获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号