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

推进情感分析:一种具有多头注意力的新型LSTM框架

Advancing Sentiment Analysis: A Novel LSTM Framework with Multi-head Attention

Carnegie Mellon University(卡内基梅隆大学);University of California, Berkeley(加利福尼亚大学伯克利分校)

Jingyuan Yi, Peiyang Yu, Tianyi Huang, Xiaochuan Xu

AI总结:

本文提出一种结合多头注意力与TF-IDF优化的LSTM情感分类模型,在公开数据集上准确率达80.28%,较标准LSTM提升约12%,验证了各模块的有效性。

摘要:

本文提出了一种基于LSTM的情感分类模型,该模型结合了多头注意力机制和TF-IDF优化。通过整合TF-IDF特征提取与多头注意力,该模型显著提升了文本情感分析性能。在公开数据集上的实验结果表明,与基线模型相比,新方法在准确率、召回率和F1分数等最关键指标上取得了显著提升。具体而言,该模型在测试集上达到了80.28%的准确率,与标准LSTM模型相比提高了约12%。消融实验也验证了所有模块的必要性,其中多头注意力对性能提升的影响最大。本研究为情感分析提供了一种合适的方法,可应用于舆情监测、产品推荐等领域。

英文摘要:

This work proposes an LSTM-based sentiment classification model with multi-head attention mechanism and TF-IDF optimization. Through the integration of TF-IDF feature extraction and multi-head attention, the model significantly improves text sentiment analysis performance. Experimental results on public data sets demonstrate that the new method achieves substantial improvements in the most critical metrics like accuracy, recall, and F1-score compared to baseline models. Specifically, the model achieves an accuracy of 80.28% on the test set, which is improved by about 12% in comparison with standard LSTM models. Ablation experiments also support the necessity and necessity of all modules, in which the impact of multi-head attention is greatest to performance improvement. This research provides a proper approach to sentiment analysis, which can be utilized in public opinion monitoring, product recommendation, etc.

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

↑