{"title":"FinDKG: Dynamic Knowledge Graphs with Large Language Models for Detecting Global Trends in Financial Markets","authors":"Xiaohui Victor Li, Francesco Sanna Passino","doi":"arxiv-2407.10909","DOIUrl":null,"url":null,"abstract":"Dynamic knowledge graphs (DKGs) are popular structures to express different\ntypes of connections between objects over time. They can also serve as an\nefficient mathematical tool to represent information extracted from complex\nunstructured data sources, such as text or images. Within financial\napplications, DKGs could be used to detect trends for strategic thematic\ninvesting, based on information obtained from financial news articles. In this\nwork, we explore the properties of large language models (LLMs) as dynamic\nknowledge graph generators, proposing a novel open-source fine-tuned LLM for\nthis purpose, called the Integrated Contextual Knowledge Graph Generator\n(ICKG). We use ICKG to produce a novel open-source DKG from a corpus of\nfinancial news articles, called FinDKG, and we propose an attention-based GNN\narchitecture for analysing it, called KGTransformer. We test the performance of\nthe proposed model on benchmark datasets and FinDKG, demonstrating superior\nperformance on link prediction tasks. Additionally, we evaluate the performance\nof the KGTransformer on FinDKG for thematic investing, showing it can\noutperform existing thematic ETFs.","PeriodicalId":501294,"journal":{"name":"arXiv - QuantFin - Computational Finance","volume":"2012 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-07-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - QuantFin - Computational Finance","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2407.10909","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Dynamic knowledge graphs (DKGs) are popular structures to express different
types of connections between objects over time. They can also serve as an
efficient mathematical tool to represent information extracted from complex
unstructured data sources, such as text or images. Within financial
applications, DKGs could be used to detect trends for strategic thematic
investing, based on information obtained from financial news articles. In this
work, we explore the properties of large language models (LLMs) as dynamic
knowledge graph generators, proposing a novel open-source fine-tuned LLM for
this purpose, called the Integrated Contextual Knowledge Graph Generator
(ICKG). We use ICKG to produce a novel open-source DKG from a corpus of
financial news articles, called FinDKG, and we propose an attention-based GNN
architecture for analysing it, called KGTransformer. We test the performance of
the proposed model on benchmark datasets and FinDKG, demonstrating superior
performance on link prediction tasks. Additionally, we evaluate the performance
of the KGTransformer on FinDKG for thematic investing, showing it can
outperform existing thematic ETFs.