基于RoBERTa-BiGRU-CRF的方面级情感分析方面词抽取研究
Research on Aspect Term Extraction for Aspect-Based Sentiment Analysis Based on RoBERTa-BiGRU-CRF
摘要: 本文提出了一种基于RoBERTa-BiGRU-CRF的级联序列标注模型。该模型以RoBERTa-Base作为底层特征提取器,利用双向门控循环单元(BiGRU)捕获长距离上下文时序依赖,并通过条件随机场(CRF)层引入全局标签转移约束,有效抑制非法标签序列的生成。在SemEval2014 Task 4 Laptop14、Rest14及SemEval2016 Task 5 Rest16三个公开数据集上的实验结果表明,本文模型在Laptop14和Rest14数据集上分别取得了87.16%和88.35%的F1值,优于BiLSTM + CRF、CMLA、DE-CNN、BERT-AE、RoBERTa-AE、CSAE、HAST + TOWE、RACL-BERT及SpanMlt等基准模型。消融实验表明,移除BiGRU、CRF或将RoBERTa替换为BERT后,F1值均显著下降,最大降幅达4.57个百分点,充分验证了各模块的有效性。
Abstract: This paper proposes a cascade sequence labeling model based on RoBERTa-BiGRU-CRF. The model uses RoBERTa-Base as the underlying feature extractor, employs a bidirectional gated recurrent unit (BiGRU) to capture long-range contextual temporal dependencies, and introduces global label transition constraints through a conditional random field (CRF) layer, thereby effectively suppressing the generation of illegal label sequences. Experimental results on three public datasets—Laptop14 and Rest14 from SemEval-2014 Task 4, and Rest16 from SemEval-2016 Task 5—show that the proposed model achieves F1 scores of 87.16% and 88.35% on Laptop14 and Rest14, respectively, outperforming baseline models including BiLSTM + CRF, CMLA, DE-CNN, BERT-AE, RoBERTa-AE, CSAE, HAST + TOWE, RACL-BERT, and SpanMlt. Ablation experiments show that removing BiGRU or CRF, or replacing RoBERTa with BERT, leads to a significant decrease in F1 scores, with a maximum drop of 4.57 percentage points, fully validating the effectiveness of each module.
文章引用:陈康健, 刘干. 基于RoBERTa-BiGRU-CRF的方面级情感分析方面词抽取研究[J]. 计算机科学与应用, 2026, 16(11): 300-311. https://doi.org/10.12677/csa.2026.1611345

参考文献

[1] Šmíd, J. and Král, P. (2025) Cross-Lingual Aspect-Based Sentiment Analysis: A Survey on Tasks, Approaches, and Challenges. Information Fusion, 120, Article 103073.
https://doi.org/10.1016/j.inffus.2025.103073
[2] Ahmad, W., Khan, H.U., Alarfaj, F.K. and Alreshoodi, M. (2025) Aspect-Based Sentiment Analysis: A Comprehensive Review and Open Research Challenges. IEEE Access, 13, 65138-65182.
https://doi.org/10.1109/access.2025.3555744
[3] 徐放, 尹伊纯, 吴方君. 方面级情感分析研究综述[J]. 计算机工程与应用, 2025, 61(19): 60-73.
[4] 李阳, 王石, 朱俊武, 等. 方面级情感分析综述[J]. 计算机科学, 2023, 50(6A): 220400077-7.
[5] 徐庆婷, 洪宇, 陈佳祥, 等. 属性抽取研究综述[J]. 软件学报, 2023, 34(2): 690-711.
[6] Hayatin, N., Alias, S. and Hung, L.P. (2024) Trends and Challenges in Sentiment Summarization: A Systematic Review of Aspect Extraction Techniques. Knowledge and Information Systems, 66, 3671-3717.
https://doi.org/10.1007/s10115-024-02075-w
[7] Hammi, S., Mezghani Hammami, S. and Hadrich Belguith, L. (2025) A Survey on Aspect Extraction: Approaches and Datasets. SN Computer Science, 6, Article No. 883.
https://doi.org/10.1007/s42979-025-04437-9
[8] Xu, Q., Hong, Y., Chen, J., Yao, J. and Zhou, G. (2024) Self-Augmented Sequentiality-Aware Encoding for Aspect Term Extraction. Information Processing & Management, 61, Article 103656.
https://doi.org/10.1016/j.ipm.2024.103656
[9] Adilakshmi, K., Srinivas, M., Anuradha, K. and Srilakshmi, V. (2024) Aspect Term Extraction and Optimized Deep Learning for Sentiment Classification. Social Network Analysis and Mining, 14, Article No. 221.
https://doi.org/10.1007/s13278-024-01375-x
[10] Zhai, S., Cheng, D., Liu, Y., Zhang, W., Bai, X. and Zhang, Y. (2022) An Aspect Term Extraction Method Based on BiLSTM-CRF with BERT Embedding. Algorithms and Architectures for Parallel Processing, Springer, 541-555.
[11] Sun, X., Mi, Y., Liu, J. and Li, H. (2024) Aspect Term Extraction via Dynamic Attention and a Densely Connected Graph Convolutional Network. In: Hadfi, R., Anthony, P., Sharma, A., Ito, T. and Bai, Q., Eds., Lecture Notes in Computer Science, Springer, 383-395.
https://doi.org/10.1007/978-981-96-0116-5_32
[12] Zhang, H., Cheah, Y., Alyasiri, O.M. and An, J. (2024) Exploring Aspect-Based Sentiment Quadruple Extraction with Implicit Aspects, Opinions, and ChatGPT: A Comprehensive Survey. Artificial Intelligence Review, 57, Article No. 17.
https://doi.org/10.1007/s10462-023-10633-x
[13] Xu, X., Zhang, J.-D., Xiong, L. and Liu, Z. (2024) iACOS: Advancing Implicit Sentiment Extraction with Informative and Adaptive Negative Examples. Proceedings of the 2024 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies (Volume 1: Long Papers), Mexico, 16-21 June 2024, 4283-4293.
[14] 孟甜甜, 韩虎, 吴渊航. 面向方面抽取与情感分类的多任务联合建模[J]. 计算机科学与探索, 2023, 17(7): 1669-1679.
[15] Wang, W., Pan, S.J., Dahlmeier, D. and Xiao, X. (2017) Coupled Multi-Layer Attentions for Co-Extraction of Aspect and Opinion Terms. Proceedings of the AAAI Conference on Artificial Intelligence, 31, 3316-3322.
https://doi.org/10.1609/aaai.v31i1.10974
[16] Zhao, H., Huang, L., Zhang, R., Lu, Q. and Xue, H. (2020) SpanMlt: A Span-Based Multi-Task Learning Framework for Pair-Wise Aspect and Opinion Terms Extraction. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online, 5-10 July 2020, 3239-3248.
https://doi.org/10.18653/v1/2020.acl-main.296
[17] Yan, H., Dai, J., Ji, T., Qiu, X. and Zhang, Z. (2021) A Unified Generative Framework 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), Online, 1-6 August 2021, 2416-2429.
https://doi.org/10.18653/v1/2021.acl-long.188
[18] Phan, M.H. and Ogunbona, P.O. (2020) Modelling Context and Syntactical Features for Aspect-Based Sentiment Analysis. Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, Online, 5-10 July 2020, 3211-3220.
https://doi.org/10.18653/v1/2020.acl-main.293
[19] Xu, H., Liu, B., Shu, L. and Yu, P.S. (2018) Double Embeddings and CNN-Based Sequence Labeling for Aspect Extraction. Proceedings of the 56th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers), Melbourne, 15-20 July 2018, 592-955
https://doi.org/10.18653/v1/p18-2094