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