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

利用BERTweet模型的隐藏状态和注意力矩阵分类推文情感

Classifying Tweet Sentiment Using the Hidden State and Attention Matrix of a Fine-tuned BERTweet Model

ETH Zürich(苏黎世联邦理工学院)

Tommaso Macrì, Freya Murphy, Yunfan Zou, Yves Zumbach

摘要:

本文介绍了一种推文情感分类的研究。我们的任务是将推文分类为积极或消极。我们分两步来处理这个问题,即嵌入和分类。我们的基线方法包括传统嵌入方法和分类算法的几种组合。此外,我们探讨了目前最先进的推文分析模型,BERTweet,并提出了一种新的方法,其中功能工程的隐藏状态和注意力矩阵的模型,灵感来自经验研究的推文。使用一个多层感知器训练与高辍学率的分类,我们提出的方法实现了0.9111的验证精度。

英文摘要:

This paper introduces a study on tweet sentiment classification. Our task is to classify a tweet as either positive or negative. We approach the problem in two steps, namely embedding and classifying. Our baseline methods include several combinations of traditional embedding methods and classification algorithms. Furthermore, we explore the current state-of-the-art tweet analysis model, BERTweet, and propose a novel approach in which features are engineered from the hidden states and attention matrices of the model, inspired by empirical study of the tweets. Using a multi-layer perceptron trained with a high dropout rate for classification, our proposed approach achieves a validation accuracy of 0.9111.

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

↑