arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.36083cs.CLcs.LGq-fin.STq-fin.TR
收藏

FinLLM-KG:结合知识图谱的大语言模型,用于算法交易中的金融情感分析

FinLLM-KG: Knowledge Graph-Enhanced LLMs for Financial Sentiment Analysis in Algorithmic Trading

Imperial College London(帝国理工学院)

Giorgos Iacovides, Oliver Hannibal, Wuyang Zhou, Danilo Mandic

AI总结:

本研究提出FinLLM-KG框架,结合因果LLM与金融知识图谱,提升算法交易中金融情感分析的可解释性与投资组合表现。

摘要:

生成式人工智能的最新进展通过经过微调的金融大语言模型(LLM)大幅提升了金融情感分析能力。然而,现有方法仍局限于孤立预测每篇文章的情感,且作为黑箱运行,这限制了上下文理解,阻碍了其在高风险金融决策中的部署。为此,我们提出FinLLM-KG,这是一种模型无关的框架,将因果LLM与金融知识图谱结合,在推理时注入来自SEC 10-K文件的、具有时间依据的公司层面知识,无需更新模型权重。在FinLLM-KG中,上下文以自然语言公司概况或少量经相关性排序的事实三元组形式提供,这使得情感预测能考虑更广泛的公司层面信息,而非仅依赖单篇文章,且计算成本几乎为零,适用于任何因果LLM。此外,将每篇文章的情感得分归因于单个句子和检索到的知识图谱事实,使预测背后的证据可检查,从而增强可解释性并支持人机协作审查。模拟实验表明,FinLLM-KG在投资组合表现上始终优于最先进的基线方法。

英文摘要:

Recent advances in Generative AI have substantially improved financial sentiment analysis through post-trained financial large language models (LLMs). However, existing approaches remain confined to predicting the sentiment of each article in isolation and operate as black boxes, which limits contextual understanding and hinders deployment in high-stakes financial decision-making. To this end, we introduce FinLLM-KG, a model-agnostic framework that combines causal LLMs with a financial knowledge graph, in order to inject temporally grounded, company-level knowledge from SEC 10-K filings at inference time, without updating model weights. Within FinLLM-KG, context is supplied either as a natural-language company profile or as a small set of relevance-ranked factual triples. This enables sentiment predictions to account for broader firm-level information rather than the article alone, at almost zero computational cost and for any causal LLM. In addition, attributing each article-level sentiment score to individual sentences and to the retrieved knowledge-graph facts makes the evidence behind the prediction inspectable, thereby enhancing explainability and supporting human-in-the-loop review. Simulations demonstrate that FinLLM-KG consistently improves portfolio performance over the state-of-the-art baseline.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑