Multi-Document Financial Question Answering using LLMs

Shalin Shah, Srikanth Ryali, Ramasubbu Venkatesh
11/8/2024
cs.IRcs.CL

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

We propose two new methods for multi-document financial question answering. First, a method that uses semantic tagging, and then, queries the index to get the context (RAG_SEM). And second, a Knowledge Graph (KG_RAG) based method that uses semantic tagging, and, retrieves knowledge graph triples from a graph database, as context. KG_RAG uses knowledge graphs constructed using a small model that is fine-tuned using knowledge distillation using a large teacher model. The data consists of 18 10K reports of Apple, Microsoft, Alphabet, NVIDIA, Amazon and Tesla for the years 2021, 2022 and 2023. The list of questions in the data consists of 111 complex questions including many esoteric questions that are difficult to answer and the answers are not completely obvious. As evaluation metrics, we use overall scores as well as segmented scores for measurement including the faithfulness, relevance, correctness, similarity, an LLM based overall score and the rouge scores as well as a similarity of embeddings. We find that both methods outperform plain RAG significantly. KG_RAG outperforms RAG_SEM in four out of nine metrics.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{shah2024multidocument,
  title  = {Multi-Document Financial Question Answering using LLMs},
  author = {Shalin Shah and Srikanth Ryali and Ramasubbu Venkatesh},
  year   = {2024},
  eprint = {2411.07264},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2411.07264v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2411.07264.svg)](https://codeofpaper.com/paper/2411.07264)

Discussion