基于ERNIE的MOOC评论情感分析的研究
Research on Sentiment Analysis of MOOC Reviews Based on ERNIE
摘要: MOOC平台提供了丰富的优质课程,促进了在线学习。 然而,课程完成率较低,需根据学生评论 进行改进。 由于学生对教师的尊重,常通过反语、 讽刺等隐性情感表达不满,传统情感分析方法 难以识别这些情感。 因此,开展针对学生评论的情感分析研究至关重要。 本研究提出了一种新的 情感分析方法,旨在提升复杂情感和隐含情感的识别能力。 首先基于ERNIE模型进行微调,生成 动态词向量,并将其与FastText和NMF生成的静态词向量融合,形成综合特征。 同时,结合、 部情感知识库SenticNet来增强特征表达。 通过语法和语义分析的双图卷积网络进一步优化特征 表示,并引入双仿射变换促进信息交互,最后通过softmax层进行情感极性分类。 实验结果表明, 该方法在自建数据集上的准确率达到89.5%,F1值为88.8%,验证了动态与静态特征融合及情感 知识引入的有效性。
Abstract: MOOC platforms provide a wealth of high-quality courses, promoting online learning. However, the completion rate of courses is relatively low, necessitating improvements based on student reviews. Due to students’ respect for teachers, they often express dissatisfaction through implicit expressions such as irony and sarcasm, which are dif- ficult to identify using traditional sentiment analysis methods. Therefore, conducting sentiment analysis research on student reviews is crucial. This study proposes a new sentiment analysis method aimed at enhancing the recognition ability of complex and implicit emotions. Firstly, fine-tuning is performed based on the ERNIE model to generate dynamic word vectors, which are then fused with static word vectors gen- erated by FastText and NMF to form comprehensive features. At the same time, external sentiment knowledge base SenticNet is incorporated to enhance feature rep- resentation. The feature representation is further optimized through a dual graph convolutional network that combines grammatical and semantic analysis, and a du- al affine transformation is introduced to facilitate information interaction. Finally, sentiment polarity classification is performed through a softmax layer. Experimental results show that the accuracy of this method on a self-built dataset reaches 89.5%, with an F1 score of 88.8%, validating the effectiveness of the fusion of dynamic and static features and the introduction of sentiment knowledge.
文章引用:邓玉琪. 基于ERNIE的MOOC评论情感分析的研究[J]. 计算机科学与应用, 2025, 15(11): 366-377. https://doi.org/10.12677/CSA.2025.1511312

参考文献

[1] Hone, K.S. and El Said, G.R. (2016) Exploring the Factors Affecting MOOC Retention: A Survey Study. Computers & Education, 98, 157-168. [Google Scholar] [CrossRef
[2] [2] Wen, M., Yang, D. and Rose, C.P. (2014) Sentiment Analysis in MOOC Discussion Forums: What Does It Tell Us? Proceedings of Educational Data Mining, 130-137.
https://www.cs.cmu.edu/∼mwen/papers/edm2014-camera-ready.pdf
[3] [3] Hu, M. and Liu, B. (2004) Mining and Summarizing Customer Reviews. Proceedings of the Tenth ACM SIGKDD International Conference on Knowledge Discovery and Data Mining,
[4] Seattle, 22-25 August 2004, 168-177.[CrossRef
[5] [4] Pang, B., Lee, L. and Vaithyanathan, S. (2002) Thumbs Up?: Sentiment Classification Using Machine Learning Techniques. Proceedings of the ACL-02 Conference on Empirical Methods in Natural Language Processing, Stroudsburg, 6 July 2002, 79-86. [Google Scholar] [CrossRef
[6] [5] Kim, Y. (2014) Convolutional Neural Networks for Sentence Classification. Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP), Doha,
[7] October 2014, 1746-1751.[CrossRef
[8] [6] Hochreiter, S. and Schmidhuber, J. (1997) Long Short-Term Memory. Neural Computation, 9, 1735-1780. [Google Scholar] [CrossRef
[9] [7] Kipf, T.N. and Welling, M. (2017) Semi-Supervised Classification with Graph Convolutional Networks. Proceedings of International Conference on Learning Representations.
https://arxiv.org/abs/1609.02907
[10] [8] Zhang, C., Li, Q. and Song, D. (2019) Aspect-Based Sentiment Classification with Aspect- Specific Graph Convolutional Networks. Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Nat- ural Language Processing (EMNLP-IJCNLP), Hong Kong, November 2019, 4568-4578. [Google Scholar] [CrossRef
[11] [9] Li, R., Chen, H., Feng, F., Ma, Z., Wang, X. and Hovy, E. (2021) Dual Graph Convolutional Networks for Aspect-Based Sentiment Analysis. Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 1: Long Papers), August 2021, 6319-6329. [Google Scholar] [CrossRef
[12] [10] Cambria, E., Olsher, D. and Rajagopal, D. (2014) SenticNet 3: A Common and Common- Sense Knowledge Base for Cognition-Driven Sentiment Analysis. Proceedings of the AAAI Conference on Artificial Intelligence, 28, 1515-1521. [Google Scholar] [CrossRef
[13] [11] Pontiki, M., Galanis, D., Pavlopoulos, J., Papageorgiou, H., Androutsopoulos, I. and Man- andhar, S. (2014) SemEval-2014 Task 4: Aspect Based Sentiment Analysis. Proceedings of the 8th International Workshop on Semantic Evaluation (SemEval 2014), Dublin, August 2014, 27-35. [Google Scholar] [CrossRef
[14] [12] Sun, Y., Wang, S., Li, Y., Feng, S., Chen, X., Zhang, H., Tian, X., Zhu, D., Tian, H. and Wu,
[15] H. (2019) ERNIE: Enhanced Representation through Knowledge Integration.
https://arxiv.org/abs/1904.09223
[16] [13] Bojanowski, P., Grave, E., Joulin, A. and Mikolov, T. (2017) Enriching Word Vectors with Subword Information. Transactions of the Association for Computational Linguistics, 5, 135-
[17] 146. a 00051[CrossRef