FinLLM-KG: Knowledge Graph-Enhanced LLMs for Financial Sentiment Analysis in Algorithmic Trading
Giorgos Iacovides, Oliver Hannibal, Wuyang Zhou, Danilo Mandic
Abstract
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.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG, q-fin.ST, q-fin.TR
Related papers
SPARQL-Planned Single-Hop Traversal over a Live Knowledge Graph for Multi-Hop Question Answering
Shared title terminologycs.CLPriyesh Vakharia, Masud Moshtaghi, Pratyay Banerjee et al.
Tablassert: Declarative Extraction of Knowledge Graphs from Biomedical Tables
Shared title terminologycs.CLSkye L. Goetz, Jared C. Roach, Gwênlyn Glusman
When Does Continual Pre-Training Help? An Empirical Study of Decoupled Knowledge and Generation Trajectories in Clinical LLMs
Shared title terminologycs.CLNiclas Doll, Jasper Schulze Buschhoff, Shalaka Satheesh et al.
GraphSeer: Multimodal Knowledge Graph Relational Image Retrieval with MLLMs
Shared title terminologycs.CLLinyu Li, Zhi Jin, Yuanpeng He et al.
Can LLMs Ignore What They Know? Measuring Knowledge Leakage in Persona-Based User Simulation
Shared title terminologycs.CLSangmin Lee, Sangwon Lee, Sungbeom Choi et al.
CoSTA: Co-Evolving Self-Play Timeline Agents for Complex Temporal Knowledge Graph Question Answering
Shared title terminologycs.CLHaikun Liu, Zhichao Yan, Shaoru Guo et al.