arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2406.00367cs.CLcs.AIcs.CE
收藏

RoBERTa-BiLSTM:一种用于情感分析的上下文感知混合模型

RoBERTa-BiLSTM: A Context-Aware Hybrid Model for Sentiment Analysis

University of Aizu(会津大学);Dhaka University of Engineering & Technology(达卡工程技术大学);Ochsner Center for Outcomes Research(Ochsner结局研究中心)

Md. Mostafizer Rahman, Ariful Islam Shiplu, Yutaka Watanobe, Md. Ashad Alam

AI总结:

提出RoBERTa-BiLSTM混合模型,结合RoBERTa词嵌入与BiLSTM上下文捕获能力,在IMDb等三个数据集上准确率超80%,优于现有基线方法。

摘要:

有效分析评论以揭示潜在意图在各个领域制定战略决策方面具有巨大价值。然而,一些挑战阻碍了情感分析过程,包括评论中表现出的词汇多样性、文本中长依赖的存在、遇到未知符号和单词,以及处理不平衡的数据集。此外,现有的情感分析任务主要利用序列模型来编码长依赖文本,并且由于按顺序处理文本,需要更长的执行时间。相比之下,Transformer由于其并行处理特性,需要较少的执行时间。在这项工作中,我们引入了一种新颖的混合深度学习模型RoBERTa-BiLSTM,它将鲁棒优化的BERT预训练方法(RoBERTa)与双向长短期记忆(BiLSTM)网络相结合。RoBERTa用于生成有意义的词嵌入向量,而BiLSTM有效地捕获长依赖文本的上下文语义。RoBERTa-BiLSTM混合模型利用序列模型和Transformer模型的优势,以增强情感分析的性能。我们使用来自IMDb、Twitter US Airline和Sentiment140的数据集进行了实验,以评估所提出的模型与现有最先进方法的对比。我们的实验结果表明,RoBERTa-BiLSTM模型超越了基线模型(例如BERT、RoBERTa-base、RoBERTa-GRU和RoBERTa-LSTM),在Twitter US Airline、IMDb和Sentiment140数据集上分别实现了80.74%、92.36%和82.25%的准确率。此外,该模型在相同数据集上分别实现了80.73%、92.35%和82.25%的F1分数。

英文摘要:

Effectively analyzing the comments to uncover latent intentions holds immense value in making strategic decisions across various domains. However, several challenges hinder the process of sentiment analysis including the lexical diversity exhibited in comments, the presence of long dependencies within the text, encountering unknown symbols and words, and dealing with imbalanced datasets. Moreover, existing sentiment analysis tasks mostly leveraged sequential models to encode the long dependent texts and it requires longer execution time as it processes the text sequentially. In contrast, the Transformer requires less execution time due to its parallel processing nature. In this work, we introduce a novel hybrid deep learning model, RoBERTa-BiLSTM, which combines the Robustly Optimized BERT Pretraining Approach (RoBERTa) with Bidirectional Long Short-Term Memory (BiLSTM) networks. RoBERTa is utilized to generate meaningful word embedding vectors, while BiLSTM effectively captures the contextual semantics of long-dependent texts. The RoBERTa-BiLSTM hybrid model leverages the strengths of both sequential and Transformer models to enhance performance in sentiment analysis. We conducted experiments using datasets from IMDb, Twitter US Airline, and Sentiment140 to evaluate the proposed model against existing state-of-the-art methods. Our experimental findings demonstrate that the RoBERTa-BiLSTM model surpasses baseline models (e.g., BERT, RoBERTa-base, RoBERTa-GRU, and RoBERTa-LSTM), achieving accuracies of 80.74%, 92.36%, and 82.25% on the Twitter US Airline, IMDb, and Sentiment140 datasets, respectively. Additionally, the model achieves F1-scores of 80.73%, 92.35%, and 82.25% on the same datasets, respectively.

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

↑