计算机科学 ›› 2026, Vol. 53 ›› Issue (11A): 251200046-306.doi: 10.11896/jsjkx.251200046

• 人工智能 • 上一篇    下一篇

FinMECAT:多机制协同金融情感分析模型

罗晓敏, 杜家利   

  1. 广东外语外贸大学信息科学与技术学院 广州 510000
  • 出版日期:2026-11-16 发布日期:2026-11-16
  • 通讯作者: 杜家利(dujiali68@126.com)
  • 作者简介:(20241010006@mail.gdufs.edu.cn)
  • 基金资助:
    国家社会科学后期资助项目(21FYYA003,24FYYB062)

FinMECAT:Multi-mechanism Cooperative Model for Financial Sentiment Analysis

LUO Xiaomin, DU Jiali   

  1. School of Information Science and Technology,Guangdong University of Foreign Studies,Guangzhou 510000,China
  • Published:2026-11-16 Online:2026-11-16
  • About author:LUO Xiaoming,born in 2001,postgra-duate.Her main research interests include sentiment analysis,and so on.
    DU Jiali,born in 1971,Ph.D,professor,Ph.D supervisor.His main research interests include computational linguistics,terminology and affective computing.
  • Supported by:
    This work was supported by the National Social Science Foundation of China Post-Grant Research Project(21FYYA003,24FYYB062).

摘要: 金融领域的方面级情感分析面临专业术语密集、表达隐晦且噪声较高的语言环境,同时情感类别分布极不均衡,极端情绪样本稀少,导致模型在细粒度识别中易产生偏置与识别不足。针对这些挑战,构建了一种面向金融场景的多机制协同情感分析模型FinMECAT,用以提升实体建模的稳定性与情感分类的判别能力。该模型采用双阶段协同训练思路:第一阶段通过实体感知注意力引导特征提取过程,并结合对抗扰动提升模型在复杂表达下的鲁棒性,使实体语义表示更加稳健。第二阶段采用双分支监督式对比学习,对干净样本与扰动样本分别进行特征拉近与区分处理,并引入焦点损失以减少类别稀缺带来的偏差,从而增强模型对不平衡情绪分布的适应能力。在FinEntity和SEntFiN金融数据集上的评估表明,该模型在准确率与 Macro-F1 上均取得显著提升,其中FinEntity的准确率达 93.40%,Macro-F1 达 92.32%。SEntFiN数据集的准确率与 Macro-F1 分别达到 90.08% 和 90.06%。

关键词: 实体级情感分析, 金融情感分析, 实体感知注意力, 对比学习

Abstract: Aspect-based sentiment analysis in the financial field is confronted with a language environment characterized by dense professional terms,obscure expressions and high noise levels.Meanwhile,the distribution of sentiment categories is extremely uneven and extreme sentiment samples are scarce,which leads to the model being prone to bias and insufficient recognition in fine-grained identification.In response to these challenges,a multi-mechanism collaborative sentiment analysis model FinMECAT for financial scenarios is constructed to enhance the stability of entity modeling and the discriminative ability of sentiment classification.This model adopts a two-stage collaborative training approach.In the first stage,the feature extraction process is guided by entity-aware attention,and the robustness of the model under complex expressions is enhanced by combining adversarial perturbations,making the semantic representation of entities more robust.In the second stage,a dual-branch supervised contrastive lear-ning approach is adopted.Feature zooming and discrimination processing are respectively carried out on clean samples and disturbed samples,and focal loss is introduced to alleviate the bias caused by category scarcity,thereby enhancing the model’s adap-tability to unbalanced sentiment distribution.The evaluation on the FinEntity and SEntFiN financial datasets shows that the proposed model achieves significant improvements in both accuracy and Macro-F1.Among them,the accuracy of FinEntity reaches 93.40%,and that of Macro-F1 reaches 92.32%.The accuracy rates of the SEntFiN dataset and Macro-F1 reach 90.08% and 90.06% respectively.

Key words: Entity-level sentiment analysis, Financial sentiment analysis, Entity-aware attention, Contrastive learning

中图分类号: 

  • TP391
[1] LIU B.Sentiment Analysis and Opinion Mining [M].Berlin:Springer Nature,2022.
[2] FAMA E F.Efficient capital markets:A review of theory and empirical work [J].The Journal of Finance,1970,25(2):383-417.
[3] CORTIS K,FREITAS A,DAUDERT T,et al.SemEval-2017Task 5:Fine-grained sentiment analysis on financial microblogs and news [C]//Proceedings of the 11th International Workshop on Semantic Evaluation(SemEval-2017).2017:519-535.
[4] TANG Y,YANG Y,HUANG A,et al.FinEntity:Entity-level sentiment classification for financial texts [C]//Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing.2023:15465-15471.
[5] WANG Y,HUANG M,ZHU X,et al.Attention-based LSTM for aspect-level sentiment classification [C]//Proceedings of the 2016 Conference on Empirical Methods in Natural Language Processing.2016:606-615.
[6] MA D,LI S,ZHANG X,et al.Interactive attention networks for aspect-level sentiment classification [C]//Proceedings of the Twenty-Sixth International Joint Conference on Artificial Intelligence.2017:4068-4074.
[7] WANG N,YANG H,WANG C.FinGPT:Instruction tuningbenchmark for open-source large language models in financial datasets [C]//NeurIPS 2023 Workshop on Instruction Tuning and Instruction Following.2023.
[8] LI X,CHAN S,ZHU X,et al.Are ChatGPT and GPT-4 general-purpose solvers for financial text analytics? [C]//Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing:Industry Track.2023:408-422.
[9] FATOOUROS G,SOLDATOS J,KOUROUMALI K,et al.Transforming sentiment analysis in the financial domain with ChatGPT [J].Machine Learning with Applications,2023,14:100508.
[10] WU S,IRSOY O,LU S,et al.BloombergGPT:A large language model for finance [PP/OL].(2023-03-30).https://arxiv.org/abs/2303.17564.
[11] JI Z W,CHEN D L,ISHII E,et al. LLM Internal States Reveal Hallucination Risk Faced With a Query [C]//Proceedings of the 7th BlackboxNLP Workshop:Analyzing and Interpreting Neural Networks for NLP,2024:88-104.
[12] REN P F,LI Y,WANG S G.Sentiment polarity identification method for financial entity based on interactive attention mechanism with two-graph convolutional network [J].Journal of China Information Processing,2023,37(12):129-137,166.
[13] XIANG C,ZHANG J,LI F,et al.A semantic and syntactic enhanced neural model for financial sentiment analysis [J].Information Processing & Management,2022,59(4):102943.
[14] LENGKEEK M,VAN DER KNAAP F,FRASINCAR F.Leveraging hierarchical language models for aspect-based sentiment analysis on financial data [J].Information Processing & Management,2023,60(5):103435.
[15] ARACI D.FinBERT:Financial sentiment analysis with pre-trained language models [PP/OL].(2019-08-26).https://arxiv.org/abs/1908.10063.
[16] SHEN Y,ZHANG P K.Financial sentiment analysis on news and reports using large language models and FinBERT [C]//2024 IEEE 6th International Conference on Power,Intelligent Computing and Systems(ICPICS).IEEE,2024:717-721.
[17] KARIMI A,ROSSI L,PRATI A.Adversarial training for aspect-based sentiment analysis with BERT [C]//2020 25th International Conference on Pattern Recognition(ICPR).IEEE,2021:8797-8803.
[18] WANG Z,GAN H S.Multi-level adversarial training for stock sentiment prediction [C]//2023 IEEE 3rd International Confe-rence on Computer Communication and Artificial Intelligence(CCAI).2023:127-134.
[19] XU E,ZHU J,ZHANG L,et al.Research on aspect-level sentiment analysis based on adversarial training and dependency parsing [J].Electronics,2024,13(10):1993.
[20] XU L,WANG W.Improving aspect-based sentiment analysiswith contrastive learning [J].Natural Language Processing Journal,2023,3:100009.
[21] HUANG S,WU X,WU X,et al.Sentiment analysis algorithm using contrastive learning and adversarial training for POI recommendation [J].Social Network Analysis and Mining,2023,13(1):75.
[22] HUSSAIN M,CHEN C,HUSSAIN M,et al.Optimised knowledge distillation for efficient social media emotion recognition using DistilBERT and ALBERT [J].Scientific Reports,2025,15(1):30104.
[23] HE K,MAO R,GONG T,et al.Meta-based self-training and re-weighting for aspect-based sentiment analysis [J].IEEE Tran-sactions on Affective Computing,2022,14(3):1731-1742.
[24] LIN T Y,GOYAL P,GIRSHICK R,et al.Focal loss for dense object detection [C]//Proceedings of the IEEE International Conference on Computer Vision.2017:2980-2988.
[25] SONG M,PARK H,SHIN K S.Attention-based LSTM using sentiment lexicon embedding for aspect-level sentiment analysis in Korean [J].Information Processing & Management,2019,56(3):637-653.
[26] SONG Y,WANG J,JIANG T,et al.Attentional encoder network for targeted sentiment classification [PP/OL].https://arxiv.org/abs/1902.09314.
[27] SANH V,DEBUT L,CHAUMOND J,WOLF T.DistilBERT,a distilled version of BERT,faster,cheaper and lighter[PP/OL].arXiv.http://arxiv.org/abs/1910.01108.
[28] HE P,LIU X,GAO J,et al.DeBERTa:Decoding-enhancedBERT with disentangled attention [C]//International Confe-rence on Learning Representations.2021.
[29] SCARIA K,GUPTA H,GOYAL S,et al.InstructABSA:Instruction learning for aspect-based sentiment analysis [C]//Proceedings of NAACL 2024(Short Papers).2024:720-736.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!