金融领域情感分析:从Transformer回归可解释词典(XLex)
Sentiment Analysis in Finance: From Transformers Back to eXplainable Lexicons (XLex)
AI总结:
针对金融情感分析中传统词典法人工成本高、Transformer法资源消耗大且可解释性差的问题,提出融合二者优势的XLex方法,借助Transformer与SHAP构建可解释金融词典,性能、效率与可解释性均更优。
摘要:
金融领域基于词典的情感分析(SA)利用人类专家创建的专业人工标注词典从金融文本中提取情感。尽管基于词典的方法易于实现且处理文本数据速度快,但创建、维护和更新词典需要大量人工标注工作。这类方法也被认为性能不及基于深度学习的方法,比如Transformer模型,后者凭借出色表现已成为各类自然语言处理任务的主流方案。但Transformer在训练和测试阶段都需要海量数据与计算资源,此外其预测耗时较长,不适用于实时生产环境或处理能力有限的系统。本文提出了名为可解释词典(eXplainable Lexicons,XLex)的新方法,融合了基于词典的方法与Transformer模型的优势。我们提出的方案利用Transformer和用于可解释性的SHapley Additive exPlanations(SHAP)来学习金融词典。本研究有四项主要贡献:第一,我们证明了Transformer辅助的可解释词典可提升基准Loughran-McDonald(LM)词典的词汇覆盖率,减少词典标注、维护和更新过程中的人工参与;第二,我们表明生成的词典在金融数据集情感分析任务上的表现优于标准LM词典;第三,我们验证了与Transformer相比,基于词典的方法在模型速度和体积方面效率显著更高;最后,由于词典模型依赖预定义规则,XLex方法本质上比Transformer模型更具可解释性,能够让人们更好地理解情感分析结果,使XLex成为适用于金融决策的可行工具。
英文摘要:
Lexicon-based sentiment analysis (SA) in finance leverages specialized, manually annotated lexicons created by human experts to extract sentiment from financial texts. Although lexicon-based methods are simple to implement and fast to operate on textual data, they require considerable manual annotation efforts to create, maintain, and update the lexicons. These methods are also considered inferior to the deep learning-based approaches, such as transformer models, which have become dominant in various NLP tasks due to their remarkable performance. However, transformers require extensive data and computational resources for both training and testing. Additionally, they involve significant prediction times, making them unsuitable for real-time production environments or systems with limited processing capabilities. In this paper, we introduce a novel methodology named eXplainable Lexicons (XLex) that combines the advantages of both lexicon-based methods and transformer models. We propose an approach that utilizes transformers and SHapley Additive exPlanations (SHAP) for explainability to learn financial lexicons. Our study presents four main contributions. Firstly, we demonstrate that transformer-aided explainable lexicons can enhance the vocabulary coverage of the benchmark Loughran-McDonald (LM) lexicon, reducing the human involvement in annotating, maintaining, and updating the lexicons. Secondly, we show that the resulting lexicon outperforms the standard LM lexicon in SA of financial datasets. Thirdly, we illustrate that the lexicon-based approach is significantly more efficient in terms of model speed and size compared to transformers. Lastly, the XLex approach is inherently more interpretable than transformer models as lexicon models rely on predefined rules, allowing for better insights into the results of SA and making the XLex approach a viable tool for financial decision-making.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。