计算机科学 ›› 2026, Vol. 53 ›› Issue (6): 10-18.doi: 10.11896/jsjkx.251200107
柯昌博, 李天昊, 张伯雷, 肖甫, 徐康
KE Changbo, LI Tianhao, ZHANG Bolei, XIAO Fu, XU Kang
摘要: 随着智慧教育的深入推进,教学评价文本的智能化分析成为提升教育质量的重要研究方向。教学评价文本通常具有多维度共存、情感表达隐式以及类别分布不均衡等特征,对细粒度情感分析方法提出了更高要求。为此,提出一种融合RoBERTa预训练语言模型、交叉注意力机制和胶囊网络的情感分析模型CrossAtt-CapsNet-RoBERTa。该模型首先利用 RoBERTa 获取文本与方面类别的深层语义表示;随后,通过跨语义交叉注意力机制强化方面类别与上下文之间的关联;最后,引入可学习的类别引导胶囊,并借助动态路由机制实现方面检测与情感分类的联合建模。为验证模型性能,自主构建了包含9个方面类别的真实教学评价数据集。实验结果表明,所提出的模型在公开数据集Res14上的情感分类准确率达91.3%,在公开数据集MAMS-ACSA上的情感分类准确率达83.68%,均高于基线模型;在自主构建的真实教学评价数据集上,方面检测F1值达79.95%,情感分类准确率达92.76%,均高于对比模型。消融实验进一步证实了交叉注意力机制、类别引导胶囊等模块设计的有效性。此外,在小样本场景下,模型展现出较强的适应性与泛化能力。研究结果为教学评价的智能化处理提供了有效的技术思路。
中图分类号:
| [1]LI X T,YUAN L Y.Construction of a Smart Teaching Evaluation Model Based on Big Data Technology [J].Technology Innovation and Application,2023,13(12):11-14,19. [2]ZHOU W L.Application and Reflection on AI in Teaching Eva-luation at Higher Vocational Colleges [J].Journal of Hubei Open Vocational College,2025,38(12):151-153. [3]ZHANG W,LI X,DENG Y,et al.A survey on aspect-based sentiment analysis:Tasks,methods,and challenges[J].IEEE Transactions on Knowledge and Data Engineering,2022,35(11):11019-11038. [4]HU M,ZHAO S,ZHANG L,et al.CAN:constrained attention networks for multi-aspect sentiment analysis[C]//EMNLP-IJCNLP.2019:4600-4609. [5]MA Y,PENG H,CAMBRIA E.Targeted aspect based sentiment analysis via embedding common sense knowledge into an attentive LSTM[C]//AAAI.2018:5876-5883. [6]DAI Z,PENG C,CHEN H,et al.A multi-task incrementallearning framework with category name embedding for aspect-category sentiment analysis[C]//EMNLP.2020:6955-6965. [7]WAN H,YANG Y,DU J,et al.Target-aspect-sentiment jointdetection for aspect based sentiment analysis[C]//AAAI.2020:9122-9129. [8]SCHMITT M,STEINHEBER S,SCHREIBER K,et al.Jointaspect and polarity classification for aspect based sentiment analysis with end-to-end neural net works[C]//EMNLP.2018:1109-1114. [9]CAI H,TU Y,ZHOU X,et al.Aspect category based sentiment analysis with hierarchical graph convolutional network[C]//COLING.2020:833-843. [10]LI Y,YANG Z,YIN C,et al.A joint model for aspect-category sentiment analysis with shared sentiment prediction layer[C]//CCL.2020:388-400. [11]LIU J,TENG Z,CUI L,et al.Solving aspect category sentiment analysis as a text generation task[C]//EMNLP.2021:4406-4416. [12]LIU Y H,OTT M,GOYAL N,et al.Roberta:A robustly optimized bert pretraining approach[J].arXiv:1907.11692,2019. [13]CUI Y,CHEN Z,WEI S,et al.Attention over-attention neural networks for reading comprehension.[C]//Proceedings of the 55th Annual Meeting of the Association for Computational Linguistics Association for Computational Linguistics,2017:593-602. [14]SABOUR S,FROSST N,HINTON G E.Dynamic routing between capsules[C]//Proceedings of the 31st International Conference on Neural Information Processing Systems.2017:3856-3866. [15]PONTIKI M,GALANIS D,PAVLOPOULOS J,et al.SemEval-2014 task 4:Aspect based sentiment analysis[C]//Proceedings of the 8th International Workshop on Semantic Evaluation.2014:27-35. [16]JIANG Q N,CHEN L,XU R F,et al.A challenge dataset and effective models for aspect-based sentiment analysis[C]//Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Confe-rence on Natural Language Processing(EMNLP-IJCNLP).2019:6280-6285. [17]HU M T,ZHAO S W,ZHANG L,et al.CAN:Constrained at-tention networks for multi-aspect sentiment analysis[C]//Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Confe-rence on Natural Language Processing(EMNLP-IJCNLP).2019. [18]LI Y,YIN C,ZHONG S,et al.Multi-Instance Multi-LabelLearning Networks for Aspect-Category Sentiment Analysis[C]//Proceedings of the 2020 Conference on Empirical Me-thods in Natural Language Processing(EMNLP).2020:3550-3560. [19]XUE W,LI T.Aspect Based Sentiment Analysis with GatedConvolutional Networks[C]//Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics.2018:2514-2523. [20]MOVAHEDI S,GHADERY E,FAILI H,et al.Aspect category detection via topic-attention network[J].arXiv:1901.01183,2019. [21]ZHOU X J,WAN X J,XIAO J G.Representation learning for aspect category detection in online reviews[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2015. [22]WANG Y Q,SUN A X,HUANG M L,et al.Aspect-level sentiment analysis using as-capsules[C]//The World Wide Web Conference.2019. [23]SUN C,HUANG L Y,QIU X P.Utilizing BERT for aspect-based sentiment analysis via constructing auxiliary sentenc[J].arXiv:1903.09588,2019. [24]LIU J,TENG Z Y,CUI L Y,et al.Solving aspect category sentiment analysis as a text generation task[J].arXiv:2110.07310,2021. |
|
||