Suppr超能文献

基于Transformer和数据增强的文本情感分析

Text Sentiment Analysis Based on Transformer and Augmentation.

作者信息

Gong Xiaokang, Ying Wenhao, Zhong Shan, Gong Shengrong

机构信息

School of Computer Science and Technology, Soochow University, Suzhou, China.

School of Computer Science and Engineering, Changshu Institute of Technology, Suzhou, China.

出版信息

Front Psychol. 2022 May 13;13:906061. doi: 10.3389/fpsyg.2022.906061. eCollection 2022.

Abstract

With the development of Internet technology, social media platforms have become an indispensable part of people's lives, and social media have been integrated into people's life, study, and work. On various forums, such as Taobao and Weibo, a large number of people's footprints are left all the time. It is these chats, comments, and other remarks with people's emotional evaluations that make up part of public opinion. Analysis of this network public opinion is conducive to maintaining the peaceful development of society. Therefore, sentiment analysis has become a hot research field and has made great strides as one of the hot topics in the field of natural language processing. Currently, the BERT model and its variants have achieved excellent results in the field of NLP. However, these models cannot be widely used due to huge demands on computing resources. Therefore, this paper proposes a model based on the transformer mechanism, which mainly includes two parts: knowledge distillation and text augmentation. The former is mainly used to reduce the number of parameters of the model, reducing the computational cost and training time of the model, and the latter is mainly used to expand the task text so that the model can achieve excellent results in the few-sample sentiment analysis task. Experiments show that our model achieves competitive results.

摘要

随着互联网技术的发展,社交媒体平台已成为人们生活中不可或缺的一部分,社交媒体已融入人们的生活、学习和工作之中。在淘宝、微博等各类论坛上,时刻都留下了大量人们的足迹。正是这些带有人们情感评价的聊天、评论等言论构成了舆论的一部分。对这种网络舆论进行分析,有利于维护社会的和平发展。因此,情感分析已成为一个热门研究领域,并作为自然语言处理领域的热门话题之一取得了长足进展。目前,BERT模型及其变体在自然语言处理领域取得了优异成果。然而,由于对计算资源的巨大需求,这些模型无法得到广泛应用。因此,本文提出了一种基于Transformer机制的模型,该模型主要包括两部分:知识蒸馏和文本增强。前者主要用于减少模型的参数数量,降低模型的计算成本和训练时间,后者主要用于扩展任务文本,以便模型在少样本情感分析任务中取得优异成果。实验表明,我们的模型取得了具有竞争力的结果。

https://cdn.ncbi.nlm.nih.gov/pmc/blobs/8b35/9136405/dbe9e7ce0895/fpsyg-13-906061-g001.jpg

文献检索

告别复杂PubMed语法,用中文像聊天一样搜索,搜遍4000万医学文献。AI智能推荐,让科研检索更轻松。

立即免费搜索

文件翻译

保留排版,准确专业,支持PDF/Word/PPT等文件格式,支持 12+语言互译。

免费翻译文档

深度研究

AI帮你快速写综述,25分钟生成高质量综述,智能提取关键信息,辅助科研写作。

立即免费体验