arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.09803cs.CL
收藏

用于情感分析的情感感知词和句子级预训练

Sentiment-Aware Word and Sentence Level Pre-training for Sentiment Analysis

Xiamen University(厦门大学);The University of Melbourne(墨尔本大学);IDEA Research(IDEA研究院);Microsoft Research Asia(微软亚洲研究院)

Shuai Fan, Chen Lin, Haonan Li, Zhenghao Lin, Jinsong Su, Hang Zhang, Yeyun Gong, Jian Guo, Nan Duan

摘要:

大多数现有的预训练语言表示模型(PLM)在情感分析任务中是次优的,因为它们从词级捕获情感信息,而不充分考虑句子级信息。在本文中,我们提出了SentiWSP,一种新的情感感知预训练语言模型,结合单词级和句子级预训练任务。词级预训练任务通过生成器-语义框架检测替换的情感词,以增强PLM关于情感词的知识。句子级预训练任务通过对比学习框架进一步加强了语义,将相似的句子作为否定样本,以编码句子中的情感。大量的实验结果表明,SentiWSP实现了新的国家的最先进的性能在各种不同的层次和方面的情感分类基准。我们已经在https://github.com/XMUDM/SentiWSP上公开了我们的代码和模型。

英文摘要:

Most existing pre-trained language representation models (PLMs) are sub-optimal in sentiment analysis tasks, as they capture the sentiment information from word-level while under-considering sentence-level information. In this paper, we propose SentiWSP, a novel Sentiment-aware pre-trained language model with combined Word-level and Sentence-level Pre-training tasks. The word level pre-training task detects replaced sentiment words, via a generator-discriminator framework, to enhance the PLM's knowledge about sentiment words. The sentence level pre-training task further strengthens the discriminator via a contrastive learning framework, with similar sentences as negative samples, to encode sentiments in a sentence. Extensive experimental results show that SentiWSP achieves new state-of-the-art performance on various sentence-level and aspect-level sentiment classification benchmarks. We have made our code and model publicly available at https://github.com/XMUDM/SentiWSP.

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

↑