Computer Science ›› 2026, Vol. 53 ›› Issue (11A): 260700056-251.doi: 10.11896/jsjkx.260700056

• Artificial Intelligence • Previous Articles    

Kazakh Aspect-based Sentiment Analysis Method Based on Adversarial Training and Dynamic Masked Attention

ZHANG Haijun1,2, REN Linhao1, ZHAO Xinyuan1,2   

  1. 1 College of Computer Science and Technology,Xinjiang Normal University,Urumqi 830054,China
    2 Xinjiang Engineering Research Center for Smart Education and Application,Urumqi 830054,China
  • Online:2026-11-16 Published:2026-11-16
  • About author:ZHANG Haijun,born in 1973,Ph.D,professor,master’s supervisor.His main research interests include educational technology,multimodal sentiment analysis,and multilingual information processing.
    ZHAO Xinyuan,born in 1974,Ph.D,associate professor.His main research interests include natural language processing and so on.
  • Supported by:
    This work was supported by the National Natural Science Foundation of China(62306263) and Humanities and Social Sciences Project of the Ministry of Education(23XJJC740001).

Abstract: To address challenges such as complex morphological variations,insufficient model robustness and difficulties in aligning aspect terms with sentiment clues in Kazakh aspect-based sentiment analysis(ABSA),this paper proposes a fine-grained sentiment analysis method tailored to low-resource Kazakh.Specifically,a Kaz-ABSA dataset is constructed,and a BGE-M3-AMR model is proposed.The model adopts the multilingual pre-trained BGE-M3 model as the encoding backbone,introduces fast gra-dient method(FGM) adversarial training to enhance the robustness of embedding representations,and designs an aspect-aware dynamic masked multi-head attention(ADM-MHA) mechanism.Based on the position of the current aspect term,ADM-MHA ge-nerates a dynamic Aspect Mask and incorporates it into the multi-head attention computation,thereby strengthening the model’s ability to focus on sentiment clues related to the target aspect term.Experimental results show that BGE-M3-AMR achieves 81.82% Accuracy and 81.25% Macro-F1 on Kaz-ABSA,surpassing BGE-M3 by 2.82 and 2.67 percentage points,respectively.Ablation experiments further verify the effectiveness of FGM and ADM-MHA,indicating that the proposed method can alleviate noise interference and polarity shift in low-resource Kazakh ABSA tasks.

Key words: Aspect-based sentiment analysis, Dynamic masked multi-head attention, Adversarial training

CLC Number: 

  • TP391.1
[1] 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.
[2] ŠMÍD J,KRAL P.Cross-lingual aspect-based sentiment anal-ysis:A survey on tasks,approaches,and challenges[J].Information Fusion,2025,120:103073.
[3] DEWANGAN L,SAYEED Z A,MAURYA C.Benchmark Creation for Aspect-Based Sentiment Analysis in Low-Resource Odia Language and Evaluation through Fine-Tuning of Multilingual Models[C]//Proceedings of the 31st International Confe-rence on Computational Linguistics.2025:5863-5869.
[4] WU C,MA B,LIU Y,et al.M-ABSA:A Multilingual Dataset for Aspect-Based Sentiment Analysis[C]//Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing.2025:2530-2557.
[5] XU H,ZHANG Y,WANG Q,et al.Ds2-absa:Dual-stream data synthesis with label refinement for few-shot aspect-based sentiment analysis[C]//Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics(Volume 1:Long Papers).2025:15460-15478.
[6] ŠMÍD J,PŘIBÁŇ P,KRÁL P.LACA:Improving Cross-lingualAspect-Based Sentiment Analysis with LLM Data Augmentation[C]//Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics(Volume 1:Long Papers).2025:839-853.
[7] CHEN J,XIAO S,ZHANG P,et al.Bge m3-embedding:Multi-lingual,multi-functionality,multi-granularity text embeddings through self-knowledge distillation[J].arXiv:2402.03216,2024.
[8] GOODFELLOW I J,SHLENS J,SZEGEDY C.Explaining and harnessing adversarial examples[J].arXiv:1412.6572,2014.
[9] VASWANI A,SHAZEER N,PARMAR N,et al.Attention isall you need[C]//Proceedings of the 31st International Confe-rence on Neural Information Processing Systems.2017.
[10] PIRES T,SCHLINGER E,GARRETTE D.How multilingual is multilingual BERT?[C]//Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics.2019:4996-5001.
[11] CONNEAU A,KHANDELWAL K,GOYAL N,et al.Unsupervised cross-lingual representation learning at scale[C]//Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics.2020:8440-8451.
[12] JUN Y,LEE H.Dynamic order template prediction for generative aspect-based sentiment analysis[C]//Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics(Volume 2:Short Papers).2025:614-626.
[13] FAN R,LI S,HE T,et al.Aspect-based sentiment analysis with syntax-opinion-sentiment reasoning chain[C]//Proceedings of the 31st International Conference on Computational Iinguistics.2025:3123-3137.
[14] WANG Q,DING K,GAO H,et al.Error Comparison Optimization for Large Language Models on Aspect-Based Sentiment Analysis[C]//Proceedings of the 63rd Annual Meeting of the Association for Computational Linguistics(Volume 1:Long Papers).2025:18630-18646.
[15] SHEN C,WEI W,WANG D,et al.Zero-Shot Cross-Domain Aspect-Based Sentiment Analysis via Domain-Contextualized Chain-of-Thought Reasoning[C]//Findings of the Association for Computational Linguistics:EMNLP 2025.2025:4558-4573.
[16] MIYATO T,DAI A M,GOODFELLOW I.Adversarial training methods for semi-supervised text classification[J].arXiv:1605.07725,2016.
[17] SZEGEDY C,VANHOUCKE V,LOFFE S,et al.Rethinking the inception architecture for computer vision[C]//Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition.2016:2818-2826.
[18] PONTIKI M,GALANIS D,PAPAGEORGIOU H,et al.Semeval-2016 task 5:Aspect based sentiment analysis[C]//Procee-dings of the 10th International Workshop on Semantic Evaluation(SemEval-2016).2016:19-30.
[19] DONG L,WEI F,TAN C,et al.Adaptive recursive neural network for target-dependent twitter sentiment classification[C]//Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics(volume 2:Short papers).2014:49-54.
[20] PASZKE A,GROSS S,MASSA F,et al.Pytorch:An imperative style,high-performance deep learning library[J].Advances in neural information processing systems,2019,32.
[21] KINGMA D P,BA J.Adam:A method for stochastic optimization[J].arXiv:1412.6980,2014.
[22] SOKOLOVA M,LAPALME G.A systematic analysis of per-formance measures for classification tasks[J].Information processing & management,2009,45(4):427-437.
[23] DEVLIN J,CHANG M W,LEE K,et al.BERT:Pre-training of Deep Bidirectional Transformers for Language Understanding[C]//Proceedings of NAACL-HLT.2019:4171-4186.
[24] YANG Z,XU Z,CUI Y,et al.CINO:A Chinese Minority Pre-trained Language Model[C]//Proceedings of the 29th International Conference on Computational Linguistics.2022:3937-3949.
[25] FENG F,YANG Y,CER D,et al.Language-agnostic BERTSentence Embedding[C]//Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics.2022:878-891.
[26] CHEN P,SUN Z,BING L,et al.Recurrent attention network on memory for aspect sentiment analysis[C]//Proceedings of the 2017 Conference on Empirical Methods in Natural Language Processing.2017:452-461.
[27] FAN F,FENG Y,ZHAO D.Multi-grained attention network for aspect-level sentiment classification[C]//Proceedings of the 2018 Conference on Empirical Methods in Natural Language Processing.2018:3433-3442.
[28] ZHANG C,LI Q,SONG D.Aspect-based sentiment classifica-tion with aspect-specific graph convolutional networks[C]//Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing and the 9th International Joint Conference on Natural Language Processing(EMNLP-IJCNLP).2019:4568-4578.
[29] LIANG Y,MENG F,ZHANG J,et al.A dependency syntactic knowledge augmented interactive architecture for end-to-end aspect-based sentiment analysis[J].Neurocomputing,2021,454:291-302.
[30] FENG S,WANG B,YANG Z,et al.Aspect-based sentiment analysis with attention-assisted graph and variational sentence representation[J].Knowledge-based systems,2022,258:109975.
[31] WANG Z,ZHANG B,YANG R,et al.DAGCN:Distance-based and aspect-oriented graph convolutional network for aspect-based sentiment analysis[C]//Findings of the Association for Computational Linguistics:NAACL 2024.2024:1863-1876.
[32] LI R,CHEN H,FENG F,et al.Dual graph convolutional networks for aspect-based sentiment analysis[C]//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).2021:6319-6329.
[33] YIN S,ZHONG G.Textgt:A double-view graph transformer ontext for aspect-based sentiment analysis[C]//Proceedings of the AAAI Conference on Artificial Intelligence.2024:19404-19412.
[34] TIAN Y,CHEN W,HU B,et al.End-to-end aspect-based sentiment analysis with combinatory categorial grammar[C]//Fin-dings of the Association for Computational Linguistics:ACL 2023.2023:13597-13609.
[35] HU E J,SHEN Y,WALLIS P,et al.Lora:Low-rank adaptation of large language models[C]//ICIR.2022.
[36] LI X L,LIANG P.Prefix-tuning:Optimizing continuous pro-mpts for generation[C]//Proceedings of the 59th Annual Mee-ting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing(Volume 1:Long Papers).2021:4582-4597.
[37] HUANG Z Y,LI B C,WEI W.Aspect-level Sentiment Analysis Model Fusing Syntactic and Semantic Information[J].Computer Science,2025,52(S1):283-289.
[1] HUANG Yilu, HE Xingxing, REN Ruibin, ZENG Wenqiang. Collaborative Adversarial Training Defense Framework for Network Traffic Classification Based on Ensemble Learning and Weight Constraint [J]. Computer Science, 2026, 53(7): 397-405.
[2] XU Zhihong, YANG Xinlei, WANG Liqin, DONG Yongfeng, WANG Xu. Knowledge Tracing Model Based on Relational Learning Memory Network [J]. Computer Science, 2026, 53(6): 84-92.
[3] ZHENG Cheng, BAN Qingqing. Knowledge-assisted and Reinforced Syntax-driven for Aspect-based Sentiment Analysis [J]. Computer Science, 2026, 53(4): 406-414.
[4] XU Hongyan, MENG Xiangrui, WANG Rongbing, FENG Yong. Dual-channel Hypergraph Convolutional Network for Aspect-based Sentiment Analysis [J]. Computer Science, 2026, 53(11): 124-138.
[5] ZHENG Cheng, YANG Nan. Aspect-based Sentiment Analysis Based on Syntax,Semantics and Affective Knowledge [J]. Computer Science, 2025, 52(7): 218-225.
[6] CHEN Zigang, PAN Ding, LENG Tao, ZHU Haihua, CHEN Long, ZHOU Yousheng. Explanation Robustness Adversarial Training Method Based on Local Gradient Smoothing [J]. Computer Science, 2025, 52(2): 374-379.
[7] WANG Ye, WANG Zhongqing. Text Simplification for Aspect-based Sentiment Analysis Based on Large Language Model [J]. Computer Science, 2025, 52(10): 258-265.
[8] ZHANG Tianzhi, ZHOU Gang, LIU Hongbo, LIU Shuo, CHEN Jing. Text-Image Gated Fusion Mechanism for Multimodal Aspect-based Sentiment Analysis [J]. Computer Science, 2024, 51(9): 242-249.
[9] ZHENG Cheng, SHI Jingwei, WEI Suhua, CHENG Jiaming. Dual Feature Adaptive Fusion Network Based on Dependency Type Pruning for Aspect-basedSentiment Analysis [J]. Computer Science, 2024, 51(3): 205-213.
[10] LIN Huang, LI Bicheng. Aspect-based Sentiment Analysis Based on BERT Model and Graph Attention Network [J]. Computer Science, 2024, 51(11A): 240400018-7.
[11] PANG Bowen, CHEN Yifei, HUANG Jia. Fine-grained Entity Recognition Model in Audit Domain Based on Adversarial Migration ofSample Contributions [J]. Computer Science, 2024, 51(11A): 240300197-8.
[12] LI Yang, TANG Jiqiang, ZHU Junwu, LIANG Mingxuan, GAO Xiang. Aspect-based Sentiment Analysis Based on Prompt and Knowledge Enhancement [J]. Computer Science, 2023, 50(6A): 220300279-7.
[13] YANG Ying, ZHANG Fan, LI Tianrui. Aspect-based Sentiment Analysis Based on Dual-channel Graph Convolutional Network with Sentiment Knowledge [J]. Computer Science, 2023, 50(5): 230-237.
[14] FAN Dongxu, GUO Yi. Aspect-based Multimodal Sentiment Analysis Based on Trusted Fine-grained Alignment [J]. Computer Science, 2023, 50(12): 246-254.
[15] QIAN Taiyu, CHEN Yifei, PANG Bowen. Audit Text Named Entity Recognition Based on MacBERT and Adversarial Training [J]. Computer Science, 2023, 50(11A): 230200083-6.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!