[论文解读] Optimizing Transformer based on high-performance optimizer for predicting employment sentiment in American social media content
本文提出了一种高性能优化器增强的Transformer模型,用于预测美国社交媒体内容中的就业相关情感。通过将群体智能优化与文本预处理及向量化相结合,该模型在测试集上实现了82.91%的准确率和0.66的Kappa系数,展现出在就业相关社交媒体文本情感分类任务中出色的泛化能力与有效性。
This article improves the Transformer model based on swarm intelligence optimization algorithm, aiming to predict the emotions of employment related text content on American social media. Through text preprocessing, feature extraction, and vectorization, the text data was successfully converted into numerical data and imported into the model for training. The experimental results show that during the training process, the accuracy of the model gradually increased from 49.27% to 82.83%, while the loss value decreased from 0.67 to 0.35, indicating a significant improvement in the performance of the model on the training set. According to the confusion matrix analysis of the training set, the accuracy of the training set is 86.15%. The confusion matrix of the test set also showed good performance, with an accuracy of 82.91%. The accuracy difference between the training set and the test set is only 3.24%, indicating that the model has strong generalization ability. In addition, the evaluation of polygon results shows that the model performs well in classification accuracy, sensitivity, specificity, and area under the curve (AUC), with a Kappa coefficient of 0.66 and an F-measure of 0.80, further verifying the effectiveness of the model in social media sentiment analysis. The improved model proposed in this article not only improves the accuracy of sentiment recognition in employment related texts on social media, but also has important practical significance. This social media based data analysis method can not only capture social dynamics in a timely manner, but also promote decision-makers to pay attention to public concerns and provide data support for improving employment conditions.
研究动机与目标
- 提升美国社交媒体中与就业相关文本的情感分类准确率。
- 解决现有模型在非正式文本中对细微就业情感识别准确率低的问题。
- 通过减少训练集与测试集之间的过拟合现象,提升模型的泛化能力。
- 评估基于群体智能的优化方法在提升Transformer模型在社交媒体NLP任务中性能方面的有效性。
- 通过实现实时监测公众对就业问题的情感动态,为政策制定者提供可操作的数据支持。
提出的方法
- 对就业相关社交媒体内容进行了文本预处理,以实现数据清洗与规范化。
- 通过特征提取与向量化处理,将文本数据转化为适合深度学习的数值表示。
- 将基于群体智能的高性能优化器集成到Transformer架构中,以优化模型权重。
- 采用交叉熵损失函数,并结合优化器提供的自适应学习动态进行模型训练。
- 在训练集和测试集上,通过准确率、F-measure、AUC、敏感性、特异性及Kappa系数等指标评估模型性能。
- 通过分析混淆矩阵,评估各类别的预测表现及模型鲁棒性。
实验结果
研究问题
- RQ1高性能优化器是否能够提升就业相关社交媒体文本的情感分类准确率?
- RQ2该模型在训练集与测试集之间的泛化性能如何?
- RQ3群体智能优化在多大程度上改善了Transformer模型的训练动态?
- RQ4该模型在就业情感分类任务中的AUC、F-measure和Kappa系数表现如何?
- RQ5该模型能否有效从非正式社交媒体内容中捕捉与就业相关的公众情感趋势?
主要发现
- 模型的训练准确率在训练过程中从49.27%提升至82.83%。
- 模型在测试集上的准确率达到82.91%,与训练准确率之间的差距仅为3.24%,表明其具有出色的泛化能力。
- 混淆矩阵显示训练集准确率为86.15%,证实了各类别预测的可靠性。
- 模型的Kappa系数达到0.66,表明其分类结果与随机猜测相比具有显著的一致性。
- F-measure为0.80,反映出分类任务中精确率与召回率的平衡表现。
- 受试者工作特征曲线下面积(AUC)较高,证实了模型在不同阈值下均具备强大的判别性能。
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。