Improving Retrieval for RAG based Question Answering Models on Financial Documents

Spurthi Setty, Harsh Thakkar, Alyssa Lee, Eden Chung, Natan Vidra
3/23/2024
cs.IRcs.CLcs.LG

No official code found. Best implementation: SpurthiSetty/ImprovingRetrieval (0 stars, last commit 2026-02-13).

Abstract

The effectiveness of Large Language Models (LLMs) in generating accurate responses relies heavily on the quality of input provided, particularly when employing Retrieval Augmented Generation (RAG) techniques. RAG enhances LLMs by sourcing the most relevant text chunk(s) to base queries upon. Despite the significant advancements in LLMs' response quality in recent years, users may still encounter inaccuracies or irrelevant answers; these issues often stem from suboptimal text chunk retrieval by RAG rather than the inherent capabilities of LLMs. To augment the efficacy of LLMs, it is crucial to refine the RAG process. This paper explores the existing constraints of RAG pipelines and introduces methodologies for enhancing text retrieval. It delves into strategies such as sophisticated chunking techniques, query expansion, the incorporation of metadata annotations, the application of re-ranking algorithms, and the fine-tuning of embedding algorithms. Implementing these approaches can substantially improve the retrieval quality, thereby elevating the overall performance and reliability of LLMs in processing and responding to queries.

View on arXivView PDF

Code Implementations(1)

This repository contains the code for the research paper: https://arxiv.org/abs/2404.07221 and all of its future revisons

00Shell, PythonFeb 13, 20268 months ago

Similar Papers

Cite this paper

@article{setty2024improving,
  title  = {Improving Retrieval for RAG based Question Answering Models on Financial Documents},
  author = {Spurthi Setty and Harsh Thakkar and Alyssa Lee and Eden Chung and Natan Vidra},
  year   = {2024},
  eprint = {2404.07221},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.07221v2}
}

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/2404.07221.svg)](https://codeofpaper.com/paper/2404.07221)

Discussion