Giving Financial AI a Map of Corporate Reality
Original paper: FinLLM-KG: Knowledge Graph-Enhanced LLMs for Financial Sentiment Analysis in Algorithmic Trading
"Think of an AI stock trader as a thermostat that reads the local room temperature while simultaneously consulting the house blueprints and insulation history. Instead of reacting blindly to a single gust of wind, it blends incoming news with a structured map of corporate facts to make a grounded decision."
Wall Street relies heavily on automated text analysis, but "black box" AI often hallucinates or misinterprets news without broader context, risking catastrophic trading losses. This framework provides instant, verifiable proof for every trade, bridging the gap between high-speed algorithmic trading and human accountability.
- AI traditionally analyzes financial news articles entirely in isolation.
- FinLLM-KG injects factual corporate data without changing model weights.
- Traders can finally inspect the exact sentences and facts driving AI decisions.
📑 Original arXiv Technical 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.
✍️ Are you an author of this paper? Add code/demo links or a note
Help readers explore your work — share your official GitHub repo, Hugging Face weights, affiliation, or a clarification note for our editorial review queue.