arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2202.12093cs.CLcs.AI
收藏

KESA:一种用于情感分析的知识增强方法

KESA: A Knowledge Enhanced Approach For Sentiment Analysis

Beihang University(北京航空航天大学)

Qinghua Zhao, Shuai Ma, Shuo Ren

AI总结:

KESA提出情感词完形填空与条件情感预测两个辅助任务,结合标签组合方法,在句子级情感分析中实现优于预训练模型的性能,且可与现有知识增强预训练后模型互补。

摘要:

尽管近期一些研究聚焦于将情感知识注入预训练语言模型,但它们通常在预训练后阶段设计掩码与重构任务。本文旨在以更轻量的方式利用情感知识。为此,我们研究句子级情感分析,相应地提出两个感知情感的辅助任务:情感词完形填空和条件情感预测。第一个任务以整体情感极性为先验知识,学习在输入中选择正确的情感词;相反,第二个任务以单词的情感极性为先验知识,预测整体情感极性。此外,我们研究两种标签组合方法,以统一每个任务中的多种类型标签。我们认为更多信息可促使模型学习更深刻的语义表示,我们以直接方式实现该方法以验证这一假设。实验结果表明,我们的方法始终优于预训练模型,且可与现有的知识增强预训练后模型互补。代码与数据已发布在该https URL。

英文摘要:

Though some recent works focus on injecting sentiment knowledge into pre-trained language models, they usually design mask and reconstruction tasks in the post-training phase. In this paper, we aim to benefit from sentiment knowledge in a lighter way. To achieve this goal, we study sentence-level sentiment analysis and, correspondingly, propose two sentiment-aware auxiliary tasks named sentiment word cloze and conditional sentiment prediction. The first task learns to select the correct sentiment words within the input, given the overall sentiment polarity as prior knowledge. On the contrary, the second task predicts the overall sentiment polarity given the sentiment polarity of the word as prior knowledge. In addition, two kinds of label combination methods are investigated to unify multiple types of labels in each task. We argue that more information can promote the models to learn more profound semantic representation. We implement it in a straightforward way to verify this hypothesis. The experimental results demonstrate that our approach consistently outperforms pre-trained models and is additive to existing knowledge-enhanced post-trained models. The code and data are released at https://github.com/lshowway/KESA.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑